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
|
|---|---|---|---|---|---|---|---|
a461c2dd7a857f83f6c3cbc900b27a32823a176c
|
2021-10-26 15:28:54
|
Yash Vibhandik
|
fix: #8042 updated dropped height width and default color (#8304)
| false
|
#8042 updated dropped height width and default color (#8304)
|
fix
|
diff --git a/app/client/src/widgets/DividerWidget/index.ts b/app/client/src/widgets/DividerWidget/index.ts
index 55ff612c21ad..b012e3d3d75c 100644
--- a/app/client/src/widgets/DividerWidget/index.ts
+++ b/app/client/src/widgets/DividerWidget/index.ts
@@ -8,14 +8,14 @@ export const CONFIG = {
name: "Divider",
iconSVG: IconSVG,
defaults: {
- rows: 1 * GRID_DENSITY_MIGRATION_V1,
- columns: 2 * GRID_DENSITY_MIGRATION_V1,
+ rows: 0.5 * GRID_DENSITY_MIGRATION_V1,
+ columns: 5 * GRID_DENSITY_MIGRATION_V1,
widgetName: "Divider",
orientation: "horizontal",
capType: "nc",
capSide: 0,
strokeStyle: "solid",
- dividerColor: Colors.LIGHT_GREY2,
+ dividerColor: Colors.GREY_3,
thickness: 2,
isVisible: true,
version: 1,
|
ec4cf09f306d26230487532339d384fa438c3392
|
2022-12-22 12:20:00
|
Ankita Kinger
|
fix: Updating UI for icons and import modal content height (#19120)
| false
|
Updating UI for icons and import modal content height (#19120)
|
fix
|
diff --git a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
index 2f84b1096fd9..e22f7f2341b4 100644
--- a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
+++ b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
@@ -21,6 +21,8 @@ export const PluginImageWrapper = styled.div`
justify-content: center;
background: ${Colors.GREY_200};
border-radius: 100%;
+ margin-right: 8px;
+ flex-shrink: 0;
img {
height: 100%;
width: auto;
diff --git a/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx b/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx
index 45cd2caa3c5d..d9faf16a21b6 100644
--- a/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx
+++ b/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx
@@ -99,7 +99,7 @@ const TabsContainer = styled.div`
`;
const ContentWrapper = styled.div`
- height: calc(100% - 76px);
+ height: calc(100% - 96px);
display: flex;
margin-left: -${(props) => props.theme.spaces[8]}px;
|
da2f2306f164b30d0e926dfd28a273e8ca1ba2cb
|
2024-02-08 18:47:18
|
vadim
|
chore: WDS elevation adjustments (#31003)
| false
|
WDS elevation adjustments (#31003)
|
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 344ba94f4dcb..62c0845a164e 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
@@ -596,7 +596,7 @@ export class DarkModeTheme implements ColorModeTheme {
private get bgElevation1() {
const color = this.bg.clone();
- color.oklch.l += 0.07;
+ color.oklch.l += 0.03;
return color;
}
@@ -604,7 +604,7 @@ export class DarkModeTheme implements ColorModeTheme {
private get bgElevation2() {
const color = this.bgElevation1.clone();
- color.oklch.l += 0.04;
+ color.oklch.l += 0.035;
return color;
}
@@ -612,7 +612,7 @@ export class DarkModeTheme implements ColorModeTheme {
private get bgElevation3() {
const color = this.bgElevation2.clone();
- color.oklch.l += 0.02;
+ color.oklch.l += 0.04;
return color;
}
@@ -624,9 +624,13 @@ export class DarkModeTheme implements ColorModeTheme {
private get shadowElevation1() {
const color = this.seedColor.clone();
- color.oklch.l = 0.1;
+ color.oklch.l = 0.15;
- color.alpha = 0.5;
+ color.alpha = 0.35;
+
+ if (color.oklch.c > 0.08) {
+ color.oklch.c = 0.08;
+ }
return color;
}
@@ -634,9 +638,9 @@ export class DarkModeTheme implements ColorModeTheme {
private get shadowElevation2() {
const color = this.shadowElevation1.clone();
- color.oklch.l += 0.05;
+ color.oklch.l += 0.01;
- color.alpha = 0.45;
+ color.alpha = 0.25;
return color;
}
@@ -644,7 +648,7 @@ export class DarkModeTheme implements ColorModeTheme {
private get shadowElevation3() {
const color = this.shadowElevation2.clone();
- color.oklch.l += 0.05;
+ color.oklch.l += 0.005;
color.alpha = 0.4;
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 9c005f468a68..985d642c777e 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
@@ -662,9 +662,9 @@ export class LightModeTheme implements ColorModeTheme {
private get shadowElevation1() {
const color = this.seedColor.clone();
- color.oklch.l = 0.2;
+ color.oklch.l = 0.3;
- color.alpha = 0.35;
+ color.alpha = 0.1;
return color;
}
@@ -674,7 +674,7 @@ export class LightModeTheme implements ColorModeTheme {
color.oklch.l += 0.05;
- color.alpha = 0.3;
+ color.alpha = 0.12;
return color;
}
@@ -682,9 +682,9 @@ export class LightModeTheme implements ColorModeTheme {
private get shadowElevation3() {
const color = this.shadowElevation2.clone();
- color.oklch.l += 0.05;
+ color.oklch.l += 0.01;
- color.alpha = 0.25;
+ color.alpha = 0.15;
return color;
}
diff --git a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
index d2251370225e..4174ed6f5d69 100644
--- a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
+++ b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
@@ -5,9 +5,9 @@
"1": "0px"
},
"boxShadow": {
- "1": "0 4px 8px 0 var(--color-shadow-elevation-1)",
- "2": "0 2px 4px 0 var(--color-shadow-elevation-2)",
- "3": "0 1px 2px 0 var(--color-shadow-elevation-3)"
+ "1": "0 var(--inner-spacing-2) var(--inner-spacing-3) 0 var(--color-shadow-elevation-1)",
+ "2": "0 var(--inner-spacing-1) var(--inner-spacing-3) 0 var(--color-shadow-elevation-2)",
+ "3": "0 calc(var(--inner-spacing-1)/2) var(--inner-spacing-3) 0 var(--color-shadow-elevation-3)"
},
"borderWidth": {
"1": "1px",
diff --git a/app/client/packages/design-system/widgets/src/testing/Elevation.tsx b/app/client/packages/design-system/widgets/src/testing/Elevation.tsx
index 767feeaddee6..f820a67dfd71 100644
--- a/app/client/packages/design-system/widgets/src/testing/Elevation.tsx
+++ b/app/client/packages/design-system/widgets/src/testing/Elevation.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import { Flex } from "@design-system/widgets";
+import { Flex, Button } from "@design-system/widgets";
export const Elevation = () => {
return (
@@ -9,6 +9,10 @@ export const Elevation = () => {
style={{
background: "var(--color-bg-elevation-1)",
boxShadow: "var(--box-shadow-1)",
+ // Uncomment for quick testing of harmonized corner radii
+ // TODO: replace with proper radii scale
+ // borderRadius: "calc(var(--border-radius-1) + var(--outer-spacing-6)*2)",
+ borderRadius: "var(--border-radius-1)",
}}
>
<Flex
@@ -17,6 +21,10 @@ export const Elevation = () => {
style={{
background: "var(--color-bg-elevation-2)",
boxShadow: "var(--box-shadow-2)",
+ // Uncomment for quick testing of harmonized corner radii
+ // TODO: replace with proper radii scale
+ // borderRadius: "calc(var(--border-radius-1) + var(--outer-spacing-6))",
+ borderRadius: "var(--border-radius-1)",
}}
>
<Flex
@@ -25,8 +33,11 @@ export const Elevation = () => {
style={{
background: "var(--color-bg-elevation-3)",
boxShadow: "var(--box-shadow-3)",
+ borderRadius: "var(--border-radius-1)",
}}
- />
+ >
+ <Button>Do the Thing</Button>
+ </Flex>
</Flex>
</Flex>
);
|
c70adf7440ff30eae280476c198e43196b6a1d43
|
2024-11-18 11:29:33
|
Subhrashis Das
|
chore: Switch from OTLP HTTP/protobuf (New Relic) to HTTP/JSON (Grafana) (#37404)
| false
|
Switch from OTLP HTTP/protobuf (New Relic) to HTTP/JSON (Grafana) (#37404)
|
chore
|
diff --git a/app/client/package.json b/app/client/package.json
index 9b822e0f11ae..dc06ada8d35f 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -72,16 +72,16 @@
"@mantine/hooks": "^5.10.1",
"@newrelic/browser-agent": "^1.255.0",
"@opentelemetry/api": "^1.9.0",
- "@opentelemetry/auto-instrumentations-web": "^0.41.0",
- "@opentelemetry/context-zone": "1.25.1",
- "@opentelemetry/core": "^1.26.0",
- "@opentelemetry/exporter-metrics-otlp-http": "0.52.1",
- "@opentelemetry/exporter-trace-otlp-proto": "0.52.1",
- "@opentelemetry/instrumentation": "0.52.1",
- "@opentelemetry/resources": "1.25.1",
- "@opentelemetry/sdk-metrics": "1.25.1",
- "@opentelemetry/sdk-trace-base": "1.25.1",
- "@opentelemetry/sdk-trace-web": "1.25.1",
+ "@opentelemetry/auto-instrumentations-web": "^0.42.0",
+ "@opentelemetry/context-zone": "^1.27.0",
+ "@opentelemetry/core": "^1.27.0",
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.54.2",
+ "@opentelemetry/exporter-trace-otlp-http": "^0.54.2",
+ "@opentelemetry/instrumentation": "^0.54.2",
+ "@opentelemetry/resources": "^1.27.0",
+ "@opentelemetry/sdk-metrics": "^1.27.0",
+ "@opentelemetry/sdk-trace-base": "^1.27.0",
+ "@opentelemetry/sdk-trace-web": "^1.27.0",
"@opentelemetry/semantic-conventions": "^1.27.0",
"@react-spring/web": "^9.7.4",
"@react-types/shared": "^3.23.0",
diff --git a/app/client/packages/rts/package.json b/app/client/packages/rts/package.json
index 53c429b9e2da..a52d4bf06803 100644
--- a/app/client/packages/rts/package.json
+++ b/app/client/packages/rts/package.json
@@ -15,8 +15,11 @@
"start": "./start-server.sh"
},
"dependencies": {
- "@opentelemetry/instrumentation-http": "^0.53.0",
- "@opentelemetry/sdk-trace-node": "^1.26.0",
+ "@opentelemetry/exporter-trace-otlp-http": "^0.54.2",
+ "@opentelemetry/instrumentation": "^0.54.2",
+ "@opentelemetry/instrumentation-http": "^0.54.2",
+ "@opentelemetry/resources": "^1.27.0",
+ "@opentelemetry/sdk-trace-node": "^1.27.0",
"@opentelemetry/semantic-conventions": "^1.27.0",
"@shared/ast": "workspace:^",
"axios": "^1.7.4",
diff --git a/app/client/packages/rts/src/instrumentation.ts b/app/client/packages/rts/src/instrumentation.ts
index 24d40d408f98..05769222ee80 100644
--- a/app/client/packages/rts/src/instrumentation.ts
+++ b/app/client/packages/rts/src/instrumentation.ts
@@ -10,7 +10,11 @@ import {
import { ATTR_SERVICE_NAME } from "@opentelemetry/semantic-conventions";
import { registerInstrumentations } from "@opentelemetry/instrumentation";
import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
-import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-proto";
+import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
+
+const APPSMITH_NEW_RELIC_OTEL_EXPORTER_OTLP_ENDPOINT =
+ process.env.APPSMITH_NEW_RELIC_OTEL_EXPORTER_OTLP_ENDPOINT ||
+ "http://localhost:4318";
const provider = new NodeTracerProvider({
resource: new Resource({
@@ -21,7 +25,7 @@ const provider = new NodeTracerProvider({
});
const nrTracesExporter = new OTLPTraceExporter({
- url: `${process.env.APPSMITH_NEW_RELIC_OTEL_EXPORTER_OTLP_ENDPOINT}/v1/traces`,
+ url: `${APPSMITH_NEW_RELIC_OTEL_EXPORTER_OTLP_ENDPOINT}/v1/traces`,
headers: {
"api-key": `${process.env.APPSMITH_NEW_RELIC_OTLP_LICENSE_KEY}`,
},
diff --git a/app/client/src/UITelemetry/auto-otel-web.ts b/app/client/src/UITelemetry/auto-otel-web.ts
index c7740666ca5d..3a2aa17b6413 100644
--- a/app/client/src/UITelemetry/auto-otel-web.ts
+++ b/app/client/src/UITelemetry/auto-otel-web.ts
@@ -1,7 +1,7 @@
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
import { WebTracerProvider } from "@opentelemetry/sdk-trace-web";
import { ZoneContextManager } from "@opentelemetry/context-zone";
-import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-proto";
+import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
import { Resource } from "@opentelemetry/resources";
import {
ATTR_DEPLOYMENT_NAME,
@@ -14,8 +14,8 @@ import {
PeriodicExportingMetricReader,
} from "@opentelemetry/sdk-metrics";
import {
- OTLPMetricExporter,
AggregationTemporalityPreference,
+ OTLPMetricExporter,
} from "@opentelemetry/exporter-metrics-otlp-http";
import { metrics } from "@opentelemetry/api";
import { registerInstrumentations } from "@opentelemetry/instrumentation";
@@ -27,7 +27,7 @@ enum CompressionAlgorithm {
GZIP = "gzip",
}
const { newRelic, observability } = getAppsmithConfigs();
-const { browserAgentEndpoint, otlpEndpoint, otlpLicenseKey } = newRelic;
+const { browserAgentEndpoint, otlpLicenseKey } = newRelic;
const { deploymentName, serviceInstanceId, serviceName } = observability;
@@ -44,7 +44,7 @@ const tracerProvider = new WebTracerProvider({
});
const nrTracesExporter = new OTLPTraceExporter({
- url: `${otlpEndpoint}/v1/traces`,
+ url: addPathToCurrentUrl("/monitoring/traces"),
compression: CompressionAlgorithm.GZIP,
headers: {
"api-key": otlpLicenseKey,
@@ -74,7 +74,7 @@ tracerProvider.register({
const nrMetricsExporter = new OTLPMetricExporter({
compression: CompressionAlgorithm.GZIP,
temporalityPreference: AggregationTemporalityPreference.DELTA,
- url: `${otlpEndpoint}/v1/metrics`,
+ url: addPathToCurrentUrl("/monitoring/metrics"),
headers: {
"api-key": otlpLicenseKey,
},
@@ -104,7 +104,8 @@ registerInstrumentations({
new PageLoadInstrumentation({
ignoreResourceUrls: [
browserAgentEndpoint,
- otlpEndpoint,
+ addPathToCurrentUrl("/monitoring/traces"),
+ addPathToCurrentUrl("/monitoring/metrics"),
smartlookBaseDomain,
],
}),
@@ -115,3 +116,14 @@ registerInstrumentations({
}),
],
});
+
+// Replaces the pathname of the current URL with the provided path.
+function addPathToCurrentUrl(path: string) {
+ const origin = window.location.origin;
+
+ const currentUrl = new URL(origin);
+
+ currentUrl.pathname = path.startsWith("/") ? path : `/${path}`;
+
+ return currentUrl.toString();
+}
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index a619b24ecef9..4efeef9b59e2 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -4762,99 +4762,68 @@ __metadata:
languageName: node
linkType: hard
-"@opentelemetry/api-logs@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/api-logs@npm:0.52.1"
+"@opentelemetry/api-logs@npm:0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/api-logs@npm:0.54.2"
dependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: 500cd35527580732921d198bd7007224402cb89fef791f0b64bea839c9f2ad796d54486ee9aee0ee6422ded3963cba793408086eda0adfec2bd1d66f9114d96c
- languageName: node
- linkType: hard
-
-"@opentelemetry/api-logs@npm:0.53.0":
- version: 0.53.0
- resolution: "@opentelemetry/api-logs@npm:0.53.0"
- dependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: 3383ff75f94a77402370a655f8edf049f9864ad60140f70821a1b775ce43bdb9ca6fade533a1faf46dbca19f3189bcbf1f8805062f5a68bfe2a00281b1712d1f
+ "@opentelemetry/api": ^1.3.0
+ checksum: 6af14100932147d2296c7de1a16e14be528e0cb85cde79884967a777c0f0e2610aa130b04e48e5deec0a442c5a3966863a9da82ac40631755014f45cec5c8973
languageName: node
linkType: hard
-"@opentelemetry/api@npm:^1.0.0, @opentelemetry/api@npm:^1.9.0":
+"@opentelemetry/api@npm:^1.3.0, @opentelemetry/api@npm:^1.9.0":
version: 1.9.0
resolution: "@opentelemetry/api@npm:1.9.0"
checksum: 9e88e59d53ced668f3daaecfd721071c5b85a67dd386f1c6f051d1be54375d850016c881f656ffbe9a03bedae85f7e89c2f2b635313f9c9b195ad033cdc31020
languageName: node
linkType: hard
-"@opentelemetry/auto-instrumentations-web@npm:^0.41.0":
- version: 0.41.0
- resolution: "@opentelemetry/auto-instrumentations-web@npm:0.41.0"
+"@opentelemetry/auto-instrumentations-web@npm:^0.42.0":
+ version: 0.42.0
+ resolution: "@opentelemetry/auto-instrumentations-web@npm:0.42.0"
dependencies:
- "@opentelemetry/instrumentation": ^0.53.0
- "@opentelemetry/instrumentation-document-load": ^0.40.0
- "@opentelemetry/instrumentation-fetch": ^0.53.0
- "@opentelemetry/instrumentation-user-interaction": ^0.40.0
- "@opentelemetry/instrumentation-xml-http-request": ^0.53.0
+ "@opentelemetry/instrumentation": ^0.54.0
+ "@opentelemetry/instrumentation-document-load": ^0.41.0
+ "@opentelemetry/instrumentation-fetch": ^0.54.0
+ "@opentelemetry/instrumentation-user-interaction": ^0.41.0
+ "@opentelemetry/instrumentation-xml-http-request": ^0.54.0
peerDependencies:
"@opentelemetry/api": ^1.3.0
zone.js: ^0.11.4 || ^0.13.0 || ^0.14.0
- checksum: 9e73bc3654bfe325154a2e26d713033a3a6c1e4341a5f3803af75b5c945d1844e2f83b129b42c69b660ca9caf5f16b666c12143ac51744c8d12ea550d29935d5
+ checksum: 3f0e5c9273f27ac8833ce1fa000715548beaebcc0edee1dff129a5400de058b5607050e67e0cb41a5517d72098a2c6b7651f99f4db3ce1e78ea0e52e87920752
languageName: node
linkType: hard
-"@opentelemetry/context-async-hooks@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/context-async-hooks@npm:1.26.0"
+"@opentelemetry/context-async-hooks@npm:1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/context-async-hooks@npm:1.27.0"
peerDependencies:
"@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: f0fe5bfa3aeed99fbe7d6f6157e3bcc2e4450850a62ef60e551812f3e5aa72cb81e38de8c4e1b6934c93e18579a503664597f78e7e7d9904e271f59c939a3e02
+ checksum: d0fb0dd9e9de9b5404c50b48aa982c096f1f58aa518e472a3e48bd8d404354700132005886a497b7067cae6e813dab374a6c1483e344e53e396274c5b00f2a31
languageName: node
linkType: hard
-"@opentelemetry/context-zone-peer-dep@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/context-zone-peer-dep@npm:1.25.1"
+"@opentelemetry/context-zone-peer-dep@npm:1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/context-zone-peer-dep@npm:1.27.0"
peerDependencies:
"@opentelemetry/api": ">=1.0.0 <1.10.0"
zone.js: ^0.10.2 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0
- checksum: 32ea945cf48ffd89d0d41281c3c1b22560416ddb2edff4867a5cbc6d2983bf0f5d8624972becd9b65bb0418ae13e2fd9231c8dc8052c0d0b9432d29fc5940676
+ checksum: 173f4fc06ea62e97593bae9f1d064bb28da5dedf408356527f70ef3f9ee45dcc43fa4593aaa870232b2dbd485a982cf4234f6b4282c7e62a40bc4a2ff5eab718
languageName: node
linkType: hard
-"@opentelemetry/context-zone@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/context-zone@npm:1.25.1"
+"@opentelemetry/context-zone@npm:^1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/context-zone@npm:1.27.0"
dependencies:
- "@opentelemetry/context-zone-peer-dep": 1.25.1
+ "@opentelemetry/context-zone-peer-dep": 1.27.0
zone.js: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0
- checksum: 2b9473b4d1de7bd1855edda1adee880dbbcae1141d6762c5a26ab9597dcb9fd17a3b89dff84aaa329bab12b464702826ad93d95d01f004371742ba2b5ca3f27d
- languageName: node
- linkType: hard
-
-"@opentelemetry/core@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/core@npm:1.25.1"
- dependencies:
- "@opentelemetry/semantic-conventions": 1.25.1
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: ba1672fde4a1cfd9b55bf6070db71b808702fe59c4a70cda52a6156b2c813827954a6b4d3c3641283d394ff75a69b6359a0487459b4d26cd7d714ab3d21bc780
- languageName: node
- linkType: hard
-
-"@opentelemetry/core@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/core@npm:1.26.0"
- dependencies:
- "@opentelemetry/semantic-conventions": 1.27.0
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: e5b06b4d69605927b850109c6b898f00a6a921171b3bf62335a4e00b9a170c1b93ddef6d7f8cc480a551faeaf81074b594f4462a91d4fbc4b313e64ff9ebd717
+ checksum: c24c487bd00f4f7df50e7e767058a8583bb283c501c4ed6a059fad9193bec18d32c4498083117644829a787c46cd6af6c9f42f0e6a4157f0ce3bb69c3528ee04
languageName: node
linkType: hard
-"@opentelemetry/core@npm:1.27.0, @opentelemetry/core@npm:^1.26.0, @opentelemetry/core@npm:^1.8.0":
+"@opentelemetry/core@npm:1.27.0, @opentelemetry/core@npm:^1.27.0, @opentelemetry/core@npm:^1.8.0":
version: 1.27.0
resolution: "@opentelemetry/core@npm:1.27.0"
dependencies:
@@ -4865,128 +4834,112 @@ __metadata:
languageName: node
linkType: hard
-"@opentelemetry/exporter-metrics-otlp-http@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.52.1"
+"@opentelemetry/exporter-metrics-otlp-http@npm:^0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/otlp-exporter-base": 0.52.1
- "@opentelemetry/otlp-transformer": 0.52.1
- "@opentelemetry/resources": 1.25.1
- "@opentelemetry/sdk-metrics": 1.25.1
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/otlp-exporter-base": 0.54.2
+ "@opentelemetry/otlp-transformer": 0.54.2
+ "@opentelemetry/resources": 1.27.0
+ "@opentelemetry/sdk-metrics": 1.27.0
peerDependencies:
"@opentelemetry/api": ^1.3.0
- checksum: 9f557739502925f51670073389d208536ecbb7e8178267b2d9c65eba403f75af3946d226356a1df34395b2c17385106df5e1853e816a46f96a8b6515dbc1c6d0
+ checksum: c55d88f1b8e2e8ae4adcd4c1ac7846f13a91bca150e16b90270a00d1b0cc177c115b3876527122d7f0f1ce3cb6a6f8176b96071cd4e210cadcc0a74821d6e9c3
languageName: node
linkType: hard
-"@opentelemetry/exporter-trace-otlp-proto@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/exporter-trace-otlp-proto@npm:0.52.1"
+"@opentelemetry/exporter-trace-otlp-http@npm:^0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/otlp-exporter-base": 0.52.1
- "@opentelemetry/otlp-transformer": 0.52.1
- "@opentelemetry/resources": 1.25.1
- "@opentelemetry/sdk-trace-base": 1.25.1
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/otlp-exporter-base": 0.54.2
+ "@opentelemetry/otlp-transformer": 0.54.2
+ "@opentelemetry/resources": 1.27.0
+ "@opentelemetry/sdk-trace-base": 1.27.0
peerDependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: 1d46eb5055925fb1f4383bb65ccec7addcf53ab88f2f5e7393e4e99e72d4fe48a1d45027736d534aeb76e37c217f5a4f9deda51351afa614340196a28db55dab
+ "@opentelemetry/api": ^1.3.0
+ checksum: 57df41eaf14575b079fff599ce348b233ad29d21bab184c1403a9e1a153309b78974c8537ccf1afa661515aacd726f2749597448a321af63b30cc1b6357fbfb5
languageName: node
linkType: hard
-"@opentelemetry/instrumentation-document-load@npm:^0.40.0":
- version: 0.40.0
- resolution: "@opentelemetry/instrumentation-document-load@npm:0.40.0"
+"@opentelemetry/instrumentation-document-load@npm:^0.41.0":
+ version: 0.41.0
+ resolution: "@opentelemetry/instrumentation-document-load@npm:0.41.0"
dependencies:
"@opentelemetry/core": ^1.8.0
- "@opentelemetry/instrumentation": ^0.53.0
- "@opentelemetry/sdk-trace-base": ^1.0.0
+ "@opentelemetry/instrumentation": ^0.54.0
"@opentelemetry/sdk-trace-web": ^1.15.0
"@opentelemetry/semantic-conventions": ^1.27.0
peerDependencies:
"@opentelemetry/api": ^1.3.0
- checksum: 5a06eeb5b68623c655fa728cc2bb036cdd0270488abfa1fca5e733891f3ce5b22067b014c4f3317e957be3c89acab5c70f199eb82c409dd01605960908c34048
+ checksum: 5b17317924f76c9877958b83d2c575db295cb8051b2ec8c1ab738d8d2106a059942606bb31e11a7dbff5453516bf360401cb32f6ab552dc461e54d2e130d9b09
languageName: node
linkType: hard
-"@opentelemetry/instrumentation-fetch@npm:^0.53.0":
- version: 0.53.0
- resolution: "@opentelemetry/instrumentation-fetch@npm:0.53.0"
+"@opentelemetry/instrumentation-fetch@npm:^0.54.0":
+ version: 0.54.2
+ resolution: "@opentelemetry/instrumentation-fetch@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/instrumentation": 0.53.0
- "@opentelemetry/sdk-trace-web": 1.26.0
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/instrumentation": 0.54.2
+ "@opentelemetry/sdk-trace-web": 1.27.0
"@opentelemetry/semantic-conventions": 1.27.0
peerDependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: 2c92c9ccccfa424adb3773424df42d64156b67bdbcc1a21fbe5f620370d68bbd64701279897a0807e0b259b4e7a9fdcfdc21fa064343793c592bd0d08c5483cf
+ "@opentelemetry/api": ^1.3.0
+ checksum: de0cd3069a598ae2a1f82da01b8ed92d08658b6d9d3a761f8c311dfc25cf2a1fa446fbff6d631f79dfdc3472cabcbfe473469c787443a5f985597ab2c468a149
languageName: node
linkType: hard
-"@opentelemetry/instrumentation-http@npm:^0.53.0":
- version: 0.53.0
- resolution: "@opentelemetry/instrumentation-http@npm:0.53.0"
+"@opentelemetry/instrumentation-http@npm:^0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/instrumentation-http@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/instrumentation": 0.53.0
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/instrumentation": 0.54.2
"@opentelemetry/semantic-conventions": 1.27.0
+ forwarded-parse: 2.1.2
semver: ^7.5.2
peerDependencies:
"@opentelemetry/api": ^1.3.0
- checksum: 4ee569f7fc8c7ce50fabaff016d33577f36e63272b0634ac45806d70bffdf38fcf09db3cd9dd27c3150f6c4547fec673c356c419a6ed2399ff2849b9487a6e89
+ checksum: 920904333ab99430aa7e0dc541aac1f3c813d1a79f1ee3f07d20390b9f89727e306beb38c54c63ce3299195cf42aab2354a41a39c236cb814a42ea590503e56f
languageName: node
linkType: hard
-"@opentelemetry/instrumentation-user-interaction@npm:^0.40.0":
- version: 0.40.0
- resolution: "@opentelemetry/instrumentation-user-interaction@npm:0.40.0"
+"@opentelemetry/instrumentation-user-interaction@npm:^0.41.0":
+ version: 0.41.0
+ resolution: "@opentelemetry/instrumentation-user-interaction@npm:0.41.0"
dependencies:
"@opentelemetry/core": ^1.8.0
- "@opentelemetry/instrumentation": ^0.53.0
+ "@opentelemetry/instrumentation": ^0.54.0
"@opentelemetry/sdk-trace-web": ^1.8.0
peerDependencies:
"@opentelemetry/api": ^1.3.0
zone.js: ^0.11.4 || ^0.13.0 || ^0.14.0
- checksum: 24ae06b6a6ab2df39dc1074e7edf8ddaa2009e0376bf5e2bcb5d355bdf96bb4aeb09dc861a110150702a251d30e9984ee2a0bd7ba57e820e0859977f5807f369
+ checksum: e9888bd014abe7032337bba12e62ca3bd1dd1bc3961c84a8d18cc5d6cdf02286fc4bc1ac857c056e673741a44703bafe702f70a6dfb617e08bc93b206168bb36
languageName: node
linkType: hard
-"@opentelemetry/instrumentation-xml-http-request@npm:^0.53.0":
- version: 0.53.0
- resolution: "@opentelemetry/instrumentation-xml-http-request@npm:0.53.0"
+"@opentelemetry/instrumentation-xml-http-request@npm:^0.54.0":
+ version: 0.54.2
+ resolution: "@opentelemetry/instrumentation-xml-http-request@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/instrumentation": 0.53.0
- "@opentelemetry/sdk-trace-web": 1.26.0
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/instrumentation": 0.54.2
+ "@opentelemetry/sdk-trace-web": 1.27.0
"@opentelemetry/semantic-conventions": 1.27.0
- peerDependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: 61dd00e30fbf4de611a7d1fa63aa8b004a0624c566d043dc9970dcaaef8eeb1f67e39a224bffd0d05c437e0d08371ee569f1d273429c05eb155e8c854e3fa818
- languageName: node
- linkType: hard
-
-"@opentelemetry/instrumentation@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/instrumentation@npm:0.52.1"
- dependencies:
- "@opentelemetry/api-logs": 0.52.1
- "@types/shimmer": ^1.0.2
- import-in-the-middle: ^1.8.1
- require-in-the-middle: ^7.1.1
- semver: ^7.5.2
- shimmer: ^1.2.1
peerDependencies:
"@opentelemetry/api": ^1.3.0
- checksum: e8b4f202dc9355ca46714349a5e1663346e162f79706eed38015edf38fc536330fde4cc19ed7d3d6b03258c890c1dc0ba6d658d7aac3f41f1803bd03699d2701
+ checksum: a62ff9c8a6a60ea403e65971804f1ae884a17136f169ffbfd25d10eb22d38088a1f1c687793a365b0468216a9759a70129f14dd953872d01f617c7be4ab8e3e1
languageName: node
linkType: hard
-"@opentelemetry/instrumentation@npm:0.53.0, @opentelemetry/instrumentation@npm:^0.53.0":
- version: 0.53.0
- resolution: "@opentelemetry/instrumentation@npm:0.53.0"
+"@opentelemetry/instrumentation@npm:0.54.2, @opentelemetry/instrumentation@npm:^0.54.0, @opentelemetry/instrumentation@npm:^0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/instrumentation@npm:0.54.2"
dependencies:
- "@opentelemetry/api-logs": 0.53.0
+ "@opentelemetry/api-logs": 0.54.2
"@types/shimmer": ^1.2.0
import-in-the-middle: ^1.8.1
require-in-the-middle: ^7.1.1
@@ -4994,86 +4947,62 @@ __metadata:
shimmer: ^1.2.1
peerDependencies:
"@opentelemetry/api": ^1.3.0
- checksum: a386fe066eab71129a6edbc883ab407b1022850e8acc4750029a12e8730588a8b81442d0b008aaddb46f7614af40d19d331e7348790ca2d08ba8eed6d23ffdae
+ checksum: c8ebf9eab5dc16c51a937367f6c21e22068b863d44d72c8b1f7615750ad526218229c30ab3c90c376c2cc03ee17cae3949a6f6ed987486511a13a3bef100e6b6
languageName: node
linkType: hard
-"@opentelemetry/otlp-exporter-base@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/otlp-exporter-base@npm:0.52.1"
+"@opentelemetry/otlp-exporter-base@npm:0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/otlp-exporter-base@npm:0.54.2"
dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/otlp-transformer": 0.52.1
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/otlp-transformer": 0.54.2
peerDependencies:
- "@opentelemetry/api": ^1.0.0
- checksum: a1629886907a393e24a91ef5adc389e093d3725dd2957bc29903442541b2a30673100b13c200c37fe0a2e2fec53ced8b47ad90064ebc49f2e9382c2b1719d3c3
+ "@opentelemetry/api": ^1.3.0
+ checksum: 97a6b0713ba1aebc44bfd90c129f950cdf34e75d13a933aecd6b257b3d90166dd1dbec3742ccfa163e78dd351f26a78a0fa5a983705a43510d08a88d2321525b
languageName: node
linkType: hard
-"@opentelemetry/otlp-transformer@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/otlp-transformer@npm:0.52.1"
+"@opentelemetry/otlp-transformer@npm:0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/otlp-transformer@npm:0.54.2"
dependencies:
- "@opentelemetry/api-logs": 0.52.1
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/resources": 1.25.1
- "@opentelemetry/sdk-logs": 0.52.1
- "@opentelemetry/sdk-metrics": 1.25.1
- "@opentelemetry/sdk-trace-base": 1.25.1
+ "@opentelemetry/api-logs": 0.54.2
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/resources": 1.27.0
+ "@opentelemetry/sdk-logs": 0.54.2
+ "@opentelemetry/sdk-metrics": 1.27.0
+ "@opentelemetry/sdk-trace-base": 1.27.0
protobufjs: ^7.3.0
peerDependencies:
- "@opentelemetry/api": ">=1.3.0 <1.10.0"
- checksum: 0e083ee484a79506d8ce41a8dd5d2d4d7669c380ac1ef9c313c348a6af8384365d2b90d99165590cced6453ce9192c0fe270d9cc974e9240e8ca02a6cf70151d
- languageName: node
- linkType: hard
-
-"@opentelemetry/propagator-b3@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/propagator-b3@npm:1.26.0"
- dependencies:
- "@opentelemetry/core": 1.26.0
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: c2e99a8ed2814cf5b8e6e2a79411f2f6d668b7d5fc8351e5302ea4149601a96ec655422cf59470c66d8a408850f8a6b5156bf7deac7afb07d3f7a935c51fff04
- languageName: node
- linkType: hard
-
-"@opentelemetry/propagator-jaeger@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/propagator-jaeger@npm:1.26.0"
- dependencies:
- "@opentelemetry/core": 1.26.0
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: a0ac3888c86f1b4671c7ca520396b89b4c47fa9e9d976bd014472d2b7786e7c5bdf4823a6e2a900fed5ea5dfe23eda0bdf6740e77c1352f2c0f82b13a71c03df
+ "@opentelemetry/api": ^1.3.0
+ checksum: 972a269cb9868d36703e78f1cf6f36026854d00dd3959e636d9ac8ce5eecb7225537d7dea97b786306d94e6cacf49e7e64e32e45e0d21a58b6b4126c53ec65be
languageName: node
linkType: hard
-"@opentelemetry/resources@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/resources@npm:1.25.1"
+"@opentelemetry/propagator-b3@npm:1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/propagator-b3@npm:1.27.0"
dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/semantic-conventions": 1.25.1
+ "@opentelemetry/core": 1.27.0
peerDependencies:
"@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: 806e5aabbc93afcab767dc84707f702ca51bbc93e4565eb69a8591ed2fe78439aca19c5ca0d9f044c85ed97b9efb35936fdb65bef01f5f3e68504002c8a07220
+ checksum: 4bfe531e1fb5606d25d09e7b3c84188938e76618f8a0a098d57ebacf9f7bafaab24ba6e6e26cbb4c3da3ea8ecd31e2c68e86735ef48f45cdfc2e698c0b098249
languageName: node
linkType: hard
-"@opentelemetry/resources@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/resources@npm:1.26.0"
+"@opentelemetry/propagator-jaeger@npm:1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/propagator-jaeger@npm:1.27.0"
dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/semantic-conventions": 1.27.0
+ "@opentelemetry/core": 1.27.0
peerDependencies:
"@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: f70b0fdf4fb00c950bc30084818c92a5339f1be5d709bd681ab14453e877d6bb9f700324b8e65a0eabfeea618d01ed071abf9088e00fa0bf7f3305b1abad22cb
+ checksum: 87ab8a15b57230e40b9f59e63a01a31d38bfef77cafb91543a1549c179a9d01fef73ce5cf58ad7c6ed0093ab3b4a64ea9ba00e9d257d4084447267fe39f9163d
languageName: node
linkType: hard
-"@opentelemetry/resources@npm:1.27.0":
+"@opentelemetry/resources@npm:1.27.0, @opentelemetry/resources@npm:^1.27.0":
version: 1.27.0
resolution: "@opentelemetry/resources@npm:1.27.0"
dependencies:
@@ -5085,59 +5014,32 @@ __metadata:
languageName: node
linkType: hard
-"@opentelemetry/sdk-logs@npm:0.52.1":
- version: 0.52.1
- resolution: "@opentelemetry/sdk-logs@npm:0.52.1"
+"@opentelemetry/sdk-logs@npm:0.54.2":
+ version: 0.54.2
+ resolution: "@opentelemetry/sdk-logs@npm:0.54.2"
dependencies:
- "@opentelemetry/api-logs": 0.52.1
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/resources": 1.25.1
+ "@opentelemetry/api-logs": 0.54.2
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/resources": 1.27.0
peerDependencies:
"@opentelemetry/api": ">=1.4.0 <1.10.0"
- checksum: 16bdccd8250d96df0ffcadb63b107135d207072c1da52d056f00b211ca56924413d53a529cc0e362d96bd1bf33aa801eba51b395c5cb290b8c66fb1b988a7ff6
+ checksum: 5d428d872df5357750c7025018968a1a9971d2236388657ebcb4925197b8d13e6f93ea8fedb0d8d6b1ba44da91c1a045680b2b57ef45e7ee29a5bc08630948cb
languageName: node
linkType: hard
-"@opentelemetry/sdk-metrics@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/sdk-metrics@npm:1.25.1"
+"@opentelemetry/sdk-metrics@npm:1.27.0, @opentelemetry/sdk-metrics@npm:^1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/sdk-metrics@npm:1.27.0"
dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/resources": 1.25.1
- lodash.merge: ^4.6.2
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/resources": 1.27.0
peerDependencies:
"@opentelemetry/api": ">=1.3.0 <1.10.0"
- checksum: efd3902d30e75bfc16e4208ffc92096743148ed8cec84900d05f98cc17ff146c711c398c3a526589433509c82399641b0759b4ba9fffc12be2e5007a55af7517
- languageName: node
- linkType: hard
-
-"@opentelemetry/sdk-trace-base@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/sdk-trace-base@npm:1.25.1"
- dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/resources": 1.25.1
- "@opentelemetry/semantic-conventions": 1.25.1
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: 8ac97f7d8d36bf412c5f47ff98ded07c5dfd11602a6ae7657ec7b5f50bb6ddaa20fc682626afcf74e21b375dbad0d1d47c8e20204d5139431afec25165f6252b
- languageName: node
- linkType: hard
-
-"@opentelemetry/sdk-trace-base@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/sdk-trace-base@npm:1.26.0"
- dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/resources": 1.26.0
- "@opentelemetry/semantic-conventions": 1.27.0
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: a4f4ddf644fd0d79b2bd49e4377143688d2aa657643a470d8bed6696f26817598fb4e9f16ba2d8c237292af56f06eec56594a7b4cc417d4ea7e490a45a22113b
+ checksum: c8776577063a3a5199d5717247270daf5820ce6636530b5ea4b5a8d6b40170cec9bb6b56dacb5c118d2e90588af83d0ebbb13f4d370c7efe50f69d22e5d13463
languageName: node
linkType: hard
-"@opentelemetry/sdk-trace-base@npm:1.27.0, @opentelemetry/sdk-trace-base@npm:^1.0.0":
+"@opentelemetry/sdk-trace-base@npm:1.27.0, @opentelemetry/sdk-trace-base@npm:^1.27.0":
version: 1.27.0
resolution: "@opentelemetry/sdk-trace-base@npm:1.27.0"
dependencies:
@@ -5150,49 +5052,23 @@ __metadata:
languageName: node
linkType: hard
-"@opentelemetry/sdk-trace-node@npm:^1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/sdk-trace-node@npm:1.26.0"
+"@opentelemetry/sdk-trace-node@npm:^1.27.0":
+ version: 1.27.0
+ resolution: "@opentelemetry/sdk-trace-node@npm:1.27.0"
dependencies:
- "@opentelemetry/context-async-hooks": 1.26.0
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/propagator-b3": 1.26.0
- "@opentelemetry/propagator-jaeger": 1.26.0
- "@opentelemetry/sdk-trace-base": 1.26.0
+ "@opentelemetry/context-async-hooks": 1.27.0
+ "@opentelemetry/core": 1.27.0
+ "@opentelemetry/propagator-b3": 1.27.0
+ "@opentelemetry/propagator-jaeger": 1.27.0
+ "@opentelemetry/sdk-trace-base": 1.27.0
semver: ^7.5.2
peerDependencies:
"@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: 1d63bed8fc36496698919ccd25be3b7b0e0d0bf9478f413a26bdbfe0bf0d4166bf58bbbee2415fb2fe42d3008b5c32ec7e4e42f2cb6d18b665b349eb025c15eb
+ checksum: 2abbd609ebefc3c8ece87321281d3b31a59201e799e55cbde0ad0d87b7643e4e5ac47d83dcde2306d32780438b6eba49f57113bc56ed02e95b6fab1732780247
languageName: node
linkType: hard
-"@opentelemetry/sdk-trace-web@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/sdk-trace-web@npm:1.25.1"
- dependencies:
- "@opentelemetry/core": 1.25.1
- "@opentelemetry/sdk-trace-base": 1.25.1
- "@opentelemetry/semantic-conventions": 1.25.1
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: 6ad9e43c62d0cf49572779694dc87008d359455044c09acf60a21208265539310b66b0390d8ad5758e4399a9320ab41eac84a6170cef7f8466c0447b80206197
- languageName: node
- linkType: hard
-
-"@opentelemetry/sdk-trace-web@npm:1.26.0":
- version: 1.26.0
- resolution: "@opentelemetry/sdk-trace-web@npm:1.26.0"
- dependencies:
- "@opentelemetry/core": 1.26.0
- "@opentelemetry/sdk-trace-base": 1.26.0
- "@opentelemetry/semantic-conventions": 1.27.0
- peerDependencies:
- "@opentelemetry/api": ">=1.0.0 <1.10.0"
- checksum: d8e0ae8f9088723fc250874290923dc81933b279958f04beb79ca7e312bf66a79b823d92dd06be4e707d6919030c2998f8a18167a47ee7281e573b3ef3cc9e10
- languageName: node
- linkType: hard
-
-"@opentelemetry/sdk-trace-web@npm:^1.15.0, @opentelemetry/sdk-trace-web@npm:^1.8.0":
+"@opentelemetry/sdk-trace-web@npm:1.27.0, @opentelemetry/sdk-trace-web@npm:^1.15.0, @opentelemetry/sdk-trace-web@npm:^1.27.0, @opentelemetry/sdk-trace-web@npm:^1.8.0":
version: 1.27.0
resolution: "@opentelemetry/sdk-trace-web@npm:1.27.0"
dependencies:
@@ -5205,13 +5081,6 @@ __metadata:
languageName: node
linkType: hard
-"@opentelemetry/semantic-conventions@npm:1.25.1":
- version: 1.25.1
- resolution: "@opentelemetry/semantic-conventions@npm:1.25.1"
- checksum: fea418a4b09c55121c6da11c49dd2105116533838c484aead17e8acf8029dad711e145849812f9c61f9e48fad8e2b6cf103d2c18847ca993032ce9b27c2f863d
- languageName: node
- linkType: hard
-
"@opentelemetry/semantic-conventions@npm:1.27.0, @opentelemetry/semantic-conventions@npm:^1.27.0":
version: 1.27.0
resolution: "@opentelemetry/semantic-conventions@npm:1.27.0"
@@ -11287,7 +11156,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/shimmer@npm:^1.0.2, @types/shimmer@npm:^1.2.0":
+"@types/shimmer@npm:^1.2.0":
version: 1.2.0
resolution: "@types/shimmer@npm:1.2.0"
checksum: f081a31d826ce7bfe8cc7ba8129d2b1dffae44fd580eba4fcf741237646c4c2494ae6de2cada4b7713d138f35f4bc512dbf01311d813dee82020f97d7d8c491c
@@ -12836,8 +12705,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "appsmith-rts@workspace:packages/rts"
dependencies:
- "@opentelemetry/instrumentation-http": ^0.53.0
- "@opentelemetry/sdk-trace-node": ^1.26.0
+ "@opentelemetry/exporter-trace-otlp-http": ^0.54.2
+ "@opentelemetry/instrumentation": ^0.54.2
+ "@opentelemetry/instrumentation-http": ^0.54.2
+ "@opentelemetry/resources": ^1.27.0
+ "@opentelemetry/sdk-trace-node": ^1.27.0
"@opentelemetry/semantic-conventions": ^1.27.0
"@shared/ast": "workspace:^"
"@types/express": ^4.17.14
@@ -12888,16 +12760,16 @@ __metadata:
"@newrelic/browser-agent": ^1.255.0
"@octokit/rest": ^20.0.1
"@opentelemetry/api": ^1.9.0
- "@opentelemetry/auto-instrumentations-web": ^0.41.0
- "@opentelemetry/context-zone": 1.25.1
- "@opentelemetry/core": ^1.26.0
- "@opentelemetry/exporter-metrics-otlp-http": 0.52.1
- "@opentelemetry/exporter-trace-otlp-proto": 0.52.1
- "@opentelemetry/instrumentation": 0.52.1
- "@opentelemetry/resources": 1.25.1
- "@opentelemetry/sdk-metrics": 1.25.1
- "@opentelemetry/sdk-trace-base": 1.25.1
- "@opentelemetry/sdk-trace-web": 1.25.1
+ "@opentelemetry/auto-instrumentations-web": ^0.42.0
+ "@opentelemetry/context-zone": ^1.27.0
+ "@opentelemetry/core": ^1.27.0
+ "@opentelemetry/exporter-metrics-otlp-http": ^0.54.2
+ "@opentelemetry/exporter-trace-otlp-http": ^0.54.2
+ "@opentelemetry/instrumentation": ^0.54.2
+ "@opentelemetry/resources": ^1.27.0
+ "@opentelemetry/sdk-metrics": ^1.27.0
+ "@opentelemetry/sdk-trace-base": ^1.27.0
+ "@opentelemetry/sdk-trace-web": ^1.27.0
"@opentelemetry/semantic-conventions": ^1.27.0
"@peculiar/webcrypto": ^1.4.3
"@react-spring/web": ^9.7.4
@@ -19438,6 +19310,13 @@ __metadata:
languageName: node
linkType: hard
+"forwarded-parse@npm:2.1.2":
+ version: 2.1.2
+ resolution: "forwarded-parse@npm:2.1.2"
+ checksum: fca4df8898248d123d9d29a9fdf48005dd757366c2c17c1e195e8311a9aa89caf9f5e592f58f7d3d635087675ff39e85c32c6205838510f6f1fa4109de519930
+ languageName: node
+ linkType: hard
+
"forwarded@npm:0.2.0":
version: 0.2.0
resolution: "forwarded@npm:0.2.0"
diff --git a/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs b/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
index b4cc80762aed..87b7a42cb16f 100644
--- a/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
+++ b/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
@@ -38,6 +38,14 @@ if (CUSTOM_DOMAIN !== "") {
const frameAncestorsPolicy = (process.env.APPSMITH_ALLOWED_FRAME_ANCESTORS || "'self'")
.replace(/;.*$/, "")
+const monitoringParts = [{
+ path: "/monitoring/traces",
+ rewrite: "/v1/traces",
+}, {
+ path: "/monitoring/metrics",
+ rewrite: "/v1/metrics",
+}];
+
const parts = []
parts.push(`
@@ -139,6 +147,20 @@ parts.push(`
import reverse_proxy 8091
}
+${
+ monitoringParts.map((telemetry) => `
+ handle ${telemetry.path} {
+ @unauthorized not header api-key "${process.env.APPSMITH_NEW_RELIC_OTLP_LICENSE_KEY}"
+ respond @unauthorized "Forbidden" 403
+
+ @method_not_allowed not method POST
+ respond @method_not_allowed "Method Not Allowed" 405
+
+ rewrite * ${telemetry.rewrite}
+ import reverse_proxy 4318
+ }`).join("\n")
+}
+
redir /supervisor /supervisor/
handle_path /supervisor/* {
import reverse_proxy 9001
|
844abda74613a64f60cbd30082d40a84017acdce
|
2023-01-25 14:45:20
|
Satish Gandham
|
ci: Update test-build-docker-image.yml (#20054)
| false
|
Update test-build-docker-image.yml (#20054)
|
ci
|
diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml
index 403504884e62..a2da19ee4af8 100644
--- a/.github/workflows/test-build-docker-image.yml
+++ b/.github/workflows/test-build-docker-image.yml
@@ -400,7 +400,7 @@ jobs:
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result
perf-test:
- needs: [ client-build, server-build, rts-build ]
+ needs: [buildClient, buildServer, buildRts]
# Only run if the build step is successful
if: success()
name: perf-test
|
259cdb4b0433f6636559e052b53838e480249aa1
|
2025-02-04 15:28:58
|
Manish Kumar
|
chore: client side changes for git api contracts (#38970)
| false
|
client side changes for git api contracts (#38970)
|
chore
|
diff --git a/app/client/src/git/hooks/useCommit.ts b/app/client/src/git/hooks/useCommit.ts
index 6a468046a84b..3c20372f6121 100644
--- a/app/client/src/git/hooks/useCommit.ts
+++ b/app/client/src/git/hooks/useCommit.ts
@@ -14,13 +14,13 @@ export default function useCommit() {
const commitState = useArtifactSelector(selectCommitState);
const commit = useCallback(
- (commitMessage: string) => {
+ (message: string) => {
if (artifactDef && artifactId) {
dispatch(
gitArtifactActions.commitInit({
artifactId,
artifactDef,
- commitMessage,
+ message,
doPush: true,
}),
);
diff --git a/app/client/src/git/requests/commitRequest.types.ts b/app/client/src/git/requests/commitRequest.types.ts
index 68f8aeb2cedc..7485a66893b7 100644
--- a/app/client/src/git/requests/commitRequest.types.ts
+++ b/app/client/src/git/requests/commitRequest.types.ts
@@ -1,7 +1,7 @@
import type { ApiResponse } from "api/types";
export interface CommitRequestParams {
- commitMessage: string;
+ message: string;
doPush: boolean;
}
diff --git a/app/client/src/git/requests/fetchProtectedBranchesRequest.ts b/app/client/src/git/requests/fetchProtectedBranchesRequest.ts
index 762f88038e71..2d959a8132af 100644
--- a/app/client/src/git/requests/fetchProtectedBranchesRequest.ts
+++ b/app/client/src/git/requests/fetchProtectedBranchesRequest.ts
@@ -14,7 +14,9 @@ async function fetchProtectedBranchesRequestNew(
artifactType: GitArtifactType,
baseArtifactId: string,
): AxiosPromise<FetchProtectedBranchesResponse> {
- return Api.get(`${GIT_BASE_URL}/${artifactType}/${baseArtifactId}/protected`);
+ return Api.get(
+ `${GIT_BASE_URL}/${artifactType}/${baseArtifactId}/protected-branches`,
+ );
}
export default async function fetchProtectedBranchesRequest(
diff --git a/app/client/src/git/requests/gitImportRequest.ts b/app/client/src/git/requests/gitImportRequest.ts
index 6d05dd543212..3ee6dcdfcba7 100644
--- a/app/client/src/git/requests/gitImportRequest.ts
+++ b/app/client/src/git/requests/gitImportRequest.ts
@@ -17,9 +17,7 @@ async function gitImportRequestNew(
workspaceId: string,
params: GitImportRequestParams,
): AxiosPromise<GitImportResponse> {
- return Api.post(`${GIT_BASE_URL}/artifacts/import`, params, {
- params: { workspaceId },
- });
+ return Api.post(`${GIT_BASE_URL}/artifacts/import`, params, { workspaceId });
}
export default async function gitImportRequest(
diff --git a/app/client/src/git/requests/updateProtectedBranchesRequest.ts b/app/client/src/git/requests/updateProtectedBranchesRequest.ts
index 034126986789..c7135e2630ed 100644
--- a/app/client/src/git/requests/updateProtectedBranchesRequest.ts
+++ b/app/client/src/git/requests/updateProtectedBranchesRequest.ts
@@ -23,7 +23,7 @@ async function updateProtectedBranchesRequestNew(
params: UpdateProtectedBranchesRequestParams,
): AxiosPromise<UpdateProtectedBranchesResponse> {
return Api.post(
- `${GIT_BASE_URL}/${artifactType}/${baseArtifactId}/protected`,
+ `${GIT_BASE_URL}/${artifactType}/${baseArtifactId}/protected-branches`,
params,
);
}
diff --git a/app/client/src/git/sagas/commitSaga.ts b/app/client/src/git/sagas/commitSaga.ts
index 203baf485d36..9a0f058380d9 100644
--- a/app/client/src/git/sagas/commitSaga.ts
+++ b/app/client/src/git/sagas/commitSaga.ts
@@ -28,7 +28,7 @@ export default function* commitSaga(
try {
const params: CommitRequestParams = {
- commitMessage: action.payload.commitMessage,
+ message: action.payload.message,
doPush: action.payload.doPush,
};
const isGitApiContractsEnabled: boolean = yield select(
|
9ffcb64da99b9b6ee3977aba94185fb8815efa20
|
2024-11-07 15:41:20
|
Pawan Kumar
|
chore: Add documentation for property pane config (#36880)
| false
|
Add documentation for property pane config (#36880)
|
chore
|
diff --git a/app/client/src/constants/PropertyControlConstants.tsx b/app/client/src/constants/PropertyControlConstants.tsx
index 0d52e03366dc..a0e25666b543 100644
--- a/app/client/src/constants/PropertyControlConstants.tsx
+++ b/app/client/src/constants/PropertyControlConstants.tsx
@@ -17,19 +17,73 @@ const ControlTypes = getPropertyControlTypes();
export type ControlType = (typeof ControlTypes)[keyof typeof ControlTypes];
export interface PropertyPaneSectionConfig {
+ /**
+ * Title displayed at the top of a collapsible section in the property pane.
+ */
sectionName: string;
+ /**
+ * Unique identifier for the section. Used for:
+ * - Managing section collapse/expand state in Redux
+ * - Navigation and search functionality in the property pane
+ * - React rendering optimization (as key)
+ *
+ * If not provided, it will be auto-generated during widget initialization.
+ */
id?: string;
+ /**
+ * Array of properties that should go inside the section.
+ */
children: PropertyPaneConfig[];
- collapsible?: boolean; // Indicates whether the section could be collapsed or not
- childrenId?: string; // A unique id generated by combining the ids of all the children
+ /**
+ * If false, the section will not be collapsible.
+ */
+ collapsible?: boolean;
+ /**
+ * A unique id generated by combining the ids of all the children.
+ * Mainly used in memoization to prevent unnecessary re-renders of property sections ( PropertySection.tsx )
+ */
+ childrenId?: string;
+ /**
+ * Callback function to determine if the section should be hidden.
+ *
+ * @param props - Current widget properties
+ * @param propertyPath - Path to the widget property
+ * @returns - True if the section should be hidden, false otherwise
+ */
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
hidden?: (props: any, propertyPath: string) => boolean;
+ /**
+ * when true, the section will be open by default.
+ * Note: Seems like this is not used anywhere.
+ */
isDefaultOpen?: boolean;
propertySectionPath?: string;
- tag?: string; // Used to show a tag right after the section name (only in the search results)
-
+ /**
+ * Used to show a tag right after the section name (usedonly in the search results)
+ */
+ tag?: string;
+ /**
+ * Indicates whether this section contains properties that need to be generated dynamically at runtime.
+ * Used in conjunction with generateDynamicProperties.
+ *
+ * Common use cases:
+ * - Dynamic event handlers ( CustomWidget's )
+ * - Properties that depend on user configuration
+ * - Properties that need to be generated based on widget state
+ */
hasDynamicProperties?: boolean;
+ /**
+ * Function to generate property controls dynamically at runtime.
+ * Called when hasDynamicProperties is true.
+ *
+ * @param widget - Current widget properties
+ * @returns Array of dynamically generated property controls
+ *
+ * @example
+ * Used in CustomWidget and ExternalWidget to dynamically generate event handler properties
+ * based on available events.
+ */
generateDynamicProperties?: (
widget: WidgetProps,
) => PropertyPaneControlConfig[];
@@ -56,26 +110,64 @@ export interface PanelConfig {
}
export interface PropertyPaneControlConfig {
- // unique id to identify the property. It is added automatically with generateReactKey()
+ /**
+ * Unique identifier for the control. Used for internal tracking and debugging.
+ * It added by `addPropertyConfigIds` function in `WidgetProvider/factory/helpers.ts`.
+ */
id?: string;
- // label is used to display the name of the property
+ /**
+ * Label shown above the control.
+ */
label: string;
- // unique name of the property
+ /**
+ * Human-readable slugified name of the property. Used to identify the property in the widget properties.
+ */
propertyName: string;
- // Serves in the tooltip
+ /**
+ * Used to provide more context about the property. Appears as tooltip when we hover over the label of the property.
+ * Note: This is different from `helperText` which appears below the property input.
+ */
helpText?: string;
- // Dynamic text serves below the property pane inputs
+ /**
+ * Dynamic text that appears below the property input.
+ */
helperText?: ((props: unknown) => React.ReactNode) | React.ReactNode;
- // used to tell if the property is a JS convertible property.
- // If true, It will show the little JS icon button next to the property name
+ /**
+ * If true, transform the property input into plain input where js can be written..
+ */
isJSConvertible?: boolean;
+ /**
+ * Used in special cases where we want to custom control instead regular text input control.
+ * For example: `COMPUTE_VALUE` control is used in table widget provides access to currentRow in controls in the table columns.
+ */
customJSControl?: string;
+ /**
+ * Type of the property control.
+ * Full list of supported controls can be found in `app/client/src/components/propertyControls/index.ts`.
+ */
controlType: ControlType;
+ /** @deprecated. Not used anywhere. */
validationMessage?: string;
+ /**
+ * path that is used to get evaluated value for the property.
+ */
dataTreePath?: string;
- // used to define children property configs when the current property is a section
+ /**
+ * There is no requirement to define children for a control. This is just done to suffice types
+ * in places where controlConfig and sectionConfig are not differentiated.
+ */
children?: PropertyPaneConfig[];
panelConfig?: PanelConfig;
+ /**
+ * Callback function to update related widget properties.
+ *
+ * @param propertyName - Path to the widget property
+ * @param propertyValue - New value of the property
+ * @param props - Current widget properties
+ * @returns - Array of property updates
+ *
+ * @example Used in tabs widget to update the label of the tab.
+ */
updateRelatedWidgetProperties?: (
propertyName: string,
// TODO: Fix this the next time the file is edited
@@ -85,7 +177,15 @@ export interface PropertyPaneControlConfig {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
props: any,
) => UpdateWidgetPropertyPayload[];
- // Function that is called when the property is updated, it is mainly used to update other properties
+ /**
+ * Function that is called when the property is updated, it is mainly used to update other properties
+ *
+ * @param props - Current widget properties
+ * @param propertyName - Path to the widget property
+ * @param propertyValue - New value of the property
+ *
+ * @returns - Array of property updates
+ */
updateHook?: (
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -95,24 +195,70 @@ export interface PropertyPaneControlConfig {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
propertyValue: any,
) => Array<PropertyUpdates> | undefined;
+ /**
+ * callback function to determine if the property should be hidden.
+
+ * @param props - Current widget properties
+ * @param propertyPath - Path to the widget property
+ * @returns - True if the property should be hidden, false otherwise
+ */
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
hidden?: (props: any, propertyPath: string) => boolean;
+ /**
+ * If true, the property is hidden.
+ * Note: hidden and invisible do the same thing but differently. hidden uses a callback to determine if the property should be hidden.
+ * invisible is a boolean flag to hide the property.
+ */
invisible?: boolean;
isBindProperty: boolean;
+ /**
+ * If true, it means the property triggers a widget action.
+ *
+ * @example
+ * OnClick property in Button widget is a trigger property that can trigger an action.
+ */
isTriggerProperty: boolean;
+ /**
+ * Validation configuration for the property
+ */
validation?: ValidationConfig;
- useValidationMessage?: boolean;
+ /**
+ * Callback function to provide additional autocomplete data for the autocomplete list.
+ *
+ * @param props - Current widget properties
+ * @returns - Additional autocomplete data
+ */
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
additionalAutoComplete?: (props: any) => AdditionalDynamicDataTree;
evaluationSubstitutionType?: EvaluationSubstitutionType;
- // all the properties that current property is dependent on. All the properties passed here comes into widgetProperties
+ /**
+ * All properties that current property is dependent on.
+ * All of these properties becomes available in `widgetProperties` in the property control..
+ */
dependencies?: string[];
+ /**
+ * It is same as `dependencies` but these dependencies are not statically defined in the widget.
+ * The callback is called during rendering of the property control to get the latest dependencies.
+ *
+ * @example
+ * Used in CustomWidget to dynamically get the dependencies based on the current state of the widget.
+ */
dynamicDependencies?: (widget: WidgetProps) => string[];
- evaluatedDependencies?: string[]; // dependencies to be picked from the __evaluated__ object
+ /**
+ * Dependencies to be picked from the __evaluated__ object
+ */
+ evaluatedDependencies?: string[];
expected?: CodeEditorExpected;
- // Used to get value of the property from stylesheet config. Used in app theming v1 ( Not needed in anvil )
+ /**
+ * Used to get value of the property from stylesheet config. Used in app theming v1 ( Not needed in anvil )
+ *
+ * @param props - Current widget properties
+ * @param propertyPath - Path to the widget property
+ * @param stylesheet - Stylesheet config
+ * @returns - Value of the property
+ */
getStylesheetValue?: (
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -120,6 +266,10 @@ export interface PropertyPaneControlConfig {
propertyPath: string,
stylesheet?: Stylesheet,
) => Stylesheet[string];
+ /**
+ * Options for certain controls like Dropdown Control
+ * Note: This should be moved to controlConfig instead of being a top level property.
+ */
// TODO(abhinav): To fix this, rename the options property of the controls which use this
// Alternatively, create a new structure
// TODO: Fix this the next time the file is edited
@@ -127,47 +277,92 @@ export interface PropertyPaneControlConfig {
options?: any;
// The following should ideally be used internally
postUpdateAction?: ReduxActionType;
- onBlur?: () => void;
- onFocus?: () => void;
+ /**
+ * If true, the property is a panel property ( that is nested property pane )
+ */
isPanelProperty?: boolean;
- // Numeric Input Control
- min?: number;
// Switch mode ( JS -> Text )
shouldSwitchToNormalMode?: (
isDynamic: boolean,
isToggleDisabled: boolean,
triggerFlag?: boolean,
) => boolean;
-
/**
* `controlConfig` is a generic record that can be used to pass additional configuration
* options to the property control. The specific structure and contents of this record
* will depend on the control type and its individual requirements.
*/
controlConfig?: Record<string, unknown>;
+ /**
+ * The default value of the property.
+ */
defaultValue?: unknown;
- /** used to mark a property as reusable so that it can be reused in next dropping widget */
+ /**
+ * If the property is marked reusable, on the next drop it will use the value of the last dropped widget.
+ */
isReusable?: boolean;
}
interface ValidationConfigParams {
- min?: number; // min allowed for a number
- max?: number; // max allowed for a number
- natural?: boolean; // is a positive integer
- default?: unknown; // default for any type
- unique?: boolean | string[]; // unique in an array (string if a particular path is unique)
- required?: boolean; // required type
- // required is now used to check if value is an empty string.
- requiredKey?: boolean; //required key
- regex?: RegExp; // validator regex for text type
+ /**
+ * Minimum allowed value for a number.
+ */
+ min?: number;
+ /**
+ * Maximum allowed value for a number.
+ */
+ max?: number;
+ /**
+ * If true, the value must be a positive integer.
+ */
+ natural?: boolean;
+ /**
+ * Default value for any type.
+ */
+ default?: unknown;
+ /**
+ * If true or an array of strings, the value must be unique in an array.
+ * If an array of strings is provided, it specifies particular paths that must be unique.
+ */
+ unique?: boolean | string[];
+ /**
+ * If true, the value is required.
+ * Now used to check if the value is an empty string.
+ */
+ required?: boolean;
+ /**
+ * If true, the key is required.
+ */
+ requiredKey?: boolean;
+ /**
+ * Validator regex for text type.
+ */
+ regex?: RegExp;
+ /**
+ * Allowed keys in an object type.
+ */
allowedKeys?: Array<{
- // Allowed keys in an object type
name: string;
type: ValidationTypes;
params?: ValidationConfigParams;
}>;
- allowedValues?: unknown[]; // Allowed values in a string and array type
- children?: ValidationConfig; // Children configurations in an ARRAY or OBJECT_ARRAY type
+ /**
+ * Allowed values in a string and array type.
+ */
+ allowedValues?: unknown[];
+ /**
+ * Children configurations in an ARRAY or OBJECT_ARRAY type.
+ */
+ children?: ValidationConfig;
+ /**
+ * Validation function for FUNCTION type.
+ *
+ * @param value - The value to validate
+ * @param props - Current widget properties
+ * @param _ - Additional parameter (unused)
+ * @param moment - Moment.js instance
+ * @returns - Validation response
+ */
fn?: (
value: unknown,
// TODO: Fix this the next time the file is edited
@@ -179,18 +374,51 @@ interface ValidationConfigParams {
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
moment?: any,
- ) => ValidationResponse; // Function in a FUNCTION type
- fnString?: string; // AUTO GENERATED, SHOULD NOT BE SET BY WIDGET DEVELOPER
- expected?: CodeEditorExpected; // FUNCTION type expected type and example
- strict?: boolean; //for strict string validation of TEXT type
- ignoreCase?: boolean; //to ignore the case of key
- type?: ValidationTypes; // Used for ValidationType.ARRAY_OF_TYPE_OR_TYPE to define sub type
- types?: ValidationConfig[]; // Used for ValidationType.UNION to define sub type
- params?: ValidationConfigParams; // Used for ValidationType.ARRAY_OF_TYPE_OR_TYPE to define sub type params
- passThroughOnZero?: boolean; // Used for ValidationType.NUMBER to allow 0 to be passed through. Deafults value is true
- limitLineBreaks?: boolean; // Used for ValidationType.TEXT to limit line breaks in a large json object.
- defaultValue?: unknown; // used for ValidationType.UNION when none the union type validation is success
- defaultErrorMessage?: string; // used for ValidationType.UNION when none the union type validation is success
+ ) => ValidationResponse;
+ /**
+ * AUTO GENERATED, SHOULD NOT BE SET BY WIDGET DEVELOPER
+ */
+ fnString?: string;
+ /**
+ * FUNCTION type expected type and example.
+ */
+ expected?: CodeEditorExpected;
+ /**
+ * If true, enables strict string validation of TEXT type.
+ */
+ strict?: boolean;
+ /**
+ * If true, ignores the case of keys.
+ */
+ ignoreCase?: boolean;
+ /**
+ * Used for ValidationType.ARRAY_OF_TYPE_OR_TYPE to define sub type.
+ */
+ type?: ValidationTypes;
+ /**
+ * Used for ValidationType.UNION to define sub types.
+ */
+ types?: ValidationConfig[];
+ /**
+ * Used for ValidationType.ARRAY_OF_TYPE_OR_TYPE to define sub type params.
+ */
+ params?: ValidationConfigParams;
+ /**
+ * Used for ValidationType.NUMBER to allow 0 to be passed through. Default value is true.
+ */
+ passThroughOnZero?: boolean;
+ /**
+ * Used for ValidationType.TEXT to limit line breaks in a large JSON object.
+ */
+ limitLineBreaks?: boolean;
+ /**
+ * Used for ValidationType.UNION when none of the union type validations succeed.
+ */
+ defaultValue?: unknown;
+ /**
+ * Used for ValidationType.UNION when none of the union type validations succeed.
+ */
+ defaultErrorMessage?: string;
}
export interface ValidationConfig {
diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx
index fa7450d33a2e..4b0452cb9b4f 100644
--- a/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx
+++ b/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx
@@ -130,7 +130,7 @@ function PropertyControlsGenerator(props: PropertyControlsGeneratorProps) {
) : (
<>
{generatePropertyControl(
- searchResults as readonly PropertyPaneConfig[],
+ searchResults,
props,
isSearchResult,
enhancements,
diff --git a/app/client/src/utils/PropertyControlFactory.tsx b/app/client/src/utils/PropertyControlFactory.tsx
index bb231492508a..54cc4e2fca04 100644
--- a/app/client/src/utils/PropertyControlFactory.tsx
+++ b/app/client/src/utils/PropertyControlFactory.tsx
@@ -9,6 +9,19 @@ import type {
import type BaseControl from "components/propertyControls/BaseControl";
import { isArray } from "lodash";
import type { AdditionalDynamicDataTree } from "./autocomplete/customTreeTypeDefCreator";
+
+/**
+ * PropertyPaneControlFactory
+ *
+ * This classes manages all the available controls for the property pane.
+ * It maintains a map of control types to their respective builders.
+ * The control builders are responsible for creating the actual controls.
+ *
+ * Key functionalities:
+ * 1. Register control builders, methods, and computed value functions
+ * 2. Create controls based on control data and preferences
+ * 3. Retrieve available control types
+ */
class PropertyControlFactory {
static controlMap: Map<ControlType, ControlBuilder<ControlProps>> = new Map();
static controlMethods: Map<ControlType, ControlMethods> = new Map();
|
9f2c32b9dee72c2b68ea82d27873b1e09ef58d7f
|
2021-10-08 13:22:08
|
akash-codemonk
|
fix: onboarding table widget is blank after adding binding (#8285)
| false
|
onboarding table widget is blank after adding binding (#8285)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/Onboarding_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/Onboarding_spec.js
index f8c64517e557..4a2b970cf8b9 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/Onboarding_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/Onboarding_spec.js
@@ -66,6 +66,11 @@ describe("Onboarding", function() {
.should("be.visible")
.click();
+ // Check if table is showing any data
+ cy.getTableDataSelector("0", "0").then((selector) => {
+ cy.get(selector).should("be.visible");
+ });
+
// wait for animation duration
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js
index b9afe5825249..7fe550ada358 100644
--- a/app/client/cypress/support/commands.js
+++ b/app/client/cypress/support/commands.js
@@ -2739,6 +2739,11 @@ Cypress.Commands.add("ExportVerify", (togglecss, name) => {
cy.togglebarDisable(togglecss);
});
+Cypress.Commands.add("getTableDataSelector", (rowNum, colNum) => {
+ const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
+ return selector;
+});
+
Cypress.Commands.add("readTabledataPublish", (rowNum, colNum) => {
// const selector = `.t--widget-tablewidget .e-gridcontent.e-lib.e-droppable td[index=${rowNum}][aria-colindex=${colNum}]`;
const selector = `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}] div`;
diff --git a/app/client/src/sagas/OnboardingSagas.ts b/app/client/src/sagas/OnboardingSagas.ts
index 940b669cd399..0ddb69bf9766 100644
--- a/app/client/src/sagas/OnboardingSagas.ts
+++ b/app/client/src/sagas/OnboardingSagas.ts
@@ -175,8 +175,14 @@ function* listenForWidgetAdditions() {
widgetName: "Standup_Table",
tableData: [],
columnSizeMap: {
- avatar: 20,
- name: 30,
+ avatar: 80,
+ name: 120,
+ },
+ columnTypeMap: {
+ avatar: {
+ type: "image",
+ format: "",
+ },
},
migrated: false,
...getStandupTableDimensions(),
@@ -334,18 +340,6 @@ function* listenForSuccessfulBinding() {
errors.length === 0;
if (bindSuccessful) {
- yield put(
- batchUpdateWidgetProperty(selectedWidget.widgetId, {
- modify: {
- columnTypeMap: {
- avatar: {
- type: "image",
- format: "",
- },
- },
- },
- }),
- );
AnalyticsUtil.logEvent("ONBOARDING_SUCCESSFUL_BINDING");
yield put(setCurrentStep(OnboardingStep.ADD_INPUT_WIDGET));
|
b58209840631e43f9081d19224af931289fc401e
|
2024-10-03 06:32:50
|
Rishabh Rathod
|
fix: Revert "fix the gitSync related issue" (#36658)
| false
|
Revert "fix the gitSync related issue" (#36658)
|
fix
|
diff --git a/app/client/src/actions/pageActions.tsx b/app/client/src/actions/pageActions.tsx
index 22cfe873e309..462cbb1aeb40 100644
--- a/app/client/src/actions/pageActions.tsx
+++ b/app/client/src/actions/pageActions.tsx
@@ -73,7 +73,7 @@ export interface FetchPublishedPageActionPayload {
export interface FetchPublishedPageResourcesPayload {
pageId: string;
- basePageId: string;
+ applicationId: string;
}
export const fetchPublishedPageAction = (
@@ -297,14 +297,14 @@ export const clonePageSuccess = ({
// Fetches resources required for published page, currently only used for fetching actions
// In future we can reuse this for fetching other page level resources in published mode
-export const fetchPublishedPageResources = ({
- basePageId,
- pageId,
-}: FetchPublishedPageResourcesPayload): ReduxAction<FetchPublishedPageResourcesPayload> => ({
+export const fetchPublishedPageResourcesAction = (
+ pageId: string,
+ applicationId: string,
+): ReduxAction<FetchPublishedPageResourcesPayload> => ({
type: ReduxActionTypes.FETCH_PUBLISHED_PAGE_RESOURCES_INIT,
payload: {
pageId,
- basePageId,
+ applicationId,
},
});
diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx
index 2f6381de77f7..1e94ce4336cf 100644
--- a/app/client/src/ce/constants/ReduxActionConstants.tsx
+++ b/app/client/src/ce/constants/ReduxActionConstants.tsx
@@ -981,8 +981,6 @@ const AppViewActionTypes = {
SET_APP_VIEWER_HEADER_HEIGHT: "SET_APP_VIEWER_HEADER_HEIGHT",
SET_APP_SIDEBAR_PINNED: "SET_APP_SIDEBAR_PINNED",
FETCH_PUBLISHED_PAGE_RESOURCES_INIT: "FETCH_PUBLISHED_PAGE_RESOURCES_INIT",
- FETCH_PUBLISHED_PAGE_RESOURCES_SUCCESS:
- "FETCH_PUBLISHED_PAGE_RESOURCES_SUCCESS",
};
const AppViewActionErrorTypes = {
diff --git a/app/client/src/ce/sagas/PageSagas.tsx b/app/client/src/ce/sagas/PageSagas.tsx
index aeee2a7b60c4..2f7003b7754a 100644
--- a/app/client/src/ce/sagas/PageSagas.tsx
+++ b/app/client/src/ce/sagas/PageSagas.tsx
@@ -395,9 +395,9 @@ export function* fetchPublishedPageResourcesSaga(
action: ReduxAction<FetchPublishedPageResourcesPayload>,
) {
try {
- const { basePageId, pageId } = action.payload;
+ const { applicationId, pageId } = action.payload;
- const params = { defaultPageId: basePageId };
+ const params = { defaultPageId: pageId };
const initConsolidatedApiResponse: ApiResponse<InitConsolidatedApi> =
yield ConsolidatedPageLoadApi.getConsolidatedPageLoadDataView(params);
@@ -420,11 +420,8 @@ export function* fetchPublishedPageResourcesSaga(
);
// NOTE: fetchActionsForView is used here to update publishedActions in redux store and not to fetch actions again
- yield put(fetchActionsForView({ applicationId: "", publishedActions }));
+ yield put(fetchActionsForView({ applicationId, publishedActions }));
yield put(fetchAllPageEntityCompletion([executePageLoadActions()]));
- yield put({
- type: ReduxActionTypes.FETCH_PUBLISHED_PAGE_RESOURCES_SUCCESS,
- });
}
} catch (error) {
yield put({
diff --git a/app/client/src/pages/AppViewer/index.tsx b/app/client/src/pages/AppViewer/index.tsx
index abe1ebbf3884..f17badca3c58 100644
--- a/app/client/src/pages/AppViewer/index.tsx
+++ b/app/client/src/pages/AppViewer/index.tsx
@@ -28,7 +28,7 @@ import { useSelector } from "react-redux";
import BrandingBadge from "./BrandingBadge";
import { setAppViewHeaderHeight } from "actions/appViewActions";
import { CANVAS_SELECTOR } from "constants/WidgetConstants";
-import { fetchPublishedPageResources } from "actions/pageActions";
+import { fetchPublishedPageResourcesAction } from "actions/pageActions";
import usePrevious from "utils/hooks/usePrevious";
import { getIsBranchUpdated } from "../utils";
import { APP_MODE } from "entities/App";
@@ -162,11 +162,9 @@ function AppViewer(props: Props) {
)?.pageId;
if (pageId) {
+ // Used for fetching page resources
dispatch(
- fetchPublishedPageResources({
- basePageId,
- pageId,
- }),
+ fetchPublishedPageResourcesAction(basePageId, baseApplicationId),
);
}
}
diff --git a/app/client/src/reducers/uiReducers/appViewReducer.tsx b/app/client/src/reducers/uiReducers/appViewReducer.tsx
index 05ffcdbfcad3..1d3671392f24 100644
--- a/app/client/src/reducers/uiReducers/appViewReducer.tsx
+++ b/app/client/src/reducers/uiReducers/appViewReducer.tsx
@@ -26,11 +26,6 @@ const appViewReducer = createReducer(initialState, {
[ReduxActionTypes.FETCH_PUBLISHED_PAGE_INIT]: (state: AppViewReduxState) => {
return { ...state, isFetchingPage: true };
},
- [ReduxActionTypes.FETCH_PUBLISHED_PAGE_RESOURCES_INIT]: (
- state: AppViewReduxState,
- ) => {
- return { ...state, isFetchingPage: true };
- },
[ReduxActionErrorTypes.FETCH_PUBLISHED_PAGE_ERROR]: (
state: AppViewReduxState,
) => {
@@ -49,14 +44,6 @@ const appViewReducer = createReducer(initialState, {
isFetchingPage: false,
};
},
- [ReduxActionTypes.FETCH_PUBLISHED_PAGE_RESOURCES_SUCCESS]: (
- state: AppViewReduxState,
- ) => {
- return {
- ...state,
- isFetchingPage: false,
- };
- },
[ReduxActionTypes.SET_APP_VIEWER_HEADER_HEIGHT]: (
state: AppViewReduxState,
action: ReduxAction<number>,
|
73f1ca4cc079ca2e33be781cf973e1233baa7f7c
|
2024-01-09 15:17:03
|
Jacques Ikot
|
feat: add unit test for template filters component (#30147)
| false
|
add unit test for template filters component (#30147)
|
feat
|
diff --git a/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx b/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx
index eca37186bc0d..2e326aadd7dd 100644
--- a/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx
+++ b/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx
@@ -10,7 +10,7 @@ import history from "utils/history";
import { lightTheme } from "selectors/themeSelectors";
import { BUILDING_BLOCK_THUMBNAIL_ALT_TEXT } from "../constants";
import {
- mockBuildingBlock,
+ unitTestMockBuildingBlock,
MOCK_BUILDING_BLOCK_TITLE,
MOCK_BUILDING_BLOCK_DESCRIPTION,
MOCK_BUILDING_BLOCK_ID,
@@ -30,14 +30,14 @@ const onForkTemplateClick = jest.fn();
const BaseBuildingBlockRender = () => (
<ThemeProvider theme={lightTheme}>
<BuildingBlock
- buildingBlock={mockBuildingBlock}
+ buildingBlock={unitTestMockBuildingBlock}
hideForkTemplateButton={false}
onForkTemplateClick={onForkTemplateClick}
/>
</ThemeProvider>
);
-describe("BuildingBlock Component", () => {
+describe("<BuildingBlock />", () => {
beforeEach(() => {
jest.clearAllMocks();
});
@@ -65,7 +65,7 @@ describe("BuildingBlock Component", () => {
it("triggers onForkTemplateClick when the fork button is clicked", async () => {
render(BaseBuildingBlockRender());
fireEvent.click(screen.getByTestId("t--fork-building-block"));
- expect(onForkTemplateClick).toHaveBeenCalledWith(mockBuildingBlock);
+ expect(onForkTemplateClick).toHaveBeenCalledWith(unitTestMockBuildingBlock);
});
it("does not trigger onForkTemplateClick when the button is hidden", () => {
@@ -73,7 +73,7 @@ describe("BuildingBlock Component", () => {
render(
<ThemeProvider theme={lightTheme}>
<BuildingBlock
- buildingBlock={mockBuildingBlock}
+ buildingBlock={unitTestMockBuildingBlock}
hideForkTemplateButton
onForkTemplateClick={onForkTemplateClick}
/>
diff --git a/app/client/src/pages/Templates/StartWithTemplateFilter/TemplateFilter.test.tsx b/app/client/src/pages/Templates/StartWithTemplateFilter/TemplateFilter.test.tsx
new file mode 100644
index 000000000000..7704cd545825
--- /dev/null
+++ b/app/client/src/pages/Templates/StartWithTemplateFilter/TemplateFilter.test.tsx
@@ -0,0 +1,160 @@
+import React from "react";
+import "@testing-library/jest-dom";
+import { render, screen, fireEvent, waitFor } from "@testing-library/react";
+import configureStore from "redux-mock-store";
+import { Provider } from "react-redux";
+import { ThemeProvider } from "styled-components";
+
+import StartWithTemplateFilters from "./index";
+import { lightTheme } from "selectors/themeSelectors";
+import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
+import {
+ unitTestMockTemplate,
+ unitTestMockTemplateAllFilters,
+} from "../test_config";
+
+const mockStore = configureStore([]);
+
+describe("<StartWithTemplateFilters />", () => {
+ let store: any;
+
+ beforeEach(() => {
+ store = mockStore({
+ ui: {
+ applications: {
+ isFetchingApplications: false,
+ },
+ templates: {
+ filters: {
+ functions: ["All"],
+ },
+ allFilters: unitTestMockTemplateAllFilters,
+ templateSearchQuery: "",
+ templates: [unitTestMockTemplate],
+ },
+ },
+ });
+ });
+
+ const BaseComponentRender = () => (
+ <Provider store={store}>
+ <ThemeProvider theme={lightTheme}>
+ <StartWithTemplateFilters />
+ </ThemeProvider>
+ </Provider>
+ );
+
+ it("renders StartWithTemplateFilters component correctly", () => {
+ render(<BaseComponentRender />);
+ const filterItems = screen.getAllByTestId("t--templates-filter-item");
+ expect(
+ screen.getByTestId("t--application-search-input"),
+ ).toBeInTheDocument();
+ expect(filterItems.length).toBeGreaterThan(1);
+ });
+
+ it("sets the default filter to All when rendered", () => {
+ render(<BaseComponentRender />);
+
+ const expectedAction = {
+ type: ReduxActionTypes.UPDATE_TEMPLATE_FILTERS,
+ payload: {
+ category: "functions",
+ filterList: ["All"],
+ },
+ };
+
+ expect(store.getActions()).toEqual(
+ expect.arrayContaining([expectedAction]),
+ );
+ });
+
+ it("removes 'All' filter when a filter item is selected", async () => {
+ render(
+ <Provider store={store}>
+ <ThemeProvider theme={lightTheme}>
+ <StartWithTemplateFilters />
+ </ThemeProvider>
+ </Provider>,
+ );
+ const filterItems = screen.getAllByTestId("t--templates-filter-item");
+ fireEvent.click(filterItems[1]); // Click on the second filter item
+ await waitFor(() => {
+ expect(store.getActions()).toEqual(
+ expect.arrayContaining([
+ {
+ type: ReduxActionTypes.UPDATE_TEMPLATE_FILTERS,
+ payload: {
+ category: "functions",
+ filterList: expect.not.arrayContaining(["All"]),
+ },
+ },
+ ]),
+ );
+ });
+ });
+
+ it("dispatches filterTemplates action on filter selection", async () => {
+ render(<BaseComponentRender />);
+ const firstFilterElement = screen.getAllByTestId(
+ "t--templates-filter-item",
+ )[1];
+ fireEvent.click(firstFilterElement);
+ // Wait for the debounced search input action to complete
+ await waitFor(() => {
+ const expectedAction = {
+ type: ReduxActionTypes.UPDATE_TEMPLATE_FILTERS,
+ payload: {
+ category: "functions",
+ filterList: ["Operations"],
+ },
+ };
+ expect(store.getActions()).toEqual(
+ expect.arrayContaining([expectedAction]),
+ );
+ });
+ });
+
+ it("dispatches setTemplateSearchQuery action on text input", async () => {
+ render(<BaseComponentRender />);
+ const searchInput = screen.getByTestId("t--application-search-input");
+ fireEvent.change(searchInput, { target: { value: "test query" } });
+ await waitFor(() => {
+ expect(store.getActions()).toEqual(
+ expect.arrayContaining([
+ {
+ type: ReduxActionTypes.SET_TEMPLATE_SEARCH_QUERY,
+ payload: "test query",
+ },
+ ]),
+ );
+ });
+ });
+
+ it("dispatches filterTemplates action on multiple filter selection", async () => {
+ render(<BaseComponentRender />);
+ const filterItems = screen.getAllByTestId("t--templates-filter-item");
+ fireEvent.click(filterItems[1]);
+ fireEvent.click(filterItems[2]);
+ await waitFor(() => {
+ expect(store.getActions()).toEqual(
+ expect.arrayContaining([
+ {
+ type: ReduxActionTypes.UPDATE_TEMPLATE_FILTERS,
+ payload: {
+ category: "functions",
+ filterList: ["Operations"],
+ },
+ },
+ {
+ type: ReduxActionTypes.UPDATE_TEMPLATE_FILTERS,
+ payload: {
+ category: "functions",
+ filterList: ["Communications"],
+ },
+ },
+ ]),
+ );
+ });
+ });
+});
diff --git a/app/client/src/pages/Templates/StartWithTemplateFilter/index.tsx b/app/client/src/pages/Templates/StartWithTemplateFilter/index.tsx
index 23ea7897a35e..874dbb11aa74 100644
--- a/app/client/src/pages/Templates/StartWithTemplateFilter/index.tsx
+++ b/app/client/src/pages/Templates/StartWithTemplateFilter/index.tsx
@@ -225,6 +225,7 @@ const StartWithTemplateFilters = (props: FilterWrapperProps) => {
<SearchWrapper sticky={props.stickySearchBar}>
<div className="templates-search">
<SearchInput
+ aria-label={createMessage(SEARCH_TEMPLATES)}
data-testid={"t--application-search-input"}
isDisabled={false}
onChange={onChange}
diff --git a/app/client/src/pages/Templates/test_config.ts b/app/client/src/pages/Templates/test_config.ts
index 269d8a72cab0..849f14f0d994 100644
--- a/app/client/src/pages/Templates/test_config.ts
+++ b/app/client/src/pages/Templates/test_config.ts
@@ -6,7 +6,7 @@ export const MOCK_BUILDING_BLOCK_DESCRIPTION =
"Description of the test building block";
export const MOCK_BUILDING_BLOCK_ID = "mockId";
-export const mockBuildingBlock: Template = {
+export const unitTestMockBuildingBlock: Template = {
id: MOCK_BUILDING_BLOCK_ID,
userPermissions: ["read", "write"],
title: MOCK_BUILDING_BLOCK_TITLE,
@@ -24,3 +24,147 @@ export const mockBuildingBlock: Template = {
pages: [],
allowPageImport: true,
};
+
+export const unitTestMockTemplate = {
+ id: "6222224900c64549b31b9467",
+ userPermissions: [],
+ title: "Fund Raising CRM",
+ description:
+ "This Fundraising CRM, allows for secure and direct communication between a company, and their investors, allowing users to maintain track of their communications.",
+ appUrl:
+ "https://app.appsmith.com/applications/61dbc9d66bd5757f166cc898/pages/6204a671552a5f63958772aa/b?embed=true",
+ appDataUrl:
+ "https://s3.us-east-2.amazonaws.com/template.appsmith.com/FundRaisingCRM_Enabled.json",
+ gifUrl: "",
+ sortPriority: "1001",
+ screenshotUrls: [
+ "https://assets.appsmith.com/templates/screenshots/FundRaisingCRM.png",
+ ],
+ widgets: [
+ "BUTTON_WIDGET",
+ "CONTAINER_WIDGET",
+ "FILE_PICKER_WIDGET_V2",
+ "FORM_WIDGET",
+ "ICON_BUTTON_WIDGET",
+ "INPUT_WIDGET_V2",
+ "LIST_WIDGET_V2",
+ "MAP_WIDGET",
+ "MODAL_WIDGET",
+ "RATE_WIDGET",
+ "RICH_TEXT_EDITOR_WIDGET",
+ "TEXT_WIDGET",
+ ],
+ functions: ["Operations", "Communications", "All"],
+ useCases: ["Finance", "Information Technology (IT)"],
+ datasources: ["amazons3-plugin", "google-sheets-plugin"],
+ pages: [
+ {
+ id: "6204a671552a5f63958772aa",
+ name: "Investors",
+ slug: "investors",
+ isDefault: true,
+ isHidden: false,
+ },
+ ],
+ minVersion: "v1.6.11-SNAPSHOT",
+ minVersionPadded: "000010000600011",
+ downloadCount: 0,
+ active: true,
+ allowPageImport: true,
+ isCommunityTemplate: false,
+ new: false,
+};
+
+export const unitTestMockTemplateAllFilters = {
+ userPermissions: [],
+ sortPriority: "1000",
+ widgets: [
+ "Modal",
+ "CHECKBOX_WIDGET",
+ "Table",
+ "CONTAINER_WIDGET",
+ "FORM_WIDGET",
+ "MULTI_SELECT_WIDGET_V2",
+ "LIST_WIDGET",
+ "TABLE_WIDGET_V2",
+ "INPUT_WIDGET_V2",
+ "MENU_BUTTON_WIDGET",
+ "RATE_WIDGET",
+ "CHART_WIDGET",
+ "Tabs",
+ "BUTTON_WIDGET",
+ "Button",
+ "MODAL_WIDGET",
+ "Select",
+ "SWITCH_WIDGET",
+ "DOCUMENT_VIEWER_WIDGET",
+ "RICH_TEXT_EDITOR_WIDGET",
+ "JSON_FORM_WIDGET",
+ "Image",
+ "TABLE_WIDGET",
+ "IMAGE_WIDGET",
+ "SELECT_WIDGET",
+ "CURRENCY_INPUT_WIDGET",
+ "TABS_WIDGET",
+ "PHONE_INPUT_WIDGET",
+ "DATE_PICKER_WIDGET2",
+ "TEXT_WIDGET",
+ "List",
+ "LIST_WIDGET_V2",
+ "STATBOX_WIDGET",
+ "MAP_WIDGET",
+ "Container",
+ "BUTTON_GROUP_WIDGET",
+ "Form",
+ "Icon Button",
+ "Text",
+ "ICON_BUTTON_WIDGET",
+ "Input",
+ ],
+ functions: [
+ "Start-up",
+ "Operations",
+ "Customer Support",
+ "Information Technology (IT)",
+ "Other",
+ "Building Blocks",
+ "Services",
+ "Technology",
+ "Human Resources",
+ "Building Block",
+ "Communications",
+ "Customer management",
+ "Sales",
+ "Consumer goods",
+ "All",
+ "E-Commerce",
+ "Marketing",
+ ],
+ useCases: [
+ "Productivity",
+ "Public Relations (PR)",
+ "Remote work",
+ "Human Resources",
+ "Human Resources (HR)",
+ "Communications",
+ "Admin",
+ "Software Development",
+ "Project Management",
+ "Remote Work",
+ "Marketing",
+ "Personal",
+ "Support",
+ "Finance",
+ "Sales",
+ ],
+ datasources: [
+ "twilio",
+ "61531b1b9370f312a0394f16",
+ "Google Sheets",
+ "smtp-plugin",
+ "mongo-plugin",
+ "postgres-plugin",
+ "restapi-plugin",
+ ],
+ new: true,
+};
|
eb51866dfb21d3a53a8c2a479d692a0b122776d3
|
2023-06-09 14:55:52
|
arunvjn
|
fix: show callback button in action selector cards for chainable actions by default (#24071)
| false
|
show callback button in action selector cards for chainable actions by default (#24071)
|
fix
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Onboarding/GuidedTour_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Onboarding/GuidedTour_spec.js
index d2afba3d2579..bfbe1b2a8fa0 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Onboarding/GuidedTour_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Onboarding/GuidedTour_spec.js
@@ -98,7 +98,7 @@ describe("excludeForAirgap", "Guided Tour", function () {
"Execute a query",
"updateCustomerInfo.run",
),
- cy.get(_.propPane._actionCallbacks).click();
+ cy.get(_.propPane._actionCallbacks).first().click();
cy.get(_.propPane._actionAddCallback("success")).click().wait(500);
cy.get(_.locators._dropDownValue("Execute a query"))
.click()
diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js
index cbe1cf1a5ac5..215169a1bc70 100644
--- a/app/client/cypress/support/commands.js
+++ b/app/client/cypress/support/commands.js
@@ -852,10 +852,10 @@ Cypress.Commands.add("closePropertyPane", () => {
Cypress.Commands.add(
"onClickActions",
- (forSuccess, forFailure, actionType, actionValue) => {
+ (forSuccess, forFailure, actionType, actionValue, idx = 0) => {
propPane.SelectActionByTitleAndValue(actionType, actionValue);
- cy.get(propPane._actionCallbacks).click();
+ cy.get(propPane._actionCallbacks).last().click();
// add a success callback
cy.get(propPane._actionAddCallback("success")).click().wait(500);
diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.test.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.test.tsx
new file mode 100644
index 000000000000..e5d55bdd4fce
--- /dev/null
+++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.test.tsx
@@ -0,0 +1,72 @@
+import React from "react";
+import { Provider } from "react-redux";
+import { testStore } from "store";
+import { ThemeProvider } from "styled-components";
+import { lightTheme } from "selectors/themeSelectors";
+import { render } from "@testing-library/react";
+import ActionTree from "./ActionTree";
+import type { TActionBlock } from "../../types";
+import { APPSMITH_GLOBAL_FUNCTIONS } from "../../constants";
+
+describe("tests for Action Tree in Action Selector", () => {
+ const store = testStore({});
+ it("callback button is rendered for chainable actions", function () {
+ const actionBlock: TActionBlock = {
+ code: "showAlert('Hello')",
+ actionType: APPSMITH_GLOBAL_FUNCTIONS.showAlert,
+ success: {
+ blocks: [],
+ },
+ error: {
+ blocks: [],
+ },
+ };
+ const component = render(
+ <Provider store={store}>
+ <ThemeProvider theme={lightTheme}>
+ <ActionTree
+ actionBlock={actionBlock}
+ id="xyz"
+ level={0}
+ onChange={() => {
+ return;
+ }}
+ />
+ </ThemeProvider>
+ </Provider>,
+ );
+
+ const callbackBtn = component.queryByTestId("t--callback-btn-xyz");
+ expect(callbackBtn).not.toBeNull();
+ });
+
+ it("callback button should not be rendered for actions that are not chainable", function () {
+ const actionBlock: TActionBlock = {
+ code: "setInterval(() => showAlert('Hello'), 1000, 'test')",
+ actionType: APPSMITH_GLOBAL_FUNCTIONS.setInterval,
+ success: {
+ blocks: [],
+ },
+ error: {
+ blocks: [],
+ },
+ };
+ const component = render(
+ <Provider store={store}>
+ <ThemeProvider theme={lightTheme}>
+ <ActionTree
+ actionBlock={actionBlock}
+ id="xyz"
+ level={0}
+ onChange={() => {
+ return;
+ }}
+ />
+ </ThemeProvider>
+ </Provider>,
+ );
+
+ const callbackBtn = component.queryByTestId("t--callback-btn-xyz");
+ expect(callbackBtn).toBeNull();
+ });
+});
diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx
index 8a8c518a637f..f054a0049821 100644
--- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx
+++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx
@@ -64,14 +64,11 @@ export default function ActionTree(props: {
setActionBlock(props.actionBlock);
}, [props.actionBlock]);
- const [touched, setTouched] = React.useState(false);
-
const [callbacksExpanded, setCallbacksExpanded] = React.useState(false);
const handleCardSelection = useCallback(() => {
if (selectedBlockId === id) return;
selectBlock(id);
- setTouched(true);
}, [id, selectedBlockId]);
useEffect(() => {
@@ -132,8 +129,6 @@ export default function ActionTree(props: {
areCallbacksApplicable = callbacksCount > 0;
}
- const showCallbacks = selectedBlockId === id || touched;
-
const callbackBlocks = [
{
label: "On success",
@@ -169,16 +164,16 @@ export default function ActionTree(props: {
level={props.level}
onSelect={handleCardSelection}
selected={isOpen}
- showCallbacks={showCallbacks && areCallbacksApplicable}
+ showCallbacks={areCallbacksApplicable}
variant={props.variant}
/>
</ActionSelector>
- {showCallbacks && areCallbacksApplicable ? (
+ {areCallbacksApplicable ? (
<CallbackButton
className="callback-collapse flex w-full justify-between px-2 py-1 border-t-transparent t--action-callbacks"
+ data-testid={`t--callback-btn-${id}`}
onClick={() => {
setCallbacksExpanded((prev) => !prev);
- setTouched(true);
}}
>
<Text kind="action-s">Callbacks</Text>
|
99b9e44e8cb6465aecdabd6ede6b9672538146a3
|
2024-06-07 13:02:20
|
Anagh Hegde
|
chore: refactor analytics event for partial import (#34066)
| false
|
refactor analytics event for partial import (#34066)
|
chore
|
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 c3dc7551c55c..db80d3ac15f7 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
@@ -94,13 +94,15 @@ public class PartialImportServiceCEImpl implements PartialImportServiceCE {
@Override
public Mono<Application> importResourceInPage(
String workspaceId, String applicationId, String pageId, String branchName, Part file) {
+ Mono<User> currUserMono = sessionUserService.getCurrentUser();
return importService
.extractArtifactExchangeJson(file)
.flatMap(artifactExchangeJson -> {
if (artifactExchangeJson instanceof ApplicationJson
&& isImportableResource((ApplicationJson) artifactExchangeJson)) {
- return importResourceInPage(
- workspaceId, applicationId, pageId, branchName, (ApplicationJson) artifactExchangeJson);
+ return importResourceInPage(workspaceId, applicationId, pageId, branchName, (ApplicationJson)
+ artifactExchangeJson)
+ .zipWith(currUserMono);
} else {
return Mono.error(
new AppsmithException(
@@ -108,7 +110,21 @@ && isImportableResource((ApplicationJson) artifactExchangeJson)) {
"The file is not compatible with the current partial import operation. Please check the file and try again."));
}
})
- .map(BuildingBlockImportDTO::getApplication);
+ .flatMap(tuple -> {
+ final BuildingBlockImportDTO buildingBlockImportDTO = tuple.getT1();
+ final User user = tuple.getT2();
+ final Map<String, Object> eventData =
+ Map.of(FieldName.APPLICATION, buildingBlockImportDTO.getApplication());
+ final Map<String, Object> data = Map.of(
+ FieldName.APPLICATION_ID, applicationId,
+ FieldName.WORKSPACE_ID,
+ buildingBlockImportDTO.getApplication().getWorkspaceId(),
+ FieldName.EVENT_DATA, eventData);
+
+ return analyticsService
+ .sendEvent(AnalyticsEvents.PARTIAL_IMPORT.getEventName(), user.getUsername(), data)
+ .thenReturn(buildingBlockImportDTO.getApplication());
+ });
}
private boolean isImportableResource(ApplicationJson artifactExchangeJson) {
@@ -128,8 +144,6 @@ private Mono<BuildingBlockImportDTO> importResourceInPage(
Mono<String> branchedPageIdMono =
newPageService.findBranchedPageId(branchName, pageId, AclPermission.MANAGE_PAGES);
- Mono<User> currUserMono = sessionUserService.getCurrentUser();
-
// Extract file and get App Json
Mono<Application> partiallyImportedAppMono = getImportApplicationPermissions()
.flatMap(permissionProvider -> {
@@ -273,25 +287,13 @@ private Mono<BuildingBlockImportDTO> importResourceInPage(
})
.as(transactionalOperator::transactional);
- // Send Analytics event
- return partiallyImportedAppMono.zipWith(currUserMono).flatMap(tuple -> {
- Application application = tuple.getT1();
- User user = tuple.getT2();
- final Map<String, Object> eventData = Map.of(FieldName.APPLICATION, application);
-
- final Map<String, Object> data = Map.of(
- FieldName.APPLICATION_ID, application.getId(),
- FieldName.WORKSPACE_ID, application.getWorkspaceId(),
- FieldName.EVENT_DATA, eventData);
+ return partiallyImportedAppMono.map(application -> {
BuildingBlockImportDTO buildingBlockImportDTO = new BuildingBlockImportDTO();
buildingBlockImportDTO.setApplication(application);
buildingBlockImportDTO.setWidgetDsl(applicationJson.getWidgets());
buildingBlockImportDTO.setRefactoredEntityNameMap(
mappedImportableResourcesDTO.getRefactoringNameReference());
-
- return analyticsService
- .sendEvent(AnalyticsEvents.PARTIAL_IMPORT.getEventName(), user.getUsername(), data)
- .thenReturn(buildingBlockImportDTO);
+ return buildingBlockImportDTO;
});
}
|
53750abe0f29f611cca3e3c8097eff49785e8bb4
|
2023-08-30 14:28:26
|
Rajat Agrawal
|
feat: ECharts Phase 2 - Custom ECharts (#25980)
| false
|
ECharts Phase 2 - Custom ECharts (#25980)
|
feat
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/ChartDataPoint_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/ChartDataPoint_Spec.ts
index 5a0897ac40d1..dcd3eb1a2b68 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/ChartDataPoint_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/ChartDataPoint_Spec.ts
@@ -73,7 +73,7 @@ describe("Input widget test with default value from chart datapoint", () => {
"European Union",
);
agHelper.ValidateToastMessage(
- '{"x":-1,"y":-1,"seriesTitle":"","rawEventData":{"color":"#FFC533","alpha":100,"labelFill":"#666","labelAlpha":100,"value":4747591,"label":"European Union","sourceLinks":["France","United States","United Kingdom","Switzerland","Austria","Sweden"],"targetLinks":["Netherlands","Germany","Belgium","China","Italy","Russia","Spain"]}}',
+ '{"rawEventData":{"color":"#FFC533","alpha":100,"labelFill":"#666","labelAlpha":100,"value":4747591,"label":"European Union","sourceLinks":["France","United States","United Kingdom","Switzerland","Austria","Sweden"],"targetLinks":["Netherlands","Germany","Belgium","China","Italy","Russia","Spain"]}}',
);
});
});
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 7ae27b070948..8cfaa653a6e7 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,4 +1,5 @@
import * as _ from "../../../../../support/Objects/ObjectsCore";
+import { featureFlagIntercept } from "../../../../../support/Objects/FeatureFlags";
describe("Chart Widget Functionality around custom chart data", function () {
before(() => {
@@ -7,8 +8,11 @@ describe("Chart Widget Functionality around custom chart data", function () {
it("1. change chart type to custom chart", function () {
const value1 = 40;
+ featureFlagIntercept({
+ deprecate_custom_fusioncharts_enabled: true,
+ });
cy.openPropertyPane("chartwidget");
- cy.UpdateChartType("Custom chart");
+ cy.UpdateChartType("Custom Fusion Charts (deprecated)");
//change chart value via input widget and validate
enterAndTest("inputwidgetv2", value1, value1);
cy.wait(400);
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 1b706a7b3b80..77cd5ee960ee 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
@@ -1,6 +1,7 @@
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", function () {
before(() => {
@@ -23,6 +24,13 @@ describe("Chart Widget Functionality around custom chart feature", function () {
viewWidgetsPage.chartWidget,
widgetsPage.widgetNameSpan,
);
+
+ //Entering the Chart data
+ cy.testJsontext(
+ "chart-series-data-control",
+ JSON.stringify(this.dataSet.chartInput),
+ );
+
//changing the Chart Title
/**
* @param{Text} Random Input Value
@@ -32,11 +40,6 @@ describe("Chart Widget Functionality around custom chart feature", function () {
.contains("App Sign Up")
.should("have.text", "App Sign Up");
- //Entering the Chart data
- cy.testJsontext(
- "chart-series-data-control",
- JSON.stringify(this.dataSet.chartInput),
- );
cy.get(".t--propertypane").click("right");
// Asserting Chart Height
@@ -66,13 +69,20 @@ describe("Chart Widget Functionality around custom chart feature", function () {
it("2. Custom Chart Widget Functionality", function () {
//changing the Chart type
//cy.get(widgetsPage.toggleChartType).click({ force: true });
- cy.UpdateChartType("Custom chart");
+ featureFlagIntercept({
+ deprecate_custom_fusioncharts_enabled: true,
+ });
+ cy.UpdateChartType("Custom Fusion Charts (deprecated)");
cy.testJsontext(
"customfusionchart",
`{{${JSON.stringify(this.dataSet.ChartCustomConfig)}}}`,
);
+ _.agHelper.AssertContains(
+ "Custom Fusion Charts will stop being supported on March 1st 2024. Change the chart type to E-charts Custom to switch.",
+ );
+
//Verifying X-axis labels
cy.get(viewWidgetsPage.chartWidget).should("have.css", "opacity", "1");
const labels = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"];
diff --git a/app/client/cypress/fixtures/chartUpdatedDsl.json b/app/client/cypress/fixtures/chartUpdatedDsl.json
index bd481145394b..1fb7e865c43f 100644
--- a/app/client/cypress/fixtures/chartUpdatedDsl.json
+++ b/app/client/cypress/fixtures/chartUpdatedDsl.json
@@ -120,6 +120,7 @@
"data": ""
}
},
+ "customFusionChartConfig": {},
"yAxisName": "Total Order Revenue $",
"parentColumnSpace": 14.59375,
"dynamicTriggerPathList": [],
diff --git a/app/client/src/ce/entities/FeatureFlag.ts b/app/client/src/ce/entities/FeatureFlag.ts
index c3ee4651abf0..4bd96d4f7343 100644
--- a/app/client/src/ce/entities/FeatureFlag.ts
+++ b/app/client/src/ce/entities/FeatureFlag.ts
@@ -17,12 +17,15 @@ export const FEATURE_FLAG = {
release_widgetdiscovery_enabled: "release_widgetdiscovery_enabled",
release_table_serverside_filtering_enabled:
"release_table_serverside_filtering_enabled",
+ release_custom_echarts_enabled: "release_custom_echarts_enabled",
license_branding_enabled: "license_branding_enabled",
ab_table_widget_activation_enabled: "ab_table_widget_activation_enabled",
ab_gif_signposting_enabled: "ab_gif_signposting_enabled",
release_git_status_lite_enabled: "release_git_status_lite_enabled",
license_sso_saml_enabled: "license_sso_saml_enabled",
license_sso_oidc_enabled: "license_sso_oidc_enabled",
+ deprecate_custom_fusioncharts_enabled:
+ "deprecate_custom_fusioncharts_enabled",
} as const;
export type FeatureFlag = keyof typeof FEATURE_FLAG;
@@ -43,12 +46,14 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
ab_wds_enabled: false,
release_widgetdiscovery_enabled: false,
release_table_serverside_filtering_enabled: false,
+ release_custom_echarts_enabled: false,
license_branding_enabled: false,
ab_table_widget_activation_enabled: false,
ab_gif_signposting_enabled: false,
release_git_status_lite_enabled: false,
license_sso_saml_enabled: false,
license_sso_oidc_enabled: false,
+ deprecate_custom_fusioncharts_enabled: false,
};
export const AB_TESTING_EVENT_KEYS = {
diff --git a/app/client/src/constants/WidgetConstants.tsx b/app/client/src/constants/WidgetConstants.tsx
index 0e4115044d70..b3b959798324 100644
--- a/app/client/src/constants/WidgetConstants.tsx
+++ b/app/client/src/constants/WidgetConstants.tsx
@@ -71,7 +71,7 @@ export const layoutConfigurations: LayoutConfigurations = {
FLUID: { minWidth: -1, maxWidth: -1 },
};
-export const LATEST_PAGE_VERSION = 85;
+export const LATEST_PAGE_VERSION = 86;
export const GridDefaults = {
DEFAULT_CELL_SIZE: 1,
diff --git a/app/client/src/entities/Widget/utils.test.ts b/app/client/src/entities/Widget/utils.test.ts
index 1e9246ba2729..1e3eee539cfe 100644
--- a/app/client/src/entities/Widget/utils.test.ts
+++ b/app/client/src/entities/Widget/utils.test.ts
@@ -512,7 +512,13 @@ describe("getAllPathsFromPropertyConfig", () => {
],
setAdaptiveYMin: "0",
};
- const config = [...contentConfig, ...styleConfig];
+ const customEChartEnabled = true;
+ const showFusionChartDeprecationMessage = true;
+
+ const config = [
+ ...contentConfig(customEChartEnabled, showFusionChartDeprecationMessage),
+ ...styleConfig,
+ ];
const bindingPaths = {
chartType: EvaluationSubstitutionType.TEMPLATE,
@@ -579,6 +585,7 @@ describe("getAllPathsFromPropertyConfig", () => {
"PIE_CHART",
"COLUMN_CHART",
"AREA_CHART",
+ "CUSTOM_ECHART",
"CUSTOM_FUSION_CHART",
],
},
diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx
index d9adeec4be88..d8bb721309c8 100644
--- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx
+++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx
@@ -3,7 +3,7 @@ import { useContext } from "react";
import React, { useCallback, useEffect, useMemo, useRef } from "react";
import equal from "fast-deep-equal/es6";
import { useDispatch, useSelector } from "react-redux";
-import { getWidgetPropsForPropertyPaneView } from "selectors/propertyPaneSelectors";
+import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors";
import type { IPanelProps } from "@blueprintjs/core";
import PropertyPaneTitle from "./PropertyPaneTitle";
@@ -21,7 +21,7 @@ import { buildDeprecationWidgetMessage, isWidgetDeprecated } from "../utils";
import { Button, Callout } from "design-system";
import WidgetFactory from "utils/WidgetFactory";
import { PropertyPaneTab } from "./PropertyPaneTab";
-import { useSearchText } from "./helpers";
+import { useSearchText, renderWidgetCallouts } from "./helpers";
import { PropertyPaneSearchInput } from "./PropertyPaneSearchInput";
import { sendPropertyPaneSearchAnalytics } from "./propertyPaneSearch";
import WalkthroughContext from "components/featureWalkthrough/walkthroughContext";
@@ -62,11 +62,9 @@ function PropertyPaneView(
} & IPanelProps,
) {
const dispatch = useDispatch();
+
const panel = props;
- const widgetProperties = useSelector(
- getWidgetPropsForPropertyPaneView,
- equal,
- );
+ const widgetProperties = useSelector(getWidgetPropsForPropertyPane, equal);
const doActionsExist = useSelector(actionsExist);
const containerRef = useRef<HTMLDivElement>(null);
@@ -154,9 +152,9 @@ function PropertyPaneView(
*/
useEffect(() => {
sendPropertyPaneSearchAnalytics({
- widgetType: widgetProperties?.type,
+ widgetType: widgetProperties?.type ?? "",
searchText,
- widgetName: widgetProperties.widgetName,
+ widgetName: widgetProperties?.widgetName ?? "",
searchPath: "",
});
}, [searchText]);
@@ -261,6 +259,7 @@ function PropertyPaneView(
{deprecationMessage}
</Callout>
)}
+ {renderWidgetCallouts(widgetProperties)}
</div>
<div
diff --git a/app/client/src/pages/Editor/PropertyPane/helpers.ts b/app/client/src/pages/Editor/PropertyPane/helpers.tsx
similarity index 76%
rename from app/client/src/pages/Editor/PropertyPane/helpers.ts
rename to app/client/src/pages/Editor/PropertyPane/helpers.tsx
index effbf03ef212..517746be7f9a 100644
--- a/app/client/src/pages/Editor/PropertyPane/helpers.ts
+++ b/app/client/src/pages/Editor/PropertyPane/helpers.tsx
@@ -6,6 +6,11 @@ import type {
import { debounce } from "lodash";
import { useCallback, useState } from "react";
import { appPositioningBasedPropertyFilter } from "sagas/WidgetEnhancementHelpers";
+import WidgetFactory from "utils/WidgetFactory";
+import type { WidgetProps } from "widgets/BaseWidget";
+import type { WidgetCallout } from "widgets/constants";
+import { Callout } from "design-system";
+import React from "react";
export function useSearchText(initialVal: string) {
const [searchText, setSearchText] = useState(initialVal);
@@ -95,3 +100,30 @@ export function updateConfigPaths(
return childConfig;
});
}
+
+export function renderWidgetCallouts(props: WidgetProps): JSX.Element[] {
+ const { getEditorCallouts } = WidgetFactory.getWidgetMethods(props.type);
+ if (getEditorCallouts) {
+ const callouts: WidgetCallout[] = getEditorCallouts(props);
+ return callouts.map((callout, index) => {
+ const links = callout.links.map((link) => {
+ return {
+ children: link.text,
+ to: link.url,
+ };
+ });
+ return (
+ <Callout
+ data-testid="t--deprecation-warning"
+ key={index}
+ kind="warning"
+ links={links}
+ >
+ {callout.message}
+ </Callout>
+ );
+ });
+ } else {
+ return [];
+ }
+}
diff --git a/app/client/src/selectors/propertyPaneSelectors.tsx b/app/client/src/selectors/propertyPaneSelectors.tsx
index e52ba99ae590..cc25941479a4 100644
--- a/app/client/src/selectors/propertyPaneSelectors.tsx
+++ b/app/client/src/selectors/propertyPaneSelectors.tsx
@@ -1,5 +1,5 @@
import type { AppState } from "@appsmith/reducers";
-import { find, get, pick, set } from "lodash";
+import { find, get, set } from "lodash";
import { createSelector } from "reselect";
import type {
DataTree,
@@ -99,24 +99,6 @@ export const getWidgetPropsForPropertyPane = createSelector(
},
);
-type WidgetPropertiesForPropertyPaneView = {
- type: string;
- widgetId: string;
- widgetName: string;
- displayName: string;
-};
-
-export const getWidgetPropsForPropertyPaneView = createSelector(
- getWidgetPropsForPropertyPane,
- (props) =>
- pick(props, [
- "type",
- "widgetId",
- "widgetName",
- "displayName",
- ]) as WidgetPropertiesForPropertyPaneView,
-);
-
export const selectedWidgetsPresentInCanvas = createSelector(
getWidgets,
getSelectedWidgets,
diff --git a/app/client/src/utils/DSLMigration.test.ts b/app/client/src/utils/DSLMigration.test.ts
index ee89bcf5305d..f72cc2c904e5 100644
--- a/app/client/src/utils/DSLMigration.test.ts
+++ b/app/client/src/utils/DSLMigration.test.ts
@@ -819,6 +819,15 @@ const migrations: Migration[] = [
],
version: 84,
},
+ {
+ functionLookup: [
+ {
+ moduleObj: chartMigrations,
+ functionName: "migrateDefaultValuesForCustomEChart",
+ },
+ ],
+ version: 85,
+ },
];
const mockFnObj: Record<number, any> = {};
diff --git a/app/client/src/utils/DSLMigrations.ts b/app/client/src/utils/DSLMigrations.ts
index 98386855939d..6800c450e3d2 100644
--- a/app/client/src/utils/DSLMigrations.ts
+++ b/app/client/src/utils/DSLMigrations.ts
@@ -93,6 +93,7 @@ import {
import {
migrateChartWidgetLabelOrientationStaggerOption,
migrateAddShowHideDataPointLabels,
+ migrateDefaultValuesForCustomEChart,
} from "./migrations/ChartWidget";
import { flattenDSL } from "@shared/dsl";
@@ -1221,6 +1222,11 @@ export const transformDSL = (currentDSL: DSLWidget, newPage = false) => {
if (currentDSL.version === 84) {
currentDSL = migrateSelectWidgetAddSourceDataPropertyPathList(currentDSL);
+ currentDSL.version = 85;
+ }
+
+ if (currentDSL.version === 85) {
+ currentDSL = migrateDefaultValuesForCustomEChart(currentDSL);
currentDSL.version = LATEST_PAGE_VERSION;
}
diff --git a/app/client/src/utils/migrations/ChartWidget.test.ts b/app/client/src/utils/migrations/ChartWidget.test.ts
index afecf0624091..c677525c0f3c 100644
--- a/app/client/src/utils/migrations/ChartWidget.test.ts
+++ b/app/client/src/utils/migrations/ChartWidget.test.ts
@@ -2,6 +2,7 @@ import type { DSLWidget } from "widgets/constants";
import {
migrateChartWidgetLabelOrientationStaggerOption,
migrateAddShowHideDataPointLabels,
+ migrateDefaultValuesForCustomEChart,
} from "./ChartWidget";
import type { ChartWidgetProps } from "widgets/ChartWidget/widget";
import { LabelOrientation } from "widgets/ChartWidget/constants";
@@ -85,3 +86,17 @@ describe("Migrate Label show/hide property with respect to chart's allow scroll
expect(outputChartWidgetDSL.showDataPointLabel).toEqual(true);
});
});
+
+describe("Migrate Default Custom EChart configuration", () => {
+ it("adds echart custom chart default configuration to existing charts", () => {
+ const inputChartWidgetDSL = inputDSL.children?.[0] as ChartWidgetProps;
+ expect(inputChartWidgetDSL.customEChartConfig).not.toBeDefined();
+
+ const outputDSL = migrateDefaultValuesForCustomEChart(inputDSL);
+ const outputChartWidgetDSL = outputDSL.children?.[0] as ChartWidgetProps;
+ expect(outputChartWidgetDSL.customEChartConfig).toBeDefined();
+ expect(
+ Object.keys(outputChartWidgetDSL.customEChartConfig).length,
+ ).toBeGreaterThan(0);
+ });
+});
diff --git a/app/client/src/utils/migrations/ChartWidget.ts b/app/client/src/utils/migrations/ChartWidget.ts
index aa33c038bf79..05f35473cdd3 100644
--- a/app/client/src/utils/migrations/ChartWidget.ts
+++ b/app/client/src/utils/migrations/ChartWidget.ts
@@ -4,6 +4,70 @@ import type { ChartWidgetProps } from "widgets/ChartWidget/widget";
import { LabelOrientation } from "widgets/ChartWidget/constants";
import { traverseDSLAndMigrate } from "utils/WidgetMigrationUtils";
+const DefaultEChartConfig = {
+ dataset: {
+ source: [
+ ["Day", "Baidu", "Google", "Bing"],
+ ["Mon", 620, 120, 60],
+ ["Tue", 732, 132, 72],
+ ["Wed", 701, 101, 71],
+ ["Thu", 734, 134, 74],
+ ["Fri", 1090, 290, 190],
+ ["Sat", 1130, 230, 130],
+ ["Sun", 1120, 220, 110],
+ ],
+ },
+ tooltip: {
+ trigger: "axis",
+ axisPointer: {
+ type: "shadow",
+ },
+ },
+ title: {
+ text: "Search Engine Usage",
+ left: "center",
+ textStyle: {
+ width: 200,
+ overflow: "truncate",
+ },
+ },
+ legend: {
+ top: 40,
+ type: "scroll",
+ },
+ grid: {
+ left: 15,
+ right: 15,
+ bottom: 30,
+ top: 100,
+ containLabel: true,
+ },
+ xAxis: [
+ {
+ type: "category",
+ },
+ ],
+ yAxis: [
+ {
+ type: "value",
+ },
+ ],
+ series: [
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ ],
+};
+
export const migrateChartWidgetLabelOrientationStaggerOption = (
currentDSL: DSLWidget,
) => {
@@ -25,3 +89,12 @@ export const migrateAddShowHideDataPointLabels = (currentDSL: DSLWidget) => {
}
});
};
+
+export const migrateDefaultValuesForCustomEChart = (currentDSL: DSLWidget) => {
+ return traverseDSLAndMigrate(currentDSL, (widget: WidgetProps) => {
+ if (widget.type == "CHART_WIDGET") {
+ const chartWidgetProps = widget as ChartWidgetProps;
+ chartWidgetProps.customEChartConfig = DefaultEChartConfig;
+ }
+ });
+};
diff --git a/app/client/src/widgets/ChartWidget/component/EChartsConfigurationBuilder.test.ts b/app/client/src/widgets/ChartWidget/component/EChartsConfigurationBuilder.test.ts
index fa72a94fd87c..2f850f08010b 100644
--- a/app/client/src/widgets/ChartWidget/component/EChartsConfigurationBuilder.test.ts
+++ b/app/client/src/widgets/ChartWidget/component/EChartsConfigurationBuilder.test.ts
@@ -37,6 +37,7 @@ describe("EChartsConfigurationBuilder", () => {
chartData: chartData,
chartName: "chart name",
chartType: "LINE_CHART",
+ customEChartConfig: {},
customFusionChartConfig: { type: "type", dataSource: undefined },
hasOnDataPointClick: false,
isVisible: true,
diff --git a/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.test.ts b/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.test.ts
index c4d974142a0d..1f4797aa9def 100644
--- a/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.test.ts
+++ b/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.test.ts
@@ -23,6 +23,7 @@ describe("EChartsConfigurationBuilder", () => {
chartData: chartData,
chartName: "chart name",
chartType: "AREA_CHART",
+ customEChartConfig: {},
customFusionChartConfig: { type: "type", dataSource: undefined },
hasOnDataPointClick: true,
isVisible: true,
@@ -49,14 +50,20 @@ describe("EChartsConfigurationBuilder", () => {
};
it("1. returns all series data if chart type is not pie", () => {
- const output = EChartsDatasetBuilder.chartData(defaultProps);
+ const output = EChartsDatasetBuilder.chartData(
+ defaultProps.chartType,
+ defaultProps.chartData,
+ );
expect(output).toEqual(chartData);
});
it("2. returns only the first series data if chart type is pie", () => {
const props = JSON.parse(JSON.stringify(defaultProps));
props.chartType = "PIE_CHART";
- const output = EChartsDatasetBuilder.chartData(props);
+ const output = EChartsDatasetBuilder.chartData(
+ props.chartType,
+ props.chartData,
+ );
const expectedOutput = {
seriesID1: chartData1,
};
diff --git a/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.ts b/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.ts
index 615f5aae4a61..b64aaad9a240 100644
--- a/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.ts
+++ b/app/client/src/widgets/ChartWidget/component/EChartsDatasetBuilder.ts
@@ -1,14 +1,17 @@
-import type { ChartComponentProps } from ".";
-import type { AllChartData } from "../constants";
+import type { AllChartData, ChartType } from "../constants";
import { XAxisCategory } from "../constants";
export class EChartsDatasetBuilder {
- static chartData(props: ChartComponentProps): AllChartData {
- if (props.chartType == "PIE_CHART") {
- const firstKey = Object.keys(props.chartData)[0];
- return { [firstKey]: props.chartData[firstKey] };
+ static chartData(
+ chartType: ChartType,
+ chartData: AllChartData,
+ ): AllChartData {
+ if (chartType == "PIE_CHART") {
+ // return only first series data
+ const firstSeriesKey = Object.keys(chartData)[0];
+ return { [firstSeriesKey]: chartData[firstSeriesKey] };
} else {
- return props.chartData;
+ return chartData;
}
}
diff --git a/app/client/src/widgets/ChartWidget/component/helpers.test.ts b/app/client/src/widgets/ChartWidget/component/helpers.test.ts
new file mode 100644
index 000000000000..ebffaaed1153
--- /dev/null
+++ b/app/client/src/widgets/ChartWidget/component/helpers.test.ts
@@ -0,0 +1,115 @@
+import type { ChartType } from "../constants";
+import {
+ parseOnDataPointClickParams,
+ parseOnDataPointClickForCustomEChart,
+ parseOnDataPointClickForCustomFusionChart,
+} from "./helpers";
+
+describe("parseOnDataPointClickParams", () => {
+ it("returns appropriate chart selected point from user click data", () => {
+ const chartType: ChartType = "CUSTOM_ECHART";
+ const event = {
+ data: {
+ dataKey: "dataValue",
+ },
+ };
+ const parsedEvent = parseOnDataPointClickParams(event, chartType);
+ expect(parsedEvent.rawEventData).toEqual(event);
+ });
+});
+
+describe("parseOnDataPointClickForCustomEChart", () => {
+ it("return correct rawEventData", () => {
+ const event = {
+ data: {
+ dataKey: "dataValue",
+ },
+ seriesName: "seriesName",
+ };
+ const parsedEvent = parseOnDataPointClickForCustomEChart(event);
+ expect(parsedEvent.rawEventData).toEqual(event);
+ });
+
+ it("omits mouse event data", () => {
+ const event = {
+ data: {
+ dataKey: "dataValue",
+ },
+ seriesName: "seriesName",
+ event: {
+ mouseEventClickX: 1,
+ mouseEventClickY: 1,
+ },
+ };
+ const parsedEvent = parseOnDataPointClickForCustomEChart(event);
+ expect(Object.keys(parsedEvent.rawEventData ?? [])).toEqual([
+ "data",
+ "seriesName",
+ ]);
+ });
+
+ it("returns other properties of selected point as undefined", () => {
+ const event = {
+ data: {
+ dataKey: "dataValue",
+ },
+ seriesName: "seriesName",
+ event: {
+ mouseEventClickX: 1,
+ mouseEventClickY: 1,
+ },
+ };
+ const parsedEvent = parseOnDataPointClickForCustomEChart(event);
+ expect(parsedEvent.x).toBeUndefined();
+ expect(parsedEvent.y).toBeUndefined();
+ expect(parsedEvent.seriesTitle).toBeUndefined();
+ expect(parsedEvent.rawEventData).not.toBeUndefined();
+ });
+});
+
+describe("parseOnDataPointClickForCustomFusionChart", () => {
+ it("includes raw event data", () => {
+ const eventData = {
+ dataKey: "dataValue",
+ };
+ const event = {
+ data: eventData,
+ otherKey: "otherValue",
+ };
+ const parsedEvent = parseOnDataPointClickForCustomFusionChart(event);
+ expect(parsedEvent.rawEventData).toEqual(eventData);
+ });
+
+ it("returns x and y with values from appropriate fields", () => {
+ const eventData = {
+ dataKey: "dataValue",
+ categoryLabel: "x value",
+ dataValue: "y value",
+ datasetName: "series name",
+ };
+ const event = {
+ data: eventData,
+ otherKey: "otherValue",
+ };
+ const parsedEvent = parseOnDataPointClickForCustomFusionChart(event);
+ expect(parsedEvent.rawEventData).toEqual(eventData);
+ expect(parsedEvent.x).toEqual("x value");
+ expect(parsedEvent.y).toEqual("y value");
+ expect(parsedEvent.seriesTitle).toEqual("series name");
+ });
+
+ it("returns x, y and seriesTitle as undefined if appropriate fields are not present", () => {
+ const eventData = {
+ dataKey: "dataValue",
+ };
+ const event = {
+ data: eventData,
+ otherKey: "otherValue",
+ };
+ const parsedEvent = parseOnDataPointClickForCustomFusionChart(event);
+ expect(parsedEvent.rawEventData).toEqual(eventData);
+ expect(parsedEvent.x).toBeUndefined();
+ expect(parsedEvent.y).toBeUndefined();
+ expect(parsedEvent.seriesTitle).toBeUndefined();
+ });
+});
diff --git a/app/client/src/widgets/ChartWidget/component/helpers.ts b/app/client/src/widgets/ChartWidget/component/helpers.ts
new file mode 100644
index 000000000000..307f64dc28d2
--- /dev/null
+++ b/app/client/src/widgets/ChartWidget/component/helpers.ts
@@ -0,0 +1,62 @@
+import { get } from "lodash";
+import type { ChartType, ChartSelectedDataPoint } from "../constants";
+import { omit, cloneDeep } from "lodash";
+
+export const parseOnDataPointClickParams = (evt: any, chartType: ChartType) => {
+ switch (chartType) {
+ case "CUSTOM_FUSION_CHART": {
+ return parseOnDataPointClickForCustomFusionChart(evt);
+ }
+ case "CUSTOM_ECHART": {
+ return parseOnDataPointClickForCustomEChart(evt);
+ }
+ default: {
+ return parseOnDataPointClickForBasicCharts(evt);
+ }
+ }
+};
+
+export const parseOnDataPointClickForCustomEChart = (
+ evt: Record<string, unknown>,
+): ChartSelectedDataPoint => {
+ const rawEventData = omit(cloneDeep(evt), "event");
+ return {
+ x: undefined,
+ y: undefined,
+ seriesTitle: undefined,
+ rawEventData: rawEventData,
+ };
+};
+
+export const parseOnDataPointClickForCustomFusionChart = (
+ evt: Record<string, unknown>,
+): ChartSelectedDataPoint => {
+ const data = evt.data as Record<string, unknown>;
+ const seriesTitle = get(data, "datasetName", undefined);
+
+ return {
+ x: data.categoryLabel,
+ y: data.dataValue,
+ seriesTitle,
+ rawEventData: data,
+ } as ChartSelectedDataPoint;
+};
+
+export const parseOnDataPointClickForBasicCharts = (
+ evt: Record<string, unknown>,
+): ChartSelectedDataPoint => {
+ const data: unknown[] = evt.data as unknown[];
+ const x: unknown = data[0];
+
+ const seriesIndex: number = evt.seriesIndex as number;
+ const index = (seriesIndex ?? 0) + 1;
+ const y: unknown = data[index];
+
+ const seriesName: string | undefined = evt.seriesName as string;
+
+ return {
+ x: x,
+ y: y,
+ seriesTitle: seriesName,
+ } as ChartSelectedDataPoint;
+};
diff --git a/app/client/src/widgets/ChartWidget/component/index.test.tsx b/app/client/src/widgets/ChartWidget/component/index.test.tsx
index a8474c56f946..4dfcb2aa0912 100644
--- a/app/client/src/widgets/ChartWidget/component/index.test.tsx
+++ b/app/client/src/widgets/ChartWidget/component/index.test.tsx
@@ -1,7 +1,11 @@
import ChartComponent from ".";
import type { ChartComponentProps } from ".";
import type { ChartData } from "../constants";
-import { LabelOrientation } from "../constants";
+import {
+ DefaultEChartConfig,
+ LabelOrientation,
+ DefaultFusionChartConfig,
+} from "../constants";
import React from "react";
@@ -32,7 +36,8 @@ describe("Chart Widget", () => {
},
chartName: "chart name",
chartType: "AREA_CHART",
- customFusionChartConfig: { type: "type", dataSource: undefined },
+ customEChartConfig: DefaultEChartConfig,
+ customFusionChartConfig: DefaultFusionChartConfig,
hasOnDataPointClick: true,
isVisible: true,
isLoading: false,
@@ -52,9 +57,9 @@ describe("Chart Widget", () => {
parentColumnSpace: 1,
parentRowSpace: 1,
topRow: 0,
- bottomRow: 0,
+ bottomRow: 100,
leftColumn: 0,
- rightColumn: 0,
+ rightColumn: 100,
};
beforeEach(() => {
@@ -83,7 +88,7 @@ describe("Chart Widget", () => {
);
expect(fusionContainer).not.toBeInTheDocument();
- const props = { ...defaultProps };
+ let props = { ...defaultProps };
props.chartType = "CUSTOM_FUSION_CHART";
rerender(<ChartComponent {...props} />);
@@ -95,9 +100,17 @@ describe("Chart Widget", () => {
"#widgetIDcustom-fusion-chart-container",
);
expect(fusionContainer).toBeInTheDocument();
+
+ props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ const bing = getByText("Bing");
+ expect(bing).toBeInTheDocument();
});
- it("2. successfully switches sequence of basic chart/custom fusion chart/basic chart", async () => {
+ it("2. successfully switches sequence of basic chart/custom fusion chart/basic chart/custom echart", async () => {
// First render with Area Chart
let props = JSON.parse(JSON.stringify(defaultProps));
props.chartType = "AREA_CHART";
@@ -142,6 +155,15 @@ describe("Chart Widget", () => {
echartsContainer = container.querySelector("#widgetIDechart-container");
expect(echartsContainer).toBeInTheDocument();
+
+ // Render Custom EChart
+ props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ const bing = getByText("Bing");
+ expect(bing).toBeInTheDocument();
});
it("3. adds a click event when user adds a click callback", async () => {
@@ -159,4 +181,122 @@ describe("Chart Widget", () => {
userEvent.click(el);
expect(mockCallback.mock.calls.length).toEqual(1);
});
+
+ it("4. check each chart type has their independent error showing up in the chart widget", () => {
+ let props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "CUSTOM_ECHART";
+
+ const { container, getByText, queryByText, rerender } = render(
+ <ChartComponent {...props} />,
+ );
+
+ const bing = getByText("Bing");
+ expect(bing).toBeInTheDocument();
+
+ // incorrect source key, thus incorrect echart configuration
+ props = JSON.parse(JSON.stringify(props));
+ delete props.customEChartConfig.dataset.source;
+ props.customEChartConfig.dataset.soce = {};
+
+ rerender(<ChartComponent {...props} />);
+
+ const errorTitle = getByText("Error in Chart Data/Configuration");
+ expect(errorTitle).toBeInTheDocument();
+ expect(queryByText("Bing")).toBeNull();
+
+ // change chart type to basic echart
+ props = JSON.parse(JSON.stringify(props));
+ props.chartType = "LINE_CHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ expect(queryByText("Error in Chart Data/Configuration")).toBeNull();
+ expect(queryByText("Bing")).toBeNull();
+ expect(queryByText("xaxisname")).toBeInTheDocument();
+
+ // Check if updating props in basic charts is working
+ props = JSON.parse(JSON.stringify(props));
+ props.chartType = "LINE_CHART";
+ props.xAxisName = "xaxisname123";
+
+ rerender(<ChartComponent {...props} />);
+
+ expect(queryByText("Error in Chart Data/Configuration")).toBeNull();
+ expect(queryByText("Bing")).toBeNull();
+ expect(queryByText("xaxisname")).not.toBeInTheDocument();
+ expect(queryByText("xaxisname123")).toBeInTheDocument();
+
+ // switching back to custom echart should show the original error
+ props = JSON.parse(JSON.stringify(props));
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+ expect(
+ queryByText("Error in Chart Data/Configuration"),
+ ).toBeInTheDocument();
+
+ // Remove error from custom EChart, the chart should render without errors
+ props = JSON.parse(JSON.stringify(props));
+ props.customEChartConfig.dataset.source = JSON.parse(
+ JSON.stringify((defaultProps.customEChartConfig.dataset as any).source),
+ );
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ expect(
+ queryByText("Error in Chart Data/Configuration"),
+ ).not.toBeInTheDocument();
+ expect(queryByText("Bing")).toBeInTheDocument();
+
+ // Check if updating the props in custom ECharts is working now
+ props = JSON.parse(JSON.stringify(props));
+ let updatedSource = JSON.parse(
+ JSON.stringify((props.customEChartConfig.dataset as any).source),
+ );
+ updatedSource[2][0] = "Bing 123";
+ props.customEChartConfig.dataset.source = updatedSource;
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+ expect(queryByText("Bing 123")).toBeInTheDocument();
+
+ // Switch to custom fusion charts
+ props = JSON.parse(JSON.stringify(props));
+ props.chartType = "CUSTOM_FUSION_CHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ expect(
+ queryByText("Error in Chart Data/Configuration"),
+ ).not.toBeInTheDocument();
+ const fusionContainer = container.querySelector(
+ "#widgetIDcustom-fusion-chart-container",
+ );
+ expect(fusionContainer).toBeInTheDocument();
+
+ // Switching back to custom echart should work.
+ props = JSON.parse(JSON.stringify(props));
+ props.customEChartConfig.dataset.source = JSON.parse(
+ JSON.stringify((defaultProps.customEChartConfig.dataset as any).source),
+ );
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+
+ expect(queryByText("Bing")).toBeInTheDocument();
+
+ // Updating props in custom echart should work.
+ props = JSON.parse(JSON.stringify(props));
+ updatedSource = JSON.parse(
+ JSON.stringify((props.customEChartConfig.dataset as any).source),
+ );
+ updatedSource[2][0] = "Bing 456";
+
+ props.customEChartConfig.dataset.source = updatedSource;
+ props.chartType = "CUSTOM_ECHART";
+
+ rerender(<ChartComponent {...props} />);
+ expect(queryByText("Bing 456")).toBeInTheDocument();
+ });
});
diff --git a/app/client/src/widgets/ChartWidget/component/index.tsx b/app/client/src/widgets/ChartWidget/component/index.tsx
index ba20bb9cf728..56b7a1eb1c2b 100644
--- a/app/client/src/widgets/ChartWidget/component/index.tsx
+++ b/app/client/src/widgets/ChartWidget/component/index.tsx
@@ -1,4 +1,3 @@
-import { get } from "lodash";
import React from "react";
import styled from "styled-components";
import * as echarts from "echarts";
@@ -18,6 +17,8 @@ import type { WidgetPositionProps } from "widgets/BaseWidget";
import { ChartErrorComponent } from "./ChartErrorComponent";
import { EChartsConfigurationBuilder } from "./EChartsConfigurationBuilder";
import { EChartsDatasetBuilder } from "./EChartsDatasetBuilder";
+import { isBasicEChart } from "../widget";
+import { parseOnDataPointClickParams } from "./helpers";
// Leaving this require here. Ref: https://stackoverflow.com/questions/41292559/could-not-find-a-declaration-file-for-module-module-name-path-to-module-nam/42505940#42505940
// FusionCharts comes with its own typings so there is no need to separately import them. But an import from fusioncharts/core still requires a declaration file.
// eslint-disable-next-line @typescript-eslint/no-var-requires
@@ -59,6 +60,7 @@ export interface ChartComponentProps extends WidgetPositionProps {
chartData: AllChartData;
chartName: string;
chartType: ChartType;
+ customEChartConfig: Record<string, unknown>;
customFusionChartConfig: CustomFusionChartConfig;
hasOnDataPointClick: boolean;
isVisible?: boolean;
@@ -113,7 +115,6 @@ class ChartComponent extends React.Component<
eChartsContainerId = this.props.widgetId + "echart-container";
eChartsHTMLContainer: HTMLElement | null = null;
- eChartsData: AllChartData = {};
echartsConfigurationBuilder: EChartsConfigurationBuilder;
echartConfiguration: Record<string, any> = {};
@@ -128,50 +129,25 @@ class ChartComponent extends React.Component<
};
}
- parseOnDataPointClickParams = (evt: any, chartType: ChartType) => {
- if (chartType === "CUSTOM_FUSION_CHART") {
- const data = evt.data;
- const seriesTitle = get(data, "datasetName", "");
-
- return {
- x: data.categoryLabel ?? -1,
- y: data.dataValue ?? -1,
- seriesTitle,
- rawEventData: data,
- } as ChartSelectedDataPoint;
- } else {
- const data: unknown[] = evt.data as unknown[];
- const x: unknown = data[0];
-
- const index = (evt.seriesIndex ?? 0) + 1;
- const y: unknown = data[index];
-
- const seriesName =
- evt.seriesName && evt.seriesName?.length > 0 ? evt.seriesName : "null";
-
- return {
- x: x ?? -1,
- y: y ?? -1,
- seriesTitle: seriesName,
- } as ChartSelectedDataPoint;
- }
- };
-
- getEChartsOptions = () => {
+ getBasicEChartOptions = () => {
+ const chartData = EChartsDatasetBuilder.chartData(
+ this.props.chartType,
+ this.props.chartData,
+ );
const options = {
...this.echartsConfigurationBuilder.prepareEChartConfig(
this.props,
- this.eChartsData,
+ chartData,
),
dataset: {
- ...EChartsDatasetBuilder.datasetFromData(this.eChartsData),
+ ...EChartsDatasetBuilder.datasetFromData(chartData),
},
};
return options;
};
dataClickCallback = (params: echarts.ECElementEvent) => {
- const dataPointClickParams = this.parseOnDataPointClickParams(
+ const dataPointClickParams = parseOnDataPointClickParams(
params,
this.state.chartType,
);
@@ -193,6 +169,8 @@ class ChartComponent extends React.Component<
undefined,
{
renderer: "svg",
+ width: this.props.dimensions.componentWidth,
+ height: this.props.dimensions.componentHeight,
},
);
}
@@ -206,6 +184,10 @@ class ChartComponent extends React.Component<
);
};
+ getCustomEChartOptions = () => {
+ return this.props.customEChartConfig;
+ };
+
renderECharts = () => {
this.initializeEchartsInstance();
@@ -213,41 +195,45 @@ class ChartComponent extends React.Component<
return;
}
- const newConfiguration = this.getEChartsOptions();
- const needsNewConfig = !equal(newConfiguration, this.echartConfiguration);
- const resizedNeeded = this.shouldResizeECharts();
-
- if (needsNewConfig) {
- this.echartConfiguration = newConfiguration;
- this.echartsInstance.off("click");
- this.echartsInstance.on("click", this.dataClickCallback);
+ let eChartOptions: Record<string, unknown> = {};
+ if (this.isCustomEChart(this.state.chartType)) {
+ eChartOptions = this.getCustomEChartOptions();
+ } else if (isBasicEChart(this.state.chartType)) {
+ eChartOptions = this.getBasicEChartOptions();
+ }
- try {
+ try {
+ if (!equal(this.echartConfiguration, eChartOptions)) {
+ this.echartConfiguration = eChartOptions;
this.echartsInstance.setOption(this.echartConfiguration, true);
if (this.state.eChartsError) {
this.setState({ eChartsError: undefined });
}
- } catch (error) {
- this.disposeECharts();
- this.setState({ eChartsError: error as Error });
}
- }
- if (resizedNeeded) {
- this.echartsInstance.resize({
- width: this.props.dimensions.componentWidth,
- height: this.props.dimensions.componentHeight,
- });
+ if (this.shouldResizeECharts()) {
+ this.echartsInstance.resize({
+ width: this.props.dimensions.componentWidth,
+ height: this.props.dimensions.componentHeight,
+ });
+ }
+
+ this.echartsInstance.off("click");
+ this.echartsInstance.on("click", this.dataClickCallback);
+ } catch (error) {
+ this.disposeECharts();
+ this.setState({ eChartsError: error as Error });
}
};
disposeECharts = () => {
- this.echartsInstance?.dispose();
+ if (!this.echartsInstance?.isDisposed()) {
+ this.echartsInstance?.dispose();
+ }
};
componentDidMount() {
- this.eChartsData = EChartsDatasetBuilder.chartData(this.props);
this.renderChartingLibrary();
}
@@ -262,33 +248,48 @@ class ChartComponent extends React.Component<
this.renderFusionCharts();
} else {
this.disposeFusionCharts();
- this.initializeEchartsInstance();
this.renderECharts();
}
}
componentDidUpdate() {
if (
- this.props.chartType == "CUSTOM_FUSION_CHART" &&
- this.state.chartType != "CUSTOM_FUSION_CHART"
+ this.isCustomFusionChart(this.props.chartType) &&
+ !this.isCustomFusionChart(this.state.chartType)
) {
- this.echartConfiguration = {};
this.setState({
eChartsError: undefined,
chartType: "CUSTOM_FUSION_CHART",
});
} else if (
- this.props.chartType != "CUSTOM_FUSION_CHART" &&
- this.state.chartType === "CUSTOM_FUSION_CHART"
+ this.isCustomEChart(this.props.chartType) &&
+ !this.isCustomEChart(this.state.chartType)
+ ) {
+ this.echartConfiguration = {};
+ this.setState({ eChartsError: undefined, chartType: "CUSTOM_ECHART" });
+ } else if (
+ isBasicEChart(this.props.chartType) &&
+ !isBasicEChart(this.state.chartType)
) {
// User has selected one of the ECharts option
- this.setState({ chartType: "AREA_CHART" });
+ this.echartConfiguration = {};
+ this.setState({
+ eChartsError: undefined,
+ chartType: this.props.chartType,
+ });
} else {
- this.eChartsData = EChartsDatasetBuilder.chartData(this.props);
this.renderChartingLibrary();
}
}
+ isCustomFusionChart(type: ChartType) {
+ return type == "CUSTOM_FUSION_CHART";
+ }
+
+ isCustomEChart(type: ChartType) {
+ return type == "CUSTOM_ECHART";
+ }
+
disposeFusionCharts = () => {
this.fusionChartsInstance = null;
};
@@ -323,7 +324,7 @@ class ChartComponent extends React.Component<
height: "100%",
events: {
dataPlotClick: (evt: any) => {
- const dataPointClickParams = this.parseOnDataPointClickParams(
+ const dataPointClickParams = parseOnDataPointClickParams(
evt,
this.state.chartType,
);
diff --git a/app/client/src/widgets/ChartWidget/constants.ts b/app/client/src/widgets/ChartWidget/constants.ts
index f4236949cfee..804fa949d630 100644
--- a/app/client/src/widgets/ChartWidget/constants.ts
+++ b/app/client/src/widgets/ChartWidget/constants.ts
@@ -1,3 +1,6 @@
+import { Colors } from "constants/Colors";
+import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
+
export type ChartType =
| "LINE_CHART"
| "BAR_CHART"
@@ -5,6 +8,7 @@ export type ChartType =
| "COLUMN_CHART"
| "AREA_CHART"
| "SCATTER_CHART"
+ | "CUSTOM_ECHART"
| "CUSTOM_FUSION_CHART";
export const XAxisCategory = "Category";
@@ -29,10 +33,10 @@ export interface AllChartData {
}
export interface ChartSelectedDataPoint {
- x: any;
- y: any;
- seriesTitle: string;
- rawEventData?: unknown;
+ x: unknown | undefined;
+ y: unknown | undefined;
+ seriesTitle: string | undefined;
+ rawEventData?: Record<string, unknown>;
}
export const messages = {
@@ -40,8 +44,21 @@ export const messages = {
MoreDetails: "More Details",
EmptyData: "No chart data to display",
Undefined: "Undefined",
+ customFusionChartDeprecationMessage:
+ "Custom Fusion Charts will stop being supported on March 1st 2024. Change the chart type to E-charts Custom to switch.",
+ customFusionChartOptionLabel: (showDeprecationMessage: boolean) => {
+ return showDeprecationMessage
+ ? "Custom Fusion Charts (deprecated)"
+ : "Custom Fusion Charts";
+ },
};
+export const CUSTOM_ECHART_FEATURE_FLAG =
+ FEATURE_FLAG["release_custom_echarts_enabled"];
+
+export const FUSION_CHART_DEPRECATION_FLAG =
+ FEATURE_FLAG["deprecate_custom_fusioncharts_enabled"];
+
export const CUSTOM_CHART_TYPES = [
"area2d",
"bar2d",
@@ -165,3 +182,139 @@ export const LABEL_ORIENTATION_COMPATIBLE_CHARTS = [
"AREA_CHART",
"COLUMN_CHART",
];
+
+export const DefaultEChartConfig = {
+ dataset: {
+ source: [
+ ["Day", "Baidu", "Google", "Bing"],
+ ["Mon", 620, 120, 60],
+ ["Tue", 732, 132, 72],
+ ["Wed", 701, 101, 71],
+ ["Thu", 734, 134, 74],
+ ["Fri", 1090, 290, 190],
+ ["Sat", 1130, 230, 130],
+ ["Sun", 1120, 220, 110],
+ ],
+ },
+ tooltip: {
+ trigger: "axis",
+ axisPointer: {
+ type: "shadow",
+ },
+ },
+ title: {
+ text: "Search Engine Usage",
+ left: "center",
+ textStyle: {
+ width: 200,
+ overflow: "truncate",
+ },
+ },
+ legend: {
+ top: 40,
+ type: "scroll",
+ },
+ grid: {
+ left: 15,
+ right: 15,
+ bottom: 30,
+ top: 100,
+ containLabel: true,
+ },
+ xAxis: [
+ {
+ type: "category",
+ },
+ ],
+ yAxis: [
+ {
+ type: "value",
+ },
+ ],
+ series: [
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ {
+ type: "bar",
+ stack: "Search Engine",
+ },
+ ],
+};
+
+export const DefaultEChartsBasicChartsData = {
+ seriesName: "2023",
+ data: [
+ {
+ x: "Product1",
+ y: 20000,
+ },
+ {
+ x: "Product2",
+ y: 22000,
+ },
+ {
+ x: "Product3",
+ y: 32000,
+ },
+ ],
+};
+
+export const DefaultFusionChartConfig = {
+ type: "column2d",
+ dataSource: {
+ data: [
+ {
+ label: "Product1",
+ value: 20000,
+ },
+ {
+ label: "Product2",
+ value: 22000,
+ },
+ {
+ label: "Product3",
+ value: 32000,
+ },
+ ],
+ chart: {
+ caption: "Sales Report",
+ xAxisName: "Product Line",
+ yAxisName: "Revenue($)",
+ theme: "fusion",
+ alignCaptionWithCanvas: 1,
+ // Caption styling =======================
+ captionFontSize: "24",
+ captionAlignment: "center",
+ captionPadding: "20",
+ captionFontColor: Colors.THUNDER,
+ // legend position styling ==========
+ legendIconSides: "4",
+ legendIconBgAlpha: "100",
+ legendIconAlpha: "100",
+ legendPosition: "top",
+ // Canvas styles ========
+ canvasPadding: "0",
+ // Chart styling =======
+ chartLeftMargin: "20",
+ chartTopMargin: "10",
+ chartRightMargin: "40",
+ chartBottomMargin: "10",
+ // Axis name styling ======
+ xAxisNameFontSize: "14",
+ labelFontSize: "12",
+ labelFontColor: Colors.DOVE_GRAY2,
+ xAxisNameFontColor: Colors.DOVE_GRAY2,
+
+ yAxisNameFontSize: "14",
+ yAxisValueFontSize: "12",
+ yAxisValueFontColor: Colors.DOVE_GRAY2,
+ yAxisNameFontColor: Colors.DOVE_GRAY2,
+ },
+ },
+};
diff --git a/app/client/src/widgets/ChartWidget/index.ts b/app/client/src/widgets/ChartWidget/index.ts
index 6e3ab1b82fef..99481e814b1b 100644
--- a/app/client/src/widgets/ChartWidget/index.ts
+++ b/app/client/src/widgets/ChartWidget/index.ts
@@ -1,8 +1,12 @@
-import { Colors } from "constants/Colors";
import { FILL_WIDGET_MIN_WIDTH } from "constants/minWidthConstants";
import { ResponsiveBehavior } from "utils/autoLayout/constants";
import { generateReactKey } from "widgets/WidgetUtils";
-import { LabelOrientation } from "./constants";
+import {
+ DefaultEChartConfig,
+ DefaultEChartsBasicChartsData,
+ DefaultFusionChartConfig,
+ LabelOrientation,
+} from "./constants";
import IconSVG from "./icon.svg";
import Widget from "./widget";
import { WIDGET_TAGS } from "constants/WidgetConstants";
@@ -26,82 +30,27 @@ export const CONFIG = {
responsiveBehavior: ResponsiveBehavior.Fill,
minWidth: FILL_WIDGET_MIN_WIDTH,
showDataPointLabel: false,
+ customEChartConfig: `{{\n${JSON.stringify(
+ DefaultEChartConfig,
+ null,
+ 2,
+ )}\n}}`,
chartData: {
- [generateReactKey()]: {
- seriesName: "2023",
- data: [
- {
- x: "Product1",
- y: 20000,
- },
- {
- x: "Product2",
- y: 22000,
- },
- {
- x: "Product3",
- y: 32000,
- },
- ],
- },
+ [generateReactKey()]: DefaultEChartsBasicChartsData,
},
xAxisName: "Product Line",
yAxisName: "Revenue($)",
labelOrientation: LabelOrientation.AUTO,
- customFusionChartConfig: {
- type: "column2d",
- dataSource: {
- data: [
- {
- label: "Product1",
- value: 20000,
- },
- {
- label: "Product2",
- value: 22000,
- },
- {
- label: "Product3",
- value: 32000,
- },
- ],
- chart: {
- caption: "Sales Report",
- xAxisName: "Product Line",
- yAxisName: "Revenue($)",
- theme: "fusion",
- alignCaptionWithCanvas: 1,
- // Caption styling =======================
- captionFontSize: "24",
- captionAlignment: "center",
- captionPadding: "20",
- captionFontColor: Colors.THUNDER,
- // legend position styling ==========
- legendIconSides: "4",
- legendIconBgAlpha: "100",
- legendIconAlpha: "100",
- legendPosition: "top",
- // Canvas styles ========
- canvasPadding: "0",
- // Chart styling =======
- chartLeftMargin: "20",
- chartTopMargin: "10",
- chartRightMargin: "40",
- chartBottomMargin: "10",
- // Axis name styling ======
- xAxisNameFontSize: "14",
- labelFontSize: "12",
- labelFontColor: Colors.DOVE_GRAY2,
- xAxisNameFontColor: Colors.DOVE_GRAY2,
+ customFusionChartConfig: DefaultFusionChartConfig,
- yAxisNameFontSize: "14",
- yAxisValueFontSize: "12",
- yAxisValueFontColor: Colors.DOVE_GRAY2,
- yAxisNameFontColor: Colors.DOVE_GRAY2,
- },
- },
- },
+ /**
+ * TODO, @sbalaji92
+ * need to remove this once widget properties get added to dynamic binding path list
+ * in WidgetAdditionSagas/dynamicBindingPathList function
+ * */
+ dynamicBindingPathList: [{ key: "customEChartConfig" }],
},
+
properties: {
derived: Widget.getDerivedPropertiesMap(),
default: Widget.getDefaultPropertiesMap(),
@@ -112,6 +61,9 @@ export const CONFIG = {
stylesheetConfig: Widget.getStylesheetConfig(),
autocompleteDefinitions: Widget.getAutocompleteDefinitions(),
},
+ methods: {
+ getEditorCallouts: Widget.editorCallouts,
+ },
autoLayout: {
widgetSize: [
{
diff --git a/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.test.ts b/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.test.ts
index ac05d30d56de..671f11784ef2 100644
--- a/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.test.ts
+++ b/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.test.ts
@@ -26,6 +26,7 @@ describe("SyntaxErrorsEvaluation", () => {
chartName: "chart name",
type: "CHART_WIDGET",
chartType: "AREA_CHART",
+ customEChartConfig: {},
customFusionChartConfig: { type: "type", dataSource: undefined },
hasOnDataPointClick: true,
isVisible: true,
@@ -52,105 +53,198 @@ describe("SyntaxErrorsEvaluation", () => {
renderMode: RenderModes.CANVAS,
};
+ it("returns zero errors when errors field is undefined", () => {
+ const props = JSON.parse(JSON.stringify(defaultProps));
+ props.errors = undefined;
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+
+ it("returns zero errors when errors field is null", () => {
+ const props = JSON.parse(JSON.stringify(defaultProps));
+ props.errors = null;
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+
describe("when errors are present in non data fields", () => {
const props = JSON.parse(JSON.stringify(defaultProps));
- it("returns errors", () => {
- const widgetError1: WidgetError = {
+ it("returns errors when chart type is basic echarts", () => {
+ props.chartType = "LINE_CHART";
+
+ const nonDataFieldPropertyPath = "accentColor";
+ const widgetError: WidgetError = {
+ type: "property",
+ path: nonDataFieldPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(1);
+ expect(syntaxErrors[0].name).toEqual("ErrorName");
+ });
+
+ it("returns errors when chart type is custom fusion charts", () => {
+ props.chartType = "CUSTOM_FUSION_CHART";
+
+ const nonDataFieldPropertyPath = "accentColor";
+ const widgetError: WidgetError = {
type: "property",
- path: "accentColor",
+ path: nonDataFieldPropertyPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
+ props.errors = [widgetError];
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(1);
+ expect(syntaxErrors[0].name).toEqual("ErrorName");
+ });
+
+ it("returns errors when chart type is basic echarts", () => {
+ props.chartType = "CUSTOM_ECHART";
+
+ const nonDataFieldPropertyPath = "accentColor";
+ const widgetError: WidgetError = {
+ type: "property",
+ path: nonDataFieldPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(1);
expect(syntaxErrors[0].name).toEqual("ErrorName");
});
});
- describe("when errors are absent in non data fields", () => {
+ describe("when errors are present in data fields", () => {
describe("When chart type is Custom Fusion Charts", () => {
- it("returns errors when errors are presnt in customFusionCharts", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ const customFusionChartProps = JSON.parse(JSON.stringify(defaultProps));
+ customFusionChartProps.chartType = "CUSTOM_FUSION_CHART";
+
+ it("returns errors when errors are present in customFusionCharts", () => {
+ const props = JSON.parse(JSON.stringify(customFusionChartProps));
+ const customFusionChartDataFieldPropertyPath =
+ "customFusionChartConfig";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "customFusionChartConfig",
+ path: customFusionChartDataFieldPropertyPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "CUSTOM_FUSION_CHART";
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(1);
expect(syntaxErrors[0].name).toEqual("ErrorName");
});
- it("doesn't return errors when errors are not present in customFusionCharts", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ it("doesn't return errors when errors are present in basic echarts data field", () => {
+ const props = JSON.parse(JSON.stringify(customFusionChartProps));
+ const basicEChartsDataFieldPropertyPath = "chartData";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "chartData",
+ path: basicEChartsDataFieldPropertyPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "CUSTOM_FUSION_CHART";
+ props.errors = [widgetError];
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+
+ it("doesn't return errors when errors are present in custom echarts data field", () => {
+ const props = JSON.parse(JSON.stringify(customFusionChartProps));
+ const customEChartsDataFieldPropertyPath = "customEChartConfig";
+
+ const widgetError: WidgetError = {
+ type: "property",
+ path: customEChartsDataFieldPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(0);
});
});
- describe("When chart type is not Custom Fusion Charts", () => {
- it("returns errors when errors are presnt in chart data field", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ describe("When chart type is basic ECharts", () => {
+ const basicEChartsProps = JSON.parse(JSON.stringify(defaultProps));
+ basicEChartsProps.chartType = "LINE_CHART";
+
+ it("returns errors when errors are present in chart data field", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartsProps));
+ const echartDataPropertyPath = "chartData";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "chartData",
+ path: echartDataPropertyPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "LINE_CHART";
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(1);
expect(syntaxErrors[0].name).toEqual("ErrorName");
});
- it("doesn't return errors when errors are not present in chart data field", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ it("doesn't return errors when errors are present in custom fusion chart", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartsProps));
+ const customFusionChartDataPropertyPath = "customFusionChartConfig";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "customFusionChartConfig",
+ path: customFusionChartDataPropertyPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "LINE_CHART";
+ props.errors = [widgetError];
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+
+ it("doesn't return errors when errors are present in custom echarts", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartsProps));
+ const customEChartsDataPropertyPath = "customEChartConfig";
+
+ const widgetError: WidgetError = {
+ type: "property",
+ path: customEChartsDataPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(0);
});
describe("when chart type is PIE CHART", () => {
+ const pieChartProps = JSON.parse(JSON.stringify(basicEChartsProps));
+ pieChartProps.chartType = "PIE_CHART";
+
it("returns error if there is syntax error in first series data", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ const props = JSON.parse(JSON.stringify(pieChartProps));
+ const firstSeriesDataPath = "chartData.seriesID1.data";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "chartData.seriesID1.data",
+ path: firstSeriesDataPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "PIE_CHART";
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(1);
@@ -158,21 +252,75 @@ describe("SyntaxErrorsEvaluation", () => {
});
it("doesn't return an error if there is syntax error in second series data", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ const props = JSON.parse(JSON.stringify(pieChartProps));
+ const secondSeriesDataPath = "chartData.seriesID2.data";
- const widgetError1: WidgetError = {
+ const widgetError: WidgetError = {
type: "property",
- path: "chartData.seriesID2.data",
+ path: secondSeriesDataPath,
name: "ErrorName",
message: "ErrorMessage",
};
- props.errors = [widgetError1];
- props.chartType = "PIE_CHART";
+ props.errors = [widgetError];
const syntaxErrors = syntaxErrorsFromProps(props);
expect(syntaxErrors.length).toEqual(0);
});
});
});
+
+ describe("When chart type is custom ECharts", () => {
+ const customEChartsProps = JSON.parse(JSON.stringify(defaultProps));
+ customEChartsProps.chartType = "CUSTOM_ECHART";
+
+ it("returns errors when errors are present in custom Echart config field", () => {
+ const props = JSON.parse(JSON.stringify(customEChartsProps));
+ const customEChartDataPropertyPath = "customEChartConfig";
+
+ const widgetError: WidgetError = {
+ type: "property",
+ path: customEChartDataPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(1);
+ expect(syntaxErrors[0].name).toEqual("ErrorName");
+ });
+
+ it("doesn't return errors when errors are present in custom fusion chart", () => {
+ const props = JSON.parse(JSON.stringify(customEChartsProps));
+ const customFusionChartDataPropertyPath = "customFusionChartConfig";
+
+ const widgetError: WidgetError = {
+ type: "property",
+ path: customFusionChartDataPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+
+ it("doesn't return errors when errors are present in basic echarts data field", () => {
+ const props = JSON.parse(JSON.stringify(customEChartsProps));
+ const basicEChartsDataFieldPropertyPath = "chartData";
+
+ const widgetError: WidgetError = {
+ type: "property",
+ path: basicEChartsDataFieldPropertyPath,
+ name: "ErrorName",
+ message: "ErrorMessage",
+ };
+ props.errors = [widgetError];
+
+ const syntaxErrors = syntaxErrorsFromProps(props);
+ expect(syntaxErrors.length).toEqual(0);
+ });
+ });
});
});
diff --git a/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.ts b/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.ts
index 3973ab27ae8d..90c4ab65b1f5 100644
--- a/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.ts
+++ b/app/client/src/widgets/ChartWidget/widget/SyntaxErrorsEvaluation.ts
@@ -1,55 +1,70 @@
import type { WidgetError } from "widgets/BaseWidget";
import type { ChartWidgetProps } from ".";
+import { isBasicEChart } from ".";
export function syntaxErrorsFromProps(props: ChartWidgetProps): WidgetError[] {
- if (!props.errors || props.errors.length == 0) {
+ if (!props.errors) {
return [];
}
const errors: WidgetError[] = [];
- props.errors.forEach((error) => {
+ for (const error of props.errors) {
if (nonDataError(error)) {
errors.push(error);
} else {
- if (props.chartType == "CUSTOM_FUSION_CHART") {
- if (customFusionChartError(error)) {
- errors.push(error);
- }
- } else {
- if (eChartsError(error)) {
- if (props.chartType == "PIE_CHART") {
- const firstSeriesKey = Object.keys(props.chartData)[0];
- if (
- error.path &&
- error.path.startsWith(`chartData.${firstSeriesKey}`)
- ) {
- errors.push(error);
- }
- } else {
+ if (
+ props.chartType == "CUSTOM_FUSION_CHART" &&
+ customFusionChartError(error)
+ ) {
+ errors.push(error);
+ } else if (
+ props.chartType == "CUSTOM_ECHART" &&
+ customEChartsError(error)
+ ) {
+ errors.push(error);
+ } else if (isBasicEChart(props.chartType) && eChartsError(error)) {
+ if (props.chartType == "PIE_CHART") {
+ if (pieChartFirstSeriesError(props, error)) {
errors.push(error);
}
+ } else {
+ errors.push(error);
}
}
}
- });
+ }
return errors;
}
const nonDataError = (error: WidgetError) => {
- if (eChartsError(error)) {
- return false;
- } else if (customFusionChartError(error)) {
+ if (
+ eChartsError(error) ||
+ customEChartsError(error) ||
+ customFusionChartError(error)
+ ) {
return false;
} else {
return true;
}
};
+const pieChartFirstSeriesError = (
+ props: ChartWidgetProps,
+ error: WidgetError,
+) => {
+ const firstSeriesKey = Object.keys(props.chartData)[0];
+ return error.path?.startsWith(`chartData.${firstSeriesKey}`);
+};
+
const customFusionChartError = (error: WidgetError) => {
- return error.path && error.path.startsWith("customFusionChartConfig");
+ return error.path?.startsWith("customFusionChartConfig");
};
const eChartsError = (error: WidgetError) => {
- return error.path && error.path.startsWith("chartData");
+ return error.path?.startsWith("chartData");
+};
+
+const customEChartsError = (error: WidgetError) => {
+ return error.path?.startsWith("customEChartConfig");
};
diff --git a/app/client/src/widgets/ChartWidget/widget/index.test.ts b/app/client/src/widgets/ChartWidget/widget/index.test.ts
index 0de16441198d..5f71d252cd06 100644
--- a/app/client/src/widgets/ChartWidget/widget/index.test.ts
+++ b/app/client/src/widgets/ChartWidget/widget/index.test.ts
@@ -1,5 +1,5 @@
import { emptyChartData } from ".";
-
+import ChartWidget from ".";
import { LabelOrientation } from "../constants";
import type { ChartWidgetProps } from ".";
import type { ChartData } from "../constants";
@@ -26,6 +26,7 @@ describe("emptyChartData", () => {
chartName: "chart name",
type: "CHART_WIDGET",
chartType: "AREA_CHART",
+ customEChartConfig: {},
customFusionChartConfig: { type: "type", dataSource: undefined },
hasOnDataPointClick: true,
isVisible: true,
@@ -52,57 +53,132 @@ describe("emptyChartData", () => {
renderMode: RenderModes.CANVAS,
};
- describe("when chart type is Echarts", () => {
- it("returns true chartData property is empty", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
- props.chartType = "LINE_CHART";
+ describe("when chart type is basic ECharts", () => {
+ const basicEChartProps = JSON.parse(JSON.stringify(defaultProps));
+ const basicEChartsType = "LINE_CHART";
+ basicEChartProps.chartType = basicEChartsType;
+
+ it("returns true if each series data is absent", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartProps));
props.chartData.seriesID1 = { data: [] };
props.chartData.seriesID2 = { data: [] };
expect(emptyChartData(props)).toEqual(true);
});
- it("returns false chartData property is not empty", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
- props.chartType = "LINE_CHART";
+ it("returns true if no series is present", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartProps));
+ props.chartData = {};
+ expect(emptyChartData(props)).toEqual(true);
+ });
+
+ it("returns false if all series data are present", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartProps));
expect(emptyChartData(props)).toEqual(false);
});
- it("returns false chartData property if any of the series data is present", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
- props.chartType = "LINE_CHART";
+ it("returns false if any of the series data is present", () => {
+ const props = JSON.parse(JSON.stringify(basicEChartProps));
props.chartData.seriesID1 = { data: [] };
expect(emptyChartData(props)).toEqual(false);
});
- it("returns true if chart data isn't present", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
- props.chartType = "LINE_CHART";
- props.chartData = null;
- expect(emptyChartData(props)).toEqual(true);
+ describe("when chart type is pie chart", () => {
+ const pieChartProps = JSON.parse(JSON.stringify(defaultProps));
+ pieChartProps.chartType = "PIE_CHART";
- props.chartData = {
- seriesID1: {},
- };
- expect(emptyChartData(props)).toEqual(true);
+ it("returns true if first series data is empty", () => {
+ const props = JSON.parse(JSON.stringify(pieChartProps));
+ props.chartData = { seriesID1: { data: [] } };
+
+ expect(emptyChartData(props)).toEqual(true);
+ });
+
+ it("returns true if first series data is empty but second series data is present", () => {
+ const props = JSON.parse(JSON.stringify(pieChartProps));
+ props.chartData.seriesID1 = { data: [] };
+ props.chartData.seriesID2 = { data: { x: "x1", y: 2 } };
+
+ expect(emptyChartData(props)).toEqual(true);
+ });
});
});
describe("when chart type is custom fusion charts", () => {
+ const customFusionChartProps = JSON.parse(JSON.stringify(defaultProps));
+ customFusionChartProps.chartType = "CUSTOM_FUSION_CHART";
+
it("returns true if customFusionChartConfig property is empty", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
- props.chartType = "CUSTOM_FUSION_CHART";
+ const props = JSON.parse(JSON.stringify(customFusionChartProps));
props.customFusionChartConfig = {};
expect(emptyChartData(props)).toEqual(true);
});
it("returns false if customFusionChartConfig property is not empty", () => {
- const props = JSON.parse(JSON.stringify(defaultProps));
+ const props = JSON.parse(JSON.stringify(customFusionChartProps));
props.chartType = "CUSTOM_FUSION_CHART";
props.customFusionChartConfig = { key: "value" };
expect(emptyChartData(props)).toEqual(false);
});
});
+
+ describe("when chart type is custom echarts", () => {
+ const customEChartsProps = JSON.parse(JSON.stringify(defaultProps));
+ customEChartsProps.chartType = "CUSTOM_ECHART";
+
+ it("returns true if customEChartConfig property is empty", () => {
+ const props = JSON.parse(JSON.stringify(customEChartsProps));
+ props.customEChartConfig = {};
+
+ expect(emptyChartData(props)).toEqual(true);
+ });
+
+ it("returns false if customEChartConfig property is not empty", () => {
+ const props = JSON.parse(JSON.stringify(customEChartsProps));
+ props.customEChartConfig = { key: "value" };
+
+ expect(emptyChartData(props)).toEqual(false);
+ });
+ });
+
+ describe("Widget Callouts", () => {
+ ChartWidget.showCustomFusionChartDeprecationMessages = jest
+ .fn()
+ .mockReturnValue(true);
+
+ it("returns custom fusion chart deprecation notice when chart type is custom fusion chart", () => {
+ const props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "CUSTOM_FUSION_CHART";
+
+ const messages = ChartWidget.editorCallouts(props);
+ expect(messages.length).toEqual(1);
+
+ const deprecationMessage = messages[0];
+ expect(deprecationMessage.message).toEqual(
+ "Custom Fusion Charts will stop being supported on March 1st 2024. Change the chart type to E-charts Custom to switch.",
+ );
+ expect(deprecationMessage.links).toEqual([
+ {
+ text: "Learn More",
+ url: "https://docs.appsmith.com",
+ },
+ ]);
+ });
+
+ it("returns no callouts when chart type isn't custom fusion charts", () => {
+ let props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "LINE_CHART";
+
+ let messages = ChartWidget.editorCallouts(props);
+ expect(messages.length).toEqual(0);
+
+ props = JSON.parse(JSON.stringify(defaultProps));
+ props.chartType = "CUSTOM_ECHART";
+
+ messages = ChartWidget.editorCallouts(props);
+ expect(messages.length).toEqual(0);
+ });
+ });
});
diff --git a/app/client/src/widgets/ChartWidget/widget/index.tsx b/app/client/src/widgets/ChartWidget/widget/index.tsx
index 996a83077d2e..a22033ce3a36 100644
--- a/app/client/src/widgets/ChartWidget/widget/index.tsx
+++ b/app/client/src/widgets/ChartWidget/widget/index.tsx
@@ -6,32 +6,55 @@ import Skeleton from "components/utils/Skeleton";
import { retryPromise } from "utils/AppsmithUtils";
import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
import { contentConfig, styleConfig } from "./propertyConfig";
-import type { ChartSelectedDataPoint } from "../constants";
-
+import {
+ CUSTOM_ECHART_FEATURE_FLAG,
+ FUSION_CHART_DEPRECATION_FLAG,
+ messages,
+ type ChartSelectedDataPoint,
+} from "../constants";
import type { WidgetType } from "constants/WidgetConstants";
import type { ChartComponentProps } from "../component";
import { Colors } from "constants/Colors";
import type { Stylesheet } from "entities/AppTheming";
import { DefaultAutocompleteDefinitions } from "widgets/WidgetUtils";
-import type { AutocompletionDefinitions } from "widgets/constants";
+import type {
+ AutocompletionDefinitions,
+ WidgetCallout,
+} from "widgets/constants";
import { ChartErrorComponent } from "../component/ChartErrorComponent";
import { syntaxErrorsFromProps } from "./SyntaxErrorsEvaluation";
import { EmptyChartData } from "../component/EmptyChartData";
+import type { ChartType } from "../constants";
+import { EChartsDatasetBuilder } from "../component/EChartsDatasetBuilder";
const ChartComponent = lazy(() =>
retryPromise(() => import(/* webpackChunkName: "charts" */ "../component")),
);
+export const isBasicEChart = (type: ChartType) => {
+ const types: ChartType[] = [
+ "AREA_CHART",
+ "PIE_CHART",
+ "LINE_CHART",
+ "BAR_CHART",
+ "COLUMN_CHART",
+ ];
+ return types.includes(type);
+};
+
export const emptyChartData = (props: ChartWidgetProps) => {
if (props.chartType == "CUSTOM_FUSION_CHART") {
- if (!props.customFusionChartConfig) {
- return true;
- } else {
- return Object.keys(props.customFusionChartConfig).length == 0;
- }
+ return Object.keys(props.customFusionChartConfig).length == 0;
+ } else if (props.chartType == "CUSTOM_ECHART") {
+ return Object.keys(props.customEChartConfig).length == 0;
} else {
- for (const seriesID in props.chartData) {
- if (props.chartData[seriesID].data?.length > 0) {
+ const seriesData = EChartsDatasetBuilder.chartData(
+ props.chartType,
+ props.chartData,
+ );
+
+ for (const seriesID in seriesData) {
+ if (Object.keys(props.chartData[seriesID].data).length > 0) {
return false;
}
}
@@ -63,13 +86,20 @@ class ChartWidget extends BaseWidget<ChartWidgetProps, WidgetState> {
}
static getPropertyPaneContentConfig() {
- return contentConfig;
+ return contentConfig(
+ this.getFeatureFlag(CUSTOM_ECHART_FEATURE_FLAG),
+ this.showCustomFusionChartDeprecationMessages(),
+ );
}
static getPropertyPaneStyleConfig() {
return styleConfig;
}
+ static showCustomFusionChartDeprecationMessages() {
+ return this.getFeatureFlag(FUSION_CHART_DEPRECATION_FLAG);
+ }
+
static getStylesheetConfig(): Stylesheet {
return {
borderRadius: "{{appsmith.theme.borderRadius.appBorderRadius}}",
@@ -79,6 +109,25 @@ class ChartWidget extends BaseWidget<ChartWidgetProps, WidgetState> {
};
}
+ static editorCallouts(props: WidgetProps): WidgetCallout[] {
+ const callouts: WidgetCallout[] = [];
+ if (
+ ChartWidget.showCustomFusionChartDeprecationMessages() &&
+ props.chartType == "CUSTOM_FUSION_CHART"
+ ) {
+ callouts.push({
+ message: messages.customFusionChartDeprecationMessage,
+ links: [
+ {
+ text: "Learn More",
+ url: "https://docs.appsmith.com",
+ },
+ ],
+ });
+ }
+ return callouts;
+ }
+
onDataPointClick = (selectedDataPoint: ChartSelectedDataPoint) => {
this.props.updateWidgetMetaProperty(
"selectedDataPoint",
@@ -110,6 +159,7 @@ class ChartWidget extends BaseWidget<ChartWidgetProps, WidgetState> {
chartData={this.props.chartData}
chartName={this.props.chartName}
chartType={this.props.chartType}
+ customEChartConfig={this.props.customEChartConfig}
customFusionChartConfig={this.props.customFusionChartConfig}
dimensions={this.getComponentDimensions()}
fontFamily={this.props.fontFamily ?? "Nunito Sans"}
diff --git a/app/client/src/widgets/ChartWidget/widget/propertyConfig.test.ts b/app/client/src/widgets/ChartWidget/widget/propertyConfig.test.ts
index 23bb46b798b7..67eb7474264e 100644
--- a/app/client/src/widgets/ChartWidget/widget/propertyConfig.test.ts
+++ b/app/client/src/widgets/ChartWidget/widget/propertyConfig.test.ts
@@ -1,10 +1,15 @@
/* eslint-disable @typescript-eslint/no-namespace */
-import { isString, get } from "lodash";
+import { isString } from "lodash";
import { styleConfig, contentConfig } from "./propertyConfig";
import type { PropertyPaneControlConfig } from "constants/PropertyControlConstants";
-const config = [...contentConfig, ...styleConfig];
+const customEChartsEnabled = true;
+const showFusionChartDeprecationMessage = true;
+const config = [
+ ...contentConfig(customEChartsEnabled, showFusionChartDeprecationMessage),
+ ...styleConfig,
+];
declare global {
namespace jest {
@@ -66,31 +71,95 @@ expect.extend({
},
});
-describe("Validate Chart Widget's property config", () => {
- it("Validates Chart Widget's property config", () => {
- expect(config).toBePropertyPaneConfig();
- });
+it("Validates Chart Widget's property config", () => {
+ expect(config).toBePropertyPaneConfig();
+});
+
+describe("Validate Chart Widget's data property config", () => {
+ const propertyConfigs: PropertyPaneControlConfig[] = config
+ .map((sectionConfig) => sectionConfig.children)
+ .flat();
+
+ it("Validates visibility of property fields customFusionChartConfig property is visible when chartType is CUSTOM_FUSION_CHART", () => {
+ const visibleFields = propertyConfigs.filter((propertyConfig) => {
+ return propertyConfig.propertyName == "customFusionChartConfig";
+ });
- it("Validates config when chartType is CUSTOM_FUSION_CHART", () => {
- const hiddenFn = get(
- config,
- "[0].children.[1].hidden", // propertyName: "customFusionChartConfig"
- ) as unknown as (props: any) => boolean;
- let result = true;
- if (hiddenFn) result = hiddenFn({ chartType: "CUSTOM_FUSION_CHART" });
- expect(result).toBeFalsy();
+ let hiddenFns = visibleFields.map(
+ (config) => config.hidden,
+ ) as unknown as ((props: any) => boolean)[];
+
+ expect(hiddenFns.length).toEqual(1);
+
+ hiddenFns.forEach((fn) => {
+ let result = true;
+ result = fn({ chartType: "CUSTOM_FUSION_CHART" });
+ expect(result).toBeFalsy();
+ });
+
+ const hiddenFields = propertyConfigs.filter((propertyConfig) => {
+ return [
+ "chartData",
+ "allowScroll",
+ "showDataPointLabel",
+ "xAxisName",
+ "yAxisName",
+ "customEChartConfig",
+ "labelOrientation",
+ ].includes(propertyConfig.propertyName);
+ });
+
+ hiddenFns = hiddenFields.map((config) => config.hidden) as unknown as ((
+ props: any,
+ ) => boolean)[];
+
+ expect(hiddenFns.length).toEqual(7);
+
+ hiddenFns.forEach((fn) => {
+ let result = true;
+ result = fn({ chartType: "CUSTOM_FUSION_CHART" });
+ expect(result).toBeTruthy();
+ });
});
- it("Validates that sections are hidden when chartType is CUSTOM_FUSION_CHART", () => {
- const hiddenFns = [
- get(config, "[0].children.[2].hidden"), // propertyName: "chartData"
- get(config, "[1].children.[4].hidden"), // propertyName: "showDataPointLabel"
- get(config, "[2].children.[1].hidden"), // propertyName: "xAxisName"
- get(config, "[2].children.[2].hidden"), // propertyName: "yAxisName"
- get(config, "[2].children.[3].hidden"), // propertyName: "labelOrientation",
- ] as unknown as ((props: any) => boolean)[];
+ it("Validates visibility of property fields when chartType is CUSTOM_ECHART", () => {
+ const visibleFields = propertyConfigs.filter((propertyConfig) => {
+ return propertyConfig.propertyName == "customEChartConfig";
+ });
+
+ let hiddenFns = visibleFields.map(
+ (config) => config.hidden,
+ ) as unknown as ((props: any) => boolean)[];
+ expect(hiddenFns.length).toEqual(1);
+
+ hiddenFns.forEach((fn) => {
+ let result = true;
+ result = fn({ chartType: "CUSTOM_ECHART" });
+ expect(result).toBeFalsy();
+ });
+
+ const hiddenFields = propertyConfigs.filter((propertyConfig) => {
+ return [
+ "chartData",
+ "allowScroll",
+ "showDataPointLabel",
+ "labelOrientation",
+ "setAdaptiveYMin",
+ "xAxisName",
+ "yAxisName",
+ "customFusionChartConfig",
+ "title",
+ ].includes(propertyConfig.propertyName);
+ });
+
+ hiddenFns = hiddenFields.map((config) => config.hidden) as unknown as ((
+ props: any,
+ ) => boolean)[];
+ expect(hiddenFns.length).toEqual(8);
+
hiddenFns.forEach((fn) => {
- const result = fn({ chartType: "CUSTOM_FUSION_CHART" });
+ let result = true;
+ result = fn({ chartType: "CUSTOM_ECHART" });
expect(result).toBeTruthy();
});
});
@@ -110,19 +179,45 @@ describe("Validate Chart Widget's property config", () => {
});
it("validates the datasource field is required in customFusionChartConfig", () => {
- const customFusionChartConfig: any = get(config, "[0].children.[1]");
+ const customFusionChartConfig = propertyConfigs.find((propertyConfig) => {
+ return propertyConfig.propertyName == "customFusionChartConfig";
+ });
+ expect(customFusionChartConfig).not.toBeNull();
const dataSourceValidations =
- customFusionChartConfig.validation.params.allowedKeys[1];
+ customFusionChartConfig?.validation?.params?.allowedKeys?.[1];
- expect(dataSourceValidations.params.required).toEqual(true);
- expect(dataSourceValidations.params.ignoreCase).toEqual(false);
+ expect(dataSourceValidations?.params?.required).toEqual(true);
+ expect(dataSourceValidations?.params?.ignoreCase).not.toBeNull();
+ expect(dataSourceValidations?.params?.ignoreCase).toEqual(false);
});
it("validates that default value is present for chartData.data property", () => {
- const chartDataDataConfig = get(
- config,
- "[0].children.[2].children.[0]",
- ) as unknown as PropertyPaneControlConfig; // propertyName: "chartData.data"
+ const chartDataConfig = propertyConfigs.filter((propertyConfig) => {
+ return propertyConfig.propertyName == "chartData";
+ })[0];
+
+ const chartDataConfigChildren: PropertyPaneControlConfig[] =
+ (chartDataConfig.children ?? []) as PropertyPaneControlConfig[];
+ const chartDataDataConfig = chartDataConfigChildren.filter((config) => {
+ return config.propertyName == "data";
+ })[0];
+
expect(chartDataDataConfig.validation?.params?.default).toEqual([]);
});
+
+ it("validates that default value is present for customEChartConfig property", () => {
+ const customEChartConfig = propertyConfigs.filter((propertyConfig) => {
+ return propertyConfig.propertyName == "customEChartConfig";
+ })[0];
+
+ expect(customEChartConfig.validation?.params?.default).toEqual([]);
+ });
+
+ it("validates that default value is present for custom charts property", () => {
+ const customFusionChartConfig = propertyConfigs.filter((propertyConfig) => {
+ return propertyConfig.propertyName == "customFusionChartConfig";
+ })[0];
+
+ expect(customFusionChartConfig.validation?.params?.default).toEqual({});
+ });
});
diff --git a/app/client/src/widgets/ChartWidget/widget/propertyConfig.ts b/app/client/src/widgets/ChartWidget/widget/propertyConfig.ts
index a06d7e07b2c2..998fb3ea7379 100644
--- a/app/client/src/widgets/ChartWidget/widget/propertyConfig.ts
+++ b/app/client/src/widgets/ChartWidget/widget/propertyConfig.ts
@@ -5,341 +5,396 @@ import {
CUSTOM_CHART_TYPES,
LabelOrientation,
LABEL_ORIENTATION_COMPATIBLE_CHARTS,
+ messages,
} from "../constants";
export const isLabelOrientationApplicableFor = (chartType: string) =>
LABEL_ORIENTATION_COMPATIBLE_CHARTS.includes(chartType);
-export const contentConfig = [
- {
- sectionName: "Data",
- children: [
- {
- helpText: "Changes the visualisation of the chart data",
- propertyName: "chartType",
- label: "Chart type",
- controlType: "DROP_DOWN",
- options: [
- {
- label: "Line chart",
- value: "LINE_CHART",
- },
- {
- label: "Bar chart",
- value: "BAR_CHART",
- },
- {
- label: "Pie chart",
- value: "PIE_CHART",
- },
- {
- label: "Column chart",
- value: "COLUMN_CHART",
- },
- {
- label: "Area chart",
- value: "AREA_CHART",
- },
- {
- label: "Custom chart",
- value: "CUSTOM_FUSION_CHART",
- },
- ],
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: {
- type: ValidationTypes.TEXT,
- params: {
- allowedValues: [
- "LINE_CHART",
- "BAR_CHART",
- "PIE_CHART",
- "COLUMN_CHART",
- "AREA_CHART",
- "CUSTOM_FUSION_CHART",
- ],
+const labelOptions = (
+ customEChartsEnabled: boolean,
+ showCustomFusionChartDeprecationMessage: boolean,
+) => {
+ const options = [
+ {
+ label: "Line chart",
+ value: "LINE_CHART",
+ },
+ {
+ label: "Bar chart",
+ value: "BAR_CHART",
+ },
+ {
+ label: "Pie chart",
+ value: "PIE_CHART",
+ },
+ {
+ label: "Column chart",
+ value: "COLUMN_CHART",
+ },
+ {
+ label: "Area chart",
+ value: "AREA_CHART",
+ },
+ {
+ label: messages.customFusionChartOptionLabel(
+ showCustomFusionChartDeprecationMessage,
+ ),
+ value: "CUSTOM_FUSION_CHART",
+ },
+ ];
+
+ if (customEChartsEnabled) {
+ options.splice(options.length - 1, 0, {
+ label: "Custom EChart",
+ value: "CUSTOM_ECHART",
+ });
+ }
+ return options;
+};
+
+export const contentConfig = (
+ customEChartsEnabled: boolean,
+ showCustomFusionChartDeprecationMessage: boolean,
+) => {
+ return [
+ {
+ sectionName: "Data",
+ children: [
+ {
+ helpText: "Changes the visualisation of the chart data",
+ propertyName: "chartType",
+ label: "Chart type",
+ controlType: "DROP_DOWN",
+ options: labelOptions(
+ customEChartsEnabled,
+ showCustomFusionChartDeprecationMessage,
+ ),
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: {
+ allowedValues: [
+ "LINE_CHART",
+ "BAR_CHART",
+ "PIE_CHART",
+ "COLUMN_CHART",
+ "AREA_CHART",
+ "CUSTOM_ECHART",
+ "CUSTOM_FUSION_CHART",
+ ],
+ },
},
},
- },
- {
- helpText: "Configure a custom FusionChart see docs.appsmith.com",
- placeholderText: `Fusion Chart Config`,
- propertyName: "customFusionChartConfig",
- label: "Custom fusion chart",
- controlType: "INPUT_TEXT",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: {
- type: ValidationTypes.OBJECT,
- params: {
- allowedKeys: [
- {
- type: ValidationTypes.TEXT,
- name: "type",
- params: {
- allowedValues: CUSTOM_CHART_TYPES,
- default: "",
- required: true,
- },
- },
- {
- type: ValidationTypes.OBJECT,
- name: "dataSource",
- params: {
- required: true,
- ignoreCase: false,
- allowedKeys: [
- {
- name: "chart",
- type: ValidationTypes.OBJECT,
- params: {
- allowedKeys: [
- {
- name: "paletteColors",
- type: ValidationTypes.TEXT,
- params: {
- strict: true,
- ignoreCase: true,
- },
- },
- ],
- default: {},
- },
- },
- {
- name: "data",
- type: ValidationTypes.ARRAY,
- params: {
- default: [],
- children: {
- type: ValidationTypes.OBJECT,
- params: {
- allowedKeys: [
- {
- name: "label",
- type: ValidationTypes.TEXT,
- },
- {
- name: "value",
- type: ValidationTypes.NUMBER,
- },
- ],
- },
- },
- },
- },
- ],
- },
- },
- ],
+ {
+ helpText: "Configure a custom ECHART see docs.appsmith.com",
+ placeholderText: `Custom ECharts Configuration`,
+ propertyName: "customEChartConfig",
+ label: "Custom ECharts Configuration",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.OBJECT,
+ params: {
+ default: [],
+ },
},
+ hidden: (props: ChartWidgetProps) =>
+ props.chartType !== "CUSTOM_ECHART",
+ dependencies: ["chartType"],
},
- hidden: (props: ChartWidgetProps) =>
- props.chartType !== "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- evaluationSubstitutionType: EvaluationSubstitutionType.SMART_SUBSTITUTE,
- },
- {
- helpText: "Populates the chart with the data",
- propertyName: "chartData",
- placeholderText: '[{ "x": "2021", "y": "94000" }]',
- label: "Chart series",
- controlType: "CHART_DATA",
- isBindProperty: false,
- isTriggerProperty: false,
- hidden: (props: ChartWidgetProps) =>
- props.chartType === "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- children: [
- {
- helpText: "Series data",
- propertyName: "data",
- label: "Series data",
- controlType: "INPUT_TEXT_AREA",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: {
- type: ValidationTypes.ARRAY,
- params: {
- default: [],
- children: {
+ {
+ helpText: "Configure a custom FusionChart see docs.appsmith.com",
+ placeholderText: `Fusion Chart Config`,
+ propertyName: "customFusionChartConfig",
+ label: "Custom fusion chart",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.OBJECT,
+ params: {
+ default: {},
+ allowedKeys: [
+ {
+ type: ValidationTypes.TEXT,
+ name: "type",
+ params: {
+ allowedValues: CUSTOM_CHART_TYPES,
+ default: "",
+ required: true,
+ },
+ },
+ {
type: ValidationTypes.OBJECT,
+ name: "dataSource",
params: {
required: true,
+ ignoreCase: false,
allowedKeys: [
{
- name: "x",
- type: ValidationTypes.TEXT,
+ name: "chart",
+ type: ValidationTypes.OBJECT,
params: {
- required: true,
- default: "",
+ allowedKeys: [
+ {
+ name: "paletteColors",
+ type: ValidationTypes.TEXT,
+ params: {
+ strict: true,
+ ignoreCase: true,
+ },
+ },
+ ],
+ default: {},
},
},
{
- name: "y",
- type: ValidationTypes.NUMBER,
+ name: "data",
+ type: ValidationTypes.ARRAY,
params: {
- required: true,
- default: 10,
+ default: [],
+ children: {
+ type: ValidationTypes.OBJECT,
+ params: {
+ allowedKeys: [
+ {
+ name: "label",
+ type: ValidationTypes.TEXT,
+ },
+ {
+ name: "value",
+ type: ValidationTypes.NUMBER,
+ },
+ ],
+ },
+ },
},
},
],
},
},
- },
+ ],
},
- evaluationSubstitutionType:
- EvaluationSubstitutionType.SMART_SUBSTITUTE,
- },
- {
- helpText: "Series name",
- propertyName: "seriesName",
- label: "Series name",
- controlType: "INPUT_TEXT",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
},
- ],
- },
- ],
- },
- {
- sectionName: "General",
- children: [
- {
- helpText: "Adds a title to the chart",
- placeholderText: "Sales Report",
- propertyName: "chartName",
- label: "Title",
- 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 },
- },
- {
- 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 },
- },
- {
- helpText: "Enables scrolling inside the chart",
- propertyName: "allowScroll",
- label: "Allow scroll",
- controlType: "SWITCH",
- isBindProperty: false,
- isTriggerProperty: false,
- hidden: (x: ChartWidgetProps) =>
- x.chartType === "CUSTOM_FUSION_CHART" || x.chartType === "PIE_CHART",
- dependencies: ["chartType"],
- },
- {
- helpText: "Hides/Display data point labels on series data",
- propertyName: "showDataPointLabel",
- label: "Show Labels",
- controlType: "SWITCH",
- isBindProperty: false,
- isTriggerProperty: false,
- hidden: (x: ChartWidgetProps) => x.chartType === "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- },
- ],
- },
- {
- sectionName: "Axis",
- children: [
- {
- 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: "Specifies the label of the x-axis",
- propertyName: "xAxisName",
- placeholderText: "Dates",
- label: "x-axis label",
- controlType: "INPUT_TEXT",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- hidden: (x: any) => x.chartType === "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- },
- {
- helpText: "Specifies the label of the y-axis",
- propertyName: "yAxisName",
- placeholderText: "Revenue",
- label: "y-axis label",
- controlType: "INPUT_TEXT",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- hidden: (x: any) => x.chartType === "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- },
- {
- helpText: "Changes the x-axis label orientation",
- propertyName: "labelOrientation",
- label: "x-axis label orientation",
- hidden: (x: ChartWidgetProps) =>
- !isLabelOrientationApplicableFor(x.chartType),
- isBindProperty: false,
- isTriggerProperty: false,
- dependencies: ["chartType"],
- controlType: "DROP_DOWN",
- options: [
- {
- label: "Auto",
- value: LabelOrientation.AUTO,
- },
- {
- label: "Slant",
- value: LabelOrientation.SLANT,
- },
- {
- label: "Rotate",
- value: LabelOrientation.ROTATE,
- },
- ],
- },
- ],
- },
- {
- sectionName: "Events",
- children: [
- {
- helpText: "when the chart data point is clicked",
- propertyName: "onDataPointClick",
- label: "onDataPointClick",
- controlType: "ACTION_SELECTOR",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: true,
- },
- ],
- },
-];
+ hidden: (props: ChartWidgetProps) =>
+ props.chartType !== "CUSTOM_FUSION_CHART",
+ dependencies: ["chartType"],
+ evaluationSubstitutionType:
+ EvaluationSubstitutionType.SMART_SUBSTITUTE,
+ },
+ {
+ helpText: "Populates the chart with the data",
+ propertyName: "chartData",
+ placeholderText: '[{ "x": "2021", "y": "94000" }]',
+ label: "Chart series",
+ controlType: "CHART_DATA",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ hidden: (props: ChartWidgetProps) =>
+ ["CUSTOM_FUSION_CHART", "CUSTOM_ECHART"].includes(props.chartType),
+ dependencies: ["chartType"],
+ children: [
+ {
+ helpText: "Series data",
+ propertyName: "data",
+ label: "Series data",
+ controlType: "INPUT_TEXT_AREA",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.ARRAY,
+ params: {
+ default: [],
+ children: {
+ type: ValidationTypes.OBJECT,
+ params: {
+ required: true,
+ allowedKeys: [
+ {
+ name: "x",
+ type: ValidationTypes.TEXT,
+ params: {
+ required: true,
+ default: "",
+ },
+ },
+ {
+ name: "y",
+ type: ValidationTypes.NUMBER,
+ params: {
+ required: true,
+ default: 10,
+ },
+ },
+ ],
+ },
+ },
+ },
+ },
+ evaluationSubstitutionType:
+ EvaluationSubstitutionType.SMART_SUBSTITUTE,
+ },
+ {
+ helpText: "Series name",
+ propertyName: "seriesName",
+ label: "Series name",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ },
+ ],
+ },
+ ],
+ },
+ {
+ sectionName: "General",
+ children: [
+ {
+ helpText: "Adds a title to the chart",
+ placeholderText: "Sales Report",
+ propertyName: "chartName",
+ label: "Title",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ hidden: (props: ChartWidgetProps) =>
+ ["CUSTOM_ECHART"].includes(props.chartType),
+ },
+ {
+ propertyName: "isVisible",
+ label: "Visible",
+ helpText: "Controls the visibility of the widget",
+ 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 },
+ },
+ {
+ helpText: "Enables scrolling inside the chart",
+ propertyName: "allowScroll",
+ label: "Allow scroll",
+ controlType: "SWITCH",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ hidden: (props: ChartWidgetProps) =>
+ ["CUSTOM_FUSION_CHART", "PIE_CHART", "CUSTOM_ECHART"].includes(
+ props.chartType,
+ ),
+ dependencies: ["chartType"],
+ },
+ {
+ helpText: "Hides/Display data point labels on series data",
+ propertyName: "showDataPointLabel",
+ label: "Show Labels",
+ controlType: "SWITCH",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ hidden: (props: ChartWidgetProps) =>
+ ["CUSTOM_FUSION_CHART", "CUSTOM_ECHART"].includes(props.chartType),
+ dependencies: ["chartType"],
+ },
+ ],
+ },
+ {
+ sectionName: "Axis",
+ children: [
+ {
+ propertyName: "setAdaptiveYMin",
+ label: "Adaptive axis",
+ helpText: "Define the minimum scale for X/Y axis",
+ controlType: "SWITCH",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ hidden: (props: any) => props.chartType == "CUSTOM_ECHART",
+ },
+ {
+ helpText: "Specifies the label of the x-axis",
+ propertyName: "xAxisName",
+ placeholderText: "Dates",
+ label: "x-axis label",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ hidden: (props: any) =>
+ ["CUSTOM_FUSION_CHART", "CUSTOM_ECHART"].includes(props.chartType),
+ dependencies: ["chartType"],
+ },
+ {
+ helpText: "Specifies the label of the y-axis",
+ propertyName: "yAxisName",
+ placeholderText: "Revenue",
+ label: "y-axis label",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ hidden: (props: any) =>
+ ["CUSTOM_FUSION_CHART", "CUSTOM_ECHART"].includes(props.chartType),
+ dependencies: ["chartType"],
+ },
+ {
+ helpText: "Changes the x-axis label orientation",
+ propertyName: "labelOrientation",
+ label: "x-axis label orientation",
+ hidden: (props: ChartWidgetProps) =>
+ !isLabelOrientationApplicableFor(props.chartType),
+ isBindProperty: false,
+ isTriggerProperty: false,
+ dependencies: ["chartType"],
+ controlType: "DROP_DOWN",
+ options: [
+ {
+ label: "Auto",
+ value: LabelOrientation.AUTO,
+ },
+ {
+ label: "Slant",
+ value: LabelOrientation.SLANT,
+ },
+ {
+ label: "Rotate",
+ value: LabelOrientation.ROTATE,
+ },
+ ],
+ },
+ ],
+ },
+ {
+ sectionName: "Events",
+ children: [
+ {
+ helpText: "when the chart data point is clicked",
+ propertyName: "onDataPointClick",
+ label: "onDataPointClick",
+ controlType: "ACTION_SELECTOR",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
+ ],
+ },
+ ];
+};
export const styleConfig = [
{
diff --git a/app/client/src/widgets/constants.ts b/app/client/src/widgets/constants.ts
index 7ab57ada2acf..2f1785f627b5 100644
--- a/app/client/src/widgets/constants.ts
+++ b/app/client/src/widgets/constants.ts
@@ -90,7 +90,20 @@ export type PropertyUpdates = {
export type WidgetMethods =
| GetQueryGenerationConfig
| GetPropertyUpdatesForQueryBinding
- | getSnipingModeUpdates;
+ | getSnipingModeUpdates
+ | getEditorCallouts;
+
+type getEditorCallouts = (props: WidgetProps) => WidgetCallout[];
+
+export type WidgetCallout = {
+ message: string;
+ links: [
+ {
+ text: string;
+ url: string;
+ },
+ ];
+};
type GetQueryGenerationConfig = (
widgetProps: WidgetProps,
|
70b2d66bb1773f2b525bad23570a144c1c533b98
|
2023-06-05 12:38:28
|
sneha122
|
fix: gsheet file picker ui fixes (#24002)
| false
|
gsheet file picker ui fixes (#24002)
|
fix
|
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 781c51f86ebb..906de92b782f 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -1660,6 +1660,8 @@ export const DATASOURCE_SCHEMA_NOT_AVAILABLE = () => "Schema is not available";
export const DATASOURCE_INTERCOM_TEXT = () =>
"Do you need help setting up a Google Sheets datasource?";
export const GOOGLE_SHEETS_ASK_FOR_SUPPORT = () => "Ask For Support";
+export const GOOGLE_SHEETS_FILE_PICKER_TITLE = () =>
+ "Select Google Sheets to Query";
//Layout Conversion flow
export const CONVERT = () => "Convert layout";
diff --git a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
index a59873ee460f..d1639ab75394 100644
--- a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
+++ b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
@@ -5,6 +5,10 @@ import { useDispatch } from "react-redux";
import { filePickerCallbackAction } from "actions/datasourceActions";
import { GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS } from "constants/Datasource";
import AnalyticsUtil from "utils/AnalyticsUtil";
+import {
+ createMessage,
+ GOOGLE_SHEETS_FILE_PICKER_TITLE,
+} from "ce/constants/messages";
interface Props {
datasourceId: string;
@@ -108,26 +112,43 @@ function GoogleSheetFilePicker({
// This triggers google's picker object from google apis script to create file picker and display it
// It takes google sheet token and project id as inputs
const createPicker = async (accessToken: string, projectID: string) => {
- const view = new google.picker.View(google.picker.ViewId.SPREADSHEETS);
+ const view = new google.picker.DocsView(google.picker.ViewId.SPREADSHEETS);
view.setMimeTypes("application/vnd.google-apps.spreadsheet");
+ view.setMode(google.picker.DocsViewMode.LIST);
+ const title = createMessage(GOOGLE_SHEETS_FILE_PICKER_TITLE);
const picker = new google.picker.PickerBuilder()
.enableFeature(google.picker.Feature.NAV_HIDDEN)
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
.setAppId(projectID)
.setOAuthToken(accessToken)
.addView(view)
+ .setTitle(title)
.setCallback(pickerCallback)
.build();
picker.setVisible(true);
setPickerVisible(true);
};
- const pickerCallback = async (data: any) => {
- if (data.action === FilePickerActionStatus.LOADED) {
- // This event would be emitted when file picker is showing files,
- // and user has to select files or cancel selection
- AnalyticsUtil.logEvent("GOOGLE_SHEET_FILE_PICKER_LOADED");
+ const addAnalyticalEvents = (data: any) => {
+ switch (data?.action) {
+ case FilePickerActionStatus.LOADED:
+ AnalyticsUtil.logEvent("GOOGLE_SHEET_FILE_PICKER_FILES_LISTED");
+ break;
+ case FilePickerActionStatus.CANCEL:
+ AnalyticsUtil.logEvent("GOOGLE_SHEET_FILE_PICKER_CANCEL");
+ break;
+ case FilePickerActionStatus.PICKED:
+ AnalyticsUtil.logEvent("GOOGLE_SHEET_FILE_PICKER_PICKED", {
+ numberOfSheetsSelected: data?.docs?.length,
+ });
+ break;
+ default:
+ break;
}
+ };
+
+ const pickerCallback = async (data: any) => {
+ addAnalyticalEvents(data);
if (
data.action === FilePickerActionStatus.CANCEL ||
data.action === FilePickerActionStatus.PICKED
diff --git a/app/client/src/utils/AnalyticsUtil.tsx b/app/client/src/utils/AnalyticsUtil.tsx
index 099e86075a5f..dd3ff7e5ec7b 100644
--- a/app/client/src/utils/AnalyticsUtil.tsx
+++ b/app/client/src/utils/AnalyticsUtil.tsx
@@ -316,7 +316,9 @@ export type EventName =
| "EXECUTE_ACTION_SUCCESS"
| "EXECUTE_ACTION_FAILURE"
| "GOOGLE_SHEET_FILE_PICKER_INITIATED"
- | "GOOGLE_SHEET_FILE_PICKER_LOADED"
+ | "GOOGLE_SHEET_FILE_PICKER_FILES_LISTED"
+ | "GOOGLE_SHEET_FILE_PICKER_CANCEL"
+ | "GOOGLE_SHEET_FILE_PICKER_PICKED"
| AI_EVENTS
| ONE_CLICK_BINDING_EVENT_NAMES;
|
6f9e4503a5e8f42f5b67761d85f71eccca598ed9
|
2024-06-28 08:47:45
|
Rahul Barwal
|
fix: Update BuildingBlockSagas to handle nested object value replacement in queries (#34563)
| false
|
Update BuildingBlockSagas to handle nested object value replacement in queries (#34563)
|
fix
|
diff --git a/app/client/src/sagas/BuildingBlockSagas/index.ts b/app/client/src/sagas/BuildingBlockSagas/index.ts
index 30523f35cac7..a7e4c86b5196 100644
--- a/app/client/src/sagas/BuildingBlockSagas/index.ts
+++ b/app/client/src/sagas/BuildingBlockSagas/index.ts
@@ -12,6 +12,7 @@ import type { CopiedWidgetData } from "layoutSystems/anvil/utils/paste/types";
import { getWidgetHierarchy } from "layoutSystems/anvil/utils/paste/utils";
import { all, call, put, select } from "redux-saga/effects";
import { apiCallToSaveAction } from "sagas/ActionSagas";
+import { accessNestedObjectValue } from "sagas/PasteWidgetUtils";
import { saveCopiedWidgets } from "utils/storage";
export function* saveBuildingBlockWidgetsToStore(
@@ -73,11 +74,17 @@ export function updateWidgetsNameInNewQueries(
return queries
.filter((query) => !!query)
.map((query) => {
- if (!query.actionConfiguration.body || !query.jsonPathKeys) {
+ if (!query.actionConfiguration && !query.jsonPathKeys) {
return query;
}
- query.actionConfiguration.body =
- query.actionConfiguration.body.replaceAll(oldWidgetName, newWidgetName);
+ query?.dynamicBindingPathList?.forEach((path: { key: string }) => {
+ accessNestedObjectValue(
+ query.actionConfiguration,
+ path.key,
+ oldWidgetName,
+ newWidgetName,
+ );
+ });
query.jsonPathKeys = query.jsonPathKeys.map((path: string) =>
path.replaceAll(oldWidgetName, newWidgetName),
);
diff --git a/app/client/src/sagas/PasteWidgetUtils/PasteWidgetUtils.test.ts b/app/client/src/sagas/PasteWidgetUtils/PasteWidgetUtils.test.ts
index f53772e76700..68975b9a8c83 100644
--- a/app/client/src/sagas/PasteWidgetUtils/PasteWidgetUtils.test.ts
+++ b/app/client/src/sagas/PasteWidgetUtils/PasteWidgetUtils.test.ts
@@ -64,6 +64,22 @@ describe("accessNestedObjectValue", () => {
expect(result).toBeUndefined();
});
+
+ it("4. should work for null/undefined object", () => {
+ const obj = null;
+
+ const oldValue = "oldValue";
+ const newValue = "newValue";
+
+ const result = accessNestedObjectValue(
+ obj,
+ "foo.bar.qux",
+ oldValue,
+ newValue,
+ );
+
+ expect(result).toBeUndefined();
+ });
});
describe("handleJSONFormPropertiesListedInDynamicBindingPath", () => {
|
e558a2ecc23569bc4fa15ca495ea1fd12f054ee6
|
2023-06-09 19:28:45
|
Aman Agarwal
|
feat: disabling the toast messages on view mode without debug flag (#23768)
| false
|
disabling the toast messages on view mode without debug flag (#23768)
|
feat
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/Error_handling_spec.js b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/Error_handling_spec.js
index cc9082479e31..7529e65c5223 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/Error_handling_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/Error_handling_spec.js
@@ -30,7 +30,7 @@ describe("Test Create Api and Bind to Button widget", function () {
cy.updateCodeInput($el, "{{Api1.run()}}");
});
- cy.PublishtheApp();
+ _.deployMode.DeployApp();
cy.wait(3000);
cy.get("span:contains('Submit')").closest("div").click();
@@ -54,7 +54,7 @@ describe("Test Create Api and Bind to Button widget", function () {
cy.updateCodeInput($el, "{{Api1.run(() => {}, () => {})}}");
});
- cy.PublishtheApp();
+ _.deployMode.DeployApp();
cy.wait(3000);
cy.get("span:contains('Submit')").closest("div").click();
diff --git a/app/client/cypress/e2e/Regression/ClientSide/PublishedApps/PublishedModeToastToggle.ts b/app/client/cypress/e2e/Regression/ClientSide/PublishedApps/PublishedModeToastToggle.ts
new file mode 100644
index 000000000000..653744aecf31
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/PublishedApps/PublishedModeToastToggle.ts
@@ -0,0 +1,104 @@
+import * as _ from "../../../../support/Objects/ObjectsCore";
+
+const SHOW_ALERT_WORKING_BUTTON = "Show alert working";
+const SHOW_ALERT_MSG = "Hello World!";
+const SHOW_ALERT_NOT_WORKING_BUTTON = "Show alert not working";
+const SHOW_ALERT_NOT_WORKING_MSG = "Correct_input2 is not defined";
+const RUN_JS_OBJECT_BUTTON = "RUN JSOBJECT";
+const RUN_JS_OBJECT_MSG = "Incorrect_users failed to execute";
+
+const PAGE_LOAD_MSG = `The action "Incorrect_users" has failed.`;
+
+describe("Published mode toggle toast with debug flag in the url", function () {
+ before(() => {
+ cy.fixture("publishedModeToastToggleDsl").then((val) => {
+ _.agHelper.AddDsl(val);
+ });
+ });
+
+ it("1. Should not show any application related toasts", function () {
+ cy.fixture("datasources").then((datasourceFormData) => {
+ _.apiPage.CreateAndFillApi(
+ datasourceFormData["mockApiUrl"],
+ "Correct_users",
+ );
+ _.apiPage.ToggleOnPageLoadRun(true);
+ _.apiPage.CreateAndFillApi(
+ datasourceFormData["mockApiUrl"].replace("mock-api", "mock-api2err"),
+ "Incorrect_users",
+ );
+ _.apiPage.ToggleOnPageLoadRun(true);
+ _.jsEditor.CreateJSObject(
+ `export default {
+ async myFun1 () {
+ const res = await Correct_users.run();
+ showAlert("Hello info", "info");
+ showAlert("Hello error", "error");
+ showAlert("Hello warning", "warning");
+ showAlert("Hello success", "success");
+ await Incorrect_users.run();
+ return res;
+ }
+ }`,
+ {
+ paste: true,
+ completeReplace: true,
+ toRun: false,
+ shouldCreateNewJSObj: true,
+ },
+ );
+ _.deployMode.DeployApp(undefined, true, false);
+
+ _.agHelper.AssertElementAbsence(_.locators._toastMsg);
+
+ _.agHelper.ClickButton(SHOW_ALERT_WORKING_BUTTON);
+ _.agHelper.AssertContains(SHOW_ALERT_MSG, "exist", _.locators._toastMsg);
+
+ _.agHelper.ClickButton(SHOW_ALERT_NOT_WORKING_BUTTON);
+ _.agHelper.AssertContains(
+ SHOW_ALERT_NOT_WORKING_MSG,
+ "not.exist",
+ _.locators._toastMsg,
+ );
+
+ _.agHelper.ClickButton(RUN_JS_OBJECT_BUTTON);
+ _.agHelper.AssertContains("Hello success", "exist", _.locators._toastMsg);
+ _.agHelper.AssertContains(
+ RUN_JS_OBJECT_MSG,
+ "not.exist",
+ _.locators._toastMsg,
+ );
+ });
+ });
+
+ it("2. Should show all application related toasts with debug flag true in url", function () {
+ cy.url().then((url) => {
+ cy.visit({
+ url,
+ qs: {
+ debug: "true",
+ },
+ });
+ _.agHelper.GetNAssertContains(_.locators._toastMsg, PAGE_LOAD_MSG);
+
+ _.agHelper.ClickButton(SHOW_ALERT_WORKING_BUTTON);
+ _.agHelper.AssertContains(SHOW_ALERT_MSG, "exist", _.locators._toastMsg);
+
+ _.agHelper.Sleep(2000);
+ _.agHelper.ClickButton(SHOW_ALERT_NOT_WORKING_BUTTON);
+ _.agHelper.AssertContains(
+ SHOW_ALERT_NOT_WORKING_MSG,
+ "exist",
+ _.locators._toastMsg,
+ );
+
+ _.agHelper.ClickButton(RUN_JS_OBJECT_BUTTON);
+ _.agHelper.AssertContains("Hello success", "exist", _.locators._toastMsg);
+ _.agHelper.AssertContains(
+ RUN_JS_OBJECT_MSG,
+ "exist",
+ _.locators._toastMsg,
+ );
+ });
+ });
+});
diff --git a/app/client/cypress/fixtures/publishedModeToastToggleDsl.json b/app/client/cypress/fixtures/publishedModeToastToggleDsl.json
new file mode 100644
index 000000000000..b9f39f934e53
--- /dev/null
+++ b/app/client/cypress/fixtures/publishedModeToastToggleDsl.json
@@ -0,0 +1,277 @@
+{
+ "id": "64746c35c8cae423b46bf2b0",
+ "userPermissions": [],
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 79,
+ "minHeight": 1292,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg",
+ "topRow": 0,
+ "labelWidth": 5,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2,
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 39,
+ "widgetName": "Correct_input",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 21,
+ "parentColumnSpace": 12.578125,
+ "dynamicTriggerPathList": [],
+ "labelPosition": "Top",
+ "key": "zssusa8tjd",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 37,
+ "widgetId": "9vv4sm9msa",
+ "minWidth": 450,
+ "label": "",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 32,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 1,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "Hello World!",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 36,
+ "widgetName": "Button1",
+ "onClick": "{{showAlert(Correct_input.text, 'success');}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 6,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 38,
+ "animateLoading": true,
+ "parentColumnSpace": 12.578125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Show alert working",
+ "isDisabled": false,
+ "key": "sco9w67akk",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "isDefaultClickDisabled": true,
+ "widgetId": "cqagzdpjej",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 32,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 22,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 42,
+ "widgetName": "Button2",
+ "onClick": "{{showAlert(Correct_input2.text, '');}}",
+ "buttonColor": "#b91c1c",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 6,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 38,
+ "animateLoading": true,
+ "parentColumnSpace": 12.578125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Show alert not working",
+ "isDisabled": false,
+ "key": "sco9w67akk",
+ "isDeprecated": false,
+ "rightColumn": 37,
+ "isDefaultClickDisabled": true,
+ "widgetId": "s7lvatrsrg",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 38,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 22,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 27,
+ "widgetName": "Button3",
+ "onClick": "{{JSObject1.myFun1();}}",
+ "buttonColor": "#52525b",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 60,
+ "animateLoading": true,
+ "parentColumnSpace": 12.578125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "RUN JSOBJECT",
+ "isDisabled": false,
+ "key": "sco9w67akk",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "isDefaultClickDisabled": true,
+ "widgetId": "fia0l15iti",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 23,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 44,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "64746c35c8cae423b46bf2b3",
+ "name": "Incorrect_users",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "64746c35c8cae423b46bf2b2",
+ "name": "Correct_users",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "new": false
+}
\ No newline at end of file
diff --git a/app/client/cypress/support/Pages/DeployModeHelper.ts b/app/client/cypress/support/Pages/DeployModeHelper.ts
index c0f6febf3f14..b998f0a22f67 100644
--- a/app/client/cypress/support/Pages/DeployModeHelper.ts
+++ b/app/client/cypress/support/Pages/DeployModeHelper.ts
@@ -28,6 +28,7 @@ export class DeployMode {
public DeployApp(
eleToCheckInDeployPage: string = this.locator._backToEditor,
toCheckFailureToast = true,
+ addDebugFlag = true,
) {
//cy.intercept("POST", "/api/v1/applications/publish/*").as("publishAppli");
// Wait before publish
@@ -36,7 +37,12 @@ export class DeployMode {
// Stubbing window.open to open in the same tab
cy.window().then((window) => {
cy.stub(window, "open").callsFake((url) => {
- window.location.href = Cypress.config().baseUrl + url.substring(1);
+ const updatedUrl = `${Cypress.config().baseUrl + url.substring(1)}`;
+ window.location.href = `${updatedUrl}${
+ addDebugFlag
+ ? (updatedUrl.indexOf("?") > -1 ? "&" : "?") + "debug=true"
+ : ""
+ }`;
});
});
cy.get(this.locator._publishButton).click();
diff --git a/app/client/src/sagas/ActionExecution/PostMessageSaga.ts b/app/client/src/sagas/ActionExecution/PostMessageSaga.ts
index 93ab3ca572d2..d4adb14be729 100644
--- a/app/client/src/sagas/ActionExecution/PostMessageSaga.ts
+++ b/app/client/src/sagas/ActionExecution/PostMessageSaga.ts
@@ -1,4 +1,4 @@
-import { spawn } from "redux-saga/effects";
+import { call, spawn } from "redux-saga/effects";
import {
logActionExecutionError,
TriggerFailureError,
@@ -35,6 +35,6 @@ export function* executePostMessage(
}
}
} catch (error) {
- logActionExecutionError((error as Error).message, true);
+ yield call(logActionExecutionError, (error as Error).message, true);
}
}
diff --git a/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts b/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts
index 747de49887b3..803774fe1cef 100644
--- a/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts
+++ b/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts
@@ -1,8 +1,10 @@
import AppsmithConsole from "utils/AppsmithConsole";
import { ActionValidationError } from "sagas/ActionExecution/errorUtils";
import { getType, Types } from "utils/TypeHelpers";
-import { toast } from "design-system";
+import type { ToastKind } from "design-system";
import type { TShowAlertDescription } from "workers/Evaluation/fns/showAlert";
+import { call } from "redux-saga/effects";
+import showToast from "sagas/ToastSagas";
export default function* showAlertSaga(action: TShowAlertDescription) {
const { payload } = action;
@@ -14,24 +16,15 @@ export default function* showAlertSaga(action: TShowAlertDescription) {
getType(payload.message),
);
}
- let kind: "success" | "info" | "warning" | "error" | undefined = undefined;
- switch (payload.style) {
- case "info":
- kind = "info";
- break;
- case "success":
- kind = "success";
- break;
- case "warning":
- kind = "warning";
- break;
- case "error":
- kind = "error";
- break;
- }
- toast.show(payload.message, {
- kind: kind,
- });
+ // This is the toast that is rendered which is user generated by using `showAlert` platform function. This is forceDisplayed no matter the conditions.
+ yield call(
+ showToast,
+ payload.message,
+ {
+ kind: payload.style as ToastKind,
+ },
+ { forceDisplay: true },
+ );
AppsmithConsole.info({
text: payload.style
? `showAlert('${payload.message}', '${payload.style}') was triggered`
diff --git a/app/client/src/sagas/ActionExecution/errorUtils.ts b/app/client/src/sagas/ActionExecution/errorUtils.ts
index ce2e5594701b..0b242bff8a64 100644
--- a/app/client/src/sagas/ActionExecution/errorUtils.ts
+++ b/app/client/src/sagas/ActionExecution/errorUtils.ts
@@ -8,7 +8,6 @@ import type { Types } from "utils/TypeHelpers";
import type { ActionTriggerKeys } from "@appsmith/workers/Evaluation/fns/index";
import { getActionTriggerFunctionNames } from "@appsmith/workers/Evaluation/fns/index";
import { getAppsmithConfigs } from "@appsmith/configs";
-import { toast } from "design-system";
import { getAppMode } from "@appsmith/selectors/applicationSelectors";
import AnalyticsUtil from "../../utils/AnalyticsUtil";
import {
@@ -17,6 +16,8 @@ import {
} from "../../actions/debuggerActions";
import { DEBUGGER_TAB_KEYS } from "../../components/editorComponents/Debugger/helpers";
import store from "store";
+import showToast from "sagas/ToastSagas";
+import { call } from "redux-saga/effects";
const APPSMITH_CONFIGS = getAppsmithConfigs();
@@ -62,10 +63,10 @@ export class ActionValidationError extends TriggerFailureError {
}
}
-export const logActionExecutionError = (
+export function* logActionExecutionError(
errorMessage: string,
isExecuteJSFunc = true,
-) => {
+) {
//Commenting as per decision taken for the error hanlding epic to not show the trigger errors in the debugger.
// if (triggerPropertyName) {
// AppsmithConsole.addErrors([
@@ -102,8 +103,9 @@ export const logActionExecutionError = (
store.dispatch(setDebuggerSelectedTab(DEBUGGER_TAB_KEYS.ERROR_TAB));
}
- isExecuteJSFunc &&
- toast.show(errorMessage, {
+ if (isExecuteJSFunc)
+ // This is the toast that is rendered when any unhandled error occurs in JS object.
+ yield call(showToast, errorMessage, {
kind: "error",
action: {
text: "debug",
@@ -111,7 +113,7 @@ export const logActionExecutionError = (
className: "t--toast-debug-button",
},
});
-};
+}
/*
* Thrown when action execution fails for some reason
diff --git a/app/client/src/sagas/ActionExecution/geolocationSaga.test.ts b/app/client/src/sagas/ActionExecution/geolocationSaga.test.ts
index 8da0865b976d..f63dc47f1a2c 100644
--- a/app/client/src/sagas/ActionExecution/geolocationSaga.test.ts
+++ b/app/client/src/sagas/ActionExecution/geolocationSaga.test.ts
@@ -5,6 +5,8 @@ import {
getUserLocation,
} from "./geolocationSaga";
import { setUserCurrentGeoLocation } from "actions/browserRequestActions";
+import { logActionExecutionError } from "./errorUtils";
+
const mockFn = jest.fn();
jest.mock("./errorUtils.ts", () => ({
@@ -79,8 +81,14 @@ describe("getCurrentLocationSaga", () => {
};
const iter = getCurrentLocationSaga(trigger);
expect(iter.next().value).toEqual(call(getUserLocation, payload.options));
- iter.next();
- expect(mockFn).toBeCalled();
+
+ expect(iter.next().value).toEqual(
+ call(
+ logActionExecutionError,
+ "Cannot read properties of undefined (reading 'coords')",
+ true,
+ ),
+ );
expect(iter.next().done).toBe(true);
});
});
diff --git a/app/client/src/sagas/ActionExecution/geolocationSaga.ts b/app/client/src/sagas/ActionExecution/geolocationSaga.ts
index 39e39f219db8..a32bcbfd91e4 100644
--- a/app/client/src/sagas/ActionExecution/geolocationSaga.ts
+++ b/app/client/src/sagas/ActionExecution/geolocationSaga.ts
@@ -102,7 +102,7 @@ function* errorCallbackHandler(triggerMeta: TriggerMeta, listenerId?: string) {
{ error: sanitizeGeolocationError(error) },
listenerId,
);
- logActionExecutionError(error.message, true);
+ yield call(logActionExecutionError, error.message, true);
}
}
@@ -117,7 +117,7 @@ export function* getCurrentLocationSaga(action: TGetGeoLocationDescription) {
yield put(setUserCurrentGeoLocation(currentLocation));
return currentLocation;
} catch (error) {
- logActionExecutionError((error as Error).message, true);
+ yield call(logActionExecutionError, (error as Error).message, true);
if (error instanceof GeolocationPositionError) {
const sanitizedError = sanitizeGeolocationError(error);
throw new GeoLocationError(sanitizedError.message, [sanitizedError]);
@@ -135,7 +135,8 @@ export function* watchCurrentLocation(
if (watchId) {
// When a watch is already active, we will not start a new watch.
// at a given point in time, only one watch is active
- logActionExecutionError(
+ yield call(
+ logActionExecutionError,
"A watchLocation is already active. Clear it before before starting a new one",
true,
);
@@ -165,7 +166,7 @@ export function* watchCurrentLocation(
export function* stopWatchCurrentLocation() {
if (watchId === undefined) {
- logActionExecutionError("No location watch active", true);
+ yield call(logActionExecutionError, "No location watch active", true);
return;
}
navigator.geolocation.clearWatch(watchId);
diff --git a/app/client/src/sagas/ErrorSagas.tsx b/app/client/src/sagas/ErrorSagas.tsx
index cd5ad5fac754..fe504bbf5d2b 100644
--- a/app/client/src/sagas/ErrorSagas.tsx
+++ b/app/client/src/sagas/ErrorSagas.tsx
@@ -32,7 +32,7 @@ import * as Sentry from "@sentry/react";
import { axiosConnectionAbortedCode } from "@appsmith/api/ApiUtils";
import { getLoginUrl } from "@appsmith/utils/adminSettingsHelpers";
import type { PluginErrorDetails } from "api/ActionAPI";
-import { toast } from "design-system";
+import showToast from "sagas/ToastSagas";
/**
* making with error message with action name
@@ -224,7 +224,8 @@ export function* errorSaga(errorAction: ReduxAction<ErrorActionPayload>) {
break;
}
case ErrorEffectTypes.SHOW_ALERT: {
- showAlertAboutError(message);
+ // This is the toast that is rendered when any page load API fails.
+ yield call(showToast, message, { kind: "error" });
break;
}
case ErrorEffectTypes.SAFE_CRASH: {
@@ -252,10 +253,6 @@ function logErrorSaga(action: ReduxAction<{ error: ErrorPayloadType }>) {
if (action.payload) log.error(action.payload.error);
}
-function showAlertAboutError(message: string) {
- toast.show(message, { kind: "error" });
-}
-
/**
* this saga do some logic before actually setting safeCrash to true
*/
diff --git a/app/client/src/sagas/PostEvaluationSagas.ts b/app/client/src/sagas/PostEvaluationSagas.ts
index 355547aea408..6ad3a07e9b3f 100644
--- a/app/client/src/sagas/PostEvaluationSagas.ts
+++ b/app/client/src/sagas/PostEvaluationSagas.ts
@@ -23,7 +23,7 @@ import type { EvalError, EvaluationError } from "utils/DynamicBindingUtils";
import { EvalErrorTypes, getEvalErrorPath } from "utils/DynamicBindingUtils";
import { find, get, some } from "lodash";
import LOG_TYPE from "entities/AppsmithConsole/logtype";
-import { put, select } from "redux-saga/effects";
+import { call, put, select } from "redux-saga/effects";
import type { AnyReduxAction } from "@appsmith/constants/ReduxActionConstants";
import AppsmithConsole from "utils/AppsmithConsole";
import * as Sentry from "@sentry/react";
@@ -324,7 +324,7 @@ export function* dynamicTriggerErrorHandler(errors: any[]) {
for (const error of errors) {
const errorMessage =
error.errorMessage.message.message || error.errorMessage.message;
- logActionExecutionError(errorMessage, true);
+ yield call(logActionExecutionError, errorMessage, true);
}
}
}
diff --git a/app/client/src/sagas/ToastSagas.ts b/app/client/src/sagas/ToastSagas.ts
new file mode 100644
index 000000000000..4f12bc06f8d2
--- /dev/null
+++ b/app/client/src/sagas/ToastSagas.ts
@@ -0,0 +1,35 @@
+import type { ToastProps } from "design-system";
+import { toast } from "design-system";
+import { APP_MODE } from "entities/App";
+import { select } from "redux-saga/effects";
+import { getAppMode } from "selectors/entitiesSelector";
+import log from "loglevel";
+
+type ExtraOptions = {
+ // This enables showing of toast no matter the conditions
+ forceDisplay?: boolean;
+};
+
+/**
+ * Shows toast
+ * @param message
+ * @param [options] These are toast props that toast from design-sytem(react-toastify) library takes
+ * @param [extraOtions] These additional options enable the addition of additional requirements, based on which the toast will only then be produced. (for future extensibility as well)
+ * @returns
+ */
+export default function* showToast(
+ message: string,
+ options?: ToastProps,
+ extraOtions?: ExtraOptions,
+) {
+ const appMode: APP_MODE | undefined = yield select(getAppMode);
+ const urlObject = new URL(window?.location?.href);
+ const debugFlag = urlObject?.searchParams?.get("debug");
+ const debug = debugFlag === "true" || debugFlag;
+ if (appMode === APP_MODE.PUBLISHED && !debug && !extraOtions?.forceDisplay) {
+ log.error(message);
+ return;
+ }
+
+ toast.show(message, options);
+}
diff --git a/contributions/docs/GlobalFunctions.md b/contributions/docs/GlobalFunctions.md
index d89f35f32b62..4370b3882f23 100644
--- a/contributions/docs/GlobalFunctions.md
+++ b/contributions/docs/GlobalFunctions.md
@@ -129,9 +129,7 @@ function* executeInIntervals(
source: triggerMeta.source,
});
} catch (e) {
- logActionExecutionError(
- e.message,
- );
+ yield call(logActionExecutionError, e.message);
}
yield delay(interval);
}
|
359e395de3fda1dd786ea39e6f7b7fdffc0d4b34
|
2024-11-07 10:19:15
|
Shrikant Sharat Kandula
|
fix: False positive report GHSA-2jcg-qqmg-46q6 (#37269)
| false
|
False positive report GHSA-2jcg-qqmg-46q6 (#37269)
|
fix
|
diff --git a/Dockerfile b/Dockerfile
index a9d4b233719d..2245e81037e5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,13 +39,24 @@ COPY ./app/client/packages/rts/dist rts/
ENV PATH /opt/bin:/opt/appsmith/utils/node_modules/.bin:/opt/java/bin:/opt/node/bin:$PATH
-RUN cd ./utils && npm install --only=prod && npm install --only=prod -g . && cd - \
- && chmod +x /opt/bin/* *.sh /watchtower-hooks/*.sh \
+RUN <<END
+ set -o errexit
+
+ cd ./utils
+ npm install --only=prod
+ npm install --only=prod -g .
+ rm -rf utils/node_modules/resolve/test
+ cd -
+
+ chmod +x /opt/bin/* *.sh /watchtower-hooks/*.sh
+
# Disable setuid/setgid bits for the files inside container.
- && find / \( -path /proc -prune \) -o \( \( -perm -2000 -o -perm -4000 \) -print -exec chmod -s '{}' + \) || true \
- && mkdir -p /.mongodb/mongosh /appsmith-stacks \
- && chmod ugo+w /etc /appsmith-stacks \
- && chmod -R ugo+w /var/run /.mongodb /etc/ssl /usr/local/share
+ find / \( -path /proc -prune \) -o \( \( -perm -2000 -o -perm -4000 \) -exec chmod -s '{}' + \) || true
+
+ mkdir -p /.mongodb/mongosh /appsmith-stacks
+ chmod ugo+w /etc /appsmith-stacks
+ chmod -R ugo+w /var/run /.mongodb /etc/ssl /usr/local/share
+END
LABEL com.centurylinklabs.watchtower.lifecycle.pre-check=/watchtower-hooks/pre-check.sh
LABEL com.centurylinklabs.watchtower.lifecycle.pre-update=/watchtower-hooks/pre-update.sh
|
a895736f74be17b8780a53f8514b6a6c73bf6426
|
2024-05-21 16:28:29
|
Anna Hariprasad
|
docs: Github document update - Widget Development API (#33612)
| false
|
Github document update - Widget Development API (#33612)
|
docs
|
diff --git a/contributions/AppsmithWidgetDevelopmentGuide.md b/contributions/AppsmithWidgetDevelopmentGuide.md
index 82ef0590f1d3..c6e541a51145 100644
--- a/contributions/AppsmithWidgetDevelopmentGuide.md
+++ b/contributions/AppsmithWidgetDevelopmentGuide.md
@@ -122,6 +122,7 @@ This exports the widget configuration as an object usually named `CONFIG`. The d
- `name` (required): The display name of this widget. This can contain spaces.
- `iconSVG` (required): `IconSVG`, where `IconSVG` is the import from the `./icon.svg`
- `needsMeta` (optional): `true`, if this widget stores temporary values. For example, a user input value or state.
+- `isDeprecated` (optional): This property indicates whether the widget is deprecated. If set to `true`, it means the widget is no longer recommended for use, and developers should consider using the specified replacement widget.
- `isCanvas` (optional): `true`, if this widget contains a Canvas within itself, to allow for widgets to be placed within.
- `properties` (required):
@@ -149,6 +150,8 @@ The widget code must be all available in the `widget` folder. `index.tsx` should
### Static methods:
- `getPropertyPaneConfig` (required, `[PropertyPaneConfig[]](#property-pane-configuration)`): returns the [property pane](#property-pane-configuration) configuration
+- `getPropertyPaneContentConfig` (required, `[PropertyPaneConfig[]](#property-pane-content-configuration)`): returns the [property pane content](#property-pane-content-configuration) configuration
+- `getPropertyPaneStyleConfig` (required, `[PropertyPaneConfig[]](#property-pane-style-configuration)`): returns the [property pane style](#property-pane-style-configuration) configuration
- `getDerivedPropertiesMap` (optional, [DerivedPropertiesMap](#derived-properties-configuration)): returns the map of properties which can be derived from other properties. We can see more details [here](#derived-properties-configuration)
- `getDefaultPropertiesMap` (optional, object): returns the list of properties which by default takes the value of a [default property](#default-properties-configuration)
- `getMetaPropertiesMap` (optional, object): returns the properties which will be considered and stored as [meta properties](#meta-properties-configuration).
@@ -231,6 +234,30 @@ Example:
<img src="assets/propertyConfig.png" width="320px">
</p>
+## Property pane content configuration
+
+Property pane content configuration defines the settings related to the content and functionality of the widget, including the order of property controls, their validations, grouping, types, etc.
+
+The type is `[Array<PropertyPaneConfig>](https://github.com/appsmithorg/appsmith/blob/e772fd4ff96accfb94818fa9f0b58dc6851a1cf0/app/client/src/constants/PropertyControlConstants.tsx#L100)``.
+
+Example:
+
+<p>
+<img src="assets/propertyContentConfig.png" width="320px">
+</p>
+
+## Property pane style configuration
+
+Property pane style configuration defines the settings related to the appearance and styling of the widget, including the order of property controls, their validations, grouping, types, etc.
+
+The type is `[Array<PropertyPaneConfig>](https://github.com/appsmithorg/appsmith/blob/e772fd4ff96accfb94818fa9f0b58dc6851a1cf0/app/client/src/constants/PropertyControlConstants.tsx#L100)``.
+
+Example:
+
+<p>
+<img src="assets/propertyStyleConfig.png" width="320px">
+</p>
+
### PropertyPaneSectionConfig
This object defines sections in the property pane.
diff --git a/contributions/assets/propertyContentConfig.png b/contributions/assets/propertyContentConfig.png
new file mode 100644
index 000000000000..eeaccdf67a7f
Binary files /dev/null and b/contributions/assets/propertyContentConfig.png differ
diff --git a/contributions/assets/propertyStyleConfig.png b/contributions/assets/propertyStyleConfig.png
new file mode 100644
index 000000000000..c044d36b9bad
Binary files /dev/null and b/contributions/assets/propertyStyleConfig.png differ
|
4975d8790bfa94c286633a078be37d993a720a27
|
2022-09-02 19:16:35
|
Tanvi Bhakta
|
fix: large app icons (#16473)
| false
|
large app icons (#16473)
|
fix
|
diff --git a/app/client/src/pages/Applications/ApplicationCard.tsx b/app/client/src/pages/Applications/ApplicationCard.tsx
index ab92d8977980..8c1a6935c50d 100644
--- a/app/client/src/pages/Applications/ApplicationCard.tsx
+++ b/app/client/src/pages/Applications/ApplicationCard.tsx
@@ -332,6 +332,8 @@ const CircleAppIcon = styled(AppIcon)`
border-radius: 50%;
svg {
+ width: 100%;
+ height: 100%;
path {
fill: #000 !important;
}
|
d3c2833c8c49b0c40b0815869cd2e1a8c8d01cb1
|
2022-01-27 15:10:51
|
Rishabh Rathod
|
chore: remove defaultSelectedFiles (#10586)
| false
|
remove defaultSelectedFiles (#10586)
|
chore
|
diff --git a/app/client/cypress/fixtures/filepickerDsl.json b/app/client/cypress/fixtures/filepickerDsl.json
index bdd514708397..79cb9941d9d0 100644
--- a/app/client/cypress/fixtures/filepickerDsl.json
+++ b/app/client/cypress/fixtures/filepickerDsl.json
@@ -23,7 +23,6 @@
"isVisible": true,
"files": [],
"selectedFiles": [],
- "defaultSelectedFiles": [],
"allowedFileTypes": [],
"label": "Select Files",
"maxNumFiles": 1,
diff --git a/app/client/src/widgets/FilePickerWidgetV2/index.ts b/app/client/src/widgets/FilePickerWidgetV2/index.ts
index 8620693cd591..843212db078a 100644
--- a/app/client/src/widgets/FilePickerWidgetV2/index.ts
+++ b/app/client/src/widgets/FilePickerWidgetV2/index.ts
@@ -11,7 +11,6 @@ export const CONFIG = {
rows: 4,
files: [],
selectedFiles: [],
- defaultSelectedFiles: [],
allowedFileTypes: [],
label: "Select Files",
columns: 16,
diff --git a/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx b/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
index 70bf297c86dc..58670e262b2c 100644
--- a/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
+++ b/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
@@ -209,13 +209,9 @@ class FilePickerWidget extends BaseWidget<
},
];
}
-
static getDefaultPropertiesMap(): Record<string, string> {
- return {
- selectedFiles: "defaultSelectedFiles",
- };
+ return {};
}
-
static getDerivedPropertiesMap(): DerivedPropertiesMap {
return {
isValid: `{{ this.isRequired ? this.files.length > 0 : true }}`,
diff --git a/app/client/src/widgets/FilepickerWidget/index.ts b/app/client/src/widgets/FilepickerWidget/index.ts
index ddb84fa15789..431cf85a0d42 100644
--- a/app/client/src/widgets/FilepickerWidget/index.ts
+++ b/app/client/src/widgets/FilepickerWidget/index.ts
@@ -12,7 +12,6 @@ export const CONFIG = {
rows: 4,
files: [],
selectedFiles: [],
- defaultSelectedFiles: [],
allowedFileTypes: [],
label: "Select Files",
columns: 16,
diff --git a/app/client/src/widgets/FilepickerWidget/widget/index.tsx b/app/client/src/widgets/FilepickerWidget/widget/index.tsx
index 04b1fbc14361..9d4c2da60ada 100644
--- a/app/client/src/widgets/FilepickerWidget/widget/index.tsx
+++ b/app/client/src/widgets/FilepickerWidget/widget/index.tsx
@@ -214,13 +214,9 @@ class FilePickerWidget extends BaseWidget<
},
];
}
-
static getDefaultPropertiesMap(): Record<string, string> {
- return {
- selectedFiles: "defaultSelectedFiles",
- };
+ return {};
}
-
static getDerivedPropertiesMap(): DerivedPropertiesMap {
return {
isValid: `{{ this.isRequired ? this.files.length > 0 : true }}`,
|
a51ef85104e4e53ca4410316e45aac833c4b675b
|
2023-06-05 12:55:39
|
Favour Ohanekwu
|
fix: SQL keyword style bug (#23929)
| false
|
SQL keyword style bug (#23929)
|
fix
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.js
deleted file mode 100644
index ee97e46ff854..000000000000
--- a/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.js
+++ /dev/null
@@ -1,20 +0,0 @@
-const queryLocators = require("../../../../locators/QueryEditor.json");
-const datasource = require("../../../../locators/DatasourcesEditor.json");
-import * as _ from "../../../../support/Objects/ObjectsCore";
-
-let datasourceName;
-
-describe("SQL Autocompletion", function () {
- it("Shows autocompletion hints", function () {
- _.dataSources.CreateDataSource("Postgres");
- cy.generateUUID().then((uid) => {
- datasourceName = `Postgres CRUD ds ${uid}`;
- cy.renameDatasource(datasourceName);
- cy.NavigateToActiveDSQueryPane(datasourceName);
- });
- cy.get(queryLocators.templateMenu).click({ force: true });
- cy.get(".CodeMirror textarea").focus().type("S");
- cy.get(_.locators._hints).should("exist");
- cy.deleteQueryUsingContext();
- });
-});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.ts
new file mode 100644
index 000000000000..e66549a2dcc1
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Autocomplete/Autocomplete_sql_spec.ts
@@ -0,0 +1,26 @@
+import { ObjectsRegistry } from "../../../../support/Objects/Registry";
+
+let dsName: any;
+
+const agHelper = ObjectsRegistry.AggregateHelper,
+ locator = ObjectsRegistry.CommonLocators,
+ dataSources = ObjectsRegistry.DataSources;
+
+describe("SQL Autocompletion", () => {
+ it("Create DS for SQL autocompletion testing", () => {
+ dataSources.CreateDataSource("Postgres");
+ cy.get("@dsName").then(($dsName) => {
+ dsName = $dsName;
+ });
+ });
+
+ it("Shows autocompletion hints in SQL", () => {
+ dataSources.NavigateFromActiveDS(dsName, true);
+ agHelper.GetNClick(dataSources._templateMenu);
+ cy.get(locator._codeMirrorTextArea).focus().type("select");
+ // Hints should exist
+ cy.get(locator._hints).should("exist");
+ // "select" should be parsed as a keyword and should not be capitalised
+ cy.get(locator._sqlKeyword).contains("select");
+ });
+});
diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts
index 15a00fb2ac1b..8888b8a7435d 100644
--- a/app/client/cypress/support/Objects/CommonLocators.ts
+++ b/app/client/cypress/support/Objects/CommonLocators.ts
@@ -215,4 +215,5 @@ export class CommonLocators {
`//button[contains(@class, 't--open-dropdown-${value}')]`;
_fixedLayout = "#t--layout-conversion-cta:contains('Fixed')";
_forkAppToWorkspaceBtn = ".t--fork-app-to-workspace-button";
+ _sqlKeyword = ".cm-m-sql.cm-keyword";
}
diff --git a/app/client/src/components/editorComponents/CodeEditor/styledComponents.ts b/app/client/src/components/editorComponents/CodeEditor/styledComponents.ts
index 0c6f856375c4..7c0761800577 100644
--- a/app/client/src/components/editorComponents/CodeEditor/styledComponents.ts
+++ b/app/client/src/components/editorComponents/CodeEditor/styledComponents.ts
@@ -239,7 +239,6 @@ export const EditorWrapper = styled.div<{
/* some sql fixes */
.cm-m-sql.cm-keyword {
font-weight: 400;
- text-transform: uppercase;
}
.CodeMirror-activeline-background {
|
6a6ee9a84d574d60f85a289e849ddbb0df4a8382
|
2024-10-17 17:15:30
|
Pawan Kumar
|
chore: add neutral-subtle for text and update avatar sizes (#36945)
| false
|
add neutral-subtle for text and update avatar sizes (#36945)
|
chore
|
diff --git a/app/client/packages/design-system/widgets/src/components/Avatar/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/Avatar/src/styles.module.css
index f3172cc40392..abeb0956b13a 100644
--- a/app/client/packages/design-system/widgets/src/components/Avatar/src/styles.module.css
+++ b/app/client/packages/design-system/widgets/src/components/Avatar/src/styles.module.css
@@ -2,18 +2,18 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: var(--sizing-8);
- height: var(--sizing-8);
+ width: var(--icon-size-3);
+ height: var(--icon-size-3);
}
.avatar[data-size="small"] {
- width: var(--sizing-6);
- height: var(--sizing-6);
+ width: var(--icon-size-2);
+ height: var(--icon-size-2);
}
.avatar[data-size="large"] {
- width: var(--sizing-10);
- height: var(--sizing-10);
+ width: var(--icon-size-4);
+ height: var(--icon-size-4);
}
/* if the avatar has div, that means no source is provided. For this case, we want to add a background color and border radius */
diff --git a/app/client/packages/design-system/widgets/src/components/Text/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/Text/src/styles.module.css
index a6dae07300dd..ca3d6294f792 100644
--- a/app/client/packages/design-system/widgets/src/components/Text/src/styles.module.css
+++ b/app/client/packages/design-system/widgets/src/components/Text/src/styles.module.css
@@ -10,6 +10,11 @@
color: var(--color-fg-$(color));
}
}
+
+ /* Adding as special case as we can't add neutral-subtle to $colors variable, as that variable is used generically for many components ( button ). */
+ &[data-color="neutral-subtle"] {
+ color: var(--color-fg-neutral-subtle);
+ }
}
.clampedText {
diff --git a/app/client/packages/design-system/widgets/src/components/Text/src/types.ts b/app/client/packages/design-system/widgets/src/components/Text/src/types.ts
index c2aa405326ca..66a4a4c5d5d4 100644
--- a/app/client/packages/design-system/widgets/src/components/Text/src/types.ts
+++ b/app/client/packages/design-system/widgets/src/components/Text/src/types.ts
@@ -13,7 +13,7 @@ export interface TextProps {
/** Color of the text
* @default inherit
*/
- color?: keyof typeof COLORS;
+ color?: keyof typeof COLORS | "neutral-subtle";
/** Sets the weight (or boldness) of the font
* @default false
*/
|
84426b9c41c2fa719405aecaab5b1d0e99c670f6
|
2022-12-09 11:45:14
|
Anand Srinivasan
|
chore: update smartlook client (#18784)
| false
|
update smartlook client (#18784)
|
chore
|
diff --git a/app/client/package.json b/app/client/package.json
index 266672a40518..8ac74755d427 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -145,7 +145,7 @@
"scroll-into-view-if-needed": "^2.2.26",
"shallowequal": "^1.1.0",
"showdown": "^1.9.1",
- "smartlook-client": "^4.5.1",
+ "smartlook-client": "^8.0.0",
"socket.io-client": "^4.5.4",
"styled-components": "^5.2.0",
"tern": "^0.21.0",
diff --git a/app/client/src/pages/common/CanvasArenas/StickyCanvasArena.tsx b/app/client/src/pages/common/CanvasArenas/StickyCanvasArena.tsx
index 1da7a6fa2361..3a0211ac0b1f 100644
--- a/app/client/src/pages/common/CanvasArenas/StickyCanvasArena.tsx
+++ b/app/client/src/pages/common/CanvasArenas/StickyCanvasArena.tsx
@@ -123,7 +123,12 @@ export const StickyCanvasArena = forwardRef(
{/* Canvas will always be sticky to its scrollable parent's view port. i.e,
it will only be as big as its viewable area so maximum size would be less
than screen width and height in all cases. */}
- <canvas data-testid={canvasId} id={canvasId} ref={stickyCanvasRef} />
+ <canvas
+ data-sl="canvas-mq" // attribute to enable canvas on smartlook
+ data-testid={canvasId}
+ id={canvasId}
+ ref={stickyCanvasRef}
+ />
<StyledCanvasSlider
data-testid={id}
id={id}
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index 167fac978954..233fb00c3273 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -13794,9 +13794,10 @@ slice-ansi@^5.0.0:
ansi-styles "^6.0.0"
is-fullwidth-code-point "^4.0.0"
-smartlook-client@^4.5.1:
- version "4.6.1"
- resolved "https://registry.npmjs.org/smartlook-client/-/smartlook-client-4.6.1.tgz"
+smartlook-client@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/smartlook-client/-/smartlook-client-8.0.0.tgz#71825b41bd467effe0091df40ec1e254bfccb202"
+ integrity sha512-gx0+mYv5hUKGE/ZcuPcft2OWR8BetnTw3QWZXX2QQjhJbgliKcioDC+NrczxZmnwUalpW4RjXb4iS8lQUAZkEQ==
snake-case@^3.0.4:
version "3.0.4"
|
54f143523f2eee044891c23efe8187b6c43325fb
|
2023-09-29 16:16:24
|
Ankit Srivastava
|
chore: Multiple Env code split for 1-click (#27275)
| false
|
Multiple Env code split for 1-click (#27275)
|
chore
|
diff --git a/app/client/cypress/support/Pages/MultipleEnvironments.ts b/app/client/cypress/support/Pages/MultipleEnvironments.ts
new file mode 100644
index 000000000000..73e49299746e
--- /dev/null
+++ b/app/client/cypress/support/Pages/MultipleEnvironments.ts
@@ -0,0 +1,69 @@
+import { agHelper, dataSources } from "../Objects/ObjectsCore";
+import { ObjectsRegistry } from "../Objects/Registry";
+
+export class MultipleEnvironments {
+ private agHelper = ObjectsRegistry.AggregateHelper;
+ private locator = ObjectsRegistry.CommonLocators;
+ private dataManager = ObjectsRegistry.DataManager;
+
+ public env_switcher = '[data-testid="t--switch-env"]';
+ public env_switcher_dropdown_opt_prod =
+ '[data-testid="t--switch-env-dropdown-option-production"]';
+ public env_switcher_dropdown_opt_stage =
+ '[data-testid="t--switch-env-dropdown-option-staging"]';
+ public ds_data_filter_disabled = '[data-testid="t--filter-disabled"]';
+ public ds_data_dropdown_tooltip = '[data-testid="t--switch-env-tooltip"]';
+ public env_switcher_dropdown_opt = (envName: string) =>
+ `[data-testid="t--switch-env-dropdown-option-${envName}"]`;
+ public ds_review_mode_configs = (envName: string) =>
+ `[data-testid="t--review-section-${envName}"]`;
+
+ public SwitchEnv(targetEnv: string) {
+ this.agHelper
+ .GetElement(this.env_switcher)
+ .eq(0)
+ .invoke("text")
+ .then((text: string) => {
+ if (text.toLowerCase() === targetEnv.toLowerCase()) {
+ cy.log("Already in target env");
+ } else {
+ cy.log(
+ `Currently in ${text
+ .toString()
+ .toLowerCase()} Switching to target env: ${targetEnv.toLowerCase()}`,
+ );
+ this.agHelper.GetNClick(this.env_switcher);
+ this.agHelper.GetNClick(this.env_switcher_dropdown_opt(targetEnv));
+ this.agHelper.Sleep();
+ this.agHelper.AssertElementExist(
+ this.locator._specificToast(
+ `Environment switched to ${targetEnv.toLowerCase()}`,
+ ),
+ );
+ }
+ });
+ agHelper.Sleep(3000); // adding wait for page to load
+ }
+
+ public SwitchEnvInDSEditor(
+ target_environment = this.dataManager.defaultEnviorment,
+ ) {
+ this.agHelper.GetNClick(
+ this.locator.ds_editor_env_filter(target_environment),
+ );
+ this.agHelper.AssertSelectedTab(
+ this.locator.ds_editor_env_filter(target_environment),
+ "true",
+ );
+ }
+
+ public VerifyEnvDetailsInReviewMode(
+ dsName: "PostgreSQL" | "MongoDB",
+ envName: string,
+ ) {
+ this.agHelper.AssertElementExist(this.ds_review_mode_configs(envName));
+ dataSources.ValidateReviewModeConfig(dsName, envName);
+ }
+
+ //#endregion
+}
diff --git a/app/client/src/ce/components/SwitchEnvironment/index.tsx b/app/client/src/ce/components/SwitchEnvironment/index.tsx
index 76b233c6363c..2c5c9ff31cb3 100644
--- a/app/client/src/ce/components/SwitchEnvironment/index.tsx
+++ b/app/client/src/ce/components/SwitchEnvironment/index.tsx
@@ -110,7 +110,11 @@ export default function SwitchEnvironment({}: Props) {
const DisabledTooltipContent = () => {
return (
- <Text color="var(--ads-v2-color-white)" kind="action-m">
+ <Text
+ color="var(--ads-v2-color-white)"
+ data-testid="t--switch-env-tooltip"
+ kind="action-m"
+ >
{createMessage(SWITCH_ENV_DISABLED_TOOLTIP_TEXT)}
<TooltipLink kind="primary" target="_blank" to={rampLink}>
{createMessage(BUSINESS_EDITION_TEXT)}
diff --git a/app/client/src/ce/selectors/featureFlagsSelectors.ts b/app/client/src/ce/selectors/featureFlagsSelectors.ts
index 4bfe9ca2c652..c45010bce7ae 100644
--- a/app/client/src/ce/selectors/featureFlagsSelectors.ts
+++ b/app/client/src/ce/selectors/featureFlagsSelectors.ts
@@ -17,13 +17,6 @@ export const selectFeatureFlagCheck = (
return false;
};
-export const datasourceEnvEnabled = createSelector(
- selectFeatureFlags,
- (flags) => {
- return !!flags.release_datasource_environments_enabled;
- },
-);
-
export const adaptiveSignpostingEnabled = createSelector(
selectFeatureFlags,
(flags) => {
diff --git a/app/client/src/ce/utils/planHelpers.ts b/app/client/src/ce/utils/planHelpers.ts
index 5749c6235ff4..fdd9d8082d3e 100644
--- a/app/client/src/ce/utils/planHelpers.ts
+++ b/app/client/src/ce/utils/planHelpers.ts
@@ -12,3 +12,7 @@ export const isOIDCEnabled = (featureFlags: FeatureFlags) => {
export const isSAMLEnabled = (featureFlags: FeatureFlags) => {
return featureFlags?.license_sso_saml_enabled;
};
+
+export const isMultipleEnvEnabled = (featureFlags: FeatureFlags) => {
+ return featureFlags?.release_datasource_environments_enabled;
+};
diff --git a/app/client/src/pages/AppViewer/index.tsx b/app/client/src/pages/AppViewer/index.tsx
index 44c127fd301d..a9f3cca91570 100644
--- a/app/client/src/pages/AppViewer/index.tsx
+++ b/app/client/src/pages/AppViewer/index.tsx
@@ -43,7 +43,6 @@ import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"
import { editorInitializer } from "../../utils/editor/EditorUtils";
import { widgetInitialisationSuccess } from "../../actions/widgetActions";
import { areEnvironmentsFetched } from "@appsmith/selectors/environmentSelectors";
-import { datasourceEnvEnabled } from "@appsmith/selectors/featureFlagsSelectors";
import type { FontFamily } from "@design-system/theming";
import {
ThemeProvider as WDSThemeProvider,
@@ -52,6 +51,7 @@ import {
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import { RAMP_NAME } from "utils/ProductRamps/RampsControlList";
import { showProductRamps } from "@appsmith/selectors/rampSelectors";
+import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import { KBViewerFloatingButton } from "@appsmith/pages/AppViewer/KnowledgeBase/KBViewerFloatingButton";
const AppViewerBody = styled.section<{
@@ -118,10 +118,13 @@ function AppViewer(props: Props) {
const canShowRamp = useSelector(showRampSelector);
const workspaceId = currentApplicationDetails?.workspaceId || "";
+ const isMultipleEnvEnabled = useFeatureFlag(
+ FEATURE_FLAG.release_datasource_environments_enabled,
+ );
const showBottomBar = useSelector((state: AppState) => {
return (
areEnvironmentsFetched(state, workspaceId) &&
- (datasourceEnvEnabled(state) || canShowRamp)
+ (isMultipleEnvEnabled || canShowRamp)
);
});
diff --git a/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx b/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx
index 5e7fb8d07ffb..b1c558efebfe 100644
--- a/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx
+++ b/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx
@@ -7,13 +7,14 @@ import log from "loglevel";
import { ComparisonOperationsEnum } from "components/formControls/BaseControl";
import type { AppState } from "@appsmith/reducers";
import { connect } from "react-redux";
-import { datasourceEnvEnabled } from "@appsmith/selectors/featureFlagsSelectors";
import { getPlugin } from "@appsmith/selectors/entitiesSelector";
import { DB_NOT_SUPPORTED } from "@appsmith/utils/Environments";
import type { PluginType } from "entities/Action";
import { getDefaultEnvId } from "@appsmith/api/ApiUtils";
import { EnvConfigSection } from "@appsmith/components/EnvConfigSection";
import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors";
+import { isMultipleEnvEnabled } from "@appsmith/utils/planHelpers";
+import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors";
const Key = styled.div`
color: var(--ads-v2-color-fg-muted);
@@ -256,7 +257,7 @@ const mapStateToProps = (state: AppState, ownProps: any) => {
const pluginType = plugin?.type;
const isEnvEnabled = DB_NOT_SUPPORTED.includes(pluginType as PluginType)
? false
- : datasourceEnvEnabled(state);
+ : isMultipleEnvEnabled(selectFeatureFlags(state));
const currentEnvironmentId = getCurrentEnvironmentId(state);
return {
currentEnv: isEnvEnabled ? currentEnvironmentId : getDefaultEnvId(),
diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx
index a8c9d2652863..5263ff6ffd3e 100644
--- a/app/client/src/pages/Editor/EditorHeader.tsx
+++ b/app/client/src/pages/Editor/EditorHeader.tsx
@@ -67,7 +67,6 @@ import RealtimeAppEditors from "./RealtimeAppEditors";
import { EditorSaveIndicator } from "./EditorSaveIndicator";
import {
adaptiveSignpostingEnabled,
- datasourceEnvEnabled,
selectFeatureFlags,
} from "@appsmith/selectors/featureFlagsSelectors";
import { retryPromise } from "utils/AppsmithUtils";
@@ -117,6 +116,8 @@ import { FEATURE_WALKTHROUGH_KEYS } from "constants/WalkthroughConstants";
import { SignpostingWalkthroughConfig } from "./FirstTimeUserOnboarding/Utils";
import CommunityTemplatesPublishInfo from "./CommunityTemplates/Modals/CommunityTemplatesPublishInfo";
import PublishCommunityTemplateModal from "./CommunityTemplates/Modals/PublishCommunityTemplate";
+import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
+import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
const { cloudHosting } = getAppsmithConfigs();
@@ -261,11 +262,13 @@ export function EditorHeader() {
const [isPopoverOpen, setIsPopoverOpen] = useState<boolean>(false);
const [showModal, setShowModal] = useState(false);
+ const isMultipleEnvEnabled = useFeatureFlag(
+ FEATURE_FLAG.release_datasource_environments_enabled,
+ );
const [
showPublishCommunityTemplateModal,
setShowPublishCommunityTemplateModal,
] = useState(false);
- const dsEnvEnabled = useSelector(datasourceEnvEnabled);
const handlePublish = () => {
if (applicationId) {
@@ -320,7 +323,10 @@ export function EditorHeader() {
: "Application name menu (top left)",
});
} else {
- if (!dsEnvEnabled || getUserPreferenceFromStorage() === "true") {
+ if (
+ !isMultipleEnvEnabled ||
+ getUserPreferenceFromStorage() === "true"
+ ) {
handlePublish();
} else {
dispatch(showEnvironmentDeployInfoModal());
|
2b1e450559e210e872e0944b69379076f94cc176
|
2023-12-21 10:05:48
|
Rahul Barwal
|
fix: Show connect your data prompt correctly (#29705)
| false
|
Show connect your data prompt correctly (#29705)
|
fix
|
diff --git a/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStarterLayoutPrompt.tsx b/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStarterLayoutPrompt.tsx
index 8fbcc9a1ea40..9d5adb7ad5e0 100644
--- a/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStarterLayoutPrompt.tsx
+++ b/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStarterLayoutPrompt.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback } from "react";
+import React, { useCallback, useMemo } from "react";
import {
Popover,
PopoverContent,
@@ -32,6 +32,7 @@ import { INTEGRATION_TABS } from "constants/routes";
import { Colors } from "constants/Colors";
import AnalyticsUtil from "utils/AnalyticsUtil";
import { STARTER_BUILDING_BLOCK_TEMPLATE_NAME } from "constants/TemplatesConstants";
+import { useAppWideAndOtherDatasource } from "@appsmith/pages/Editor/Explorer/hooks";
function DatasourceStarterLayoutPrompt() {
const dispatch = useDispatch();
@@ -45,12 +46,21 @@ function DatasourceStarterLayoutPrompt() {
const buildingBlockSourcePageId = useSelector(
buildingBlocksSourcePageIdSelector,
);
+ const { appWideDS } = useAppWideAndOtherDatasource();
const disablePrompt = () =>
dispatch(hideStarterBuildingBlockDatasourcePrompt());
- const showActivePageDatasourcePrompt =
- buildingBlockSourcePageId === pageId && showDatasourcePrompt;
+ const showActivePageDatasourcePrompt = useMemo(
+ () =>
+ buildingBlockSourcePageId === pageId &&
+ showDatasourcePrompt &&
+ // Here we are checking, if user already has some datasources added to the application
+ // in few cases user go through "start with data" and then "forks a starter building block from canvas"
+ // this condition prevents showing the popup if datasource is already connected.
+ appWideDS.length === 1,
+ [buildingBlockSourcePageId, pageId, showDatasourcePrompt, appWideDS],
+ );
const onClickConnect = useCallback(() => {
dispatch(hideStarterBuildingBlockDatasourcePrompt());
|
04b85943c2b6229e53123b2bee3f86829a3fa1d1
|
2023-10-11 12:57:52
|
Dipyaman Biswas
|
fix: change URL for License Settings page (#27930)
| false
|
change URL for License Settings page (#27930)
|
fix
|
diff --git a/app/client/src/ce/sagas/SuperUserSagas.tsx b/app/client/src/ce/sagas/SuperUserSagas.tsx
index ad907d313cef..9df0ffadcef2 100644
--- a/app/client/src/ce/sagas/SuperUserSagas.tsx
+++ b/app/client/src/ce/sagas/SuperUserSagas.tsx
@@ -5,10 +5,7 @@ import {
ReduxActionErrorTypes,
ReduxActionTypes,
} from "@appsmith/constants/ReduxActionConstants";
-import {
- APPLICATIONS_URL,
- WORKSPACE_SETTINGS_BILLING_PAGE_URL,
-} from "constants/routes";
+import { APPLICATIONS_URL } from "constants/routes";
import type { User } from "constants/userConstants";
import { call, put, delay, select } from "redux-saga/effects";
import history from "utils/history";
@@ -150,7 +147,7 @@ export function* RestartServerPoll() {
yield call(RestryRestartServerPoll);
}
-export function* RestryRestartServerPoll(isMigration = false) {
+export function* RestryRestartServerPoll() {
let pollCount = 0;
const maxPollCount = RESTART_POLL_TIMEOUT / RESTART_POLL_INTERVAL;
while (pollCount < maxPollCount) {
@@ -165,8 +162,7 @@ export function* RestryRestartServerPoll(isMigration = false) {
response.data?.tenantConfiguration?.migrationStatus ===
MIGRATION_STATUS.COMPLETED
) {
- if (!isMigration) window.location.reload();
- else location.href = WORKSPACE_SETTINGS_BILLING_PAGE_URL;
+ window.location.reload();
}
} catch (e) {}
}
diff --git a/app/client/src/constants/routes/baseRoutes.ts b/app/client/src/constants/routes/baseRoutes.ts
index 583419d6db68..4b0a059c6357 100644
--- a/app/client/src/constants/routes/baseRoutes.ts
+++ b/app/client/src/constants/routes/baseRoutes.ts
@@ -28,7 +28,7 @@ export const WORKSPACE_INVITE_USERS_PAGE_URL = `${WORKSPACE_URL}/invite`;
export const WORKSPACE_SETTINGS_PAGE_URL = `${WORKSPACE_URL}/settings`;
export const WORKSPACE_SETTINGS_GENERAL_PAGE_URL = `${WORKSPACE_URL}/settings/general`;
export const WORKSPACE_SETTINGS_MEMBERS_PAGE_URL = `${WORKSPACE_URL}/settings/members`;
-export const WORKSPACE_SETTINGS_BILLING_PAGE_URL = `/settings/billing`;
+export const WORKSPACE_SETTINGS_LICENSE_PAGE_URL = `/settings/license`;
export const matchApplicationPath = match(APPLICATIONS_URL);
export const matchTemplatesPath = match(TEMPLATES_PATH);
|
3f222e5002c010f27bd4132ed4fae164fd6d8bfb
|
2024-04-30 19:27:18
|
Ashok Kumar M
|
fix: Reverting Anvil currently open modal state implementation (#33067)
| false
|
Reverting Anvil currently open modal state implementation (#33067)
|
fix
|
diff --git a/app/client/src/ce/reducers/index.tsx b/app/client/src/ce/reducers/index.tsx
index 63c376c2bfcb..f736df31f02e 100644
--- a/app/client/src/ce/reducers/index.tsx
+++ b/app/client/src/ce/reducers/index.tsx
@@ -81,7 +81,6 @@ import type { ActiveField } from "reducers/uiReducers/activeFieldEditorReducer";
import type { SelectedWorkspaceReduxState } from "@appsmith/reducers/uiReducers/selectedWorkspaceReducer";
import type { ConsolidatedPageLoadState } from "reducers/uiReducers/consolidatedPageLoadReducer";
import type { BuildingBlocksReduxState } from "reducers/uiReducers/buildingBlockReducer";
-import type { AnvilDetachedWidgetsReduxState } from "layoutSystems/anvil/integrations/reducers/anvilDetachedWidgetsReducer";
export const reducerObject = {
entities: entityReducer,
@@ -147,7 +146,6 @@ export interface AppState {
oneClickBinding: OneClickBindingState;
activeField: ActiveField;
ide: IDEState;
- anvilDetachedWidgets: AnvilDetachedWidgetsReduxState;
};
entities: {
canvasWidgetsStructure: CanvasWidgetStructure;
diff --git a/app/client/src/ce/reducers/uiReducers/index.tsx b/app/client/src/ce/reducers/uiReducers/index.tsx
index 79dcf5de0afd..5d5312798d24 100644
--- a/app/client/src/ce/reducers/uiReducers/index.tsx
+++ b/app/client/src/ce/reducers/uiReducers/index.tsx
@@ -50,7 +50,6 @@ import activeFieldReducer from "reducers/uiReducers/activeFieldEditorReducer";
import selectedWorkspaceReducer from "@appsmith/reducers/uiReducers/selectedWorkspaceReducer";
import ideReducer from "../../../reducers/uiReducers/ideReducer";
import consolidatedPageLoadReducer from "reducers/uiReducers/consolidatedPageLoadReducer";
-import anvilDetachedWidgetsReducer from "layoutSystems/anvil/integrations/reducers/anvilDetachedWidgetsReducer";
export const uiReducerObject = {
analytics: analyticsReducer,
@@ -105,5 +104,4 @@ export const uiReducerObject = {
activeField: activeFieldReducer,
ide: ideReducer,
consolidatedPageLoad: consolidatedPageLoadReducer,
- anvilDetachedWidgets: anvilDetachedWidgetsReducer,
};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/styles.module.css b/app/client/src/layoutSystems/anvil/editor/canvasArenas/styles.module.css
index 99cd00ad2cc2..d0187fd56357 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/styles.module.css
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/styles.module.css
@@ -1,4 +1,5 @@
.detachedWidgetsDropOverlay {
+ z-index: var(--z-index-99);
background-color: var(--modal-overlay-color);
position: fixed;
padding: 40px;
diff --git a/app/client/src/layoutSystems/anvil/integrations/actions/actionTypes.ts b/app/client/src/layoutSystems/anvil/integrations/actions/actionTypes.ts
index 62d8f1fcd4a1..724d13a8fea8 100644
--- a/app/client/src/layoutSystems/anvil/integrations/actions/actionTypes.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/actions/actionTypes.ts
@@ -40,7 +40,4 @@ export enum AnvilReduxActionTypes {
ANVIL_SPACE_DISTRIBUTION_STOP = "ANVIL_SPACE_DISTRIBUTION_STOP",
ANVIL_SET_HIGHLIGHT_SHOWN = "ANVIL_SET_HIGHLIGHT_SHOWN",
ANVIL_WIDGET_SELECTION_CLICK = "ANVIL_WIDGET_SELECTION_CLICK",
- SHOW_DETACHED_WIDGET = "SHOW_DETACHED_WIDGET",
- HIDE_DETACHED_WIDGET = "HIDE_DETACHED_WIDGET",
- RESET_DETACHED_WIDGETS = "RESET_DETACHED_WIDGETS",
}
diff --git a/app/client/src/layoutSystems/anvil/integrations/actions/detachedWidgetActions.ts b/app/client/src/layoutSystems/anvil/integrations/actions/detachedWidgetActions.ts
deleted file mode 100644
index 197bf72d4e76..000000000000
--- a/app/client/src/layoutSystems/anvil/integrations/actions/detachedWidgetActions.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { AnvilReduxActionTypes } from "./actionTypes";
-
-export const showDetachedWidgetAction = (widgetId: string) => {
- return {
- type: AnvilReduxActionTypes.SHOW_DETACHED_WIDGET,
- payload: widgetId,
- };
-};
-
-export const hideDetachedWidgetAction = (widgetId: string) => {
- return {
- type: AnvilReduxActionTypes.HIDE_DETACHED_WIDGET,
- payload: widgetId,
- };
-};
-
-export const resetDetachedWidgetsAction = () => {
- return {
- type: AnvilReduxActionTypes.RESET_DETACHED_WIDGETS,
- };
-};
diff --git a/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts
index 9f5c6a7e5cd5..9c18113ede0d 100644
--- a/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts
@@ -1,5 +1,15 @@
import type { AppState } from "@appsmith/reducers";
+import { getAllDetachedWidgetIds, getWidgetsMeta } from "sagas/selectors";
export const getCurrentlyOpenAnvilDetachedWidgets = (state: AppState) => {
- return state.ui.anvilDetachedWidgets.currentlyOpenDetachedWidgets;
+ const allExistingDetachedWidgets = getAllDetachedWidgetIds(state);
+ if (allExistingDetachedWidgets.length === 0) {
+ return [];
+ }
+ const metaWidgets = getWidgetsMeta(state);
+ const currentlyOpenWidgets = allExistingDetachedWidgets.filter((modalId) => {
+ const modal = metaWidgets[modalId];
+ return modal && modal.isVisible;
+ });
+ return currentlyOpenWidgets;
};
diff --git a/app/client/src/layoutSystems/anvil/integrations/reducers/anvilDetachedWidgetsReducer.ts b/app/client/src/layoutSystems/anvil/integrations/reducers/anvilDetachedWidgetsReducer.ts
deleted file mode 100644
index b0aa0dcbd71e..000000000000
--- a/app/client/src/layoutSystems/anvil/integrations/reducers/anvilDetachedWidgetsReducer.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import { createImmerReducer } from "utils/ReducerUtils";
-import {
- AnvilReduxActionTypes,
- type AnvilReduxAction,
-} from "../actions/actionTypes";
-
-export interface AnvilDetachedWidgetsReduxState {
- currentlyOpenDetachedWidgets: string[];
-}
-const initialState: AnvilDetachedWidgetsReduxState = {
- currentlyOpenDetachedWidgets: [],
-};
-const anvilDetachedWidgetsReducer = createImmerReducer(initialState, {
- [AnvilReduxActionTypes.SHOW_DETACHED_WIDGET]: (
- state: AnvilDetachedWidgetsReduxState,
- action: AnvilReduxAction<string>,
- ) => {
- state.currentlyOpenDetachedWidgets.push(action.payload);
- },
- [AnvilReduxActionTypes.HIDE_DETACHED_WIDGET]: (
- state: AnvilDetachedWidgetsReduxState,
- action: AnvilReduxAction<string>,
- ) => {
- state.currentlyOpenDetachedWidgets =
- state.currentlyOpenDetachedWidgets.filter(
- (widgetId) => widgetId !== action.payload,
- );
- },
- [AnvilReduxActionTypes.RESET_DETACHED_WIDGETS]: (
- state: AnvilDetachedWidgetsReduxState,
- ) => {
- state.currentlyOpenDetachedWidgets = [];
- },
-});
-
-export default anvilDetachedWidgetsReducer;
diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDetachedWidgetSagas.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDetachedWidgetSagas.ts
deleted file mode 100644
index 58dec5659723..000000000000
--- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDetachedWidgetSagas.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
-import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
-import { all, put, select, takeEvery, takeLatest } from "redux-saga/effects";
-import { callSagaOnlyForAnvil } from "./utils";
-import {
- hideDetachedWidgetAction,
- resetDetachedWidgetsAction,
- showDetachedWidgetAction,
-} from "../actions/detachedWidgetActions";
-import { getWidgetByName } from "sagas/selectors";
-import type { FlattenedWidgetProps } from "WidgetProvider/constants";
-
-function* closeAnvilModalSaga(action: ReduxAction<{ modalName?: string }>) {
- const { modalName } = action.payload;
-
- if (modalName) {
- const widget: FlattenedWidgetProps | undefined = yield select(
- getWidgetByName,
- modalName,
- );
- if (widget) {
- hideDetachedWidgetAction(widget.widgetId);
- }
- } else {
- yield put(resetDetachedWidgetsAction());
- }
-}
-
-function* showAnvilModalSaga(action: ReduxAction<{ modalId: string }>) {
- yield put(showDetachedWidgetAction(action.payload.modalId));
-}
-
-export default function* anvilDetachedWidgetSagas() {
- yield all([
- takeEvery(
- ReduxActionTypes.CLOSE_MODAL,
- callSagaOnlyForAnvil,
- closeAnvilModalSaga,
- ),
- takeLatest(
- ReduxActionTypes.SHOW_MODAL,
- callSagaOnlyForAnvil,
- showAnvilModalSaga,
- ),
- ]);
-}
diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/index.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/index.ts
index 0ef168cf26e5..69337fd560eb 100644
--- a/app/client/src/layoutSystems/anvil/integrations/sagas/index.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/sagas/index.ts
@@ -5,7 +5,6 @@ import anvilSectionSagas from "./sectionSagas";
import anvilSpaceDistributionSagas from "./anvilSpaceDistributionSagas";
import anvilWidgetSelectionSaga from "./anvilWidgetSelectionSaga";
import pasteSagas from "./pasteSagas";
-import anvilDetachedWidgetSagas from "./anvilDetachedWidgetSagas";
export default function* anvilSagas() {
yield fork(LayoutElementPositionsSaga);
@@ -14,5 +13,4 @@ export default function* anvilSagas() {
yield fork(anvilSpaceDistributionSagas);
yield fork(anvilWidgetSelectionSaga);
yield fork(pasteSagas);
- yield fork(anvilDetachedWidgetSagas);
}
diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas.ts
index 65ffff384a53..2f8d264bcac7 100644
--- a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas.ts
@@ -7,6 +7,7 @@ import { updateAndSaveAnvilLayout } from "../../utils/anvilChecksUtils";
import { builderURL } from "@appsmith/RouteBuilder";
import { getCurrentPageId } from "selectors/editorSelectors";
import {
+ type ReduxAction,
ReduxActionErrorTypes,
ReduxActionTypes,
} from "@appsmith/constants/ReduxActionConstants";
@@ -23,7 +24,7 @@ import { getDestinedParent } from "layoutSystems/anvil/utils/paste/destinationUt
import { pasteWidgetsIntoMainCanvas } from "layoutSystems/anvil/utils/paste/mainCanvasPasteUtils";
import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
import WidgetFactory from "WidgetProvider/factory";
-import { callSagaOnlyForAnvil } from "./utils";
+import { getIsAnvilLayout } from "../selectors";
function* pasteWidgetSagas() {
try {
@@ -121,11 +122,18 @@ function* pasteWidgetSagas() {
}
}
+function* shouldCallSaga(saga: any, action: ReduxAction<unknown>) {
+ const isAnvilLayout: boolean = yield select(getIsAnvilLayout);
+ if (isAnvilLayout) {
+ yield call(saga, action);
+ }
+}
+
export default function* pasteSagas() {
yield all([
takeLeading(
ReduxActionTypes.PASTE_COPIED_WIDGET_INIT,
- callSagaOnlyForAnvil,
+ shouldCallSaga,
pasteWidgetSagas,
),
]);
diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/utils.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/utils.ts
deleted file mode 100644
index 1c5f37cab019..000000000000
--- a/app/client/src/layoutSystems/anvil/integrations/sagas/utils.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
-import { call, select } from "redux-saga/effects";
-import { getIsAnvilLayout } from "../selectors";
-
-export function* callSagaOnlyForAnvil(saga: any, action: ReduxAction<unknown>) {
- const isAnvilLayout: boolean = yield select(getIsAnvilLayout);
- if (isAnvilLayout) {
- yield call(saga, action);
- }
-}
diff --git a/app/client/src/sagas/selectors.tsx b/app/client/src/sagas/selectors.tsx
index 38caf303e2c3..f3344b68d720 100644
--- a/app/client/src/sagas/selectors.tsx
+++ b/app/client/src/sagas/selectors.tsx
@@ -77,6 +77,12 @@ export const getWidgetIdsByType = (state: AppState, type: WidgetType) => {
.map((widget: FlattenedWidgetProps) => widget.widgetId);
};
+export const getAllDetachedWidgetIds = (state: AppState) => {
+ return Object.values(state.entities.canvasWidgets)
+ .filter((widget: FlattenedWidgetProps) => !!widget.detachFromLayout)
+ .map((widget: FlattenedWidgetProps) => widget.widgetId);
+};
+
export const getWidgetOptionsTree = memoize((state: AppState) =>
Object.values(state.entities.canvasWidgets)
.filter((w) => w.type !== "CANVAS_WIDGET" && w.type !== "BUTTON_WIDGET")
|
abb46d75c76c48a3908aaeb009df66d8300a2730
|
2023-02-03 15:03:04
|
Hetu Nandu
|
fix: URL replace issue in JS editor cmd click (#20220)
| false
|
URL replace issue in JS editor cmd click (#20220)
|
fix
|
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
index 2c22cea5322c..d7383413d168 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
@@ -1,10 +1,12 @@
import reconnectDatasourceModal from "../../../../locators/ReconnectLocators";
import { ObjectsRegistry } from "../../../../support/Objects/Registry";
import { PROPERTY_SELECTOR } from "../../../../locators/WidgetLocators";
+import * as _ from "../../../../support/Objects/ObjectsCore";
const homePage = ObjectsRegistry.HomePage;
const agHelper = ObjectsRegistry.AggregateHelper;
const commonLocators = ObjectsRegistry.CommonLocators;
+const ee = ObjectsRegistry.EntityExplorer;
const NAVIGATION_ATTRIBUTE = "data-navigate-to";
@@ -52,9 +54,6 @@ const JSInput2TestCode = `export default {
describe("1. CommandClickNavigation", function() {
it("1. Import the test application", () => {
homePage.NavigateToHome();
- cy.intercept("GET", "/api/v1/users/features", {
- fixture: "featureFlags.json",
- }).as("featureFlags");
cy.reload();
homePage.ImportApp("ContextSwitching.json");
cy.wait("@importNewApplication").then((interception) => {
@@ -136,18 +135,40 @@ describe("1. CommandClickNavigation", function() {
});
it("7. Will navigate to specific JS Functions", () => {
+ // It was found that when having git connected,
+ // cmd clicking to JS function reloaded the app. Will assert that does not happen
+ cy.generateUUID().then((uid) => {
+ const repoName = uid;
+ _.gitSync.CreateNConnectToGit(repoName);
+ _.gitSync.CreateGitBranch(repoName);
+ });
+
cy.SearchEntityandOpen("Text1");
cy.updateCodeInput(".t--property-control-text", "{{ JSObject1.myFun1() }}");
+ cy.wait(1000);
+
cy.get(`[${NAVIGATION_ATTRIBUTE}="JSObject1.myFun1"]`).click({
ctrlKey: true,
});
cy.assertCursorOnCodeInput(".js-editor", { ch: 1, line: 3 });
+
+ // Assert context switching works when going back to canvas
+ ee.SelectEntityByName("Page1", "Pages");
+
+ cy.get(`div[data-testid='t--selected']`).should("have.length", 1);
+ cy.get(".t--property-pane-title").should("contain", "Text1");
+
+ // Go back to JS editor
+ cy.get(`[${NAVIGATION_ATTRIBUTE}="JSObject1.myFun1"]`).click({
+ ctrlKey: true,
+ });
});
it("8. Will navigate within Js Object properly", () => {
cy.updateCodeInput(".js-editor", JSInputTestCode);
+ cy.wait(1000);
cy.get(`[${NAVIGATION_ATTRIBUTE}="JSObject1.myVar1"]`).click({
ctrlKey: true,
});
@@ -156,7 +177,7 @@ describe("1. CommandClickNavigation", function() {
codeMirrorInput.focus();
});
cy.assertCursorOnCodeInput(".js-editor", { ch: 2, line: 1 });
-
+ cy.wait(1000);
cy.get(`[${NAVIGATION_ATTRIBUTE}="JSObject1.myFun1"]`).click({
ctrlKey: true,
});
@@ -166,7 +187,7 @@ describe("1. CommandClickNavigation", function() {
});
cy.assertCursorOnCodeInput(".js-editor", { ch: 2, line: 2 });
-
+ cy.wait(1000);
cy.get(`[${NAVIGATION_ATTRIBUTE}="JSObject2.myFun1"]`).click({
ctrlKey: true,
});
diff --git a/app/client/src/pages/Editor/JSEditor/Form.tsx b/app/client/src/pages/Editor/JSEditor/Form.tsx
index d70a4f6714b3..a7a26b17af89 100644
--- a/app/client/src/pages/Editor/JSEditor/Form.tsx
+++ b/app/client/src/pages/Editor/JSEditor/Form.tsx
@@ -126,12 +126,15 @@ function JSEditorForm({ jsCollection: currentJSCollection }: Props) {
useEffect(() => {
if (hash) {
+ // Hash here could mean to navigate (set cursor/focus) to a particular function
+ // If the hash has a function name in this JS object, we will set that
const actionName = hash.substring(1);
const position = getJSPropertyLineFromName(
currentJSCollection.body,
actionName,
);
if (position) {
+ // Resetting the focus and position based on the cmd click navigation
dispatch(setFocusableInputField(`${currentJSCollection.name}.body`));
dispatch(
setCodeEditorCursorAction(
@@ -140,7 +143,8 @@ function JSEditorForm({ jsCollection: currentJSCollection }: Props) {
CursorPositionOrigin.Navigation,
),
);
- history.replace(window.location.pathname);
+ // Replace to remove the hash and set back the original URL
+ history.replace(window.location.pathname + window.location.search);
}
}
}, [hash]);
|
849d97ecd340be62c7b6416b9de110f9fc8bf01e
|
2024-05-24 10:29:58
|
Manish Kumar
|
feat: feature branch for server side autocommit (#32572)
| false
|
feature branch for server side autocommit (#32572)
|
feat
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/enums/FeatureFlagEnum.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/enums/FeatureFlagEnum.java
index 8c55848d82e4..beef82f43d3a 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/enums/FeatureFlagEnum.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/enums/FeatureFlagEnum.java
@@ -16,5 +16,6 @@ public enum FeatureFlagEnum {
rollout_datasource_test_rate_limit_enabled,
release_git_autocommit_feature_enabled,
release_git_cleanup_feature_enabled,
+ release_git_server_autocommit_feature_enabled,
// Add EE flags below this line, to avoid conflicts.
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsCEImpl.java
index e52b8ea53272..efa457376e5c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsCEImpl.java
@@ -25,8 +25,10 @@
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.helpers.CollectionUtils;
import com.appsmith.server.helpers.ce.ArtifactGitFileUtilsCE;
+import com.appsmith.server.migrations.JsonSchemaMigration;
import com.appsmith.server.newactions.base.NewActionService;
import com.google.gson.Gson;
+import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import net.minidev.json.JSONObject;
@@ -40,6 +42,8 @@
import java.lang.reflect.Field;
import java.lang.reflect.Type;
+import java.nio.file.Path;
+import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
@@ -70,6 +74,7 @@ public class ApplicationGitFileUtilsCEImpl implements ArtifactGitFileUtilsCE<App
private final Gson gson;
private final NewActionService newActionService;
private final FileInterface fileUtils;
+ private final JsonSchemaMigration jsonSchemaMigration;
private final ActionCollectionService actionCollectionService;
// Only include the application helper fields in metadata object
@@ -337,23 +342,42 @@ private void removeUnwantedFieldFromActionCollection(ActionCollection actionColl
removeUnwantedFieldsFromBaseDomain(actionCollection);
}
- // reconstruct applicationJson
-
+ /**
+ * this method checkouts to the given branch name, and creates the ApplicationJson
+ * from the contents of repository
+ * @param workspaceId : workspaceId of the concerned application
+ * @param defaultArtifactId : main branch id of the application
+ * @param repoName : repository name, it's mostly the app/package name/repository name of the git project
+ * @param branchName : git branch from which the json has to be reconstructed
+ * @return : ApplicationJson
+ */
@Override
public Mono<ArtifactExchangeJson> reconstructArtifactExchangeJsonFromFilesInRepository(
String workspaceId, String defaultArtifactId, String repoName, String branchName) {
+
Mono<ApplicationGitReference> appReferenceMono = fileUtils.reconstructApplicationReferenceFromGitRepo(
workspaceId, defaultArtifactId, repoName, branchName);
- return appReferenceMono.map(applicationReference -> {
+ return appReferenceMono.flatMap(applicationReference -> {
// Extract application metadata from the json
ApplicationJson metadata =
getApplicationResource(applicationReference.getMetadata(), ApplicationJson.class);
ApplicationJson applicationJson = getApplicationJsonFromGitReference(applicationReference);
copyNestedNonNullProperties(metadata, applicationJson);
- return applicationJson;
+ return jsonSchemaMigration.migrateApplicationJsonToLatestSchema(applicationJson);
});
}
+ protected <T> List<T> getApplicationResource(Map<String, Object> resources, Type type) {
+
+ List<T> deserializedResources = new ArrayList<>();
+ if (!CollectionUtils.isNullOrEmpty(resources)) {
+ for (Map.Entry<String, Object> resource : resources.entrySet()) {
+ deserializedResources.add(getApplicationResource(resource.getValue(), type));
+ }
+ }
+ return deserializedResources;
+ }
+
public <T> T getApplicationResource(Object resource, Type type) {
if (resource == null) {
return null;
@@ -534,4 +558,11 @@ private void setNewPagesInApplicationJson(
});
applicationJson.setPageList(pages);
}
+
+ @Override
+ public Path getRepoSuffixPath(String workspaceId, String artifactId, String repoName, @NonNull String... args) {
+ List<String> varargs = new ArrayList<>(List.of(artifactId, repoName));
+ varargs.addAll(List.of(args));
+ return Paths.get(workspaceId, varargs.toArray(new String[0]));
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsImpl.java
index 6f0ed1ed36ed..a5535c5f055d 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/ApplicationGitFileUtilsImpl.java
@@ -4,6 +4,7 @@
import com.appsmith.external.models.ApplicationGitReference;
import com.appsmith.server.actioncollections.base.ActionCollectionService;
import com.appsmith.server.helpers.ArtifactGitFileUtils;
+import com.appsmith.server.migrations.JsonSchemaMigration;
import com.appsmith.server.newactions.base.NewActionService;
import com.google.gson.Gson;
import org.springframework.stereotype.Component;
@@ -16,7 +17,8 @@ public ApplicationGitFileUtilsImpl(
Gson gson,
NewActionService newActionService,
FileInterface fileUtils,
+ JsonSchemaMigration jsonSchemaMigration,
ActionCollectionService actionCollectionService) {
- super(gson, newActionService, fileUtils, actionCollectionService);
+ super(gson, newActionService, fileUtils, jsonSchemaMigration, actionCollectionService);
}
}
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 b2c12e8a9f1d..4f96dee7d21d 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
@@ -186,6 +186,7 @@ public class FieldNameCE {
public static final String SUFFIX_USER_MANAGEMENT_ROLE = " User Management";
public static final String REPO_URL = "repoUrl";
+ public static final String REPO_NAME = "repoName";
public static final String GIT_HOSTING_PROVIDER = "gitHostingProvider";
public static final String IS_MERGEABLE = "isMergeable";
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/events/AutoCommitEvent.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/events/AutoCommitEvent.java
index 5d966b56bd39..e0793f821dda 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/events/AutoCommitEvent.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/events/AutoCommitEvent.java
@@ -31,4 +31,29 @@ public class AutoCommitEvent {
@ToString.Exclude
private String publicKey;
+
+ public AutoCommitEvent(
+ String applicationId,
+ String branchName,
+ String workspaceId,
+ String repoName,
+ String authorName,
+ String authorEmail,
+ String repoUrl,
+ String privateKey,
+ String publicKey) {
+ this.applicationId = applicationId;
+ this.branchName = branchName;
+ this.workspaceId = workspaceId;
+ this.repoName = repoName;
+ this.authorName = authorName;
+ this.authorEmail = authorEmail;
+ this.repoUrl = repoUrl;
+ this.privateKey = privateKey;
+ this.publicKey = publicKey;
+ }
+
+ // These flags are required to select what part of changes are required to be merged.
+ private Boolean isServerSideEvent;
+ private Boolean isClientSideEvent;
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ArtifactGitFileUtilsCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ArtifactGitFileUtilsCE.java
index 7d0ace2220d4..aa3723262518 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ArtifactGitFileUtilsCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ArtifactGitFileUtilsCE.java
@@ -2,8 +2,10 @@
import com.appsmith.external.models.ArtifactGitReference;
import com.appsmith.server.dtos.ArtifactExchangeJson;
+import lombok.NonNull;
import reactor.core.publisher.Mono;
+import java.nio.file.Path;
import java.util.Map;
public interface ArtifactGitFileUtilsCE<T extends ArtifactGitReference> {
@@ -17,4 +19,6 @@ void addArtifactReferenceFromExportedJson(
ArtifactExchangeJson artifactExchangeJson, ArtifactGitReference artifactGitReference);
Map<String, String> getConstantsMap();
+
+ Path getRepoSuffixPath(String workspaceId, String artifactId, String repoName, @NonNull String... args);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
index 95ca98c8ddee..55de15718a8e 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
@@ -40,6 +40,7 @@
import static com.appsmith.git.constants.CommonConstants.CLIENT_SCHEMA_VERSION;
import static com.appsmith.git.constants.CommonConstants.FILE_FORMAT_VERSION;
import static com.appsmith.git.constants.CommonConstants.SERVER_SCHEMA_VERSION;
+import static org.springframework.util.StringUtils.hasText;
@Slf4j
@RequiredArgsConstructor
@@ -283,7 +284,11 @@ public Mono<Long> deleteIndexLockFile(Path path) {
}
public Mono<Map<String, Integer>> reconstructMetadataFromRepo(
- String workspaceId, String applicationId, String repoName, String branchName, Path baseRepoSuffix) {
+ String workspaceId, String applicationId, String repoName, String branchName, ArtifactType artifactType) {
+
+ ArtifactGitFileUtils<?> artifactGitFileUtils = getArtifactBasedFileHelper(artifactType);
+ Path baseRepoSuffix = artifactGitFileUtils.getRepoSuffixPath(workspaceId, applicationId, repoName);
+
return fileUtils
.reconstructMetadataFromGitRepo(workspaceId, applicationId, repoName, branchName, baseRepoSuffix)
.onErrorResume(error -> Mono.error(
@@ -304,6 +309,46 @@ public Mono<Map<String, Integer>> reconstructMetadataFromRepo(
});
}
+ /**
+ * Provides the server schema version in the application json for the given branch
+ *
+ * @param workspaceId : workspaceId of the artifact
+ * @param defaultArtifactId : default branch id of the artifact
+ * @param branchName : current branch name of the artifact
+ * @param repoName : repository name
+ * @param artifactType : artifact type of this operation
+ * @return the server schema migration version number
+ */
+ public Mono<Integer> getMetadataServerSchemaMigrationVersion(
+ String workspaceId,
+ String defaultArtifactId,
+ String branchName,
+ String repoName,
+ ArtifactType artifactType) {
+
+ if (!hasText(workspaceId)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.WORKSPACE_ID));
+ }
+
+ if (!hasText(defaultArtifactId)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.ARTIFACT_ID));
+ }
+
+ if (!hasText(branchName)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.BRANCH_NAME));
+ }
+
+ if (!hasText(repoName)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.REPO_NAME));
+ }
+
+ return reconstructMetadataFromRepo(workspaceId, defaultArtifactId, branchName, repoName, artifactType)
+ .map(metadataMap -> {
+ return metadataMap.getOrDefault(
+ CommonConstants.SERVER_SCHEMA_VERSION, JsonSchemaVersions.serverVersion);
+ });
+ }
+
private Integer getServerSchemaVersion(JsonObject metadataJsonObject) {
if (metadataJsonObject == null) {
return JsonSchemaVersions.serverVersion;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelper.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelper.java
deleted file mode 100644
index 00052b2cf93a..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelper.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package com.appsmith.server.helpers.ce;
-
-import com.appsmith.server.dtos.AutoCommitProgressDTO;
-import reactor.core.publisher.Mono;
-
-public interface GitAutoCommitHelper {
- Mono<AutoCommitProgressDTO> getAutoCommitProgress(String applicationId);
-
- Mono<Boolean> autoCommitApplication(String defaultApplicationId, String branchName);
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImpl.java
deleted file mode 100644
index 5ce338791c9e..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImpl.java
+++ /dev/null
@@ -1,174 +0,0 @@
-package com.appsmith.server.helpers.ce;
-
-import com.appsmith.external.enums.FeatureFlagEnum;
-import com.appsmith.server.applications.base.ApplicationService;
-import com.appsmith.server.domains.Application;
-import com.appsmith.server.domains.GitArtifactMetadata;
-import com.appsmith.server.domains.GitProfile;
-import com.appsmith.server.dtos.AutoCommitProgressDTO;
-import com.appsmith.server.events.AutoCommitEvent;
-import com.appsmith.server.exceptions.AppsmithError;
-import com.appsmith.server.exceptions.AppsmithException;
-import com.appsmith.server.helpers.GitPrivateRepoHelper;
-import com.appsmith.server.helpers.GitUtils;
-import com.appsmith.server.helpers.RedisUtils;
-import com.appsmith.server.services.CommonGitService;
-import com.appsmith.server.services.FeatureFlagService;
-import com.appsmith.server.services.UserDataService;
-import com.appsmith.server.solutions.ApplicationPermission;
-import com.appsmith.server.solutions.AutoCommitEventHandler;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.context.annotation.Lazy;
-import org.springframework.stereotype.Service;
-import org.springframework.util.StringUtils;
-import reactor.core.publisher.Mono;
-
-@Slf4j
-@Service
-public class GitAutoCommitHelperImpl implements GitAutoCommitHelper {
- private final GitPrivateRepoHelper gitPrivateRepoHelper;
- private final AutoCommitEventHandler autoCommitEventHandler;
- private final UserDataService userDataService;
- private final FeatureFlagService featureFlagService;
- private final ApplicationService applicationService;
- private final ApplicationPermission applicationPermission;
- private final RedisUtils redisUtils;
- private final CommonGitService commonGitService;
-
- public GitAutoCommitHelperImpl(
- GitPrivateRepoHelper gitPrivateRepoHelper,
- AutoCommitEventHandler autoCommitEventHandler,
- UserDataService userDataService,
- FeatureFlagService featureFlagService,
- ApplicationService applicationService,
- ApplicationPermission applicationPermission,
- RedisUtils redisUtils,
- @Lazy CommonGitService commonGitService) {
- this.gitPrivateRepoHelper = gitPrivateRepoHelper;
- this.autoCommitEventHandler = autoCommitEventHandler;
- this.userDataService = userDataService;
- this.featureFlagService = featureFlagService;
- this.applicationService = applicationService;
- this.applicationPermission = applicationPermission;
- this.redisUtils = redisUtils;
- this.commonGitService = commonGitService;
- }
-
- @Override
- public Mono<AutoCommitProgressDTO> getAutoCommitProgress(String applicationId) {
- return redisUtils
- .getRunningAutoCommitBranchName(applicationId)
- .zipWith(redisUtils.getAutoCommitProgress(applicationId))
- .map(tuple2 -> {
- AutoCommitProgressDTO autoCommitProgressDTO = new AutoCommitProgressDTO(Boolean.TRUE);
- autoCommitProgressDTO.setBranchName(tuple2.getT1());
- autoCommitProgressDTO.setProgress(tuple2.getT2());
- return autoCommitProgressDTO;
- })
- .defaultIfEmpty(new AutoCommitProgressDTO(Boolean.FALSE));
- }
-
- @Override
- public Mono<Boolean> autoCommitApplication(String defaultApplicationId, String branchName) {
-
- // if either param is absent, then application is not connected to git.
- if (!StringUtils.hasText(branchName) || !StringUtils.hasText(defaultApplicationId)) {
- return Mono.just(Boolean.FALSE);
- }
-
- Mono<Application> applicationMono = applicationService
- .findById(defaultApplicationId, applicationPermission.getEditPermission())
- .cache();
-
- final String finalBranchName = branchName.replaceFirst("origin/", "");
-
- Mono<Application> branchedApplicationMono = applicationService
- .findByBranchNameAndDefaultApplicationId(
- finalBranchName, defaultApplicationId, applicationPermission.getEditPermission())
- .cache();
-
- Mono<Boolean> featureEnabledMono =
- featureFlagService.check(FeatureFlagEnum.release_git_autocommit_feature_enabled);
- Mono<Boolean> autoCommitDisabledForThisBranchMono = applicationMono.flatMap(application -> {
- if (GitUtils.isAutoCommitEnabled(application.getGitApplicationMetadata())) {
- return gitPrivateRepoHelper.isBranchProtected(application.getGitApplicationMetadata(), branchName);
- } else {
- return Mono.just(Boolean.TRUE);
- }
- });
- Mono<Boolean> isAutoCommitRunningMono = redisUtils
- .getRunningAutoCommitBranchName(defaultApplicationId)
- .map(a -> Boolean.TRUE)
- .switchIfEmpty(Mono.just(Boolean.FALSE));
-
- return isAutoCommitRunningMono
- .flatMap(isRunning -> {
- if (isRunning) {
- return Mono.error(new AppsmithException(AppsmithError.UNSUPPORTED_OPERATION));
- }
- return Mono.zip(featureEnabledMono, autoCommitDisabledForThisBranchMono)
- .flatMap(tuple -> {
- Boolean isFeatureEnabled = tuple.getT1();
- Boolean isAutoCommitDisabledForBranch = tuple.getT2();
- if (isFeatureEnabled && !isAutoCommitDisabledForBranch) {
- return Mono.zip(applicationMono, branchedApplicationMono);
- }
-
- log.debug(
- "auto commit is not applicable for application: {} branch: {} isFeatureEnabled: {}, isAutoCommitDisabledForBranch: {}",
- defaultApplicationId,
- branchName,
- isFeatureEnabled,
- isAutoCommitDisabledForBranch);
- return Mono.empty();
- })
- .flatMap(tuple2 -> {
- Application defaultApplication = tuple2.getT1();
- Application branchedApplication = tuple2.getT2();
- return commonGitService
- .fetchRemoteChanges(defaultApplication, branchedApplication, branchName, true)
- .flatMap(branchTrackingStatus -> {
- if (branchTrackingStatus.getBehindCount() > 0) {
- log.debug(
- "the remote is ahead of the local, aborting autocommit for application {} and branch {}",
- defaultApplicationId,
- branchName);
- return Mono.empty();
- }
-
- return Mono.just(defaultApplication);
- });
- })
- .zipWith(userDataService.getGitProfileForCurrentUser(defaultApplicationId))
- .map(objects -> {
- Application application = objects.getT1();
- GitProfile gitProfile = objects.getT2();
- GitArtifactMetadata gitArtifactMetadata = application.getGitApplicationMetadata();
-
- AutoCommitEvent autoCommitEvent = new AutoCommitEvent(
- defaultApplicationId,
- branchName,
- application.getWorkspaceId(),
- gitArtifactMetadata.getRepoName(),
- gitProfile.getAuthorName(),
- gitProfile.getAuthorEmail(),
- gitArtifactMetadata.getRemoteUrl(),
- gitArtifactMetadata.getGitAuth().getPrivateKey(),
- gitArtifactMetadata.getGitAuth().getPublicKey());
- // it's a synchronous call, no need to return anything
- autoCommitEventHandler.publish(autoCommitEvent);
- return Boolean.TRUE;
- });
- })
- .defaultIfEmpty(Boolean.FALSE)
- // we cannot throw exception from this flow because doing so will fail the main operation
- .onErrorResume(throwable -> {
- log.error(
- "Error during auto-commit for application: {}, branch: {}",
- defaultApplicationId,
- branchName,
- throwable);
- return Mono.just(Boolean.FALSE);
- });
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperImpl.java
new file mode 100644
index 000000000000..f086ef997dfe
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperImpl.java
@@ -0,0 +1,104 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.server.constants.ArtifactType;
+import com.appsmith.server.domains.GitArtifactMetadata;
+import com.appsmith.server.domains.Layout;
+import com.appsmith.server.dtos.PageDTO;
+import com.appsmith.server.helpers.CommonGitFileUtils;
+import com.appsmith.server.helpers.DSLMigrationUtils;
+import com.appsmith.server.helpers.GitUtils;
+import com.appsmith.server.migrations.JsonSchemaVersions;
+import lombok.RequiredArgsConstructor;
+import lombok.extern.slf4j.Slf4j;
+import net.minidev.json.JSONObject;
+import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
+
+import static java.lang.Boolean.FALSE;
+import static java.lang.Boolean.TRUE;
+
+@Slf4j
+@Component
+@RequiredArgsConstructor
+public class AutoCommitEligibilityHelperImpl implements AutoCommitEligibiltyHelper {
+
+ private final CommonGitFileUtils commonGitFileUtils;
+ private final DSLMigrationUtils dslMigrationUtils;
+
+ @Override
+ public Mono<Boolean> isServerAutoCommitRequired(String workspaceId, GitArtifactMetadata gitMetadata) {
+
+ String defaultApplicationId = gitMetadata.getDefaultArtifactId();
+ String branchName = gitMetadata.getBranchName();
+ String repoName = gitMetadata.getRepoName();
+
+ return commonGitFileUtils
+ .getMetadataServerSchemaMigrationVersion(
+ workspaceId, defaultApplicationId, branchName, repoName, ArtifactType.APPLICATION)
+ .map(serverSchemaVersion -> {
+ if (JsonSchemaVersions.serverVersion > serverSchemaVersion) {
+ return TRUE;
+ }
+
+ return FALSE;
+ })
+ .onErrorResume(error -> {
+ log.debug(
+ "error while retrieving the metadata for defaultApplicationId : {}, branchName : {}",
+ defaultApplicationId,
+ branchName);
+ return Mono.just(FALSE);
+ });
+ }
+
+ @Override
+ public Mono<Boolean> isClientMigrationRequired(PageDTO pageDTO) {
+ return dslMigrationUtils
+ .getLatestDslVersion()
+ .map(latestDslVersion -> {
+ // ensuring that the page has only one layout, as we don't support multiple layouts yet
+ // when multiple layouts are supported, this code will have to be updated
+ assert pageDTO.getLayouts().size() == 1;
+ Layout layout = pageDTO.getLayouts().get(0);
+ JSONObject layoutDsl = layout.getDsl();
+ return GitUtils.isMigrationRequired(layoutDsl, latestDslVersion);
+ })
+ .onErrorResume(error -> {
+ log.debug("Error fetching latest DSL version");
+ return Mono.just(Boolean.FALSE);
+ });
+ }
+
+ @Override
+ public Mono<AutoCommitTriggerDTO> isAutoCommitRequired(
+ String workspaceId, GitArtifactMetadata gitArtifactMetadata, PageDTO pageDTO) {
+ String defaultApplicationId = gitArtifactMetadata.getDefaultArtifactId();
+ String branchName = gitArtifactMetadata.getBranchName();
+
+ Mono<Boolean> isClientAutocommitRequiredMono =
+ isClientMigrationRequired(pageDTO).defaultIfEmpty(FALSE);
+
+ Mono<Boolean> isServerAutocommitRequiredMono = isServerAutoCommitRequired(workspaceId, gitArtifactMetadata)
+ .defaultIfEmpty(FALSE)
+ .onErrorResume(error -> {
+ log.debug(
+ "Error in checking server migration for application id : {} branch name : {}",
+ defaultApplicationId,
+ branchName);
+ return Mono.just(Boolean.FALSE);
+ });
+
+ return isServerAutocommitRequiredMono
+ .zipWith(isClientAutocommitRequiredMono)
+ .map(tuple2 -> {
+ Boolean serverFlag = tuple2.getT1();
+ Boolean clientFlag = tuple2.getT2();
+
+ AutoCommitTriggerDTO autoCommitTriggerDTO = new AutoCommitTriggerDTO();
+ autoCommitTriggerDTO.setIsClientAutoCommitRequired(TRUE.equals(clientFlag));
+ autoCommitTriggerDTO.setIsServerAutoCommitRequired(TRUE.equals(serverFlag));
+ autoCommitTriggerDTO.setIsAutoCommitRequired((TRUE.equals(serverFlag) || TRUE.equals(clientFlag)));
+ return autoCommitTriggerDTO;
+ });
+ }
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibiltyHelper.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibiltyHelper.java
new file mode 100644
index 000000000000..4588a314e9aa
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibiltyHelper.java
@@ -0,0 +1,15 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.server.domains.GitArtifactMetadata;
+import com.appsmith.server.dtos.PageDTO;
+import reactor.core.publisher.Mono;
+
+public interface AutoCommitEligibiltyHelper {
+
+ Mono<Boolean> isServerAutoCommitRequired(String workspaceId, GitArtifactMetadata gitMetadata);
+
+ Mono<Boolean> isClientMigrationRequired(PageDTO pageDTO);
+
+ Mono<AutoCommitTriggerDTO> isAutoCommitRequired(
+ String workspaceId, GitArtifactMetadata gitArtifactMetadata, PageDTO pageDTO);
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitTriggerDTO.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitTriggerDTO.java
new file mode 100644
index 000000000000..a29b20152779
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitTriggerDTO.java
@@ -0,0 +1,13 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import lombok.Data;
+
+@Data
+public class AutoCommitTriggerDTO {
+
+ private Boolean isAutoCommitRequired;
+
+ private Boolean isClientAutoCommitRequired;
+
+ private Boolean isServerAutoCommitRequired;
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelper.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelper.java
new file mode 100644
index 000000000000..85097b30a896
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelper.java
@@ -0,0 +1,16 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.server.dtos.AutoCommitProgressDTO;
+import reactor.core.publisher.Mono;
+
+public interface GitAutoCommitHelper {
+
+ Mono<AutoCommitProgressDTO> getAutoCommitProgress(String applicationId);
+
+ Mono<Boolean> autoCommitClientMigration(String defaultApplicationId, String branchName);
+
+ Mono<Boolean> autoCommitServerMigration(String defaultApplicationId, String branchName);
+
+ Mono<Boolean> autoCommitApplication(
+ AutoCommitTriggerDTO autoCommitTriggerDTO, String defaultApplicationId, String branchName);
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperFallbackImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperFallbackImpl.java
new file mode 100644
index 000000000000..4d3a91b3e1b6
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperFallbackImpl.java
@@ -0,0 +1,30 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.server.dtos.AutoCommitProgressDTO;
+import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
+
+@Component
+public class GitAutoCommitHelperFallbackImpl implements GitAutoCommitHelper {
+
+ @Override
+ public Mono<Boolean> autoCommitClientMigration(String defaultApplicationId, String branchName) {
+ return Mono.just(Boolean.FALSE);
+ }
+
+ @Override
+ public Mono<Boolean> autoCommitServerMigration(String defaultApplicationId, String branchName) {
+ return Mono.just(Boolean.FALSE);
+ }
+
+ @Override
+ public Mono<AutoCommitProgressDTO> getAutoCommitProgress(String applicationId) {
+ return Mono.empty();
+ }
+
+ @Override
+ public Mono<Boolean> autoCommitApplication(
+ AutoCommitTriggerDTO autoCommitTriggerDTO, String defaultApplicationId, String branchName) {
+ return Mono.just(Boolean.FALSE);
+ }
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImpl.java
new file mode 100644
index 000000000000..aded5bcc1553
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImpl.java
@@ -0,0 +1,221 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.external.annotations.FeatureFlagged;
+import com.appsmith.external.enums.FeatureFlagEnum;
+import com.appsmith.server.applications.base.ApplicationService;
+import com.appsmith.server.domains.Application;
+import com.appsmith.server.domains.GitArtifactMetadata;
+import com.appsmith.server.domains.GitProfile;
+import com.appsmith.server.dtos.AutoCommitProgressDTO;
+import com.appsmith.server.events.AutoCommitEvent;
+import com.appsmith.server.helpers.GitPrivateRepoHelper;
+import com.appsmith.server.helpers.GitUtils;
+import com.appsmith.server.helpers.RedisUtils;
+import com.appsmith.server.services.CommonGitService;
+import com.appsmith.server.services.UserDataService;
+import com.appsmith.server.solutions.ApplicationPermission;
+import com.appsmith.server.solutions.AutoCommitEventHandler;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.context.annotation.Lazy;
+import org.springframework.context.annotation.Primary;
+import org.springframework.stereotype.Service;
+import org.springframework.util.StringUtils;
+import reactor.core.publisher.Mono;
+
+@Slf4j
+@Primary
+@Service
+public class GitAutoCommitHelperImpl extends GitAutoCommitHelperFallbackImpl implements GitAutoCommitHelper {
+ private final GitPrivateRepoHelper gitPrivateRepoHelper;
+ private final AutoCommitEventHandler autoCommitEventHandler;
+ private final UserDataService userDataService;
+ private final ApplicationService applicationService;
+ private final ApplicationPermission applicationPermission;
+ private final RedisUtils redisUtils;
+ private final CommonGitService commonGitService;
+
+ public GitAutoCommitHelperImpl(
+ GitPrivateRepoHelper gitPrivateRepoHelper,
+ AutoCommitEventHandler autoCommitEventHandler,
+ UserDataService userDataService,
+ ApplicationService applicationService,
+ ApplicationPermission applicationPermission,
+ RedisUtils redisUtils,
+ @Lazy CommonGitService commonGitService) {
+ this.gitPrivateRepoHelper = gitPrivateRepoHelper;
+ this.autoCommitEventHandler = autoCommitEventHandler;
+ this.userDataService = userDataService;
+ this.applicationService = applicationService;
+ this.applicationPermission = applicationPermission;
+ this.redisUtils = redisUtils;
+ this.commonGitService = commonGitService;
+ }
+
+ @Override
+ public Mono<AutoCommitProgressDTO> getAutoCommitProgress(String applicationId) {
+ return redisUtils
+ .getRunningAutoCommitBranchName(applicationId)
+ .zipWith(redisUtils.getAutoCommitProgress(applicationId))
+ .map(tuple2 -> {
+ AutoCommitProgressDTO autoCommitProgressDTO = new AutoCommitProgressDTO(Boolean.TRUE);
+ autoCommitProgressDTO.setBranchName(tuple2.getT1());
+ autoCommitProgressDTO.setProgress(tuple2.getT2());
+ return autoCommitProgressDTO;
+ })
+ .defaultIfEmpty(new AutoCommitProgressDTO(Boolean.FALSE));
+ }
+
+ /**
+ * This method finds if the application could be processed for autocommit.
+ * @param defaultApplication: the default application for the git
+ * @param branchName: branch name
+ * @return a flag denoting whether the application is good to be committed.
+ */
+ private Mono<Boolean> isAutoCommitAllowed(Application defaultApplication, String branchName) {
+ String defaultApplicationId = defaultApplication.getId();
+
+ if (!GitUtils.isAutoCommitEnabled(defaultApplication.getGitApplicationMetadata())) {
+ log.debug("auto commit is disabled for application: {}", defaultApplicationId);
+ return Mono.just(Boolean.FALSE);
+ }
+
+ Mono<Boolean> isBranchProtectedMono =
+ gitPrivateRepoHelper.isBranchProtected(defaultApplication.getGitApplicationMetadata(), branchName);
+
+ Mono<Boolean> isAutoCommitRunningMono = redisUtils
+ .getRunningAutoCommitBranchName(defaultApplicationId)
+ .map(a -> Boolean.TRUE)
+ .switchIfEmpty(Mono.just(Boolean.FALSE));
+
+ return Mono.zip(isBranchProtectedMono, isAutoCommitRunningMono)
+ .flatMap(tuple -> {
+ Boolean isBranchProtected = tuple.getT1();
+ Boolean isAutoCommitRunning = tuple.getT2();
+
+ if (isBranchProtected || isAutoCommitRunning) {
+ log.debug(
+ "auto commit is not applicable for application: {} branch: {}, isAutoCommitDisabledForBranch: {}",
+ defaultApplicationId,
+ branchName,
+ isBranchProtected);
+ return Mono.just(Boolean.FALSE);
+ }
+
+ return Mono.just(Boolean.TRUE);
+ })
+ .switchIfEmpty(Mono.just(Boolean.FALSE));
+ }
+
+ @Override
+ @FeatureFlagged(featureFlagName = FeatureFlagEnum.release_git_autocommit_feature_enabled)
+ public Mono<Boolean> autoCommitClientMigration(String defaultApplicationId, String branchName) {
+ return autoCommitApplication(defaultApplicationId, branchName, Boolean.TRUE);
+ }
+
+ @Override
+ @FeatureFlagged(featureFlagName = FeatureFlagEnum.release_git_server_autocommit_feature_enabled)
+ public Mono<Boolean> autoCommitServerMigration(String defaultApplicationId, String branchName) {
+ return autoCommitApplication(defaultApplicationId, branchName, Boolean.FALSE);
+ }
+
+ public Mono<Boolean> autoCommitApplication(
+ String defaultApplicationId, String branchName, Boolean isClientMigration) {
+
+ // if either param is absent, then application is not connected to git.
+ if (!StringUtils.hasText(branchName) || !StringUtils.hasText(defaultApplicationId)) {
+ return Mono.just(Boolean.FALSE);
+ }
+
+ final String finalBranchName = branchName.replaceFirst("origin/", "");
+
+ Mono<Application> applicationMono = applicationService
+ .findById(defaultApplicationId, applicationPermission.getEditPermission())
+ .cache();
+
+ Mono<Application> branchedApplicationMono = applicationService
+ .findByBranchNameAndDefaultApplicationId(
+ finalBranchName, defaultApplicationId, applicationPermission.getEditPermission())
+ .cache();
+
+ return applicationMono
+ .flatMap(defaultApplication -> {
+ return isAutoCommitAllowed(defaultApplication, finalBranchName)
+ .flatMap(isEligible -> {
+ if (!Boolean.TRUE.equals(isEligible)) {
+ return Mono.empty();
+ }
+
+ return Mono.zip(applicationMono, branchedApplicationMono);
+ });
+ })
+ .flatMap(tuple2 -> {
+ Application defaultApplication = tuple2.getT1();
+ Application branchedApplication = tuple2.getT2();
+ return commonGitService
+ .fetchRemoteChanges(defaultApplication, branchedApplication, finalBranchName, true)
+ .flatMap(branchTrackingStatus -> {
+ if (branchTrackingStatus.getBehindCount() > 0) {
+ log.debug(
+ "the remote is ahead of the local, aborting autocommit for application {} and branch {}",
+ defaultApplicationId,
+ branchName);
+ return Mono.empty();
+ }
+ return Mono.just(defaultApplication)
+ .zipWith(userDataService.getGitProfileForCurrentUser(defaultApplicationId));
+ });
+ })
+ .map(objects -> {
+ Application application = objects.getT1();
+ GitProfile gitProfile = objects.getT2();
+ GitArtifactMetadata gitArtifactMetadata = application.getGitApplicationMetadata();
+ AutoCommitEvent autoCommitEvent = new AutoCommitEvent(
+ defaultApplicationId,
+ branchName,
+ application.getWorkspaceId(),
+ gitArtifactMetadata.getRepoName(),
+ gitProfile.getAuthorName(),
+ gitProfile.getAuthorEmail(),
+ gitArtifactMetadata.getRemoteUrl(),
+ gitArtifactMetadata.getGitAuth().getPrivateKey(),
+ gitArtifactMetadata.getGitAuth().getPublicKey());
+
+ if (Boolean.TRUE.equals(isClientMigration)) {
+ autoCommitEvent.setIsClientSideEvent(Boolean.TRUE);
+ } else {
+ autoCommitEvent.setIsServerSideEvent(Boolean.TRUE);
+ }
+
+ // it's a synchronous call, no need to return anything
+ autoCommitEventHandler.publish(autoCommitEvent);
+ return Boolean.TRUE;
+ })
+ .defaultIfEmpty(Boolean.FALSE)
+ // we cannot throw exception from this flow because doing so will fail the main operation
+ .onErrorResume(throwable -> {
+ log.error(
+ "Error during auto-commit for application: {}, branch: {}",
+ defaultApplicationId,
+ branchName,
+ throwable);
+ return Mono.just(Boolean.FALSE);
+ });
+ }
+
+ public Mono<Boolean> autoCommitApplication(
+ AutoCommitTriggerDTO autoCommitTriggerDTO, String defaultApplicationId, String branchName) {
+
+ if (!Boolean.TRUE.equals(autoCommitTriggerDTO.getIsAutoCommitRequired())) {
+ return Mono.just(Boolean.FALSE);
+ }
+
+ // Since server autocommit is a subset of the client migration, hence if only the client migration
+ // is true then we can only go ahead with client migration.
+ if (Boolean.TRUE.equals(autoCommitTriggerDTO.getIsClientAutoCommitRequired())) {
+ return autoCommitClientMigration(defaultApplicationId, branchName);
+ }
+
+ // at this point only server flag could be true.
+ return autoCommitServerMigration(defaultApplicationId, branchName);
+ }
+}
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 3b144367a027..0229867cf4b7 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
@@ -23,7 +23,7 @@
import com.appsmith.server.helpers.ImportExportUtils;
import com.appsmith.server.imports.importable.ImportableService;
import com.appsmith.server.imports.internal.artifactbased.ArtifactBasedImportService;
-import com.appsmith.server.migrations.ArtifactSchemaMigration;
+import com.appsmith.server.migrations.JsonSchemaMigration;
import com.appsmith.server.repositories.PermissionGroupRepository;
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.SessionUserService;
@@ -420,8 +420,7 @@ private Mono<Artifact> importArtifactInWorkspace(
String artifactContextString = artifactSpecificConstantsMap.get(FieldName.ARTIFACT_CONTEXT);
// step 1: Schema Migration
- ArtifactExchangeJson importedDoc =
- ArtifactSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(artifactExchangeJson);
+ ArtifactExchangeJson importedDoc = JsonSchemaMigration.migrateArtifactToLatestSchema(artifactExchangeJson);
// Step 2: Validation of artifact Json
// check for validation error and raise exception if error found
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigration.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigration.java
deleted file mode 100644
index d5e9cf642e1d..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigration.java
+++ /dev/null
@@ -1,3 +0,0 @@
-package com.appsmith.server.migrations;
-
-public class ArtifactSchemaMigration extends ArtifactSchemaMigrationCE {}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigrationCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigrationCE.java
deleted file mode 100644
index d8eafbce43d5..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/ArtifactSchemaMigrationCE.java
+++ /dev/null
@@ -1,105 +0,0 @@
-package com.appsmith.server.migrations;
-
-import com.appsmith.server.constants.ArtifactType;
-import com.appsmith.server.dtos.ApplicationJson;
-import com.appsmith.server.dtos.ArtifactExchangeJson;
-import com.appsmith.server.exceptions.AppsmithError;
-import com.appsmith.server.exceptions.AppsmithException;
-import com.appsmith.server.helpers.CollectionUtils;
-
-public class ArtifactSchemaMigrationCE {
-
- private static boolean checkCompatibility(ArtifactExchangeJson artifactExchangeJson) {
- return (artifactExchangeJson.getClientSchemaVersion() <= JsonSchemaVersions.clientVersion)
- && (artifactExchangeJson.getServerSchemaVersion() <= JsonSchemaVersions.serverVersion);
- }
-
- public static ArtifactExchangeJson migrateArtifactExchangeJsonToLatestSchema(
- ArtifactExchangeJson artifactExchangeJson) {
- // Check if the schema versions are available and set to initial version if not present
- Integer serverSchemaVersion = artifactExchangeJson.getServerSchemaVersion() == null
- ? 0
- : artifactExchangeJson.getServerSchemaVersion();
- Integer clientSchemaVersion = artifactExchangeJson.getClientSchemaVersion() == null
- ? 0
- : artifactExchangeJson.getClientSchemaVersion();
-
- artifactExchangeJson.setClientSchemaVersion(clientSchemaVersion);
- artifactExchangeJson.setServerSchemaVersion(serverSchemaVersion);
- if (!checkCompatibility(artifactExchangeJson)) {
- throw new AppsmithException(AppsmithError.INCOMPATIBLE_IMPORTED_JSON);
- }
-
- migrateClientAndServerSchemas(artifactExchangeJson);
- return artifactExchangeJson;
- }
-
- /**
- * This method migrates the client & 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
- */
- private static void migrateClientAndServerSchemas(ArtifactExchangeJson artifactExchangeJson) {
- if (ArtifactType.APPLICATION.equals(artifactExchangeJson.getArtifactJsonType())) {
- migrateApplicationJsonClientSchema((ApplicationJson) artifactExchangeJson);
- migrateApplicationJsonServerSchema((ApplicationJson) artifactExchangeJson);
- }
- }
-
- private static ApplicationJson migrateApplicationJsonServerSchema(ApplicationJson applicationJson) {
- if (JsonSchemaVersions.serverVersion.equals(applicationJson.getServerSchemaVersion())) {
- // No need to run server side migration
- return applicationJson;
- }
- // Run migration linearly
- // Updating the schema version after each migration is not required as we are not exiting by breaking the switch
- // cases, but this keeps the version number and the migration in sync
- switch (applicationJson.getServerSchemaVersion()) {
- case 0:
-
- case 1:
- // Migration for deprecating archivedAt field in ActionDTO
- if (!CollectionUtils.isNullOrEmpty(applicationJson.getActionList())) {
- MigrationHelperMethods.updateArchivedAtByDeletedATForActions(applicationJson.getActionList());
- }
- applicationJson.setServerSchemaVersion(2);
- case 2:
- // Migration for converting formData elements to one that supports viewType
- MigrationHelperMethods.migrateActionFormDataToObject(applicationJson);
- applicationJson.setServerSchemaVersion(3);
- case 3:
- // File structure migration to update git directory structure
- applicationJson.setServerSchemaVersion(4);
- case 4:
- // Remove unwanted fields from DTO and allow serialization for JsonIgnore fields
- if (!CollectionUtils.isNullOrEmpty(applicationJson.getPageList())
- && applicationJson.getExportedApplication() != null) {
- MigrationHelperMethods.arrangeApplicationPagesAsPerImportedPageOrder(applicationJson);
- MigrationHelperMethods.updateMongoEscapedWidget(applicationJson);
- }
- if (!CollectionUtils.isNullOrEmpty(applicationJson.getActionList())) {
- MigrationHelperMethods.updateUserSetOnLoadAction(applicationJson);
- }
- applicationJson.setServerSchemaVersion(5);
- case 5:
- MigrationHelperMethods.migrateGoogleSheetsActionsToUqi(applicationJson);
- applicationJson.setServerSchemaVersion(6);
- case 6:
- MigrationHelperMethods.ensureXmlParserPresenceInCustomJsLibList(applicationJson);
- applicationJson.setServerSchemaVersion(7);
- default:
- // Unable to detect the serverSchema
- }
- return applicationJson;
- }
-
- private static ApplicationJson migrateApplicationJsonClientSchema(ApplicationJson applicationJson) {
- if (JsonSchemaVersions.clientVersion.equals(applicationJson.getClientSchemaVersion())) {
- // No need to run client side migration
- return applicationJson;
- }
- // Today server is not responsible to run the client side DSL migration but this can be useful if we start
- // supporting this on server side
- return applicationJson;
- }
-}
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 8eac62299c22..ff883653a438 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
@@ -1,33 +1,88 @@
package com.appsmith.server.migrations;
+import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.dtos.ApplicationJson;
+import com.appsmith.server.dtos.ArtifactExchangeJson;
import com.appsmith.server.exceptions.AppsmithError;
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.helpers.CollectionUtils;
+import lombok.RequiredArgsConstructor;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
+@Slf4j
+@Component
+@RequiredArgsConstructor
public class JsonSchemaMigration {
- private static boolean checkCompatibility(ApplicationJson applicationJson) {
+
+ private static boolean isCompatible(ApplicationJson applicationJson) {
return (applicationJson.getClientSchemaVersion() <= JsonSchemaVersions.clientVersion)
&& (applicationJson.getServerSchemaVersion() <= JsonSchemaVersions.serverVersion);
}
- public static ApplicationJson migrateApplicationToLatestSchema(ApplicationJson applicationJson) {
- // Check if the schema versions are available and set to initial version if not present
- Integer serverSchemaVersion =
- applicationJson.getServerSchemaVersion() == null ? 0 : applicationJson.getServerSchemaVersion();
- Integer clientSchemaVersion =
- applicationJson.getClientSchemaVersion() == null ? 0 : applicationJson.getClientSchemaVersion();
+ private static void setSchemaVersions(ApplicationJson applicationJson) {
+ applicationJson.setServerSchemaVersion(getCorrectSchemaVersion(applicationJson.getServerSchemaVersion()));
+ applicationJson.setClientSchemaVersion(getCorrectSchemaVersion(applicationJson.getClientSchemaVersion()));
+ }
+
+ private static Integer getCorrectSchemaVersion(Integer schemaVersion) {
+ return schemaVersion == null ? 0 : 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
+ */
+ public Mono<? extends ArtifactExchangeJson> migrateArtifactExchangeJsonToLatestSchema(
+ ArtifactExchangeJson artifactExchangeJson) {
- applicationJson.setClientSchemaVersion(clientSchemaVersion);
- applicationJson.setServerSchemaVersion(serverSchemaVersion);
- if (!checkCompatibility(applicationJson)) {
+ if (ArtifactType.APPLICATION.equals(artifactExchangeJson.getArtifactJsonType())) {
+ return migrateApplicationJsonToLatestSchema((ApplicationJson) artifactExchangeJson);
+ }
+
+ return Mono.fromCallable(() -> artifactExchangeJson);
+ }
+
+ public Mono<ApplicationJson> migrateApplicationJsonToLatestSchema(ApplicationJson applicationJson) {
+ return Mono.fromCallable(() -> {
+ setSchemaVersions(applicationJson);
+ if (isCompatible(applicationJson)) {
+ return migrateServerSchema(applicationJson);
+ }
+
+ return null;
+ })
+ .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
+ public static 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);
}
- migrateServerSchema(applicationJson);
- migrateClientSchema(applicationJson);
- return applicationJson;
+ return migrateServerSchema(applicationJson);
}
+ /**
+ * This method may be moved to the publisher chain itself
+ * @param applicationJson : applicationJson which needs to be transformed
+ * @return : transformed applicationJson
+ */
private static ApplicationJson migrateServerSchema(ApplicationJson applicationJson) {
if (JsonSchemaVersions.serverVersion.equals(applicationJson.getServerSchemaVersion())) {
// No need to run server side migration
@@ -75,14 +130,4 @@ private static ApplicationJson migrateServerSchema(ApplicationJson applicationJs
}
return applicationJson;
}
-
- private static ApplicationJson migrateClientSchema(ApplicationJson applicationJson) {
- if (JsonSchemaVersions.clientVersion.equals(applicationJson.getClientSchemaVersion())) {
- // No need to run client side migration
- return applicationJson;
- }
- // Today server is not responsible to run the client side DSL migration but this can be useful if we start
- // supporting this on server side
- return applicationJson;
- }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationPageServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationPageServiceImpl.java
index 18cdb17a49a6..6472fb6c943a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationPageServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationPageServiceImpl.java
@@ -9,7 +9,8 @@
import com.appsmith.server.helpers.DSLMigrationUtils;
import com.appsmith.server.helpers.GitFileUtils;
import com.appsmith.server.helpers.ResponseUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.AutoCommitEligibiltyHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.layouts.UpdateLayoutService;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.newpages.base.NewPageService;
@@ -63,9 +64,9 @@ public ApplicationPageServiceImpl(
DatasourcePermission datasourcePermission,
DSLMigrationUtils dslMigrationUtils,
GitAutoCommitHelper gitAutoCommitHelper,
+ AutoCommitEligibiltyHelper autoCommitEligibiltyHelper,
ClonePageService<NewAction> actionClonePageService,
ClonePageService<ActionCollection> actionCollectionClonePageService) {
-
super(
workspaceService,
applicationService,
@@ -95,6 +96,7 @@ public ApplicationPageServiceImpl(
datasourcePermission,
dslMigrationUtils,
gitAutoCommitHelper,
+ autoCommitEligibiltyHelper,
actionClonePageService,
actionCollectionClonePageService);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CommonGitServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CommonGitServiceImpl.java
index 9e7e2d8c26bd..447fcdb56091 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CommonGitServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CommonGitServiceImpl.java
@@ -8,7 +8,7 @@
import com.appsmith.server.helpers.CommonGitFileUtils;
import com.appsmith.server.helpers.GitPrivateRepoHelper;
import com.appsmith.server.helpers.RedisUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.repositories.GitDeployKeysRepository;
import com.appsmith.server.services.ce_compatible.CommonGitServiceCECompatibleImpl;
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 53da2f652a30..bb758f934198 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
@@ -11,7 +11,7 @@
import com.appsmith.server.helpers.GitPrivateRepoHelper;
import com.appsmith.server.helpers.RedisUtils;
import com.appsmith.server.helpers.ResponseUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.newpages.base.NewPageService;
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 823c1dc6e886..ab2b974b5252 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
@@ -40,7 +40,8 @@
import com.appsmith.server.helpers.GitUtils;
import com.appsmith.server.helpers.ResponseUtils;
import com.appsmith.server.helpers.UserPermissionUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.AutoCommitEligibiltyHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.layouts.UpdateLayoutService;
import com.appsmith.server.migrations.ApplicationVersion;
import com.appsmith.server.newactions.base.NewActionService;
@@ -127,6 +128,7 @@ public class ApplicationPageServiceCEImpl implements ApplicationPageServiceCE {
private final DatasourcePermission datasourcePermission;
private final DSLMigrationUtils dslMigrationUtils;
private final GitAutoCommitHelper gitAutoCommitHelper;
+ private final AutoCommitEligibiltyHelper autoCommitEligibiltyHelper;
private final ClonePageService<NewAction> actionClonePageService;
private final ClonePageService<ActionCollection> actionCollectionClonePageService;
@@ -329,13 +331,15 @@ private Mono<Boolean> migrateSchemasForGitConnectedApps(Application application,
return Mono.just(Boolean.FALSE);
}
+ GitArtifactMetadata gitMetadata = application.getGitArtifactMetadata();
+
if (application.getGitArtifactMetadata() == null) {
return Mono.just(Boolean.FALSE);
}
- GitArtifactMetadata gitMetadata = application.getGitArtifactMetadata();
String defaultApplicationId = gitMetadata.getDefaultArtifactId();
String branchName = gitMetadata.getBranchName();
+ String workspaceId = application.getWorkspaceId();
if (!StringUtils.hasText(branchName)) {
log.debug(
@@ -352,29 +356,19 @@ private Mono<Boolean> migrateSchemasForGitConnectedApps(Application application,
// since this method is only called when the app is in edit mode
Mono<PageDTO> pageDTOMono = getPage(newPages.get(0), false);
- return pageDTOMono
- .zipWith(dslMigrationUtils.getLatestDslVersion())
- .onErrorMap(throwable -> {
- log.error("Error fetching latest DSL version", throwable);
- return new AppsmithException(AppsmithError.RTS_SERVER_ERROR, "Error fetching latest DSL version");
- })
- .flatMap(tuple2 -> {
- PageDTO pageDTO = tuple2.getT1();
- Integer latestDslVersion = tuple2.getT2();
- // ensuring that the page has only one layout, as we don't support multiple layouts yet
- // when multiple layouts are supported, this code will have to be updated
- assert pageDTO.getLayouts().size() == 1;
- Layout layout = pageDTO.getLayouts().get(0);
- JSONObject layoutDsl = layout.getDsl();
- boolean isMigrationRequired = GitUtils.isMigrationRequired(layoutDsl, latestDslVersion);
- if (isMigrationRequired) {
- // Triggering the autocommit
- return gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName);
- }
+ return pageDTOMono.flatMap(pageDTO -> {
+ return autoCommitEligibiltyHelper
+ .isAutoCommitRequired(workspaceId, gitMetadata, pageDTO)
+ .flatMap(autoCommitTriggerDTO -> {
+ if (Boolean.TRUE.equals(autoCommitTriggerDTO.getIsAutoCommitRequired())) {
+ return gitAutoCommitHelper.autoCommitApplication(
+ autoCommitTriggerDTO, defaultApplicationId, branchName);
+ }
- return Mono.just(Boolean.FALSE);
- });
+ return Mono.just(Boolean.FALSE);
+ });
+ });
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CommonGitServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CommonGitServiceCEImpl.java
index 801d8800bc77..11add1027d34 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CommonGitServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CommonGitServiceCEImpl.java
@@ -41,7 +41,7 @@
import com.appsmith.server.helpers.GitPrivateRepoHelper;
import com.appsmith.server.helpers.GitUtils;
import com.appsmith.server.helpers.RedisUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.repositories.GitDeployKeysRepository;
import com.appsmith.server.services.AnalyticsService;
@@ -102,6 +102,7 @@
import static java.lang.Boolean.FALSE;
import static java.lang.Boolean.TRUE;
import static org.apache.commons.lang.ObjectUtils.defaultIfNull;
+import static org.springframework.util.StringUtils.hasText;
@Slf4j
@Service
@@ -2030,7 +2031,7 @@ public Mono<GitPullDTO> pullArtifact(String defaultArtifactId, String branchName
* 4.Get the latest artifact from the DB and send it back to client
* */
- if (!org.springframework.util.StringUtils.hasText(branchName)) {
+ if (!hasText(branchName)) {
return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, branchName));
}
@@ -3370,7 +3371,7 @@ public Mono<List<String>> getProtectedBranches(String defaultArtifactId, Artifac
*/
@Override
public Mono<Boolean> autoCommitApplication(String defaultArtifactId, String branchName, ArtifactType artifactType) {
- return gitAutoCommitHelper.autoCommitApplication(defaultArtifactId, branchName);
+ return gitAutoCommitHelper.autoCommitClientMigration(defaultArtifactId, branchName);
}
@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 b2fad0534970..c9ac82a704d8 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
@@ -50,7 +50,7 @@
import com.appsmith.server.helpers.GitUtils;
import com.appsmith.server.helpers.RedisUtils;
import com.appsmith.server.helpers.ResponseUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.migrations.JsonSchemaVersions;
import com.appsmith.server.newactions.base.NewActionService;
@@ -3358,7 +3358,7 @@ public Mono<List<String>> getProtectedBranches(String defaultApplicationId) {
@Override
public Mono<Boolean> autoCommitApplication(String defaultApplicationId, String branchName) {
- return gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName);
+ return gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName);
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/CommonGitServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/CommonGitServiceCECompatibleImpl.java
index 040fec47d0bb..bc073db5922a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/CommonGitServiceCECompatibleImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/CommonGitServiceCECompatibleImpl.java
@@ -7,7 +7,7 @@
import com.appsmith.server.helpers.CommonGitFileUtils;
import com.appsmith.server.helpers.GitPrivateRepoHelper;
import com.appsmith.server.helpers.RedisUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.repositories.GitDeployKeysRepository;
import com.appsmith.server.services.AnalyticsService;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/GitServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/GitServiceCECompatibleImpl.java
index e00df72189d9..10bd0e19aea7 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/GitServiceCECompatibleImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/GitServiceCECompatibleImpl.java
@@ -10,7 +10,7 @@
import com.appsmith.server.helpers.GitPrivateRepoHelper;
import com.appsmith.server.helpers.RedisUtils;
import com.appsmith.server.helpers.ResponseUtils;
-import com.appsmith.server.helpers.ce.GitAutoCommitHelper;
+import com.appsmith.server.helpers.ce.autocommit.GitAutoCommitHelper;
import com.appsmith.server.imports.internal.ImportService;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.newpages.base.NewPageService;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/AutoCommitEventHandlerImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/AutoCommitEventHandlerImpl.java
index e12aad9ab2cd..006e15a60609 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/AutoCommitEventHandlerImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/AutoCommitEventHandlerImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.external.git.GitExecutor;
import com.appsmith.server.configurations.ProjectProperties;
+import com.appsmith.server.helpers.CommonGitFileUtils;
import com.appsmith.server.helpers.DSLMigrationUtils;
import com.appsmith.server.helpers.GitFileUtils;
import com.appsmith.server.helpers.RedisUtils;
@@ -18,6 +19,7 @@ public AutoCommitEventHandlerImpl(
RedisUtils redisUtils,
DSLMigrationUtils dslMigrationUtils,
GitFileUtils fileUtils,
+ CommonGitFileUtils commonGitFileUtils,
GitExecutor gitExecutor,
ProjectProperties projectProperties,
AnalyticsService analyticsService) {
@@ -26,6 +28,7 @@ public AutoCommitEventHandlerImpl(
redisUtils,
dslMigrationUtils,
fileUtils,
+ commonGitFileUtils,
gitExecutor,
projectProperties,
analyticsService);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCE.java
index f4573a2c36be..07da53f8bcb3 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCE.java
@@ -9,4 +9,6 @@ public interface AutoCommitEventHandlerCE {
void handle(AutoCommitEvent event);
Mono<Boolean> autoCommitDSLMigration(AutoCommitEvent autoCommitEvent);
+
+ Mono<Boolean> autoCommitServerMigration(AutoCommitEvent autoCommitEvent);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCEImpl.java
index ef28b86593d7..764fcbfa6de8 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AutoCommitEventHandlerCEImpl.java
@@ -4,6 +4,7 @@
import com.appsmith.external.dtos.ModifiedResources;
import com.appsmith.external.git.GitExecutor;
import com.appsmith.server.configurations.ProjectProperties;
+import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.domains.Layout;
import com.appsmith.server.domains.NewPage;
@@ -12,6 +13,7 @@
import com.appsmith.server.exceptions.AppsmithError;
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.helpers.CollectionUtils;
+import com.appsmith.server.helpers.CommonGitFileUtils;
import com.appsmith.server.helpers.DSLMigrationUtils;
import com.appsmith.server.helpers.GitFileUtils;
import com.appsmith.server.helpers.GitUtils;
@@ -38,6 +40,7 @@
import static com.appsmith.external.git.constants.GitConstants.PAGE_LIST;
import static com.appsmith.server.helpers.GitUtils.MAX_RETRIES;
import static com.appsmith.server.helpers.GitUtils.RETRY_DELAY;
+import static java.lang.Boolean.TRUE;
@RequiredArgsConstructor
@Slf4j
@@ -46,6 +49,7 @@ public class AutoCommitEventHandlerCEImpl implements AutoCommitEventHandlerCE {
private final RedisUtils redisUtils;
private final DSLMigrationUtils dslMigrationUtils;
private final GitFileUtils fileUtils;
+ private final CommonGitFileUtils commonGitFileUtils;
private final GitExecutor gitExecutor;
private final ProjectProperties projectProperties;
private final AnalyticsService analyticsService;
@@ -64,7 +68,14 @@ public void publish(AutoCommitEvent autoCommitEvent) {
@Override
public void handle(AutoCommitEvent event) {
log.info("received event for auto commit: {}", event);
- this.autoCommitDSLMigration(event)
+ Mono<Boolean> autocommitMigration;
+ if (Boolean.TRUE.equals(event.getIsServerSideEvent())) {
+ autocommitMigration = this.autoCommitServerMigration(event);
+ } else {
+ autocommitMigration = this.autoCommitDSLMigration(event);
+ }
+
+ autocommitMigration
.subscribeOn(Schedulers.boundedElastic())
.subscribe(
result -> log.info(
@@ -128,56 +139,19 @@ public Mono<Boolean> autoCommitDSLMigration(AutoCommitEvent autoCommitEvent) {
.flatMap(autoCommitLocked -> dslMigrationUtils.getLatestDslVersion())
.flatMap(latestSchemaVersion -> resetUncommittedChanges(autoCommitEvent)
.flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 10))
- .then(fileUtils.reconstructApplicationJsonFromGitRepo(
+ .then(commonGitFileUtils.reconstructArtifactExchangeJsonFromGitRepo(
autoCommitEvent.getWorkspaceId(),
autoCommitEvent.getApplicationId(),
autoCommitEvent.getRepoName(),
- autoCommitEvent.getBranchName()))
+ autoCommitEvent.getBranchName(),
+ ArtifactType.APPLICATION))
.flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 30))
- .flatMap(applicationJson ->
- migrateUnpublishedPageDSLs(applicationJson, latestSchemaVersion, autoCommitEvent))
+ .flatMap(applicationJson -> migrateUnpublishedPageDSLs(
+ (ApplicationJson) applicationJson, latestSchemaVersion, autoCommitEvent))
.flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 50))
.flatMap(applicationJson -> saveApplicationJsonToFileSystem(applicationJson, autoCommitEvent))
.flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 70))
- .flatMap(baseRepoPath -> {
- // commit the application
- return gitExecutor
- .commitArtifact(
- baseRepoPath,
- String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()),
- autoCommitEvent.getAuthorName(),
- autoCommitEvent.getAuthorEmail(),
- false,
- false)
- .then(triggerAnalyticsEvent(
- AnalyticsEvents.GIT_COMMIT,
- autoCommitEvent,
- Map.of("isAutoCommit", Boolean.TRUE)));
- })
- .flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 80))
- .flatMap(result -> {
- Path baseRepoSuffix = Paths.get(
- autoCommitEvent.getWorkspaceId(),
- autoCommitEvent.getApplicationId(),
- autoCommitEvent.getRepoName());
-
- return gitExecutor
- .pushApplication(
- baseRepoSuffix,
- autoCommitEvent.getRepoUrl(),
- autoCommitEvent.getPublicKey(),
- autoCommitEvent.getPrivateKey(),
- autoCommitEvent.getBranchName())
- .flatMap(pushResponse -> {
- if (!pushResponse.contains("REJECTED")) { // push was successful
- return triggerAnalyticsEvent(
- AnalyticsEvents.GIT_PUSH,
- autoCommitEvent,
- Map.of("isAutoCommit", Boolean.TRUE));
- }
- return Mono.just(Boolean.TRUE);
- });
- })
+ .flatMap(baseRepoPath -> commitAndPush(autoCommitEvent, baseRepoPath))
.defaultIfEmpty(Boolean.FALSE))
.flatMap(result -> {
log.info(
@@ -217,9 +191,8 @@ private Mono<Boolean> triggerAnalyticsEvent(
analyticsProps.putAll(attributes);
return analyticsService
- .sendEvent(
- analyticsEvent.getEventName(), autoCommitEvent.getAuthorEmail(), analyticsProps, Boolean.TRUE)
- .thenReturn(Boolean.TRUE);
+ .sendEvent(analyticsEvent.getEventName(), autoCommitEvent.getAuthorEmail(), analyticsProps, TRUE)
+ .thenReturn(TRUE);
}
/**
@@ -303,4 +276,97 @@ private Mono<List<String>> migratePageDsl(List<NewPage> newPageList, Integer lat
})
.collectList();
}
+
+ /**
+ * Event for initiating server side autocommit.
+ * @param autoCommitEvent: event for server side autocommit
+ * @return
+ */
+ @Override
+ public Mono<Boolean> autoCommitServerMigration(AutoCommitEvent autoCommitEvent) {
+
+ String defaultApplicationId = autoCommitEvent.getApplicationId();
+ String branchName = autoCommitEvent.getBranchName();
+ String workspaceId = autoCommitEvent.getWorkspaceId();
+ String repoName = autoCommitEvent.getRepoName();
+
+ // add file lock
+ // reset the file_system. while resetting the branch is implicitly checked out.
+ // retrieve and create application json from the file system
+ // write it in the application json
+ // commit application
+ // push to remote
+ // release file lock
+
+ return addFileLock(defaultApplicationId)
+ .flatMap(isFileLocked -> redisUtils.startAutoCommit(defaultApplicationId, branchName))
+ .flatMap(r -> setProgress(r, defaultApplicationId, 10))
+ .flatMap(autoCommitLocked -> resetUncommittedChanges(autoCommitEvent))
+ .flatMap(r -> setProgress(r, defaultApplicationId, 20))
+ .flatMap(isBranchCheckedOut -> commonGitFileUtils.reconstructArtifactExchangeJsonFromGitRepo(
+ workspaceId, defaultApplicationId, repoName, branchName, ArtifactType.APPLICATION))
+ .flatMap(r -> setProgress(r, defaultApplicationId, 30))
+ .flatMap(applicationJson -> {
+ ModifiedResources modifiedResources = new ModifiedResources();
+ // setting all modified would help in serialisation of all the files, unoptimised
+ modifiedResources.setAllModified(true);
+ applicationJson.setModifiedResources(modifiedResources);
+ return saveApplicationJsonToFileSystem((ApplicationJson) applicationJson, autoCommitEvent);
+ })
+ .flatMap(r -> setProgress(r, defaultApplicationId, 50))
+ .flatMap(baseRepoPath -> commitAndPush(autoCommitEvent, baseRepoPath))
+ .defaultIfEmpty(Boolean.FALSE)
+ .flatMap(result -> {
+ log.info(
+ "server side auto commit finished. added commit: {}, application: {}, branch: {}",
+ result,
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getBranchName());
+ return cleanUp(autoCommitEvent, result, false);
+ })
+ .onErrorResume(throwable -> {
+ log.error(
+ "Failed to auto-commit application: {} branch {}",
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getBranchName(),
+ throwable);
+ return cleanUp(autoCommitEvent, Boolean.FALSE, true);
+ });
+ }
+
+ protected Mono<Boolean> commitAndPush(AutoCommitEvent autoCommitEvent, Path baseRepoPath) {
+ // commit the application
+ return gitExecutor
+ .commitArtifact(
+ baseRepoPath,
+ String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()),
+ autoCommitEvent.getAuthorName(),
+ autoCommitEvent.getAuthorEmail(),
+ false,
+ false)
+ .then(triggerAnalyticsEvent(AnalyticsEvents.GIT_COMMIT, autoCommitEvent, Map.of("isAutoCommit", TRUE)))
+ .flatMap(result -> setProgress(result, autoCommitEvent.getApplicationId(), 80))
+ .flatMap(result -> {
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName());
+
+ return gitExecutor
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName())
+ .flatMap(pushResponse -> {
+ if (!pushResponse.contains("REJECTED")) { // push was successful
+ return triggerAnalyticsEvent(
+ AnalyticsEvents.GIT_PUSH, autoCommitEvent, Map.of("isAutoCommit", TRUE));
+ }
+ return Mono.just(TRUE);
+ });
+ })
+ .defaultIfEmpty(Boolean.FALSE);
+ }
}
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 6b956205efae..aaaf45f144cb 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
@@ -571,7 +571,7 @@ private ApplicationJson fetchTemplateApplication(String filePath) throws IOExcep
new DefaultResourceLoader().getResource(filePath).getInputStream(), Charset.defaultCharset());
ApplicationJson applicationJson = gson.fromJson(jsonContent, ApplicationJson.class);
- return JsonSchemaMigration.migrateApplicationToLatestSchema(applicationJson);
+ return (ApplicationJson) JsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson);
}
/**
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/GitServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/GitServiceCETest.java
index c75fac1aea00..0c221fe69f44 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/GitServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/GitServiceCETest.java
@@ -297,7 +297,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
return stringifiedFile
.map(data -> gson.fromJson(data, ApplicationJson.class))
- .map(JsonSchemaMigration::migrateApplicationToLatestSchema);
+ .map(JsonSchemaMigration::migrateArtifactToLatestSchema)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
private GitConnectDTO getConnectRequest(String remoteUrl, GitProfile gitProfile) {
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java
new file mode 100644
index 000000000000..767117f00493
--- /dev/null
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java
@@ -0,0 +1,389 @@
+package com.appsmith.server.git.autocommit;
+
+import com.appsmith.external.dtos.GitLogDTO;
+import com.appsmith.external.enums.FeatureFlagEnum;
+import com.appsmith.external.git.GitExecutor;
+import com.appsmith.external.helpers.AppsmithBeanUtils;
+import com.appsmith.server.acl.AclPermission;
+import com.appsmith.server.applications.base.ApplicationService;
+import com.appsmith.server.domains.Application;
+import com.appsmith.server.domains.ApplicationMode;
+import com.appsmith.server.domains.ApplicationPage;
+import com.appsmith.server.domains.GitArtifactMetadata;
+import com.appsmith.server.domains.GitAuth;
+import com.appsmith.server.domains.GitProfile;
+import com.appsmith.server.domains.Layout;
+import com.appsmith.server.domains.NewPage;
+import com.appsmith.server.dtos.ApplicationJson;
+import com.appsmith.server.dtos.PageDTO;
+import com.appsmith.server.helpers.DSLMigrationUtils;
+import com.appsmith.server.helpers.GitPrivateRepoHelper;
+import com.appsmith.server.helpers.ce.autocommit.AutoCommitEligibiltyHelper;
+import com.appsmith.server.migrations.JsonSchemaMigration;
+import com.appsmith.server.migrations.JsonSchemaVersions;
+import com.appsmith.server.newpages.base.NewPageService;
+import com.appsmith.server.services.ApplicationPageService;
+import com.appsmith.server.services.CommonGitService;
+import com.appsmith.server.services.FeatureFlagService;
+import com.appsmith.server.services.UserDataService;
+import com.appsmith.server.testhelpers.git.GitFileSystemTestHelper;
+import lombok.extern.slf4j.Slf4j;
+import net.minidev.json.JSONObject;
+import org.eclipse.jgit.api.errors.GitAPIException;
+import org.eclipse.jgit.lib.BranchTrackingStatus;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.mockito.Mockito;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.boot.test.mock.mockito.SpyBean;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+import reactor.test.StepVerifier;
+
+import java.io.IOException;
+import java.net.URISyntaxException;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.time.Duration;
+import java.util.List;
+import java.util.Set;
+import java.util.stream.Collectors;
+
+import static com.appsmith.server.solutions.ce.AutoCommitEventHandlerCEImpl.AUTO_COMMIT_MSG_FORMAT;
+import static java.lang.Boolean.FALSE;
+import static java.lang.Boolean.TRUE;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyBoolean;
+import static org.mockito.ArgumentMatchers.anyString;
+import static org.mockito.Mockito.doReturn;
+
+@ExtendWith(SpringExtension.class)
+@SpringBootTest
+@Slf4j
+public class ApplicationPageServiceAutoCommitTest {
+
+ @SpyBean
+ ApplicationPageService applicationPageService;
+
+ @Autowired
+ GitFileSystemTestHelper gitFileSystemTestHelper;
+
+ @SpyBean
+ GitExecutor gitExecutor;
+
+ @MockBean
+ FeatureFlagService featureFlagService;
+
+ @MockBean
+ DSLMigrationUtils dslMigrationUtils;
+
+ @MockBean
+ ApplicationService applicationService;
+
+ @MockBean
+ NewPageService newPageService;
+
+ @MockBean
+ CommonGitService commonGitService;
+
+ @MockBean
+ GitPrivateRepoHelper gitPrivateRepoHelper;
+
+ @SpyBean
+ AutoCommitEligibiltyHelper autoCommitEligibiltyHelper;
+
+ @MockBean
+ BranchTrackingStatus branchTrackingStatus;
+
+ @MockBean
+ UserDataService userDataService;
+
+ @SpyBean
+ JsonSchemaMigration jsonSchemaMigration;
+
+ Application testApplication;
+
+ Path baseRepoSuffix;
+
+ private static final Integer DSL_VERSION_NUMBER = 88;
+ private static final String WORKSPACE_ID = "test-workspace";
+ private static final String REPO_NAME = "test-repo";
+ private static final String BRANCH_NAME = "develop";
+ private static final String APP_JSON_NAME = "autocommit.json";
+ private static final String APP_NAME = "autocommit";
+ private static final Integer WAIT_DURATION_FOR_ASYNC_EVENT = 5;
+ private static final String PUBLIC_KEY = "public-key";
+ private static final String PRIVATE_KEY = "private-key";
+ private static final String REPO_URL = "domain.xy";
+ private static final String DEFAULT_APP_ID = "default-app-id", DEFAULT_BRANCH_NAME = "master";
+
+ private Application createApplication() {
+ Application application = new Application();
+ application.setName(APP_NAME);
+ application.setWorkspaceId(WORKSPACE_ID);
+ application.setId(DEFAULT_APP_ID);
+
+ ApplicationPage applicationPage = new ApplicationPage();
+ applicationPage.setId("testPageId");
+ applicationPage.setIsDefault(TRUE);
+
+ application.setPages(List.of(applicationPage));
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ gitArtifactMetadata.setBranchName(BRANCH_NAME);
+ gitArtifactMetadata.setDefaultBranchName(DEFAULT_BRANCH_NAME);
+ gitArtifactMetadata.setRepoName(REPO_NAME);
+ gitArtifactMetadata.setDefaultApplicationId(DEFAULT_APP_ID);
+ gitArtifactMetadata.setRemoteUrl(REPO_URL);
+
+ GitAuth gitAuth = new GitAuth();
+ gitAuth.setPrivateKey(PRIVATE_KEY);
+ gitAuth.setPublicKey(PUBLIC_KEY);
+ gitArtifactMetadata.setGitAuth(gitAuth);
+
+ application.setGitApplicationMetadata(gitArtifactMetadata);
+ return application;
+ }
+
+ private GitProfile createGitProfile() {
+ GitProfile gitProfile = new GitProfile();
+ gitProfile.setAuthorName("authorName");
+ gitProfile.setAuthorEmail("[email protected]");
+ return gitProfile;
+ }
+
+ private NewPage createNewPage() {
+ JSONObject jsonObject = new JSONObject();
+ jsonObject.put("key", "value");
+ jsonObject.put("version", DSL_VERSION_NUMBER);
+
+ Layout layout1 = new Layout();
+ layout1.setId("testLayoutId");
+ layout1.setDsl(jsonObject);
+
+ PageDTO pageDTO = new PageDTO();
+ pageDTO.setId("testPageId");
+ pageDTO.setApplicationId(DEFAULT_APP_ID);
+ pageDTO.setLayouts(List.of(layout1));
+
+ NewPage newPage = new NewPage();
+ newPage.setId("testPageId");
+ newPage.setApplicationId(DEFAULT_APP_ID);
+ newPage.setUnpublishedPage(pageDTO);
+ return newPage;
+ }
+
+ @BeforeEach
+ public void beforeTest() {
+ Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_server_autocommit_feature_enabled))
+ .thenReturn(Mono.just(TRUE));
+
+ Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_autocommit_feature_enabled))
+ .thenReturn(Mono.just(TRUE));
+
+ Mockito.when(commonGitService.fetchRemoteChanges(
+ any(Application.class), any(Application.class), anyString(), anyBoolean()))
+ .thenReturn(Mono.just(branchTrackingStatus));
+
+ Mockito.when(branchTrackingStatus.getBehindCount()).thenReturn(0);
+
+ // create New Pages
+ NewPage newPage = createNewPage();
+
+ // create application
+ testApplication = createApplication();
+ baseRepoSuffix = Paths.get(WORKSPACE_ID, DEFAULT_APP_ID, REPO_NAME);
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(baseRepoSuffix, REPO_URL, PUBLIC_KEY, PRIVATE_KEY, BRANCH_NAME);
+
+ doReturn(Mono.just(newPage.getUnpublishedPage()))
+ .when(applicationPageService)
+ .getPage(any(NewPage.class), anyBoolean());
+
+ Mockito.when(newPageService.findNewPagesByApplicationId(anyString(), any(AclPermission.class)))
+ .thenReturn(Flux.just(newPage));
+
+ Mockito.when(applicationService.findByBranchNameAndDefaultApplicationId(
+ anyString(), anyString(), any(AclPermission.class)))
+ .thenReturn(Mono.just(testApplication));
+
+ Mockito.when(applicationService.findById(anyString(), any(AclPermission.class)))
+ .thenReturn(Mono.just(testApplication));
+
+ Mockito.when(gitPrivateRepoHelper.isBranchProtected(any(), anyString())).thenReturn(Mono.just(FALSE));
+
+ Mockito.when(userDataService.getGitProfileForCurrentUser(any())).thenReturn(Mono.just(createGitProfile()));
+ }
+
+ @AfterEach
+ public void afterTest() {
+ gitFileSystemTestHelper.deleteWorkspaceDirectory(WORKSPACE_ID);
+ }
+
+ @Test
+ public void testAutoCommit_WhenOnlyServerIsEligibleForMigration_CommitSuccess()
+ throws URISyntaxException, IOException, GitAPIException {
+
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource(APP_JSON_NAME));
+
+ // server migration as true
+ doReturn(Mono.just(TRUE)).when(autoCommitEligibiltyHelper).isServerAutoCommitRequired(any(), any());
+ // client migration as false
+ doReturn(Mono.just(FALSE)).when(autoCommitEligibiltyHelper).isClientMigrationRequired(any());
+
+ ApplicationJson applicationJson1 = new ApplicationJson();
+ AppsmithBeanUtils.copyNewFieldValuesIntoOldObject(applicationJson, applicationJson1);
+ applicationJson1.setServerSchemaVersion(JsonSchemaVersions.serverVersion + 1);
+
+ doReturn(Mono.just(applicationJson1))
+ .when(jsonSchemaMigration)
+ .migrateApplicationJsonToLatestSchema(any(ApplicationJson.class));
+
+ gitFileSystemTestHelper.setupGitRepository(
+ WORKSPACE_ID, DEFAULT_APP_ID, BRANCH_NAME, REPO_NAME, applicationJson);
+
+ // verifying the initial number of commits
+ StepVerifier.create(gitExecutor.getCommitHistory(baseRepoSuffix))
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(2);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).doesNotContain(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+
+ // this would trigger autocommit
+ Mono<List<GitLogDTO>> gitlogDTOsMono = applicationPageService
+ .getPagesBasedOnApplicationMode(testApplication, ApplicationMode.EDIT)
+ .then(Mono.delay(Duration.ofSeconds(WAIT_DURATION_FOR_ASYNC_EVENT)))
+ .then(gitExecutor.getCommitHistory(baseRepoSuffix));
+
+ // verifying final number of commits
+ StepVerifier.create(gitlogDTOsMono)
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(3);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).contains(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void testAutoCommit_WhenOnlyClientIsEligibleForMigration_CommitSuccess()
+ throws GitAPIException, IOException, URISyntaxException {
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource(APP_JSON_NAME));
+
+ int pageDSLNumber = applicationJson
+ .getPageList()
+ .get(0)
+ .getUnpublishedPage()
+ .getLayouts()
+ .get(0)
+ .getDsl()
+ .getAsNumber("version")
+ .intValue();
+
+ // server migration as false
+ doReturn(Mono.just(FALSE)).when(autoCommitEligibiltyHelper).isServerAutoCommitRequired(any(), any());
+ Mockito.when(dslMigrationUtils.getLatestDslVersion()).thenReturn(Mono.just(pageDSLNumber + 1));
+
+ JSONObject dslAfterMigration = new JSONObject();
+ dslAfterMigration.put("key", "after migration");
+
+ // mock the dsl migration utils to return updated dsl when requested with older dsl
+ Mockito.when(dslMigrationUtils.migratePageDsl(any(JSONObject.class))).thenReturn(Mono.just(dslAfterMigration));
+
+ gitFileSystemTestHelper.setupGitRepository(
+ WORKSPACE_ID, DEFAULT_APP_ID, BRANCH_NAME, REPO_NAME, applicationJson);
+
+ // verifying the initial number of commits
+ StepVerifier.create(gitExecutor.getCommitHistory(baseRepoSuffix))
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(2);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).doesNotContain(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+
+ // this would trigger autocommit
+ Mono<List<GitLogDTO>> gitlogDTOsMono = applicationPageService
+ .getPagesBasedOnApplicationMode(testApplication, ApplicationMode.EDIT)
+ .then(Mono.delay(Duration.ofSeconds(WAIT_DURATION_FOR_ASYNC_EVENT)))
+ .then(gitExecutor.getCommitHistory(baseRepoSuffix));
+
+ // verifying final number of commits
+ StepVerifier.create(gitlogDTOsMono)
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(3);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).contains(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void testAutoCommit_WhenAutoCommitNotEligible_ReturnsFalse()
+ throws URISyntaxException, IOException, GitAPIException {
+
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource(APP_JSON_NAME));
+
+ // server migration as false
+ doReturn(Mono.just(FALSE)).when(autoCommitEligibiltyHelper).isServerAutoCommitRequired(any(), any());
+ // client migration as false
+ doReturn(Mono.just(FALSE)).when(autoCommitEligibiltyHelper).isClientMigrationRequired(any());
+
+ gitFileSystemTestHelper.setupGitRepository(
+ WORKSPACE_ID, DEFAULT_APP_ID, BRANCH_NAME, REPO_NAME, applicationJson);
+
+ // verifying the initial number of commits
+ StepVerifier.create(gitExecutor.getCommitHistory(baseRepoSuffix))
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(2);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).doesNotContain(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+
+ // this would not trigger autocommit
+ Mono<List<GitLogDTO>> gitlogDTOsMono = applicationPageService
+ .getPagesBasedOnApplicationMode(testApplication, ApplicationMode.EDIT)
+ .then(Mono.delay(Duration.ofSeconds(WAIT_DURATION_FOR_ASYNC_EVENT)))
+ .then(gitExecutor.getCommitHistory(baseRepoSuffix));
+
+ // verifying final number of commits
+ StepVerifier.create(gitlogDTOsMono)
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(2);
+
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages).doesNotContain(String.format(AUTO_COMMIT_MSG_FORMAT, "UNKNOWN"));
+ })
+ .verifyComplete();
+ }
+}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/AutoCommitEventHandlerImplTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/AutoCommitEventHandlerImplTest.java
index 3e7a67bd41f1..7deb719df24b 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/AutoCommitEventHandlerImplTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/AutoCommitEventHandlerImplTest.java
@@ -1,18 +1,30 @@
package com.appsmith.server.git.autocommit;
+import com.appsmith.external.dtos.GitLogDTO;
+import com.appsmith.external.enums.FeatureFlagEnum;
+import com.appsmith.external.git.FileInterface;
import com.appsmith.external.git.GitExecutor;
+import com.appsmith.external.helpers.AppsmithBeanUtils;
+import com.appsmith.external.models.ApplicationGitReference;
import com.appsmith.server.configurations.ProjectProperties;
+import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.domains.Layout;
import com.appsmith.server.domains.NewPage;
import com.appsmith.server.dtos.ApplicationJson;
import com.appsmith.server.dtos.PageDTO;
import com.appsmith.server.events.AutoCommitEvent;
+import com.appsmith.server.featureflags.CachedFeatures;
+import com.appsmith.server.helpers.CommonGitFileUtils;
import com.appsmith.server.helpers.DSLMigrationUtils;
import com.appsmith.server.helpers.GitFileUtils;
import com.appsmith.server.helpers.RedisUtils;
+import com.appsmith.server.migrations.JsonSchemaMigration;
+import com.appsmith.server.migrations.JsonSchemaVersions;
import com.appsmith.server.services.AnalyticsService;
+import com.appsmith.server.services.FeatureFlagService;
import com.appsmith.server.solutions.AutoCommitEventHandler;
import com.appsmith.server.solutions.AutoCommitEventHandlerImpl;
+import com.appsmith.server.testhelpers.git.GitFileSystemTestHelper;
import lombok.extern.slf4j.Slf4j;
import net.minidev.json.JSONObject;
import org.eclipse.jgit.api.errors.GitAPIException;
@@ -21,6 +33,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mockito;
+import org.mockito.stubbing.Answer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
@@ -32,13 +45,22 @@
import reactor.test.StepVerifier;
import java.io.IOException;
+import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.UUID;
+import java.util.stream.Collectors;
import static com.appsmith.server.solutions.ce.AutoCommitEventHandlerCEImpl.AUTO_COMMIT_MSG_FORMAT;
+import static java.lang.Boolean.FALSE;
+import static java.lang.Boolean.TRUE;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyString;
+import static org.mockito.Mockito.doReturn;
@ExtendWith(SpringExtension.class)
@SpringBootTest
@@ -57,18 +79,35 @@ public class AutoCommitEventHandlerImplTest {
@MockBean
DSLMigrationUtils dslMigrationUtils;
- @MockBean
- GitFileUtils fileUtils;
+ @SpyBean
+ GitFileUtils gitFileUtils;
- @MockBean
+ @SpyBean
+ FileInterface fileUtils;
+
+ @SpyBean
+ CommonGitFileUtils commonGitFileUtils;
+
+ @SpyBean
+ JsonSchemaMigration jsonSchemaMigration;
+
+ @SpyBean
GitExecutor gitExecutor;
+ @MockBean
+ FeatureFlagService featureFlagService;
+
+ @Autowired
+ GitFileSystemTestHelper gitFileSystemTestHelper;
+
@Autowired
ProjectProperties projectProperties;
AutoCommitEventHandler autoCommitEventHandler;
- private static final String defaultApplicationId = "default-app-id", branchName = "develop";
+ private static final String defaultApplicationId = "default-app-id",
+ branchName = "develop",
+ workspaceId = "test-workspace-id";
@BeforeEach
public void beforeTest() {
@@ -76,7 +115,8 @@ public void beforeTest() {
applicationEventPublisher,
redisUtils,
dslMigrationUtils,
- fileUtils,
+ gitFileUtils,
+ commonGitFileUtils,
gitExecutor,
projectProperties,
analyticsService);
@@ -86,6 +126,7 @@ public void beforeTest() {
public void afterTest() {
redisUtils.finishAutoCommit(defaultApplicationId).block();
redisUtils.releaseFileLock(defaultApplicationId).block();
+ gitFileSystemTestHelper.deleteWorkspaceDirectory(workspaceId);
}
@Test
@@ -96,9 +137,6 @@ public void autoCommitDSLMigration_WhenAutoCommitAlreadyStarted_ReturnsFalse() {
Mockito.when(dslMigrationUtils.getLatestDslVersion()).thenReturn(Mono.just(10));
- // Mockito.when(analyticsService.sendEvent(anyString(), anyString(), anyMap(), anyBoolean()))
- // .thenReturn(Mono.empty());
-
Mono<Boolean> map = redisUtils
.startAutoCommit(defaultApplicationId, branchName)
.then(autoCommitEventHandler.autoCommitDSLMigration(autoCommitEvent));
@@ -112,12 +150,12 @@ public void autoCommitDSLMigration_WhenAutoCommitAlreadyStarted_ReturnsFalse() {
private AutoCommitEvent createEvent() {
AutoCommitEvent autoCommitEvent = new AutoCommitEvent();
- autoCommitEvent.setApplicationId(defaultApplicationId);
+ autoCommitEvent.setApplicationId(defaultApplicationId + UUID.randomUUID());
autoCommitEvent.setBranchName(branchName);
autoCommitEvent.setRepoName("test-repo");
autoCommitEvent.setAuthorName("test author");
autoCommitEvent.setAuthorEmail("[email protected]");
- autoCommitEvent.setWorkspaceId("test-workspace-id");
+ autoCommitEvent.setWorkspaceId(workspaceId);
autoCommitEvent.setRepoUrl("[email protected]:exampleorg/example-repo.git");
autoCommitEvent.setPrivateKey("private-key");
autoCommitEvent.setPublicKey("public-key");
@@ -163,43 +201,47 @@ public void autoCommitDSLMigration_WhenNoAutoCommitInProgress_AllStepsSuccessful
Path baseRepoSuffix = Paths.get(
autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
- Mockito.when(gitExecutor.resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just(Boolean.TRUE));
+ doReturn(Mono.just(TRUE)).when(gitExecutor).resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName());
- Mockito.when(fileUtils.reconstructApplicationJsonFromGitRepo(
+ doReturn(Mono.just(applicationJson))
+ .when(commonGitFileUtils)
+ .reconstructArtifactExchangeJsonFromGitRepo(
autoCommitEvent.getWorkspaceId(),
autoCommitEvent.getApplicationId(),
autoCommitEvent.getRepoName(),
- autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just(applicationJson));
+ autoCommitEvent.getBranchName(),
+ ArtifactType.APPLICATION);
// mock the dsl migration utils to return updated dsl when requested with older dsl
Mockito.when(dslMigrationUtils.migratePageDsl(any(JSONObject.class))).thenReturn(Mono.just(dslAfterMigration));
- Mockito.when(fileUtils.saveApplicationToLocalRepo(
+ doReturn(Mono.just(baseRepoSuffix))
+ .when(gitFileUtils)
+ .saveApplicationToLocalRepo(
autoCommitEvent.getWorkspaceId(),
autoCommitEvent.getApplicationId(),
autoCommitEvent.getRepoName(),
applicationJson,
- autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just(baseRepoSuffix));
+ autoCommitEvent.getBranchName());
- Mockito.when(gitExecutor.commitArtifact(
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .commitArtifact(
baseRepoSuffix,
String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()),
autoCommitEvent.getAuthorName(),
autoCommitEvent.getAuthorEmail(),
false,
- false))
- .thenReturn(Mono.just("success"));
+ false);
- Mockito.when(gitExecutor.pushApplication(
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
baseRepoSuffix,
autoCommitEvent.getRepoUrl(),
autoCommitEvent.getPublicKey(),
autoCommitEvent.getPrivateKey(),
- autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just("success"));
+ autoCommitEvent.getBranchName());
StepVerifier.create(autoCommitEventHandler
.autoCommitDSLMigration(autoCommitEvent)
@@ -229,15 +271,16 @@ public void autoCommitDSLMigration_WhenPageDslAlreadyLatest_NoCommitMade() throw
Path baseRepoSuffix = Paths.get(
autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
- Mockito.when(gitExecutor.resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just(Boolean.TRUE));
+ doReturn(Mono.just(TRUE)).when(gitExecutor).resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName());
- Mockito.when(fileUtils.reconstructApplicationJsonFromGitRepo(
+ doReturn(Mono.just(applicationJson))
+ .when(commonGitFileUtils)
+ .reconstructArtifactExchangeJsonFromGitRepo(
autoCommitEvent.getWorkspaceId(),
autoCommitEvent.getApplicationId(),
autoCommitEvent.getRepoName(),
- autoCommitEvent.getBranchName()))
- .thenReturn(Mono.just(applicationJson));
+ autoCommitEvent.getBranchName(),
+ ArtifactType.APPLICATION);
// the rest of the process should not trigger as no migration is required
StepVerifier.create(autoCommitEventHandler
@@ -249,4 +292,361 @@ public void autoCommitDSLMigration_WhenPageDslAlreadyLatest_NoCommitMade() throw
})
.verifyComplete();
}
+
+ @Test
+ public void autoCommitServerMigration_WhenServerRequiresMigration() throws GitAPIException, IOException {
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson = createApplicationJson();
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ doReturn(Mono.just(TRUE)).when(gitExecutor).resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName());
+
+ doReturn(Mono.just(applicationJson))
+ .when(commonGitFileUtils)
+ .reconstructArtifactExchangeJsonFromGitRepo(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName(),
+ autoCommitEvent.getBranchName(),
+ ArtifactType.APPLICATION);
+
+ doReturn(Mono.just(baseRepoSuffix))
+ .when(gitFileUtils)
+ .saveApplicationToLocalRepo(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName(),
+ applicationJson,
+ autoCommitEvent.getBranchName());
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .commitArtifact(
+ baseRepoSuffix,
+ String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()),
+ autoCommitEvent.getAuthorName(),
+ autoCommitEvent.getAuthorEmail(),
+ false,
+ false);
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName());
+
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(result -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isTrue();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autoCommitServerMigration_WhenAutoCommitAlreadyStarted_ReturnsFalse() {
+ AutoCommitEvent autoCommitEvent = new AutoCommitEvent();
+ autoCommitEvent.setApplicationId(defaultApplicationId);
+ autoCommitEvent.setBranchName(branchName);
+
+ Mono<Boolean> map = redisUtils
+ .startAutoCommit(defaultApplicationId, branchName)
+ .then(autoCommitEventHandler.autoCommitServerMigration(autoCommitEvent));
+
+ StepVerifier.create(map)
+ .assertNext(x -> {
+ assertThat(x).isFalse();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autoCommitServerMigration_WhenServerHasNoChanges_NoCommitMade() throws GitAPIException, IOException {
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson = createApplicationJson();
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ doReturn(Mono.just(TRUE)).when(gitExecutor).resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName());
+
+ doReturn(Mono.just(applicationJson))
+ .when(commonGitFileUtils)
+ .reconstructArtifactExchangeJsonFromGitRepo(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName(),
+ autoCommitEvent.getBranchName(),
+ ArtifactType.APPLICATION);
+
+ doReturn(Mono.just(baseRepoSuffix))
+ .when(gitFileUtils)
+ .saveApplicationToLocalRepo(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName(),
+ applicationJson,
+ autoCommitEvent.getBranchName());
+
+ // the rest of the process should not trigger as no migration is required
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(result -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isFalse();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void
+ autoCommitServerMigration_WhenNoAutoCommitInProgress_AllStepsSuccessfullyCompleted_CaseJsonSchemaMigration()
+ throws GitAPIException, IOException, URISyntaxException {
+
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ doReturn(Mono.just(TRUE)).when(gitExecutor).resetToLastCommit(baseRepoSuffix, autoCommitEvent.getBranchName());
+
+ ApplicationGitReference appReference =
+ (ApplicationGitReference) commonGitFileUtils.createArtifactReference(applicationJson);
+
+ doReturn(Mono.just(appReference))
+ .when(fileUtils)
+ .reconstructApplicationReferenceFromGitRepo(
+ autoCommitEvent.getWorkspaceId(),
+ autoCommitEvent.getApplicationId(),
+ autoCommitEvent.getRepoName(),
+ autoCommitEvent.getBranchName());
+
+ doReturn(Mono.just(baseRepoSuffix))
+ .when(gitFileUtils)
+ .saveApplicationToLocalRepo(
+ anyString(), anyString(), anyString(), any(ApplicationJson.class), anyString());
+
+ ApplicationJson applicationJson1 = new ApplicationJson();
+ AppsmithBeanUtils.copyNewFieldValuesIntoOldObject(applicationJson, applicationJson1);
+ applicationJson1.setServerSchemaVersion(JsonSchemaVersions.serverVersion + 1);
+
+ doReturn(Mono.just(applicationJson1))
+ .when(jsonSchemaMigration)
+ .migrateApplicationJsonToLatestSchema(applicationJson);
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .commitArtifact(
+ baseRepoSuffix,
+ String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()),
+ autoCommitEvent.getAuthorName(),
+ autoCommitEvent.getAuthorEmail(),
+ false,
+ false);
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName());
+
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(a -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isTrue();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autocommitServerMigration_WhenSerialisationLogicChanges_CommitSuccess()
+ throws URISyntaxException, IOException, GitAPIException {
+
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName());
+
+ CachedFeatures cachedFeatures = new CachedFeatures();
+ cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.release_git_cleanup_feature_enabled.name(), FALSE));
+ Mockito.when(featureFlagService.getCachedTenantFeatureFlags())
+ .thenAnswer((Answer<CachedFeatures>) invocations -> cachedFeatures);
+
+ gitFileSystemTestHelper.setupGitRepository(autoCommitEvent, applicationJson);
+ cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.release_git_cleanup_feature_enabled.name(), TRUE));
+
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(a -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isTrue();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+
+ StepVerifier.create(gitExecutor.getCommitHistory(baseRepoSuffix))
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(3);
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages)
+ .contains(String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()));
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autocommitServerMigration_WhenSerialisationLogicDoesNotChange_CommitFailure()
+ throws URISyntaxException, IOException, GitAPIException {
+
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
+
+ CachedFeatures cachedFeatures = new CachedFeatures();
+ cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.release_git_cleanup_feature_enabled.name(), FALSE));
+ Mockito.when(featureFlagService.getCachedTenantFeatureFlags())
+ .thenAnswer((Answer<CachedFeatures>) invocations -> cachedFeatures);
+
+ gitFileSystemTestHelper.setupGitRepository(autoCommitEvent, applicationJson);
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(a -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ // This should fail as there won't be any changes to commit
+ assertThat(tuple2.getT1()).isFalse();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autocommitServerMigration_WhenJsonSchemaMigrationPresent_CommitSuccess()
+ throws URISyntaxException, IOException, GitAPIException {
+
+ AutoCommitEvent autoCommitEvent = createEvent();
+ autoCommitEvent.setIsServerSideEvent(TRUE);
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName());
+
+ ApplicationJson applicationJson1 = new ApplicationJson();
+ AppsmithBeanUtils.copyNewFieldValuesIntoOldObject(applicationJson, applicationJson1);
+ applicationJson1.setServerSchemaVersion(JsonSchemaVersions.serverVersion + 1);
+
+ doReturn(Mono.just(applicationJson1)).when(jsonSchemaMigration).migrateApplicationJsonToLatestSchema(any());
+
+ gitFileSystemTestHelper.setupGitRepository(autoCommitEvent, applicationJson);
+
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitServerMigration(autoCommitEvent)
+ .zipWhen(a -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isTrue();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+
+ StepVerifier.create(gitExecutor.getCommitHistory(baseRepoSuffix))
+ .assertNext(gitLogDTOs -> {
+ assertThat(gitLogDTOs).isNotEmpty();
+ assertThat(gitLogDTOs.size()).isEqualTo(3);
+ Set<String> commitMessages =
+ gitLogDTOs.stream().map(GitLogDTO::getCommitMessage).collect(Collectors.toSet());
+ assertThat(commitMessages)
+ .contains(String.format(AUTO_COMMIT_MSG_FORMAT, projectProperties.getVersion()));
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void autoCommitDSLMigration_WithFS_WhenNoAutoCommitInProgress_AllStepsSuccessfullyCompleted()
+ throws GitAPIException, IOException, URISyntaxException {
+
+ AutoCommitEvent autoCommitEvent = createEvent();
+ ApplicationJson applicationJson =
+ gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
+
+ JSONObject dslBeforeMigration = applicationJson
+ .getPageList()
+ .get(0)
+ .getUnpublishedPage()
+ .getLayouts()
+ .get(0)
+ .getDsl();
+
+ int currentDslVersion = dslBeforeMigration.getAsNumber("version").intValue();
+ Mockito.when(dslMigrationUtils.getLatestDslVersion()).thenReturn(Mono.just(currentDslVersion + 1));
+
+ Path baseRepoSuffix = Paths.get(
+ autoCommitEvent.getWorkspaceId(), autoCommitEvent.getApplicationId(), autoCommitEvent.getRepoName());
+
+ JSONObject dslAfterMigration = new JSONObject();
+ dslAfterMigration.put("key", "after migration");
+
+ // mock the dsl migration utils to return updated dsl when requested with older dsl
+ Mockito.when(dslMigrationUtils.migratePageDsl(any(JSONObject.class))).thenReturn(Mono.just(dslAfterMigration));
+
+ doReturn(Mono.just("success"))
+ .when(gitExecutor)
+ .pushApplication(
+ baseRepoSuffix,
+ autoCommitEvent.getRepoUrl(),
+ autoCommitEvent.getPublicKey(),
+ autoCommitEvent.getPrivateKey(),
+ autoCommitEvent.getBranchName());
+
+ gitFileSystemTestHelper.setupGitRepository(autoCommitEvent, applicationJson);
+ StepVerifier.create(autoCommitEventHandler
+ .autoCommitDSLMigration(autoCommitEvent)
+ .zipWhen(a -> redisUtils.getAutoCommitProgress(autoCommitEvent.getApplicationId())))
+ .assertNext(tuple2 -> {
+ assertThat(tuple2.getT1()).isTrue();
+ assertThat(tuple2.getT2()).isEqualTo(100);
+ })
+ .verifyComplete();
+ }
}
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 f8742b85c42d..480985352bdd 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
@@ -83,7 +83,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(JsonSchemaMigration::migrateApplicationToLatestSchema);
+ .map(JsonSchemaMigration::migrateArtifactToLatestSchema)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
@Test
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperTest.java
new file mode 100644
index 000000000000..a9c564a09d62
--- /dev/null
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/AutoCommitEligibilityHelperTest.java
@@ -0,0 +1,257 @@
+package com.appsmith.server.helpers.ce.autocommit;
+
+import com.appsmith.server.constants.ArtifactType;
+import com.appsmith.server.domains.GitArtifactMetadata;
+import com.appsmith.server.domains.Layout;
+import com.appsmith.server.dtos.PageDTO;
+import com.appsmith.server.helpers.CommonGitFileUtils;
+import com.appsmith.server.helpers.DSLMigrationUtils;
+import com.appsmith.server.migrations.JsonSchemaVersions;
+import lombok.extern.slf4j.Slf4j;
+import net.minidev.json.JSONObject;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.mockito.Mockito;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.boot.test.mock.mockito.SpyBean;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+import reactor.core.publisher.Mono;
+import reactor.test.StepVerifier;
+
+import java.util.List;
+import java.util.UUID;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyString;
+
+@Slf4j
+@SpringBootTest
+@ExtendWith(SpringExtension.class)
+public class AutoCommitEligibilityHelperTest {
+
+ @SpyBean
+ AutoCommitEligibiltyHelper autoCommitEligibiltyHelper;
+
+ @SpyBean
+ CommonGitFileUtils commonGitFileUtils;
+
+ @MockBean
+ DSLMigrationUtils dslMigrationUtils;
+
+ @Test
+ public void isAutoCommitRequired_WhenClientAndServerAreEligible_VerifyDTOReturnsTrue() {
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ PageDTO pageDTO = new PageDTO();
+ String workspaceId = UUID.randomUUID().toString();
+
+ Mockito.doReturn(Mono.just(Boolean.TRUE))
+ .when(autoCommitEligibiltyHelper)
+ .isServerAutoCommitRequired(anyString(), any(GitArtifactMetadata.class));
+
+ Mockito.doReturn(Mono.just(Boolean.TRUE))
+ .when(autoCommitEligibiltyHelper)
+ .isClientMigrationRequired(any(PageDTO.class));
+
+ Mono<AutoCommitTriggerDTO> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isAutoCommitRequired(workspaceId, gitArtifactMetadata, pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(autoCommitTriggerDTO -> {
+ assertThat(autoCommitTriggerDTO.getIsAutoCommitRequired()).isTrue();
+ assertThat(autoCommitTriggerDTO.getIsServerAutoCommitRequired())
+ .isTrue();
+ assertThat(autoCommitTriggerDTO.getIsClientAutoCommitRequired())
+ .isTrue();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void isAutoCommitRequired_WhenClientAndServerAreNotEligible_VerifyDTOReturnFalse() {
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ PageDTO pageDTO = new PageDTO();
+ String workspaceId = UUID.randomUUID().toString();
+
+ Mockito.doReturn(Mono.just(Boolean.FALSE))
+ .when(autoCommitEligibiltyHelper)
+ .isServerAutoCommitRequired(anyString(), any(GitArtifactMetadata.class));
+
+ Mockito.doReturn(Mono.just(Boolean.FALSE))
+ .when(autoCommitEligibiltyHelper)
+ .isClientMigrationRequired(any(PageDTO.class));
+
+ Mono<AutoCommitTriggerDTO> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isAutoCommitRequired(workspaceId, gitArtifactMetadata, pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(autoCommitTriggerDTO -> {
+ assertThat(autoCommitTriggerDTO.getIsAutoCommitRequired()).isFalse();
+ assertThat(autoCommitTriggerDTO.getIsServerAutoCommitRequired())
+ .isFalse();
+ assertThat(autoCommitTriggerDTO.getIsClientAutoCommitRequired())
+ .isFalse();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void isAutoCommitRequired_WhenOnlyClientIsEligible_VerifyDTOReturnTrue() {
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ PageDTO pageDTO = new PageDTO();
+ String workspaceId = UUID.randomUUID().toString();
+
+ Mockito.doReturn(Mono.just(Boolean.FALSE))
+ .when(autoCommitEligibiltyHelper)
+ .isServerAutoCommitRequired(anyString(), any(GitArtifactMetadata.class));
+
+ Mockito.doReturn(Mono.just(Boolean.TRUE))
+ .when(autoCommitEligibiltyHelper)
+ .isClientMigrationRequired(any(PageDTO.class));
+
+ Mono<AutoCommitTriggerDTO> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isAutoCommitRequired(workspaceId, gitArtifactMetadata, pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(autoCommitTriggerDTO -> {
+ assertThat(autoCommitTriggerDTO.getIsAutoCommitRequired()).isTrue();
+ assertThat(autoCommitTriggerDTO.getIsServerAutoCommitRequired())
+ .isFalse();
+ assertThat(autoCommitTriggerDTO.getIsClientAutoCommitRequired())
+ .isTrue();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void isAutoCommitRequired_WhenOnlyServerIsEligible_VerifyDTOReturnTrue() {
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ PageDTO pageDTO = new PageDTO();
+ String workspaceId = UUID.randomUUID().toString();
+
+ Mockito.doReturn(Mono.just(Boolean.TRUE))
+ .when(autoCommitEligibiltyHelper)
+ .isServerAutoCommitRequired(anyString(), any(GitArtifactMetadata.class));
+
+ Mockito.doReturn(Mono.just(Boolean.FALSE))
+ .when(autoCommitEligibiltyHelper)
+ .isClientMigrationRequired(any(PageDTO.class));
+
+ Mono<AutoCommitTriggerDTO> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isAutoCommitRequired(workspaceId, gitArtifactMetadata, pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(autoCommitTriggerDTO -> {
+ assertThat(autoCommitTriggerDTO.getIsAutoCommitRequired()).isTrue();
+ assertThat(autoCommitTriggerDTO.getIsServerAutoCommitRequired())
+ .isTrue();
+ assertThat(autoCommitTriggerDTO.getIsClientAutoCommitRequired())
+ .isFalse();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ public void isServerMigrationRequired_WhenJsonSchemaIsNotAhead_ReturnsFalse() {
+
+ String repoName = "test-repo";
+ String branchName = "develop";
+ String workspaceId = "test-workspace";
+ String defaultApplicationId = "default-app";
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ gitArtifactMetadata.setDefaultApplicationId(defaultApplicationId);
+ gitArtifactMetadata.setRepoName(repoName);
+ gitArtifactMetadata.setBranchName(branchName);
+
+ Mockito.when(commonGitFileUtils.getMetadataServerSchemaMigrationVersion(
+ workspaceId, defaultApplicationId, branchName, repoName, ArtifactType.APPLICATION))
+ .thenReturn(Mono.just(JsonSchemaVersions.serverVersion));
+
+ Mono<Boolean> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isServerAutoCommitRequired(workspaceId, gitArtifactMetadata);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(isServerMigrationRequired ->
+ assertThat(isServerMigrationRequired).isFalse())
+ .verifyComplete();
+ }
+
+ @Test
+ public void isServerMigrationRequired_WhenJsonSchemaIsAhead_ReturnsTrue() {
+
+ String repoName = "test-repo";
+ String branchName = "develop";
+ String workspaceId = "test-workspace";
+ String defaultApplicationId = "default-app";
+
+ GitArtifactMetadata gitArtifactMetadata = new GitArtifactMetadata();
+ gitArtifactMetadata.setDefaultApplicationId(defaultApplicationId);
+ gitArtifactMetadata.setRepoName(repoName);
+ gitArtifactMetadata.setBranchName(branchName);
+
+ Mockito.when(commonGitFileUtils.getMetadataServerSchemaMigrationVersion(
+ workspaceId, defaultApplicationId, branchName, repoName, ArtifactType.APPLICATION))
+ .thenReturn(Mono.just(JsonSchemaVersions.serverVersion - 1));
+
+ Mono<Boolean> autoCommitTriggerDTOMono =
+ autoCommitEligibiltyHelper.isServerAutoCommitRequired(workspaceId, gitArtifactMetadata);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(isServerMigrationRequired ->
+ assertThat(isServerMigrationRequired).isTrue())
+ .verifyComplete();
+ }
+
+ private PageDTO createPageDTO(Integer dsl_version_number) {
+ JSONObject jsonObject = new JSONObject();
+ jsonObject.put("key", "value");
+ jsonObject.put("version", dsl_version_number);
+
+ Layout layout1 = new Layout();
+ layout1.setId("testLayoutId");
+ layout1.setDsl(jsonObject);
+
+ PageDTO pageDTO = new PageDTO();
+ pageDTO.setId("testPageId");
+ pageDTO.setApplicationId("DEFAULT_APP_ID");
+ pageDTO.setLayouts(List.of(layout1));
+
+ return pageDTO;
+ }
+
+ @Test
+ public void isClientMigrationRequired_WhenLatestDslIsNotAhead_ReturnsFalse() {
+ Integer dslNumber = 88;
+ PageDTO pageDTO = createPageDTO(dslNumber);
+
+ Mockito.when(dslMigrationUtils.getLatestDslVersion()).thenReturn(Mono.just(dslNumber));
+
+ Mono<Boolean> autoCommitTriggerDTOMono = autoCommitEligibiltyHelper.isClientMigrationRequired(pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(isClientMigrationRequired ->
+ assertThat(isClientMigrationRequired).isFalse())
+ .verifyComplete();
+ }
+
+ @Test
+ public void isClientMigrationRequired_WhenLatestDslIsAhead_ReturnsTrue() {
+ Integer dslNumber = 88;
+ PageDTO pageDTO = createPageDTO(dslNumber - 1);
+
+ Mockito.when(dslMigrationUtils.getLatestDslVersion()).thenReturn(Mono.just(dslNumber));
+
+ Mono<Boolean> autoCommitTriggerDTOMono = autoCommitEligibiltyHelper.isClientMigrationRequired(pageDTO);
+
+ StepVerifier.create(autoCommitTriggerDTOMono)
+ .assertNext(isClientMigrationRequired ->
+ assertThat(isClientMigrationRequired).isTrue())
+ .verifyComplete();
+ }
+}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImplTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImplTest.java
similarity index 72%
rename from app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImplTest.java
rename to app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImplTest.java
index f49b8a3b3b20..3f006627f5e3 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/GitAutoCommitHelperImplTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/autocommit/GitAutoCommitHelperImplTest.java
@@ -1,4 +1,4 @@
-package com.appsmith.server.helpers.ce;
+package com.appsmith.server.helpers.ce.autocommit;
import com.appsmith.external.enums.FeatureFlagEnum;
import com.appsmith.server.acl.AclPermission;
@@ -96,7 +96,7 @@ public void autoCommitApplication_WhenFeatureFlagIsDisabled_AutoCommitNotTrigger
anyString(), anyString(), any(AclPermission.class)))
.thenReturn(Mono.just(application));
- StepVerifier.create(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName))
+ StepVerifier.create(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName))
.assertNext(aBoolean -> {
assertThat(aBoolean).isFalse();
})
@@ -106,6 +106,7 @@ public void autoCommitApplication_WhenFeatureFlagIsDisabled_AutoCommitNotTrigger
@Test
public void autoCommitApplication_WhenBranchIsProtected_AutoCommitNotTriggered() {
Application application = new Application();
+ application.setId(defaultApplicationId);
application.setGitApplicationMetadata(new GitArtifactMetadata());
Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_autocommit_feature_enabled))
@@ -118,7 +119,7 @@ public void autoCommitApplication_WhenBranchIsProtected_AutoCommitNotTriggered()
anyString(), anyString(), any(AclPermission.class)))
.thenReturn(Mono.just(application));
- StepVerifier.create(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName))
+ StepVerifier.create(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName))
.assertNext(aBoolean -> {
assertThat(aBoolean).isFalse();
})
@@ -128,6 +129,7 @@ public void autoCommitApplication_WhenBranchIsProtected_AutoCommitNotTriggered()
@Test
public void autoCommitApplication_WhenAutoCommitDisabled_AutoCommitNotTriggered() {
Application application = new Application();
+ application.setId(defaultApplicationId);
GitArtifactMetadata metadata = new GitArtifactMetadata();
metadata.setAutoCommitConfig(new AutoCommitConfig());
metadata.getAutoCommitConfig().setEnabled(Boolean.FALSE);
@@ -144,7 +146,7 @@ public void autoCommitApplication_WhenAutoCommitDisabled_AutoCommitNotTriggered(
Mockito.when(gitPrivateRepoHelper.isBranchProtected(any(GitArtifactMetadata.class), eq(branchName)))
.thenReturn(Mono.just(Boolean.FALSE));
- StepVerifier.create(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName))
+ StepVerifier.create(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName))
.assertNext(aBoolean -> {
assertThat(aBoolean).isFalse();
})
@@ -154,6 +156,7 @@ public void autoCommitApplication_WhenAutoCommitDisabled_AutoCommitNotTriggered(
@Test
public void autoCommitApplication_WhenAnotherCommitIsRunning_AutoCommitNotTriggered() {
Application application = new Application();
+ application.setId(defaultApplicationId);
application.setGitApplicationMetadata(new GitArtifactMetadata());
Mockito.when(applicationService.findById(defaultApplicationId, applicationPermission.getEditPermission()))
@@ -168,7 +171,7 @@ public void autoCommitApplication_WhenAnotherCommitIsRunning_AutoCommitNotTrigge
Mono<Boolean> autoCommitMono = redisUtils
.startAutoCommit(defaultApplicationId, branchName)
- .then(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName));
+ .then(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName));
StepVerifier.create(autoCommitMono)
.assertNext(aBoolean -> {
@@ -225,8 +228,10 @@ public void autoCommitApplication_WhenAllConditionsMatched_AutoCommitTriggered()
autoCommitEvent.setRepoName(application.getGitApplicationMetadata().getRepoName());
autoCommitEvent.setPrivateKey(gitAuth.getPrivateKey());
autoCommitEvent.setPublicKey(gitAuth.getPublicKey());
+ autoCommitEvent.setIsServerSideEvent(null);
+ autoCommitEvent.setIsClientSideEvent(Boolean.TRUE);
- StepVerifier.create(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName))
+ StepVerifier.create(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName))
.assertNext(aBoolean -> {
assertThat(aBoolean).isTrue();
Mockito.verify(autoCommitEventHandler).publish(autoCommitEvent);
@@ -283,9 +288,10 @@ public void getAutoCommitProgress_WhenNoAutoCommitRunning_ReturnsValidResponse()
public void autoCommitApplication_WhenRemoteAhead_AutoCommitNotTriggered() {
Application application = new Application();
+ application.setId(defaultApplicationId);
GitArtifactMetadata metadata = new GitArtifactMetadata();
metadata.setAutoCommitConfig(new AutoCommitConfig());
- metadata.getAutoCommitConfig().setEnabled(Boolean.FALSE);
+ metadata.getAutoCommitConfig().setEnabled(Boolean.TRUE);
application.setGitApplicationMetadata(metadata);
@@ -304,10 +310,101 @@ public void autoCommitApplication_WhenRemoteAhead_AutoCommitNotTriggered() {
Mockito.when(gitPrivateRepoHelper.isBranchProtected(any(GitArtifactMetadata.class), eq(branchName)))
.thenReturn(Mono.just(Boolean.FALSE));
- StepVerifier.create(gitAutoCommitHelper.autoCommitApplication(defaultApplicationId, branchName))
+ StepVerifier.create(gitAutoCommitHelper.autoCommitClientMigration(defaultApplicationId, branchName))
.assertNext(aBoolean -> {
assertThat(aBoolean).isFalse();
})
.verifyComplete();
}
+
+ @Test
+ public void autoCommitApplication_WhenServerMigrationFlagIsFalse_returnsFalse() {
+ Application application = new Application();
+ application.setWorkspaceId("sample-workspace-id");
+ GitArtifactMetadata metaData = new GitArtifactMetadata();
+ metaData.setRepoName("test-repo-name");
+ metaData.setDefaultApplicationId(defaultApplicationId);
+ metaData.setBranchName(branchName);
+
+ GitAuth gitAuth = new GitAuth();
+ gitAuth.setPrivateKey("private-key");
+ gitAuth.setPublicKey("public-key");
+ metaData.setGitAuth(gitAuth);
+
+ application.setGitApplicationMetadata(metaData);
+
+ Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_server_autocommit_feature_enabled))
+ .thenReturn(Mono.just(Boolean.FALSE));
+
+ StepVerifier.create(gitAutoCommitHelper.autoCommitServerMigration(defaultApplicationId, branchName))
+ .assertNext(isAutoCommitPublished -> {
+ assertThat(isAutoCommitPublished).isFalse();
+ });
+ }
+
+ @Test
+ public void autoCommitApplication_WhenServerRequiresMigration_successIfEverythingIsRight() {
+ Application application = new Application();
+ application.setWorkspaceId("sample-workspace-id");
+ GitArtifactMetadata metaData = new GitArtifactMetadata();
+ metaData.setRepoName("test-repo-name");
+ metaData.setDefaultApplicationId(defaultApplicationId);
+ metaData.setBranchName(branchName);
+
+ GitAuth gitAuth = new GitAuth();
+ gitAuth.setPrivateKey("private-key");
+ gitAuth.setPublicKey("public-key");
+ metaData.setGitAuth(gitAuth);
+
+ application.setGitApplicationMetadata(metaData);
+
+ Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_server_autocommit_feature_enabled))
+ .thenReturn(Mono.just(Boolean.TRUE));
+
+ Mockito.when(applicationService.findById(anyString(), any(AclPermission.class)))
+ .thenReturn(Mono.just(application));
+
+ Mockito.when(applicationService.findByBranchNameAndDefaultApplicationId(
+ anyString(), anyString(), any(AclPermission.class)))
+ .thenReturn(Mono.just(application));
+
+ Mockito.when(commonGitService.fetchRemoteChanges(
+ any(Application.class), any(Application.class), anyString(), anyBoolean()))
+ .thenReturn(Mono.just(branchTrackingStatus));
+
+ Mockito.when(branchTrackingStatus.getBehindCount()).thenReturn(0);
+
+ StepVerifier.create(gitAutoCommitHelper.autoCommitServerMigration(defaultApplicationId, branchName))
+ .assertNext(isAutoCommitPublished -> {
+ assertThat(isAutoCommitPublished).isTrue();
+ });
+ }
+
+ @Test
+ public void autoCommitApplication_WhenServerDoesNotRequireMigration_returnFalse() {
+ Application application = new Application();
+ application.setWorkspaceId("sample-workspace-id");
+ GitArtifactMetadata metaData = new GitArtifactMetadata();
+ metaData.setRepoName("test-repo-name");
+ metaData.setDefaultApplicationId(defaultApplicationId);
+ metaData.setBranchName(branchName);
+
+ GitAuth gitAuth = new GitAuth();
+ gitAuth.setPrivateKey("private-key");
+ gitAuth.setPublicKey("public-key");
+ metaData.setGitAuth(gitAuth);
+
+ application.setGitApplicationMetadata(metaData);
+
+ Mockito.when(featureFlagService.check(FeatureFlagEnum.release_git_server_autocommit_feature_enabled))
+ .thenReturn(Mono.just(Boolean.TRUE));
+
+ Mockito.when(applicationService.findById(anyString(), any(AclPermission.class)))
+ .thenReturn(Mono.just(application));
+
+ StepVerifier.create(gitAutoCommitHelper.autoCommitServerMigration(defaultApplicationId, branchName))
+ .assertNext(isAutoCommitPublished -> {
+ assertThat(isAutoCommitPublished).isFalse();
+ });
+ }
}
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 ad19c185644f..4e8a98f6947b 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
@@ -354,7 +354,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(JsonSchemaMigration::migrateApplicationToLatestSchema);
+ .map(JsonSchemaMigration::migrateArtifactToLatestSchema)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
private Workspace createTemplateWorkspace() {
@@ -983,8 +984,7 @@ public void importArtifactFromValidJsonFileTest() {
final List<CustomJSLib> importedJSLibList = tuple.getT6();
// although the imported list had only one jsLib entry, the other entry comes from ensuring an xml
- // parser entry
- // for backward compatibility
+ // parser entry for backward compatibility
assertEquals(2, importedJSLibList.size());
CustomJSLib importedJSLib = (CustomJSLib) importedJSLibList.toArray()[0];
CustomJSLib expectedJSLib = new CustomJSLib(
@@ -996,8 +996,7 @@ public void importArtifactFromValidJsonFileTest() {
assertEquals(expectedJSLib.getVersion(), importedJSLib.getVersion());
assertEquals(expectedJSLib.getDefs(), importedJSLib.getDefs());
// although the imported list had only one jsLib entry, the other entry comes from ensuring an xml
- // parser entry
- // for backward compatibility
+ // parser entry for backward compatibility
assertEquals(2, application.getUnpublishedCustomJSLibs().size());
assertThat(application.getName()).isEqualTo("valid_application");
@@ -2714,7 +2713,7 @@ public void applySchemaMigration_jsonFileWithFirstVersion_migratedToLatestVersio
Mono<ApplicationJson> migratedApplicationMono = v1ApplicationMono.map(applicationJson -> {
ApplicationJson applicationJson1 = new ApplicationJson();
AppsmithBeanUtils.copyNestedNonNullProperties(applicationJson, applicationJson1);
- return JsonSchemaMigration.migrateApplicationToLatestSchema(applicationJson1);
+ return (ApplicationJson) JsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson1);
});
StepVerifier.create(Mono.zip(v1ApplicationMono, migratedApplicationMono))
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/testhelpers/git/GitFileSystemTestHelper.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/testhelpers/git/GitFileSystemTestHelper.java
new file mode 100644
index 000000000000..f04ee1cbbb8d
--- /dev/null
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/testhelpers/git/GitFileSystemTestHelper.java
@@ -0,0 +1,99 @@
+package com.appsmith.server.testhelpers.git;
+
+import com.appsmith.external.converters.ISOStringToInstantConverter;
+import com.appsmith.external.git.GitExecutor;
+import com.appsmith.git.constants.CommonConstants;
+import com.appsmith.server.dtos.ApplicationJson;
+import com.appsmith.server.events.AutoCommitEvent;
+import com.appsmith.server.helpers.CommonGitFileUtils;
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import lombok.RequiredArgsConstructor;
+import lombok.extern.slf4j.Slf4j;
+import org.eclipse.jgit.api.errors.GitAPIException;
+import org.springframework.stereotype.Component;
+import org.testcontainers.shaded.org.apache.commons.io.FileUtils;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.time.Instant;
+
+@Slf4j
+@Component
+@RequiredArgsConstructor
+public class GitFileSystemTestHelper {
+
+ private final GitExecutor gitExecutor;
+ private final CommonGitFileUtils commonGitFileUtils;
+
+ private final Gson gson = new GsonBuilder()
+ .registerTypeAdapter(Instant.class, new ISOStringToInstantConverter())
+ .create();
+
+ public void setupGitRepository(
+ String workspaceId,
+ String applicationId,
+ String branchName,
+ String repoName,
+ ApplicationJson applicationJson)
+ throws GitAPIException, IOException {
+ Path suffix = Paths.get(workspaceId, applicationId, repoName);
+ Path gitCompletePath = gitExecutor.createRepoPath(suffix);
+ String metadataFileName = CommonConstants.METADATA + CommonConstants.JSON_EXTENSION;
+
+ // create a new repository
+ log.debug("Setting up Git repository at path: {}", gitCompletePath);
+ gitExecutor.createNewRepository(gitCompletePath);
+ File file = gitCompletePath.resolve(metadataFileName).toFile();
+ file.createNewFile();
+
+ // committing initially to avoid ref-head error
+ gitExecutor
+ .commitArtifact(suffix, "commit message", "user", "[email protected]", true, false)
+ .block();
+
+ // checkout to the new branch
+ gitExecutor.createAndCheckoutToBranch(suffix, branchName).block();
+
+ // saving the files into the git repository from application json
+ // The files would later be saved in this git repository from resources section instead of applicationJson
+ commonGitFileUtils
+ .saveArtifactToLocalRepo(workspaceId, applicationId, repoName, applicationJson, branchName)
+ .block();
+
+ // commit the application
+ gitExecutor
+ .commitArtifact(suffix, "commit message two", "user", "[email protected]", true, false)
+ .block();
+ }
+
+ public void setupGitRepository(AutoCommitEvent autoCommitEvent, ApplicationJson applicationJson)
+ throws GitAPIException, IOException {
+ String workspaceId = autoCommitEvent.getWorkspaceId();
+ String applicationId = autoCommitEvent.getApplicationId();
+ String branchName = autoCommitEvent.getBranchName();
+ String repoName = autoCommitEvent.getRepoName();
+
+ setupGitRepository(workspaceId, applicationId, branchName, repoName, applicationJson);
+ }
+
+ public void deleteWorkspaceDirectory(String workspaceId) {
+ try {
+ Path repoPath = gitExecutor.createRepoPath(Paths.get(workspaceId));
+ FileUtils.deleteDirectory(repoPath.toFile());
+ } catch (IOException ioException) {
+ log.info("unable to delete the workspace with id : {}", workspaceId);
+ }
+ }
+
+ public ApplicationJson getApplicationJson(URL fileUrl) throws URISyntaxException, IOException {
+ File file = new File(fileUrl.toURI());
+ FileReader fileReader = new FileReader(file);
+ return gson.fromJson(fileReader, ApplicationJson.class);
+ }
+}
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 095b3c30a6e7..d6d0b3b8e075 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
@@ -127,7 +127,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(JsonSchemaMigration::migrateApplicationToLatestSchema);
+ .map(JsonSchemaMigration::migrateArtifactToLatestSchema)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
@Test
diff --git a/app/server/appsmith-server/src/test/resources/application-test.properties b/app/server/appsmith-server/src/test/resources/application-test.properties
index e78a9816ac73..18d30ada04c8 100644
--- a/app/server/appsmith-server/src/test/resources/application-test.properties
+++ b/app/server/appsmith-server/src/test/resources/application-test.properties
@@ -1,3 +1,4 @@
# embedded mongo DB version which is used during junit tests
de.flapdoodle.mongodb.embedded.version=5.0.5
-logging.level.root=error
\ No newline at end of file
+logging.level.root=error
+appsmith.git.root=./container-volumes/git-storage/
diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json
new file mode 100644
index 000000000000..b03aad4744f6
--- /dev/null
+++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json
@@ -0,0 +1,27929 @@
+{
+ "artifactJsonType": "APPLICATION",
+ "clientSchemaVersion": 1,
+ "serverSchemaVersion": 7,
+ "exportedApplication": {
+ "name": "CE-automation-test",
+ "isPublic": false,
+ "pages": [
+ {
+ "id": "Page 3",
+ "isDefault": false
+ },
+ {
+ "id": "Navigated Page",
+ "isDefault": false
+ },
+ {
+ "id": "Page 4",
+ "isDefault": false
+ },
+ {
+ "id": "Page 2",
+ "isDefault": true
+ },
+ {
+ "id": "Page 1",
+ "isDefault": false
+ },
+ {
+ "id": "--Playground1",
+ "isDefault": false
+ },
+ {
+ "id": "--Playground",
+ "isDefault": false
+ },
+ {
+ "id": "Page 5",
+ "isDefault": false
+ }
+ ],
+ "publishedPages": [],
+ "viewMode": false,
+ "appIsExample": false,
+ "unreadCommentThreads": 0,
+ "color": "#FFEBFB",
+ "icon": "flight",
+ "slug": "ce-automation-test",
+ "unpublishedCustomJSLibs": [
+ {
+ "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js"
+ },
+ {
+ "uidString": "jsonwebtoken_/libraries/[email protected]"
+ },
+ {
+ "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js"
+ },
+ {
+ "uidString": "UUID_https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js"
+ },
+ {
+ "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js"
+ }
+ ],
+ "publishedCustomJSLibs": [],
+ "evaluationVersion": 2,
+ "applicationVersion": 2,
+ "embedSetting": {
+ "height": "720px",
+ "width": "1024px",
+ "showNavigationBar": true
+ },
+ "isManualUpdate": false,
+ "deleted": false
+ },
+ "datasourceList": [
+ {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace1"
+ },
+ {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace2"
+ },
+ {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace3"
+ }
+ ],
+ "customJSLibList": [
+ {
+ "name": "AWS",
+ "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js",
+ "accessor": [
+ "AWS"
+ ],
+ "url": "https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js",
+ "version": "",
+ "defs": "{\"!name\":\"LIB/AWS\",\"AWS\":{\"util\":{\"environment\":{\"!type\":\"string\"},\"engine\":{\"!type\":\"fn()\",\"prototype\":{}},\"userAgent\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscape\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscapePath\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlFormat\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryStringParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryParamsToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"readFileSync\":{\"!type\":\"fn()\",\"prototype\":{}},\"base64\":{\"encode\":{},\"decode\":{}},\"buffer\":{\"toStream\":{},\"concat\":{}},\"string\":{\"byteLength\":{},\"upperFirst\":{},\"lowerFirst\":{}},\"ini\":{\"parse\":{}},\"fn\":{\"noop\":{},\"callback\":{},\"makeAsync\":{}},\"date\":{\"getDate\":{},\"iso8601\":{},\"rfc822\":{},\"unixTimestamp\":{},\"from\":{},\"format\":{},\"parseTimestamp\":{}},\"crypto\":{\"crc32Table\":{},\"crc32\":{},\"hmac\":{},\"md5\":{},\"sha256\":{},\"hash\":{},\"toHex\":{},\"createHash\":{},\"lib\":{}},\"abort\":{},\"each\":{\"!type\":\"fn()\",\"prototype\":{}},\"arrayEach\":{\"!type\":\"fn()\",\"prototype\":{}},\"update\":{\"!type\":\"fn()\",\"prototype\":{}},\"merge\":{\"!type\":\"fn()\",\"prototype\":{}},\"copy\":{\"!type\":\"fn()\",\"prototype\":{}},\"isEmpty\":{\"!type\":\"fn()\",\"prototype\":{}},\"arraySliceFn\":{\"!type\":\"fn()\",\"prototype\":{}},\"isType\":{\"!type\":\"fn()\",\"prototype\":{}},\"typeName\":{\"!type\":\"fn()\",\"prototype\":{}},\"error\":{\"!type\":\"fn()\",\"prototype\":{}},\"inherit\":{\"!type\":\"fn()\",\"prototype\":{}},\"mixin\":{\"!type\":\"fn()\",\"prototype\":{}},\"hideProperties\":{\"!type\":\"fn()\",\"prototype\":{}},\"property\":{\"!type\":\"fn()\",\"prototype\":{}},\"memoizedProperty\":{\"!type\":\"fn()\",\"prototype\":{}},\"hoistPayloadMember\":{\"!type\":\"fn()\",\"prototype\":{}},\"computeSha256\":{\"!type\":\"fn()\",\"prototype\":{}},\"isClockSkewed\":{\"!type\":\"fn()\",\"prototype\":{}},\"applyClockOffset\":{\"!type\":\"fn()\",\"prototype\":{}},\"extractRequestId\":{\"!type\":\"fn()\",\"prototype\":{}},\"addPromises\":{\"!type\":\"fn()\",\"prototype\":{}},\"promisifyMethod\":{\"!type\":\"fn()\",\"prototype\":{}},\"isDualstackAvailable\":{\"!type\":\"fn()\",\"prototype\":{}},\"calculateRetryDelay\":{\"!type\":\"fn()\",\"prototype\":{}},\"handleRequestWithRetries\":{\"!type\":\"fn()\",\"prototype\":{}},\"uuid\":{\"v4\":{}},\"convertPayloadToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"defer\":{\"!type\":\"fn()\",\"prototype\":{}},\"defaultProfile\":{\"!type\":\"string\"},\"configOptInEnv\":{\"!type\":\"string\"},\"sharedCredentialsFileEnv\":{\"!type\":\"string\"},\"sharedConfigFileEnv\":{\"!type\":\"string\"},\"imdsDisabledEnv\":{\"!type\":\"string\"},\"Buffer\":{\"!type\":\"fn()\",\"prototype\":{},\"TYPED_ARRAY_SUPPORT\":{},\"poolSize\":{},\"_augment\":{},\"from\":{},\"alloc\":{},\"allocUnsafe\":{},\"allocUnsafeSlow\":{},\"isBuffer\":{},\"compare\":{},\"isEncoding\":{},\"concat\":{},\"byteLength\":{}},\"url\":{\"parse\":{},\"resolve\":{},\"resolveObject\":{},\"format\":{},\"Url\":{}},\"querystring\":{\"parse\":{},\"decode\":{},\"stringify\":{},\"encode\":{}},\"realClock\":{\"now\":{}},\"createEventStream\":{\"!type\":\"fn()\",\"prototype\":{}},\"isBrowser\":{\"!type\":\"fn()\",\"prototype\":{}},\"isNode\":{\"!type\":\"fn()\",\"prototype\":{}}},\"VERSION\":{\"!type\":\"string\"},\"Signers\":{\"RequestSigner\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getVersion\":{}},\"V2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3Https\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V4\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Presign\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}}},\"Protocol\":{\"Json\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Query\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Rest\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{},\"generateURI\":{}},\"RestJson\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"RestXml\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}}},\"XML\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"JSON\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"Model\":{\"Api\":{\"!type\":\"fn()\",\"prototype\":{}},\"Operation\":{\"!type\":\"fn()\",\"prototype\":{}},\"Shape\":{\"!type\":\"fn()\",\"prototype\":{},\"normalizedTypes\":{},\"types\":{},\"resolve\":{},\"create\":{},\"shapes\":{}},\"Paginator\":{\"!type\":\"fn()\",\"prototype\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{}}},\"apiLoader\":{\"!type\":\"fn()\",\"prototype\":{},\"services\":{\"sts\":{},\"cognitoidentity\":{},\"acm\":{},\"apigateway\":{},\"applicationautoscaling\":{},\"autoscaling\":{},\"cloudformation\":{},\"cloudfront\":{},\"cloudhsm\":{},\"cloudtrail\":{},\"cloudwatch\":{},\"cloudwatchevents\":{},\"cloudwatchlogs\":{},\"codebuild\":{},\"codecommit\":{},\"codedeploy\":{},\"codepipeline\":{},\"cognitoidentityserviceprovider\":{},\"cognitosync\":{},\"configservice\":{},\"cur\":{},\"devicefarm\":{},\"directconnect\":{},\"dynamodb\":{},\"dynamodbstreams\":{},\"ec2\":{},\"ecr\":{},\"ecs\":{},\"efs\":{},\"elasticache\":{},\"elasticbeanstalk\":{},\"elb\":{},\"elbv2\":{},\"emr\":{},\"elastictranscoder\":{},\"firehose\":{},\"gamelift\":{},\"inspector\":{},\"iot\":{},\"iotdata\":{},\"kinesis\":{},\"kms\":{},\"lambda\":{},\"lexruntime\":{},\"machinelearning\":{},\"marketplacecommerceanalytics\":{},\"mturk\":{},\"mobileanalytics\":{},\"opsworks\":{},\"polly\":{},\"rds\":{},\"redshift\":{},\"rekognition\":{},\"route53\":{},\"route53domains\":{},\"s3\":{},\"servicecatalog\":{},\"ses\":{},\"sns\":{},\"sqs\":{},\"ssm\":{},\"storagegateway\":{},\"waf\":{},\"workdocs\":{},\"lexmodelbuildingservice\":{},\"pricing\":{},\"mediastoredata\":{},\"comprehend\":{},\"kinesisvideoarchivedmedia\":{},\"kinesisvideomedia\":{},\"kinesisvideo\":{},\"translate\":{},\"secretsmanager\":{}}},\"EndpointCache\":{\"!type\":\"fn()\",\"prototype\":{\"size\":{}},\"getKeyString\":{}},\"SequentialExecutor\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Service\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defineMethods\":{},\"defineService\":{},\"addVersions\":{},\"defineServiceApi\":{},\"hasService\":{},\"addDefaultMonitoringListeners\":{},\"_serviceMap\":{}},\"Credentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"CredentialProviderChain\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defaultProviders\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Config\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"config\":{\"credentials\":{},\"credentialProvider\":{},\"region\":{},\"logger\":{},\"apiVersions\":{},\"apiVersion\":{},\"endpoint\":{},\"httpOptions\":{},\"maxRetries\":{},\"maxRedirects\":{},\"paramValidation\":{},\"sslEnabled\":{},\"s3ForcePathStyle\":{},\"s3BucketEndpoint\":{},\"s3DisableBodySigning\":{},\"computeChecksums\":{},\"convertResponseTypes\":{},\"correctClockSkew\":{},\"customUserAgent\":{},\"dynamoDbCrc32\":{},\"systemClockOffset\":{},\"signatureVersion\":{},\"signatureCache\":{},\"retryDelayOptions\":{},\"useAccelerateEndpoint\":{},\"clientSideMonitoring\":{},\"endpointDiscoveryEnabled\":{},\"endpointCacheSize\":{},\"hostPrefixEnabled\":{},\"getCredentials\":{},\"update\":{},\"loadFromPath\":{},\"clear\":{},\"set\":{},\"keys\":{},\"extractCredentials\":{},\"setPromisesDependency\":{},\"getPromisesDependency\":{}},\"Endpoint\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpRequest\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpResponse\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getInstance\":{},\"streamsApiVersion\":{}},\"EventListeners\":{\"Core\":{},\"CorePost\":{},\"Logger\":{},\"Json\":{},\"Rest\":{},\"RestJson\":{},\"RestXml\":{},\"Query\":{}},\"Request\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Response\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ParamValidator\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"events\":{\"_events\":{},\"listeners\":{},\"on\":{},\"onAsync\":{},\"removeListener\":{},\"removeAllListeners\":{},\"emit\":{},\"callListeners\":{},\"addListeners\":{},\"addNamedListener\":{},\"addNamedAsyncListener\":{},\"addNamedListeners\":{},\"addListener\":{}},\"endpointCache\":{\"maxSize\":{},\"cache\":{},\"size\":{},\"put\":{},\"get\":{},\"populateValue\":{},\"empty\":{},\"remove\":{}},\"STS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"TemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ChainableTemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"WebIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"CognitoIdentity\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"SAMLCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"XHRClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ACM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"APIGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ApplicationAutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"AutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFormation\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFront\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"CloudHSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudTrail\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatch\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchEvents\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchLogs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeBuild\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeCommit\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeDeploy\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodePipeline\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityServiceProvider\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoSync\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ConfigService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CUR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DeviceFarm\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DirectConnect\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DynamoDB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Converter\":{},\"DocumentClient\":{}},\"DynamoDBStreams\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EC2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EFS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElastiCache\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticBeanstalk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELBv2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EMR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticTranscoder\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Firehose\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"GameLift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Inspector\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Iot\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"IotData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Kinesis\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KMS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Lambda\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexRuntime\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MachineLearning\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MarketplaceCommerceAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MTurk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MobileAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"OpsWorks\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Polly\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Presigner\":{}},\"RDS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"Redshift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Rekognition\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53Domains\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"ManagedUpload\":{}},\"ServiceCatalog\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SES\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SNS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SQS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"StorageGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WAF\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WorkDocs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexModelBuildingService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Pricing\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MediaStoreData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Comprehend\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoArchivedMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideo\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Translate\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SecretsManager\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "uuidjs",
+ "uidString": "UUID_https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
+ "accessor": [
+ "UUID"
+ ],
+ "url": "https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
+ "version": "4.2.12",
+ "defs": "{\"!name\":\"LIB/UUID\",\"UUID\":{\"!type\":\"fn()\",\"prototype\":{\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"generate\":{\"!type\":\"fn()\",\"prototype\":{}},\"_getRandomInt\":{\"!type\":\"fn()\",\"prototype\":{}},\"_hexAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"overwrittenUUID\":{\"!type\":\"?\"},\"useMathRandom\":{\"!type\":\"fn()\",\"prototype\":{}},\"FIELD_NAMES\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"FIELD_SIZES\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"genV4\":{\"!type\":\"fn()\",\"prototype\":{}},\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"_binAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"NIL\":{\"intFields\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"timeLow\":{\"!type\":\"number\"},\"timeMid\":{\"!type\":\"number\"},\"timeHiAndVersion\":{\"!type\":\"number\"},\"clockSeqHiAndReserved\":{\"!type\":\"number\"},\"clockSeqLow\":{\"!type\":\"number\"},\"node\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"bitFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"hexFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"version\":{\"!type\":\"number\"},\"bitString\":{\"!type\":\"string\"},\"hexNoDelim\":{\"!type\":\"string\"},\"hexString\":{\"!type\":\"string\"},\"urn\":{\"!type\":\"string\"},\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"genV1\":{\"!type\":\"fn()\",\"prototype\":{}},\"resetState\":{\"!type\":\"fn()\",\"prototype\":{}},\"_tsRatio\":{\"!type\":\"number\"},\"_state\":{\"!type\":\"?\"},\"_getTimeFieldValues\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "@amplitude/analytics-browser",
+ "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
+ "accessor": [
+ "amplitude"
+ ],
+ "url": "https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
+ "version": "1.6.1",
+ "defs": "{\"!name\":\"LIB/amplitude\",\"amplitude\":{\"Identify\":{\"!type\":\"fn()\",\"prototype\":{}},\"Revenue\":{\"!type\":\"fn()\",\"prototype\":{}},\"Types\":{\"ServerZone\":{},\"SpecialEventType\":{},\"IdentifyOperation\":{},\"RevenueProperty\":{},\"LogLevel\":{},\"PluginType\":{},\"Status\":{},\"TransportType\":{}},\"add\":{},\"createInstance\":{},\"flush\":{},\"getDeviceId\":{},\"getSessionId\":{},\"getUserId\":{},\"groupIdentify\":{},\"identify\":{},\"init\":{},\"logEvent\":{},\"remove\":{},\"reset\":{},\"revenue\":{},\"runQueuedFunctions\":{},\"setDeviceId\":{},\"setGroup\":{},\"setOptOut\":{},\"setSessionId\":{},\"setTransport\":{},\"setUserId\":{},\"track\":{},\"__esModule\":{}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "jsonwebtoken",
+ "uidString": "jsonwebtoken_/libraries/[email protected]",
+ "accessor": [
+ "jsonwebtoken"
+ ],
+ "url": "/libraries/[email protected]",
+ "version": "8.5.1",
+ "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "xmlParser",
+ "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js",
+ "accessor": [
+ "xmlParser"
+ ],
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js",
+ "version": "3.17.5",
+ "defs": "{\"!name\":\"LIB/xmlParser\",\"xmlParser\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertTonimn\":{\"!type\":\"fn()\",\"prototype\":{}},\"getTraversalObj\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJson\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJsonString\":{\"!type\":\"fn()\",\"prototype\":{}},\"validate\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2xParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2x\":{\"!type\":\"fn()\",\"prototype\":{}}}},\"parseToNimn\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "pageList": [
+ {
+ "unpublishedPage": {
+ "name": "Navigated Page",
+ "slug": "navigated-page",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 5,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Page navigation from TC3 gets you here",
+ "key": "ptl4x2jsj7",
+ "isDeprecated": false,
+ "rightColumn": 55,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5e44ag6uyn",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "3rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Navigated Page",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Navigated Page",
+ "slug": "navigated-page",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 5,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Page navigation from TC3 gets you here",
+ "key": "ptl4x2jsj7",
+ "isDeprecated": false,
+ "rightColumn": 55,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5e44ag6uyn",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "3rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Navigated Page",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf6"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 2",
+ "slug": "page-2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1870,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "rtn5gj1iay",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data.message}}",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "objectFit": "contain",
+ "widgetId": "2evm572ii0",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.facts[0] ?? \"Waiting to show dog facts\"}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0lmhvlsozc",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 6,
+ "bottomRow": 93,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "hdrkhj2fvt",
+ "containerStyle": "none",
+ "bottomRow": 870,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "yrdah1axob",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "pjvnbnmrik",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC4",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "lantjruf0o",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text1Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 53,
+ "bottomRow": 69,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.kittyFact}}",
+ "key": "smwgwx0oj7",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9hsqxgd5tt",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 53,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 69,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 14,
+ "bottomRow": 51,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "v1dcrk183j",
+ "image": "{{appsmith.store.doggoImage}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "t6b330438y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 16,
+ "bottomRow": 53,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "ikay0ds7n4",
+ "image": "{{appsmith.store.kittyImage}}",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "objectFit": "contain",
+ "widgetId": "4z5pv3m1em",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 16,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 53,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 8,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Cat",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{TC4.cat()}}"
+ },
+ "groupButton2": {
+ "label": "Dog",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{TC4.dog();}}"
+ },
+ "groupButton0c5t9yzrfh": {
+ "id": "groupButton0c5t9yzrfh",
+ "index": 2,
+ "label": "Both",
+ "menuItems": {},
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "r41vw4o7o3",
+ "isDisabled": false,
+ "isVisible": true,
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "onClick": "{{TC4.both()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "leftColumn": 17,
+ "dynamicBindingPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "widgetId": "cp1ku9sd4h",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2Copy1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 51,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 10.337890625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.dogFact}}",
+ "key": "gczlrxsr70",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "svs7gh57bz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1Copy",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 69,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Clear kitty",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{clearInterval('kitty')}}"
+ },
+ "groupButton2": {
+ "label": "Clear doggo",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{clearInterval('doggo')}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "widgetId": "4nwrn0lnur",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "originalTopRow": 69,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 75,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "mobileBottomRow": 81,
+ "widgetName": "NumberSlider1",
+ "defaultValue": "5000",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "Refresh duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 77,
+ "bottomRow": 81,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 51,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 13.796875,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "isDisabled": false,
+ "key": "w87aglxqe9",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 52,
+ "max": "15000",
+ "widgetId": "pw55xzgtyd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"label\": \"5s\",\n \"value\": 5000\n },\n {\n \"label\": \"10s\",\n \"value\": 10000\n },\n {\n \"label\": \"15s\",\n \"value\": 15000\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 73,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 77,
+ "mobileLeftColumn": 11,
+ "originalBottomRow": 81,
+ "step": "10",
+ "showMarksLabel": true
+ },
+ {
+ "mobileBottomRow": 13,
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 9,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.factsApi}}\n{{appsmith.store.imageApi}}",
+ "key": "o7lra5yjtq",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "k2jjway841",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 9,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 9,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 16,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 6,
+ "widgetName": "Button1",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 2,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 15,
+ "animateLoading": true,
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "mq36p1d6a7",
+ "isDeprecated": false,
+ "rightColumn": 15,
+ "isDefaultClickDisabled": true,
+ "widgetId": "52aina4tgc",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "yrdah1axob",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 92,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container2",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 105,
+ "bottomRow": 179,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1Copy",
+ "detachFromLayout": true,
+ "widgetId": "cvswye62f0",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "qophrhb9ws",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 731.2601661682129,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "iconName": "arrow-top-right",
+ "widgetId": "yap98rhcqn",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "isSortable": true,
+ "type": "TABLE_WIDGET",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 43,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "widgetName": "Table2Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "onPageSizeChange": "",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageSizeChange"
+ }
+ ],
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textSize": "0.875rem",
+ "widgetId": "ks1q35pgko",
+ "tableData": "{{Api3.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "widgetName": "Text5",
+ "borderColor": "#3730a3",
+ "dynamicPropertyPathList": [],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 67,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "2",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Widget navigation led you here",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "backgroundColor": "#3730a3",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0mi3h8zskd",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#fafafa",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table1Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 21,
+ "textSize": "0.875rem",
+ "widgetId": "44lgrfydql",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api1.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select2",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Select navigation type",
+ "topRow": 9,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC3.myVar1}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 48,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ywc7thfwfa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{TC3.myFun1()}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC3",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ht0x7fh5ev",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table2",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 21,
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "textSize": "0.875rem",
+ "widgetId": "j4hy3296sv",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api2.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Tabs1",
+ "isCanvas": true,
+ "displayName": "Tabs",
+ "iconSVG": "/static/media/icon.74a6d653.svg",
+ "topRow": 47,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TABS_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTabSelected"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "tabId": "tab1",
+ "boxShadow": "none",
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 1",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "bv937y1isa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "tabId": "tab2",
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 3,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "If you're seeing this message, then you've most probably been redirected to this spot ✌🏽",
+ "key": "atozs3dqkq",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "stu122x6ov",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "fc3l3b6pjd",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 2",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "fc3l3b6pjd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "key": "wvw41p337s",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1wwv4lpx0h",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "defaultTab": "Tab 1",
+ "onTabSelected": "",
+ "shouldShowTabs": true,
+ "tabsObj": {
+ "tab1": {
+ "label": "Tab 1",
+ "id": "tab1",
+ "widgetId": "bv937y1isa",
+ "isVisible": true,
+ "index": 0
+ },
+ "tab2": {
+ "label": "Tab 2",
+ "id": "tab2",
+ "widgetId": "fc3l3b6pjd",
+ "isVisible": true,
+ "index": 1
+ }
+ },
+ "isVisible": true,
+ "version": 3,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qophrhb9ws",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 104,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 178,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data[0].url ?? Image2.image}}",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "objectFit": "contain",
+ "widgetId": "ra1tf5j9f4",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.fact}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "4ubwdgb1h3",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 2_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_Api2",
+ "name": "Api2",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_Api3",
+ "name": "Api3",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_petImagesold",
+ "name": "petImagesold",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_petFactsold",
+ "name": "petFactsold",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 2",
+ "slug": "page-2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1870,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "rtn5gj1iay",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data.message}}",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "objectFit": "contain",
+ "widgetId": "2evm572ii0",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.facts[0] ?? \"Waiting to show dog facts\"}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0lmhvlsozc",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 6,
+ "bottomRow": 93,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "hdrkhj2fvt",
+ "containerStyle": "none",
+ "bottomRow": 870,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "yrdah1axob",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "pjvnbnmrik",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC4",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "lantjruf0o",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text1Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 53,
+ "bottomRow": 69,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.kittyFact}}",
+ "key": "smwgwx0oj7",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9hsqxgd5tt",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 53,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 69,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 14,
+ "bottomRow": 51,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "v1dcrk183j",
+ "image": "{{appsmith.store.doggoImage}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "t6b330438y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 16,
+ "bottomRow": 53,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "ikay0ds7n4",
+ "image": "{{appsmith.store.kittyImage}}",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "objectFit": "contain",
+ "widgetId": "4z5pv3m1em",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 16,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 53,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 8,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Cat",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{TC4.cat()}}"
+ },
+ "groupButton2": {
+ "label": "Dog",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{TC4.dog();}}"
+ },
+ "groupButton0c5t9yzrfh": {
+ "id": "groupButton0c5t9yzrfh",
+ "index": 2,
+ "label": "Both",
+ "menuItems": {},
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "r41vw4o7o3",
+ "isDisabled": false,
+ "isVisible": true,
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "onClick": "{{TC4.both()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "leftColumn": 17,
+ "dynamicBindingPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "widgetId": "cp1ku9sd4h",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2Copy1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 51,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 10.337890625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.dogFact}}",
+ "key": "gczlrxsr70",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "svs7gh57bz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1Copy",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 69,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Clear kitty",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{clearInterval('kitty')}}"
+ },
+ "groupButton2": {
+ "label": "Clear doggo",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{clearInterval('doggo')}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "widgetId": "4nwrn0lnur",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "originalTopRow": 69,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 75,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "mobileBottomRow": 81,
+ "widgetName": "NumberSlider1",
+ "defaultValue": "5000",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "Refresh duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 77,
+ "bottomRow": 81,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 51,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 13.796875,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "isDisabled": false,
+ "key": "w87aglxqe9",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 52,
+ "max": "15000",
+ "widgetId": "pw55xzgtyd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"label\": \"5s\",\n \"value\": 5000\n },\n {\n \"label\": \"10s\",\n \"value\": 10000\n },\n {\n \"label\": \"15s\",\n \"value\": 15000\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 73,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 77,
+ "mobileLeftColumn": 11,
+ "originalBottomRow": 81,
+ "step": "10",
+ "showMarksLabel": true
+ },
+ {
+ "mobileBottomRow": 13,
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 9,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.factsApi}}\n{{appsmith.store.imageApi}}",
+ "key": "o7lra5yjtq",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "k2jjway841",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 9,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 9,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 16,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 6,
+ "widgetName": "Button1",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 2,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 15,
+ "animateLoading": true,
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "mq36p1d6a7",
+ "isDeprecated": false,
+ "rightColumn": 15,
+ "isDefaultClickDisabled": true,
+ "widgetId": "52aina4tgc",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "yrdah1axob",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 92,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container2",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 105,
+ "bottomRow": 179,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1Copy",
+ "detachFromLayout": true,
+ "widgetId": "cvswye62f0",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "qophrhb9ws",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 731.2601661682129,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "iconName": "arrow-top-right",
+ "widgetId": "yap98rhcqn",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "isSortable": true,
+ "type": "TABLE_WIDGET",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 43,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "widgetName": "Table2Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "onPageSizeChange": "",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageSizeChange"
+ }
+ ],
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textSize": "0.875rem",
+ "widgetId": "ks1q35pgko",
+ "tableData": "{{Api3.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "widgetName": "Text5",
+ "borderColor": "#3730a3",
+ "dynamicPropertyPathList": [],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 67,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "2",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Widget navigation led you here",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "backgroundColor": "#3730a3",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0mi3h8zskd",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#fafafa",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table1Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 21,
+ "textSize": "0.875rem",
+ "widgetId": "44lgrfydql",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api1.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select2",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Select navigation type",
+ "topRow": 9,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC3.myVar1}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 48,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ywc7thfwfa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{TC3.myFun1()}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC3",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ht0x7fh5ev",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table2",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 21,
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "textSize": "0.875rem",
+ "widgetId": "j4hy3296sv",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api2.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Tabs1",
+ "isCanvas": true,
+ "displayName": "Tabs",
+ "iconSVG": "/static/media/icon.74a6d653.svg",
+ "topRow": 47,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TABS_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTabSelected"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "tabId": "tab1",
+ "boxShadow": "none",
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 1",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "bv937y1isa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "tabId": "tab2",
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 3,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "If you're seeing this message, then you've most probably been redirected to this spot ✌🏽",
+ "key": "atozs3dqkq",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "stu122x6ov",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "fc3l3b6pjd",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 2",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "fc3l3b6pjd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "key": "wvw41p337s",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1wwv4lpx0h",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "defaultTab": "Tab 1",
+ "onTabSelected": "",
+ "shouldShowTabs": true,
+ "tabsObj": {
+ "tab1": {
+ "label": "Tab 1",
+ "id": "tab1",
+ "widgetId": "bv937y1isa",
+ "isVisible": true,
+ "index": 0
+ },
+ "tab2": {
+ "label": "Tab 2",
+ "id": "tab2",
+ "widgetId": "fc3l3b6pjd",
+ "isVisible": true,
+ "index": 1
+ }
+ },
+ "isVisible": true,
+ "version": 3,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qophrhb9ws",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 104,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 178,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data[0].url ?? Image2.image}}",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "objectFit": "contain",
+ "widgetId": "ra1tf5j9f4",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.fact}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "4ubwdgb1h3",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 2_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_TC4.both",
+ "name": "TC4.both",
+ "collectionId": "Page 2_TC4",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_petImages",
+ "name": "petImages",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_petFacts",
+ "name": "petFacts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf4"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 3",
+ "slug": "page-3",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1300,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 1,
+ "bottomRow": 59,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2",
+ "detachFromLayout": true,
+ "widgetId": "92o1wf4kiz",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "v81j6i48ks",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "qgdqioe4om",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 50,
+ "bottomRow": 55,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 18,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Click on a map pin to see it's location\n{{Map3.selectedMarker.title ?? \"\"}}",
+ "key": "ltq71svusm",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "15s5q5fjq5",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 50,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 55,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 50,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map3",
+ "defaultMarkers": "{{TC5.locations}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 13,
+ "bottomRow": 47,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "allowZoom": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "defaultMarkers"
+ }
+ ],
+ "enablePickLocation": false,
+ "mapCenter": {
+ "lat": 28.6105073,
+ "long": 77.1145653,
+ "title": "394, Jail Rd, Nangal Village, Delhi Cantonment, New Delhi, Delhi 110010, India"
+ },
+ "isClickedMarkerCentered": false,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "6ewoa3cy5w",
+ "isDeprecated": false,
+ "rightColumn": 36.57142857142857,
+ "allowClustering": false,
+ "widgetId": "2ng48j802d",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 14,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 48
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 13,
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "leftColumn": 37.58730158730158,
+ "children": [
+ {
+ "rightColumn": 323.44199657440186,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "zap3upnpc9",
+ "containerStyle": "none",
+ "bottomRow": 330,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "0c4qu88gua",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 435.94356060028076,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 27,
+ "bottomRow": 31,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 8.347826086956522,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.count}}",
+ "key": "q1mz71t6fa",
+ "isDeprecated": false,
+ "rightColumn": 52.869565217391305,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "nq2no4e7u1",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 44,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 48,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{TC5.countdown()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 22,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "Countdown\nfrom {{NumberSlider1.value}} in {{NumberSlider2.value}}ms",
+ "isDisabled": false,
+ "key": "nfmoy84nid",
+ "isDeprecated": false,
+ "rightColumn": 61,
+ "isDefaultClickDisabled": true,
+ "widgetId": "dqzhco0pxx",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 15,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 19,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "widgetName": "NumberSlider2",
+ "defaultValue": "10",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "pick countdown duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 15,
+ "bottomRow": 22,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": "10",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": "200",
+ "widgetId": "25v6rx7lp5",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 100,\n \"label\": \"100\"\n },\n {\n \"value\": 150,\n \"label\": \"150\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "NumberSlider1",
+ "defaultValue": "50",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "select a number you want to countdown from",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 7,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": 100,
+ "widgetId": "krvk4jsa77",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 25,\n \"label\": \"25\"\n },\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 75,\n \"label\": \"75\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "OUTTER VARIABLE MODIFICATION",
+ "key": "s7vnc82698",
+ "isDeprecated": false,
+ "rightColumn": 61.21739130434783,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "a8tis5fxkf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "0c4qu88gua",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 13,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 46,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9laodeyhr2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v81j6i48ks",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ },
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2Copy",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 64,
+ "bottomRow": 122,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2Copy",
+ "detachFromLayout": true,
+ "widgetId": "krk7t6fkrj",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mtx9rr9sv3",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "kgie13n9d2",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC6",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "8od3vchpi2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "mobileBottomRow": 24,
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 20,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 25,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.56103515625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "",
+ "key": "sefx44qvp2",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "65xjdau988",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 20,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 9,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mtx9rr9sv3",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 3",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 3",
+ "slug": "page-3",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1300,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 1,
+ "bottomRow": 59,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2",
+ "detachFromLayout": true,
+ "widgetId": "92o1wf4kiz",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "v81j6i48ks",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "qgdqioe4om",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 50,
+ "bottomRow": 55,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 18,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Click on a map pin to see it's location\n{{Map3.selectedMarker.title ?? \"\"}}",
+ "key": "ltq71svusm",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "15s5q5fjq5",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 50,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 55,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 50,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map3",
+ "defaultMarkers": "{{TC5.locations}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 13,
+ "bottomRow": 47,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "allowZoom": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "defaultMarkers"
+ }
+ ],
+ "enablePickLocation": false,
+ "mapCenter": {
+ "lat": 28.6105073,
+ "long": 77.1145653,
+ "title": "394, Jail Rd, Nangal Village, Delhi Cantonment, New Delhi, Delhi 110010, India"
+ },
+ "isClickedMarkerCentered": false,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "6ewoa3cy5w",
+ "isDeprecated": false,
+ "rightColumn": 36.57142857142857,
+ "allowClustering": false,
+ "widgetId": "2ng48j802d",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 14,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 48
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 13,
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "leftColumn": 37.58730158730158,
+ "children": [
+ {
+ "rightColumn": 323.44199657440186,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "zap3upnpc9",
+ "containerStyle": "none",
+ "bottomRow": 330,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "0c4qu88gua",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 435.94356060028076,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 27,
+ "bottomRow": 31,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 8.347826086956522,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.count}}",
+ "key": "q1mz71t6fa",
+ "isDeprecated": false,
+ "rightColumn": 52.869565217391305,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "nq2no4e7u1",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 44,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 48,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{TC5.countdown()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 22,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "Countdown\nfrom {{NumberSlider1.value}} in {{NumberSlider2.value}}ms",
+ "isDisabled": false,
+ "key": "nfmoy84nid",
+ "isDeprecated": false,
+ "rightColumn": 61,
+ "isDefaultClickDisabled": true,
+ "widgetId": "dqzhco0pxx",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 15,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 19,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "widgetName": "NumberSlider2",
+ "defaultValue": "10",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "pick countdown duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 15,
+ "bottomRow": 22,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": "10",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": "200",
+ "widgetId": "25v6rx7lp5",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 100,\n \"label\": \"100\"\n },\n {\n \"value\": 150,\n \"label\": \"150\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "NumberSlider1",
+ "defaultValue": "50",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "select a number you want to countdown from",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 7,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": 100,
+ "widgetId": "krvk4jsa77",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 25,\n \"label\": \"25\"\n },\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 75,\n \"label\": \"75\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "OUTTER VARIABLE MODIFICATION",
+ "key": "s7vnc82698",
+ "isDeprecated": false,
+ "rightColumn": 61.21739130434783,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "a8tis5fxkf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "0c4qu88gua",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 13,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 46,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9laodeyhr2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v81j6i48ks",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ },
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2Copy",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 64,
+ "bottomRow": 122,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2Copy",
+ "detachFromLayout": true,
+ "widgetId": "krk7t6fkrj",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mtx9rr9sv3",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "kgie13n9d2",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC6",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "8od3vchpi2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "mobileBottomRow": 24,
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 20,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 25,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.56103515625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "",
+ "key": "sefx44qvp2",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "65xjdau988",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 20,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 9,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mtx9rr9sv3",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 3_TC5.storeLocation",
+ "name": "TC5.storeLocation",
+ "collectionId": "Page 3_TC5",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 3_TC6.myFun2",
+ "name": "TC6.myFun2",
+ "collectionId": "Page 3_TC6",
+ "clientSideExecution": true,
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 3",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf8"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 4",
+ "slug": "page-4",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 650,
+ "containerStyle": "none",
+ "snapRows": 61,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Checkbox1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Checkbox",
+ "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg",
+ "searchTags": [
+ "boolean"
+ ],
+ "topRow": 3,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "CHECKBOX_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onCheckChange"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "onCheckChange": "",
+ "isDisabled": false,
+ "key": "o2vo6m4r0d",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "7og0usx4uq",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "label": "You having a good day?",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 3,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "defaultCheckedState": false,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 8,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "ButtonGroup2",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 12,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Make 'em all disappear",
+ "iconName": "clean",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','false');;}}"
+ },
+ "groupButton2": {
+ "label": "Bring them back!",
+ "iconName": "asterisk",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','true');;}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ }
+ ],
+ "key": "41w8av7fig",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "i3fwzt60ns",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "boxShadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "*_* Blue",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#93c5fd",
+ "onClick": "{{TC6.blue()}}"
+ },
+ "groupButton3": {
+ "label": " O_O Red",
+ "id": "groupButton3",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {
+ "menuItem1": {
+ "label": "First Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem1",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0
+ },
+ "menuItem2": {
+ "label": "Second Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem2",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1
+ },
+ "menuItem3": {
+ "label": "Delete",
+ "iconName": "trash",
+ "iconColor": "#FFFFFF",
+ "iconAlign": "right",
+ "textColor": "#FFFFFF",
+ "backgroundColor": "#DD4B34",
+ "id": "menuItem3",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2
+ }
+ },
+ "buttonColor": "#f472b6",
+ "onClick": "{{TC6.orange()}}"
+ },
+ "groupButton2": {
+ "label": "T_T Green",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2,
+ "menuItems": {},
+ "buttonColor": "#b5d1a5",
+ "onClick": "{{TC6.green()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton3.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "key": "8rlytj0pm0",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 10,
+ "widgetId": "vm3plubn8e",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "0.375rem",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "CategorySlider1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "options"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Category Slider",
+ "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg",
+ "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 18,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "CATEGORY_SLIDER_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{moment().format('dddd')}}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "labelText"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "options": "[\n {\n \"label\": \"Sunday\",\n \"value\": \"Sunday\"\n },\n\t{\n \"label\": \"Monday\",\n \"value\": \"Monday\"\n },\n {\n \"label\": \"Tuesday\",\n \"value\": \"Tuesday\"\n },\n {\n \"label\": \"Wednesday\",\n \"value\": \"Wednesday\"\n },\n {\n \"label\": \"Thursday\",\n \"value\": \"Thursday\"\n },\n {\n \"label\": \"Friday\",\n \"value\": \"Friday\"\n },\n {\n \"label\": \"Saturday\",\n \"value\": \"Saturday\"\n }\n]",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "isDisabled": false,
+ "key": "kxvqu06iom",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "onChange": "",
+ "widgetId": "jogmp1s31g",
+ "accentColor": "{{appsmith.store.background}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 18,
+ "originalBottomRow": 26,
+ "showMarksLabel": true
+ },
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 27,
+ "bottomRow": 40,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 253.12851905822754,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "em3f3sredw",
+ "containerStyle": "none",
+ "bottomRow": 130,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mglu9gsl2z",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 130,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 4,
+ "bottomRow": 11,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ikj1vq2v1h",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "widgetId": "vzvsrip3yr",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 4,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 11,
+ "iconColor": "#fafafa"
+ },
+ {
+ "widgetName": "Text1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Test if you have the skills to be have a karaoke night",
+ "key": "0oc89nkcbg",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "",
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "3z7yb728ic",
+ "isVisible": "{{appsmith.store.visible}}",
+ "fontStyle": "BOLD",
+ "textColor": "{{appsmith.store.text}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rlj0lh33fd",
+ "backgroundColor": "{{appsmith.store.background}}",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mglu9gsl2z",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 27,
+ "borderRadius": "0.375rem",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 40,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "newName",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg",
+ "searchTags": [
+ "mp3",
+ "sound",
+ "wave",
+ "player"
+ ],
+ "topRow": 44,
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "key": "gro03mxuhi",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "omgy5x59c0",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "originalBottomRow": 46,
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg",
+ "topRow": 44,
+ "isSortable": false,
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "primaryColumns.task.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.borderRadius"
+ },
+ {
+ "key": "primaryColumns.action.boxShadow"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "primaryColumns.task.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "primaryColumns.task.textColor"
+ },
+ {
+ "key": "primaryColumns.status.textColor"
+ },
+ {
+ "key": "primaryColumns.action.textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonLabel"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0,
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": "{{appsmith.store.visible}}",
+ "enableClientSideSearch": false,
+ "version": 1,
+ "textColor": "{{appsmith.store.text}}",
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 65,
+ "columnUpdatedAt": 1676634128648,
+ "defaultSelectedRowIndices": [
+ 0
+ ],
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "task",
+ "status",
+ "action"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "tableData"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 65,
+ "columnWidthMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "task": {
+ "index": 1,
+ "width": 150,
+ "id": "task",
+ "originalId": "task",
+ "alias": "task",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "task",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"task\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "status": {
+ "index": 2,
+ "width": 150,
+ "id": "status",
+ "originalId": "status",
+ "alias": "status",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "checkbox",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "status",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "action": {
+ "index": 3,
+ "width": 150,
+ "id": "action",
+ "originalId": "action",
+ "alias": "action",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "button",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "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": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"action\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "buttonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.contrast))}}",
+ "borderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}",
+ "boxShadow": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'none'))}}",
+ "cellBackground": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.background))}}",
+ "textColor": "{{appsmith.store.text}}",
+ "buttonLabel": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'Action'))}}",
+ "sticky": ""
+ }
+ },
+ "key": "e03zy85neo",
+ "canFreezeColumn": false,
+ "isDeprecated": false,
+ "rightColumn": 36,
+ "textSize": "0.875rem",
+ "widgetId": "2ggycmaef1",
+ "enableServerSideFiltering": false,
+ "tableData": "[\n {\n \"task\": \"Attempt 1 at singing\",\n \"status\": \"✅\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 2 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 3 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n }\n]",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "originalTopRow": 44,
+ "isVisiblePagination": false,
+ "cellBackground": "{{appsmith.store.background}}",
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 4",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 4",
+ "slug": "page-4",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 650,
+ "containerStyle": "none",
+ "snapRows": 61,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Checkbox1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Checkbox",
+ "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg",
+ "searchTags": [
+ "boolean"
+ ],
+ "topRow": 3,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "CHECKBOX_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onCheckChange"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "onCheckChange": "",
+ "isDisabled": false,
+ "key": "o2vo6m4r0d",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "7og0usx4uq",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "label": "You having a good day?",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 3,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "defaultCheckedState": false,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 8,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "ButtonGroup2",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 12,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Make 'em all disappear",
+ "iconName": "clean",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','false');;}}"
+ },
+ "groupButton2": {
+ "label": "Bring them back!",
+ "iconName": "asterisk",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','true');;}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ }
+ ],
+ "key": "41w8av7fig",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "i3fwzt60ns",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "boxShadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "*_* Blue",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#93c5fd",
+ "onClick": "{{TC6.blue()}}"
+ },
+ "groupButton3": {
+ "label": " O_O Red",
+ "id": "groupButton3",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {
+ "menuItem1": {
+ "label": "First Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem1",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0
+ },
+ "menuItem2": {
+ "label": "Second Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem2",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1
+ },
+ "menuItem3": {
+ "label": "Delete",
+ "iconName": "trash",
+ "iconColor": "#FFFFFF",
+ "iconAlign": "right",
+ "textColor": "#FFFFFF",
+ "backgroundColor": "#DD4B34",
+ "id": "menuItem3",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2
+ }
+ },
+ "buttonColor": "#f472b6",
+ "onClick": "{{TC6.orange()}}"
+ },
+ "groupButton2": {
+ "label": "T_T Green",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2,
+ "menuItems": {},
+ "buttonColor": "#b5d1a5",
+ "onClick": "{{TC6.green()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton3.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "key": "8rlytj0pm0",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 10,
+ "widgetId": "vm3plubn8e",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "0.375rem",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "CategorySlider1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "options"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Category Slider",
+ "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg",
+ "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 18,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "CATEGORY_SLIDER_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{moment().format('dddd')}}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "labelText"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "options": "[\n {\n \"label\": \"Sunday\",\n \"value\": \"Sunday\"\n },\n\t{\n \"label\": \"Monday\",\n \"value\": \"Monday\"\n },\n {\n \"label\": \"Tuesday\",\n \"value\": \"Tuesday\"\n },\n {\n \"label\": \"Wednesday\",\n \"value\": \"Wednesday\"\n },\n {\n \"label\": \"Thursday\",\n \"value\": \"Thursday\"\n },\n {\n \"label\": \"Friday\",\n \"value\": \"Friday\"\n },\n {\n \"label\": \"Saturday\",\n \"value\": \"Saturday\"\n }\n]",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "isDisabled": false,
+ "key": "kxvqu06iom",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "onChange": "",
+ "widgetId": "jogmp1s31g",
+ "accentColor": "{{appsmith.store.background}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 18,
+ "originalBottomRow": 26,
+ "showMarksLabel": true
+ },
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 27,
+ "bottomRow": 40,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 253.12851905822754,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "em3f3sredw",
+ "containerStyle": "none",
+ "bottomRow": 130,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mglu9gsl2z",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 130,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 4,
+ "bottomRow": 11,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ikj1vq2v1h",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "widgetId": "vzvsrip3yr",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 4,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 11,
+ "iconColor": "#fafafa"
+ },
+ {
+ "widgetName": "Text1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Test if you have the skills to be have a karaoke night",
+ "key": "0oc89nkcbg",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "",
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "3z7yb728ic",
+ "isVisible": "{{appsmith.store.visible}}",
+ "fontStyle": "BOLD",
+ "textColor": "{{appsmith.store.text}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rlj0lh33fd",
+ "backgroundColor": "{{appsmith.store.background}}",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mglu9gsl2z",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 27,
+ "borderRadius": "0.375rem",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 40,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "newName",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg",
+ "searchTags": [
+ "mp3",
+ "sound",
+ "wave",
+ "player"
+ ],
+ "topRow": 44,
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "key": "gro03mxuhi",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "omgy5x59c0",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "originalBottomRow": 46,
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg",
+ "topRow": 44,
+ "isSortable": false,
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "primaryColumns.task.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.borderRadius"
+ },
+ {
+ "key": "primaryColumns.action.boxShadow"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "primaryColumns.task.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "primaryColumns.task.textColor"
+ },
+ {
+ "key": "primaryColumns.status.textColor"
+ },
+ {
+ "key": "primaryColumns.action.textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonLabel"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0,
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": "{{appsmith.store.visible}}",
+ "enableClientSideSearch": false,
+ "version": 1,
+ "textColor": "{{appsmith.store.text}}",
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 65,
+ "columnUpdatedAt": 1676634128648,
+ "defaultSelectedRowIndices": [
+ 0
+ ],
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "task",
+ "status",
+ "action"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "tableData"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 65,
+ "columnWidthMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "task": {
+ "index": 1,
+ "width": 150,
+ "id": "task",
+ "originalId": "task",
+ "alias": "task",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "task",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"task\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "status": {
+ "index": 2,
+ "width": 150,
+ "id": "status",
+ "originalId": "status",
+ "alias": "status",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "checkbox",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "status",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "action": {
+ "index": 3,
+ "width": 150,
+ "id": "action",
+ "originalId": "action",
+ "alias": "action",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "button",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "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": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"action\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "buttonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.contrast))}}",
+ "borderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}",
+ "boxShadow": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'none'))}}",
+ "cellBackground": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.background))}}",
+ "textColor": "{{appsmith.store.text}}",
+ "buttonLabel": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'Action'))}}",
+ "sticky": ""
+ }
+ },
+ "key": "e03zy85neo",
+ "canFreezeColumn": false,
+ "isDeprecated": false,
+ "rightColumn": 36,
+ "textSize": "0.875rem",
+ "widgetId": "2ggycmaef1",
+ "enableServerSideFiltering": false,
+ "tableData": "[\n {\n \"task\": \"Attempt 1 at singing\",\n \"status\": \"✅\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 2 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 3 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n }\n]",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "originalTopRow": 44,
+ "isVisiblePagination": false,
+ "cellBackground": "{{appsmith.store.background}}",
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 4",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfe"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 1",
+ "slug": "page-1",
+ "customSlug": "",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1480,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container3",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "animateLoading"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 66,
+ "bottomRow": 140,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": "true",
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 607.7500152587891,
+ "widgetName": "Canvas4",
+ "detachFromLayout": true,
+ "widgetId": "ijtgmtni2k",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "p7fos7awt2",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 830,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 31,
+ "bottomRow": 42,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "leftColumn": 39,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "rightColumn": 316.25449657440186,
+ "widgetName": "Canvas5",
+ "detachFromLayout": true,
+ "widgetId": "6iw1h9dfsf",
+ "containerStyle": "none",
+ "bottomRow": 110,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "e5qizxpr0i",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 123.75175952911377,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 5,
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "labelWidth": "15",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "PASSWORD",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohlhkb5pp7",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Password",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.password}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Input1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onFocus"
+ }
+ ],
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTextChanged"
+ },
+ {
+ "key": "onFocus"
+ }
+ ],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "EMAIL",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "onTextChanged": "",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4v3hz6o89j",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "e-mail",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "onFocus": "{{Api1.run(() => Api2.run(), () => TC1.myFun1())}}",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.email}}",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rgm6qofnar",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e5qizxpr0i",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 31,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 42,
+ "minDynamicHeight": 10
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2Copy",
+ "onClick": "{{removeValue('dob');\nremoveValue('email');\nremoveValue('pic');}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Remove a few store values",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xtx0akgjk0",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1937', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "w6qr6t0oal",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 8,
+ "bottomRow": 30,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "SCROLL",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 27,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Use buttons on the left to trigger an API run and see dynamic data on displayed on relevant widgets (date, phone#, name, location etc...) </b>\n\n<b>Step 1:</b> Clear local store values by clicking on relevant button\n\n<b>Step 2:</b> Use <i>promise.all</i> function to trigger sequential store value actions\n\n<b>Step 3:</b> Use <i>then/catch</i> block to trigger second set of sequential store value actions to display content. (This function only triggers store value in <i>catch</i> block)",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5zjwcuucs2",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC2",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pv5wh9p2rb",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3Copy",
+ "onClick": "{{TC2.myFun2()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 24,
+ "bottomRow": 29,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using then/catch",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tvwn4pxtjo",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{TC2.myFun1();}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 19,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using promise.all",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "bs6qb7yb4u",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Clear appsmith store",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "isDefaultClickDisabled": true,
+ "widgetId": "qcnf9yi3kl",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 33,
+ "bottomRow": 49,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "q7e2c15fyz",
+ "image": "{{appsmith.store.pic}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "contain",
+ "widgetId": "18m6ehwqyv",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 29,
+ "bottomRow": 33,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.title}} {{appsmith.store.first ?? \"\"}} {{appsmith.store.last}}",
+ "key": "8vc77e1j1z",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "96dlxdqrnf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 10,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map1",
+ "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}},\n \"title\": \"User location\",\n \"color\": \"red\"\n }\n]",
+ "dynamicPropertyPathList": [
+ {
+ "key": "mapCenter"
+ }
+ ],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 42,
+ "bottomRow": 71,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "allowZoom": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 36,
+ "dynamicBindingPathList": [
+ {
+ "key": "mapCenter"
+ },
+ {
+ "key": "defaultMarkers"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "enablePickLocation": true,
+ "mapCenter": "{\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}}\n}",
+ "isClickedMarkerCentered": true,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "xpdrclix9k",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "lvbo7v7lxh",
+ "enableCreateMarker": false,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 71
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "DatePicker1",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "dateFormat": "LLL",
+ "dynamicPropertyPathList": [
+ {
+ "key": "defaultDate"
+ }
+ ],
+ "displayName": "DatePicker",
+ "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg",
+ "searchTags": [
+ "calendar"
+ ],
+ "topRow": 49,
+ "bottomRow": 53,
+ "shortcuts": true,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "DATE_PICKER_WIDGET2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultDate"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "#1d4ed8",
+ "isDisabled": false,
+ "key": "x339tqgav5",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "defaultDate": "{{appsmith.store.dob}}",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v1h32cg7fe",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "datePickerType": "DATE_PICKER",
+ "label": "Date of birth",
+ "version": 2,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "timePrecision": "minute",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "firstDayOfWeek": 0,
+ "closeOnSelection": true,
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "PhoneInput1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 54,
+ "bottomRow": 58,
+ "parentRowSpace": 10,
+ "labelWidth": "4",
+ "defaultDialCode": "+260",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "BOLD",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "2c96r94kzy",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Landline",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.phone}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "PhoneInput2",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 59,
+ "bottomRow": 63,
+ "parentRowSpace": 10,
+ "labelWidth": "3",
+ "defaultDialCode": "+1664",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qppi9qtlwp",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.cell}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 64,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{appsmith.store.gender == \"female\" ? 'F' : 'M'}}",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultOptionValue"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Male",
+ "value": "M"
+ },
+ {
+ "label": "Female",
+ "value": "F"
+ }
+ ],
+ "isDisabled": false,
+ "key": "rdqw0n133t",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4bqyoh6ydq",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Gender",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "qmr0vxzj8r",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "p7fos7awt2",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 67,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 141,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 4,
+ "bottomRow": 61,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "kk1k58hv9w",
+ "containerStyle": "none",
+ "bottomRow": 570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "fprx0bu1rp",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 570,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text1",
+ "borderColor": "{{Select1.selectedOptionValue}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 49,
+ "bottomRow": 54,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "borderColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "7",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Step 4: Selected colour is <b>{{appsmith.store.selected ?? 'blank'}}</b> and will default to <b>{{Select1.defaultOptionValue}} </b>after reset",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "backgroundColor": "{{Select1.selectedOptionValue}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "iv3qlgn05v",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#18181b",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 49,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 54,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "multiRowSelection": false,
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 19,
+ "isSortable": true,
+ "onPageChange": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "type": "TABLE_WIDGET",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": "",
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75,
+ "userId": 79,
+ "id": 60
+ },
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ }
+ ],
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "textSize": "0.875rem",
+ "widgetId": "hzi419yzw9",
+ "tableData": "{{Api1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "kk1k58hv9w",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Audio1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a.svg",
+ "topRow": 19,
+ "bottomRow": 23,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPlay"
+ }
+ ],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [],
+ "key": "1ujq0d6hyd",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "8bjrosh0ou",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "onPlay": "{{TC1.myFun1()}}",
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Step 2:",
+ "topRow": 15,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( TC1.selectOptions[0].value))(Select1.options, Select1.serverSideFiltering) }}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC1.selectOptions}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h3jvfg6ol2",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{storeValue('selected', Select1.selectedOptionLabel)\nawait showAlert(Select1.selectedOptionValue === \"\" ? \"are you confused about the background colour?\" : appsmith.store.selected)}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 7,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 30,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Step 1:</b> Modify <b>Switch widget</b> toggle to off \n<b>Step 2:</b> Modify <b>dropdown option</b> from Green to any another option\n<b>Step 3:</b> Move to page 4 on the <b>table widget</b>\n<b>Step 4:</b> Hit the play button on the <b>Audio widget</b> to trigger actions",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohazs8n5hb",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Switch1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Switch",
+ "iconSVG": "/static/media/icon.a3115bc1.svg",
+ "topRow": 11,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "type": "SWITCH_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "633iji72ol",
+ "isDeprecated": false,
+ "rightColumn": 13,
+ "onChange": "",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0hmn8m90ei",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Step 1:",
+ "defaultSwitchState": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC1",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "046n7liqib",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1752', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "znm5ogd46g",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup1",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 23,
+ "bottomRow": 32,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "Y",
+ "animateLoading": true,
+ "parentColumnSpace": 17.625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Yes",
+ "value": "Y"
+ },
+ {
+ "label": "No",
+ "value": "N"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ekhr4wfb2d",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tdeulieh26",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Catch block test",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fprx0bu1rp",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 62,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "5i9vixju2a",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 5,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 1_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 1",
+ "slug": "page-1",
+ "customSlug": "",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1480,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container3",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "animateLoading"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 66,
+ "bottomRow": 140,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": "true",
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 607.7500152587891,
+ "widgetName": "Canvas4",
+ "detachFromLayout": true,
+ "widgetId": "ijtgmtni2k",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "p7fos7awt2",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 830,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 31,
+ "bottomRow": 42,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "leftColumn": 39,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "rightColumn": 316.25449657440186,
+ "widgetName": "Canvas5",
+ "detachFromLayout": true,
+ "widgetId": "6iw1h9dfsf",
+ "containerStyle": "none",
+ "bottomRow": 110,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "e5qizxpr0i",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 123.75175952911377,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 5,
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "labelWidth": "15",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "PASSWORD",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohlhkb5pp7",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Password",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.password}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Input1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onFocus"
+ }
+ ],
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTextChanged"
+ },
+ {
+ "key": "onFocus"
+ }
+ ],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "EMAIL",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "onTextChanged": "",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4v3hz6o89j",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "e-mail",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "onFocus": "{{Api1.run(() => Api2.run(), () => TC1.myFun1())}}",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.email}}",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rgm6qofnar",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e5qizxpr0i",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 31,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 42,
+ "minDynamicHeight": 10
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2Copy",
+ "onClick": "{{removeValue('dob');\nremoveValue('email');\nremoveValue('pic');}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Remove a few store values",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xtx0akgjk0",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1937', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "w6qr6t0oal",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 8,
+ "bottomRow": 30,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "SCROLL",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 27,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Use buttons on the left to trigger an API run and see dynamic data on displayed on relevant widgets (date, phone#, name, location etc...) </b>\n\n<b>Step 1:</b> Clear local store values by clicking on relevant button\n\n<b>Step 2:</b> Use <i>promise.all</i> function to trigger sequential store value actions\n\n<b>Step 3:</b> Use <i>then/catch</i> block to trigger second set of sequential store value actions to display content. (This function only triggers store value in <i>catch</i> block)",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5zjwcuucs2",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC2",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pv5wh9p2rb",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3Copy",
+ "onClick": "{{TC2.myFun2()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 24,
+ "bottomRow": 29,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using then/catch",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tvwn4pxtjo",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{TC2.myFun1();}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 19,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using promise.all",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "bs6qb7yb4u",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Clear appsmith store",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "isDefaultClickDisabled": true,
+ "widgetId": "qcnf9yi3kl",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 33,
+ "bottomRow": 49,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "q7e2c15fyz",
+ "image": "{{appsmith.store.pic}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "contain",
+ "widgetId": "18m6ehwqyv",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 29,
+ "bottomRow": 33,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.title}} {{appsmith.store.first ?? \"\"}} {{appsmith.store.last}}",
+ "key": "8vc77e1j1z",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "96dlxdqrnf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 10,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map1",
+ "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}},\n \"title\": \"User location\",\n \"color\": \"red\"\n }\n]",
+ "dynamicPropertyPathList": [
+ {
+ "key": "mapCenter"
+ }
+ ],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 42,
+ "bottomRow": 71,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "allowZoom": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 36,
+ "dynamicBindingPathList": [
+ {
+ "key": "mapCenter"
+ },
+ {
+ "key": "defaultMarkers"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "enablePickLocation": true,
+ "mapCenter": "{\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}}\n}",
+ "isClickedMarkerCentered": true,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "xpdrclix9k",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "lvbo7v7lxh",
+ "enableCreateMarker": false,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 71
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "DatePicker1",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "dateFormat": "LLL",
+ "dynamicPropertyPathList": [
+ {
+ "key": "defaultDate"
+ }
+ ],
+ "displayName": "DatePicker",
+ "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg",
+ "searchTags": [
+ "calendar"
+ ],
+ "topRow": 49,
+ "bottomRow": 53,
+ "shortcuts": true,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "DATE_PICKER_WIDGET2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultDate"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "#1d4ed8",
+ "isDisabled": false,
+ "key": "x339tqgav5",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "defaultDate": "{{appsmith.store.dob}}",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v1h32cg7fe",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "datePickerType": "DATE_PICKER",
+ "label": "Date of birth",
+ "version": 2,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "timePrecision": "minute",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "firstDayOfWeek": 0,
+ "closeOnSelection": true,
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "PhoneInput1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 54,
+ "bottomRow": 58,
+ "parentRowSpace": 10,
+ "labelWidth": "4",
+ "defaultDialCode": "+260",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "BOLD",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "2c96r94kzy",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Landline",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.phone}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "PhoneInput2",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 59,
+ "bottomRow": 63,
+ "parentRowSpace": 10,
+ "labelWidth": "3",
+ "defaultDialCode": "+1664",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qppi9qtlwp",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.cell}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 64,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{appsmith.store.gender == \"female\" ? 'F' : 'M'}}",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultOptionValue"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Male",
+ "value": "M"
+ },
+ {
+ "label": "Female",
+ "value": "F"
+ }
+ ],
+ "isDisabled": false,
+ "key": "rdqw0n133t",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4bqyoh6ydq",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Gender",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "qmr0vxzj8r",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "p7fos7awt2",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 67,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 141,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 4,
+ "bottomRow": 61,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "kk1k58hv9w",
+ "containerStyle": "none",
+ "bottomRow": 570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "fprx0bu1rp",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 570,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text1",
+ "borderColor": "{{Select1.selectedOptionValue}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 49,
+ "bottomRow": 54,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "borderColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "7",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Step 4: Selected colour is <b>{{appsmith.store.selected ?? 'blank'}}</b> and will default to <b>{{Select1.defaultOptionValue}} </b>after reset",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "backgroundColor": "{{Select1.selectedOptionValue}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "iv3qlgn05v",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#18181b",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 49,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 54,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "multiRowSelection": false,
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 19,
+ "isSortable": true,
+ "onPageChange": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "type": "TABLE_WIDGET",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": "",
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75,
+ "userId": 79,
+ "id": 60
+ },
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ }
+ ],
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "textSize": "0.875rem",
+ "widgetId": "hzi419yzw9",
+ "tableData": "{{Api1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "kk1k58hv9w",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Audio1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a.svg",
+ "topRow": 19,
+ "bottomRow": 23,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPlay"
+ }
+ ],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [],
+ "key": "1ujq0d6hyd",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "8bjrosh0ou",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "onPlay": "{{TC1.myFun1()}}",
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Step 2:",
+ "topRow": 15,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( TC1.selectOptions[0].value))(Select1.options, Select1.serverSideFiltering) }}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC1.selectOptions}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h3jvfg6ol2",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{storeValue('selected', Select1.selectedOptionLabel)\nawait showAlert(Select1.selectedOptionValue === \"\" ? \"are you confused about the background colour?\" : appsmith.store.selected)}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 7,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 30,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Step 1:</b> Modify <b>Switch widget</b> toggle to off \n<b>Step 2:</b> Modify <b>dropdown option</b> from Green to any another option\n<b>Step 3:</b> Move to page 4 on the <b>table widget</b>\n<b>Step 4:</b> Hit the play button on the <b>Audio widget</b> to trigger actions",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohazs8n5hb",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Switch1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Switch",
+ "iconSVG": "/static/media/icon.a3115bc1.svg",
+ "topRow": 11,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "type": "SWITCH_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "633iji72ol",
+ "isDeprecated": false,
+ "rightColumn": 13,
+ "onChange": "",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0hmn8m90ei",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Step 1:",
+ "defaultSwitchState": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC1",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "046n7liqib",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1752', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "znm5ogd46g",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup1",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 23,
+ "bottomRow": 32,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "Y",
+ "animateLoading": true,
+ "parentColumnSpace": 17.625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Yes",
+ "value": "Y"
+ },
+ {
+ "label": "No",
+ "value": "N"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ekhr4wfb2d",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tdeulieh26",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Catch block test",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fprx0bu1rp",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 62,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "5i9vixju2a",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 5,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 1_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 1_TC2.myFun2",
+ "name": "TC2.myFun2",
+ "collectionId": "Page 1_TC2",
+ "clientSideExecution": true,
+ "confirmBeforeExecute": true,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfc"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 5",
+ "slug": "page-5",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 60,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": []
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 5",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 5",
+ "slug": "page-5",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 60,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": []
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 5",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad02"
+ },
+ {
+ "unpublishedPage": {
+ "name": "--Playground",
+ "slug": "playground",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "CurrencyInput1",
+ "displayName": "Currency Input",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 6,
+ "bottomRow": 13,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "autoFocus": false,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 17.9375,
+ "resetOnSubmit": true,
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "5h0zlsv95s",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "pimwlacvdq",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": true,
+ "isVisible": true,
+ "label": "Label",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 21,
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 17,
+ "bottomRow": 21,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 20,
+ "animateLoading": true,
+ "parentColumnSpace": 14.109375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 4,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "isDefaultClickDisabled": true,
+ "widgetId": "asmby8goxw",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 17,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 4,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 0,
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "mobileRightColumn": 0,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "mobileBottomRow": 0,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "mobileRightColumn": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "IconButton1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "axlwsd6sq8",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "xwedrxuzlu",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 58,
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "mobileBottomRow": 5,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 41,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "u8xbxahcx3",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "qoqyr7yxrs",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 1,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 47,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "aawtdk0jxu",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 31,
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button3",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 63,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "ep9ahnwl95",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 47,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ehq8jidizb",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "34u4b3ypqt",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "er47h3pk7j",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "key": "15nvw5u4z6",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "er47h3pk7j",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": true
+ },
+ "publishedPage": {
+ "name": "--Playground",
+ "slug": "playground",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "CurrencyInput1",
+ "displayName": "Currency Input",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 6,
+ "bottomRow": 13,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "autoFocus": false,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 17.9375,
+ "resetOnSubmit": true,
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "5h0zlsv95s",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "pimwlacvdq",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": true,
+ "isVisible": true,
+ "label": "Label",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 21,
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 17,
+ "bottomRow": 21,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 20,
+ "animateLoading": true,
+ "parentColumnSpace": 14.109375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 4,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "isDefaultClickDisabled": true,
+ "widgetId": "asmby8goxw",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 17,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 4,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 0,
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "mobileRightColumn": 0,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "mobileBottomRow": 0,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "mobileRightColumn": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "IconButton1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "axlwsd6sq8",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "xwedrxuzlu",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 58,
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "mobileBottomRow": 5,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 41,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "u8xbxahcx3",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "qoqyr7yxrs",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 1,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 47,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "aawtdk0jxu",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 31,
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button3",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 63,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "ep9ahnwl95",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 47,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ehq8jidizb",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "34u4b3ypqt",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "er47h3pk7j",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "key": "15nvw5u4z6",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "er47h3pk7j",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": true
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfa"
+ },
+ {
+ "unpublishedPage": {
+ "name": "--Playground1",
+ "slug": "playground1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1670,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 0,
+ "bottomRow": 157,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "vn0hhhi9ah",
+ "containerStyle": "none",
+ "bottomRow": 1570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "h08lbuzxas",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "0b7bdj8klw",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "zw0q78h35r",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
+ "labelText": "Pick an astronaut to display their information",
+ "searchTags": [
+ "dropdown"
+ ],
+ "topRow": 8,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "23",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 22,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{astronautsLog.astronautNames()}}",
+ "key": "phyziaanl1",
+ "labelTextSize": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "FIXED",
+ "widgetId": "o7odcz8q5n",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{filteredAstronauts_really_long.run(() => astronautsLog.progressBar(), () => showAlert('error'))}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "schema": {
+ "__root_schema__": {
+ "children": {
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Pesquet",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 0,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "name"
+ },
+ "date_of_birth": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.date_of_birth))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "sourceData": "1978-02-27",
+ "isCustomField": false,
+ "accessor": "date_of_birth",
+ "identifier": "date_of_birth",
+ "position": 1,
+ "originalIdentifier": "date_of_birth",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "born on",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 2,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 3,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "url"
+ },
+ "date_of_death": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (moment(sourceData.date_of_death, \"YYYY-MM-DD\").format(\"YYYY-MM-DDTHH:mm:ss.sssZ\")))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "date_of_death",
+ "identifier": "date_of_death",
+ "position": 4,
+ "originalIdentifier": "date_of_death",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "YYYY-MM-DD",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Date Of Death",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "nationality": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.nationality))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "French",
+ "isCustomField": false,
+ "accessor": "nationality",
+ "identifier": "nationality",
+ "position": 5,
+ "originalIdentifier": "nationality",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Nationality"
+ },
+ "bio": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.bio))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "isCustomField": false,
+ "accessor": "bio",
+ "identifier": "bio",
+ "position": 8,
+ "originalIdentifier": "bio",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Bio"
+ },
+ "twitter": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.twitter))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://twitter.com/Thom_astro",
+ "isCustomField": false,
+ "accessor": "twitter",
+ "identifier": "twitter",
+ "position": 9,
+ "originalIdentifier": "twitter",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Twitter"
+ },
+ "instagram": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.instagram))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://instagram.com/thom_astro",
+ "isCustomField": false,
+ "accessor": "instagram",
+ "identifier": "instagram",
+ "position": 10,
+ "originalIdentifier": "instagram",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Instagram"
+ },
+ "wiki": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.wiki))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "isCustomField": false,
+ "accessor": "wiki",
+ "identifier": "wiki",
+ "position": 11,
+ "originalIdentifier": "wiki",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Wiki"
+ },
+ "profile_image": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image",
+ "identifier": "profile_image",
+ "position": 12,
+ "originalIdentifier": "profile_image",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image"
+ },
+ "profile_image_thumbnail": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image_thumbnail))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image_thumbnail",
+ "identifier": "profile_image_thumbnail",
+ "position": 13,
+ "originalIdentifier": "profile_image_thumbnail",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image Thumbnail"
+ },
+ "last_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.last_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "last_flight",
+ "identifier": "last_flight",
+ "position": 7,
+ "originalIdentifier": "last_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Last Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2021-04-23T09:49:02Z"
+ },
+ "first_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.first_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "first_flight",
+ "identifier": "first_flight",
+ "position": 6,
+ "originalIdentifier": "first_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "First Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2016-11-17T20:20:13Z"
+ },
+ "status": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Active",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "name": "Active"
+ },
+ "isCustomField": false,
+ "accessor": "status",
+ "identifier": "status",
+ "position": 14,
+ "originalIdentifier": "status",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Status"
+ },
+ "type": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Government",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 2,
+ "name": "Government"
+ },
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 15,
+ "originalIdentifier": "type",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "agency": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 27,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 1,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Url"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "European Space Agency",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 2,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ },
+ "featured": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.featured))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "featured",
+ "identifier": "featured",
+ "position": 3,
+ "originalIdentifier": "featured",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Featured"
+ },
+ "type": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Multinational",
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 4,
+ "originalIdentifier": "type",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "country_code": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.country_code))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "isCustomField": false,
+ "accessor": "country_code",
+ "identifier": "country_code",
+ "position": 5,
+ "originalIdentifier": "country_code",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Country Code"
+ },
+ "abbrev": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.abbrev))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "ESA",
+ "isCustomField": false,
+ "accessor": "abbrev",
+ "identifier": "abbrev",
+ "position": 6,
+ "originalIdentifier": "abbrev",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Abbrev"
+ },
+ "description": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.description))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "isCustomField": false,
+ "accessor": "description",
+ "identifier": "description",
+ "position": 7,
+ "originalIdentifier": "description",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Description"
+ },
+ "administrator": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.administrator))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "administrator",
+ "identifier": "administrator",
+ "position": 8,
+ "originalIdentifier": "administrator",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Administrator",
+ "sourceData": "Director General: Josef Aschbacher"
+ },
+ "founding_year": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.founding_year))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "1975",
+ "isCustomField": false,
+ "accessor": "founding_year",
+ "identifier": "founding_year",
+ "position": 9,
+ "originalIdentifier": "founding_year",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Founding Year"
+ },
+ "launchers": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.launchers))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "launchers",
+ "identifier": "launchers",
+ "position": 10,
+ "originalIdentifier": "launchers",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Launchers"
+ },
+ "spacecraft": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.spacecraft))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "spacecraft",
+ "identifier": "spacecraft",
+ "position": 11,
+ "originalIdentifier": "spacecraft",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacecraft"
+ },
+ "parent": {
+ "children": {},
+ "dataType": "null",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.parent))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "parent",
+ "identifier": "parent",
+ "position": 12,
+ "originalIdentifier": "parent",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Parent"
+ },
+ "image_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.image_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "image_url",
+ "identifier": "image_url",
+ "position": 13,
+ "originalIdentifier": "image_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Image Url"
+ },
+ "logo_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.logo_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png",
+ "isCustomField": false,
+ "accessor": "logo_url",
+ "identifier": "logo_url",
+ "position": 14,
+ "originalIdentifier": "logo_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Logo Url"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "isCustomField": false,
+ "accessor": "agency",
+ "identifier": "agency",
+ "position": 16,
+ "originalIdentifier": "agency",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Agency"
+ },
+ "age": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.age))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 44,
+ "isCustomField": false,
+ "accessor": "age",
+ "identifier": "age",
+ "position": 17,
+ "originalIdentifier": "age",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Age"
+ },
+ "flights_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.flights_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "flights_count",
+ "identifier": "flights_count",
+ "position": 18,
+ "originalIdentifier": "flights_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Flights Count"
+ },
+ "landings_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.landings_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "landings_count",
+ "identifier": "landings_count",
+ "position": 19,
+ "originalIdentifier": "landings_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Landings Count"
+ },
+ "in_space": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "in_space",
+ "identifier": "in_space",
+ "position": 20,
+ "originalIdentifier": "in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "In Space"
+ },
+ "time_in_space": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.time_in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P396DT11H33M45S",
+ "isCustomField": false,
+ "accessor": "time_in_space",
+ "identifier": "time_in_space",
+ "position": 21,
+ "originalIdentifier": "time_in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Time In Space"
+ },
+ "eva_time": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.eva_time))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P1DT15H54M",
+ "isCustomField": false,
+ "accessor": "eva_time",
+ "identifier": "eva_time",
+ "position": 22,
+ "originalIdentifier": "eva_time",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Eva Time"
+ },
+ "spacewalks_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.spacewalks_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 6,
+ "isCustomField": false,
+ "accessor": "spacewalks_count",
+ "identifier": "spacewalks_count",
+ "position": 23,
+ "originalIdentifier": "spacewalks_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacewalks Count"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "url": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "name": "Thomas Pesquet",
+ "status": {
+ "id": 1,
+ "name": "Active"
+ },
+ "type": {
+ "id": 2,
+ "name": "Government"
+ },
+ "age": 44,
+ "date_of_birth": "1978-02-27",
+ "nationality": "French",
+ "bio": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "twitter": "https://twitter.com/Thom_astro",
+ "instagram": "https://instagram.com/thom_astro",
+ "wiki": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "agency": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "flights_count": 2,
+ "landings_count": 2,
+ "last_flight": "2021-04-23T09:49:02Z",
+ "first_flight": "2016-11-17T20:20:13Z"
+ },
+ "isCustomField": false,
+ "accessor": "__root_schema__",
+ "identifier": "__root_schema__",
+ "position": -1,
+ "originalIdentifier": "__root_schema__",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": ""
+ }
+ },
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "JSONForm1",
+ "submitButtonStyles": {
+ "buttonColor": "transparent",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "TERTIARY"
+ },
+ "dynamicPropertyPathList": [
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ }
+ ],
+ "displayName": "JSON Form",
+ "iconSVG": "/static/media/icon.5b428de12db9ad6a591955ead07f86e9.svg",
+ "topRow": 37,
+ "bottomRow": 80,
+ "fieldLimitExceeded": false,
+ "parentRowSpace": 10,
+ "title": "",
+ "type": "JSON_FORM_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "submitButtonStyles.borderRadius"
+ },
+ {
+ "key": "resetButtonStyles.buttonColor"
+ },
+ {
+ "key": "resetButtonStyles.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.cellBorderRadius"
+ },
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.borderRadius"
+ }
+ ],
+ "sourceData": "{{filteredAstronauts_really_long.data.results[0]}}",
+ "showReset": false,
+ "resetButtonLabel": "",
+ "key": "mb10lpx0lx",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "dynamicHeight": "FIXED",
+ "autoGenerateForm": true,
+ "widgetId": "rsugpn6p9u",
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "SECONDARY"
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "scrollContents": true,
+ "fixedFooter": true,
+ "submitButtonLabel": "",
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "disabledWhenInvalid": true,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Iframe2",
+ "displayName": "Iframe",
+ "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg",
+ "searchTags": [
+ "embed"
+ ],
+ "topRow": 17,
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "source": "{{JSONForm1.sourceData.wiki}}",
+ "type": "IFRAME_WIDGET",
+ "hideCard": false,
+ "borderOpacity": 100,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "source"
+ }
+ ],
+ "borderWidth": 1,
+ "key": "g8muw4zk94",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "widgetId": "mz6fhqu7a9",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "onClick": "{{showModal('Modal2').then(() => {\n showModal('Modal5');\n closeModal('Modal3');\n}).catch(() => {\n showModal('Modal2');\n showModal('Modal3');\n showModal('Modal4');\n});}}",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 24,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.profile_image}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "xbvii1ix6y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "onClick": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 91,
+ "bottomRow": 115,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 24,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.agency.image_url}}",
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "objectFit": "contain",
+ "widgetId": "rqyzl6wlzr",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container6",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 17,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 70,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "Noto Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.name}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "backgroundColor": "{{appsmith.theme.colors.backgroundColor}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "utlu5mh5r2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "lutbmumiav",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "rpasupm5h1",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "lutbmumiav",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "v7vpjo9wpz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "jr6l3jzyn8",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v7vpjo9wpz",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "25rem",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 75,
+ "bottomRow": 89,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "Nunito Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{filteredAstronauts_really_long.data.results[0].bio}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "textAlign": "RIGHT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "6vq35sdbrv",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{storeValue(\"\", \"\").then(() => {\n removeValue(\"\");\n});}}",
+ "buttonColor": "#1e40af",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 9,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "w4kz23hasp",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "iconName": "refresh",
+ "widgetId": "x1fkr3v9eo",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Progress1",
+ "progressType": "linear",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "progress"
+ }
+ ],
+ "displayName": "Progress",
+ "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg",
+ "searchTags": [
+ "percent"
+ ],
+ "topRow": 81,
+ "bottomRow": 85,
+ "parentRowSpace": 10,
+ "type": "PROGRESS_WIDGET",
+ "isIndeterminate": false,
+ "hideCard": false,
+ "fillColor": "#1e40af",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "i0hq3tnqfi",
+ "showResult": true,
+ "isDeprecated": false,
+ "rightColumn": 30,
+ "counterClosewise": false,
+ "widgetId": "i3o88akg85",
+ "isVisible": true,
+ "steps": "",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "progress": ""
+ },
+ {
+ "widgetName": "Rating1",
+ "displayName": "Rating",
+ "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg",
+ "searchTags": [
+ "stars"
+ ],
+ "topRow": 86,
+ "bottomRow": 90,
+ "parentRowSpace": 10,
+ "type": "RATE_WIDGET",
+ "maxCount": "5",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultRate"
+ }
+ ],
+ "isDisabled": false,
+ "key": "hv9pk8djb6",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 26,
+ "inactiveColor": "#D6D6D6",
+ "dynamicHeight": "FIXED",
+ "widgetId": "fe0ylf714w",
+ "isVisible": true,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "defaultRate": "{{astronautsLog.ratings.data}}",
+ "activeColor": "#1e40af",
+ "size": "LARGE",
+ "maxDynamicHeight": 9000,
+ "isAllowHalf": false,
+ "minDynamicHeight": 4,
+ "tooltips": "[\n \"Terrible\",\n \"Bad\",\n \"Neutral\",\n \"Goods\",\n \"Great\"\n]"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container7",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 91,
+ "bottomRow": 119,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas4",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 280,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text5",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.description}}",
+ "key": "s8x2nnrhnk",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "transparent",
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pwie12lxwz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "e3t8svebdk",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "7jhkg61wuu",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "e3t8svebdk",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "7cpcokj50b",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "j32coyaw4r",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "dynamicHeight": "FIXED",
+ "widgetId": "7cpcokj50b",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "topRow": 2,
+ "defaultCurrencyCode": "USD",
+ "labelWidth": 5,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "allowCurrencyChange": true,
+ "version": 1,
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "widgetName": "CurrencyInput1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onBlur"
+ }
+ ],
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "hideCard": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "labelPosition": "Top",
+ "key": "56rrtkdl37",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 19,
+ "widgetId": "z1ayixhauq",
+ "minWidth": 450,
+ "label": "Label",
+ "parentId": "vn0hhhi9ah",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "onBlur": "",
+ "responsiveBehavior": "fill",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 14,
+ "widgetName": "Button13",
+ "onClick": "{{filteredAstronauts_really_long.run()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 10,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 17,
+ "animateLoading": true,
+ "parentColumnSpace": 13.734375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "{{fetch_astronauts.data.data}}",
+ "isDisabled": false,
+ "key": "kfwc5ab4um",
+ "isDeprecated": false,
+ "rightColumn": 17,
+ "isDefaultClickDisabled": true,
+ "widgetId": "jjuqt1ifnb",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 10,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h08lbuzxas",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas5",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "nl8f1m7oav",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ko3kkb450m",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tb7gta7tfb",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "si6g5eoxgp",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "yhzhm228tu",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "g90ws31m93",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "g90ws31m93",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal2",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas6",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "t3qbm5y91f",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "w8ynayy73b",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xouwxo7b2m",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button4",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "up63zfuump",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "qqi11sxegr",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "e52k9rhbo7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e52k9rhbo7",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{closeModal('Modal4').then(() => {\n showModal('');\n}).catch(() => {\n storeValue('hihhi', \"\");\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal3",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas7",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton4",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "sug149rv39",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text8",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "r34bouucht",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button5",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "y8sdru05pv",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button6",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "l4nu1expuv",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "zvzi5jsd5u",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ljy0qzec2d",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ljy0qzec2d",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal4",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas8",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton5",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "9we1nw6waw",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "senfwwilkd",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button7",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "88f6rwgir5",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button8",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "oua6ex9wyf",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "lyiz2yxss7",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sxmqnk89c",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sxmqnk89c",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal5",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas9",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton6",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "57g8xip6m9",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "c1avbznl1f",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button9",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "cm40e67pym",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button10",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "6vvcrt1z3t",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "sndkhe4bc2",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zlhoy988ce",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "zlhoy988ce",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{storeValue(\"\", \"\").then(() => {\n showModal('Modal2');\n}).catch(() => {\n showModal('Modal6');\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal6",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas10",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton7",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "w88iattdtr",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text11",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "d49q1jow18",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button11",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "4r2ie2z1iy",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button12",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "wy3sjg3y3r",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "76hhhkqi15",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sihk1i9j5",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sihk1i9j5",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 160,
+ "bottomRow": 167,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "onRecordingStart": "{{setInterval(() => {\n showAlert('hi');\n}, 5000, 'samesies');}}",
+ "dynamicTriggerPathList": [
+ {
+ "key": "onRecordingStart"
+ }
+ ],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ky6byinlri",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "widgetId": "1eppm1e2e6",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "iconColor": "white"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "--Playground1_astronautsLog.ratings",
+ "name": "astronautsLog.ratings",
+ "collectionId": "--Playground1_astronautsLog",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetch_astronauts",
+ "name": "fetch_astronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetchAstronauts",
+ "name": "fetchAstronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "name": "filteredAstronauts_really_long",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "--Playground1",
+ "slug": "playground1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1670,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 0,
+ "bottomRow": 157,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "vn0hhhi9ah",
+ "containerStyle": "none",
+ "bottomRow": 1570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "h08lbuzxas",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "0b7bdj8klw",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "zw0q78h35r",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
+ "labelText": "Pick an astronaut to display their information",
+ "searchTags": [
+ "dropdown"
+ ],
+ "topRow": 8,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "23",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 22,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{astronautsLog.astronautNames()}}",
+ "key": "phyziaanl1",
+ "labelTextSize": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "FIXED",
+ "widgetId": "o7odcz8q5n",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{filteredAstronauts_really_long.run(() => astronautsLog.progressBar(), () => showAlert('error'))}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "schema": {
+ "__root_schema__": {
+ "children": {
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Pesquet",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 0,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "name"
+ },
+ "date_of_birth": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.date_of_birth))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "sourceData": "1978-02-27",
+ "isCustomField": false,
+ "accessor": "date_of_birth",
+ "identifier": "date_of_birth",
+ "position": 1,
+ "originalIdentifier": "date_of_birth",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "born on",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 2,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 3,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "url"
+ },
+ "date_of_death": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (moment(sourceData.date_of_death, \"YYYY-MM-DD\").format(\"YYYY-MM-DDTHH:mm:ss.sssZ\")))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "date_of_death",
+ "identifier": "date_of_death",
+ "position": 4,
+ "originalIdentifier": "date_of_death",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "YYYY-MM-DD",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Date Of Death",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "nationality": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.nationality))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "French",
+ "isCustomField": false,
+ "accessor": "nationality",
+ "identifier": "nationality",
+ "position": 5,
+ "originalIdentifier": "nationality",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Nationality"
+ },
+ "bio": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.bio))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "isCustomField": false,
+ "accessor": "bio",
+ "identifier": "bio",
+ "position": 8,
+ "originalIdentifier": "bio",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Bio"
+ },
+ "twitter": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.twitter))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://twitter.com/Thom_astro",
+ "isCustomField": false,
+ "accessor": "twitter",
+ "identifier": "twitter",
+ "position": 9,
+ "originalIdentifier": "twitter",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Twitter"
+ },
+ "instagram": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.instagram))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://instagram.com/thom_astro",
+ "isCustomField": false,
+ "accessor": "instagram",
+ "identifier": "instagram",
+ "position": 10,
+ "originalIdentifier": "instagram",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Instagram"
+ },
+ "wiki": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.wiki))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "isCustomField": false,
+ "accessor": "wiki",
+ "identifier": "wiki",
+ "position": 11,
+ "originalIdentifier": "wiki",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Wiki"
+ },
+ "profile_image": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image",
+ "identifier": "profile_image",
+ "position": 12,
+ "originalIdentifier": "profile_image",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image"
+ },
+ "profile_image_thumbnail": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image_thumbnail))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image_thumbnail",
+ "identifier": "profile_image_thumbnail",
+ "position": 13,
+ "originalIdentifier": "profile_image_thumbnail",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image Thumbnail"
+ },
+ "last_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.last_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "last_flight",
+ "identifier": "last_flight",
+ "position": 7,
+ "originalIdentifier": "last_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Last Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2021-04-23T09:49:02Z"
+ },
+ "first_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.first_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "first_flight",
+ "identifier": "first_flight",
+ "position": 6,
+ "originalIdentifier": "first_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "First Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2016-11-17T20:20:13Z"
+ },
+ "status": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Active",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "name": "Active"
+ },
+ "isCustomField": false,
+ "accessor": "status",
+ "identifier": "status",
+ "position": 14,
+ "originalIdentifier": "status",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Status"
+ },
+ "type": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Government",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 2,
+ "name": "Government"
+ },
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 15,
+ "originalIdentifier": "type",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "agency": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 27,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 1,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Url"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "European Space Agency",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 2,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ },
+ "featured": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.featured))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "featured",
+ "identifier": "featured",
+ "position": 3,
+ "originalIdentifier": "featured",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Featured"
+ },
+ "type": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Multinational",
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 4,
+ "originalIdentifier": "type",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "country_code": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.country_code))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "isCustomField": false,
+ "accessor": "country_code",
+ "identifier": "country_code",
+ "position": 5,
+ "originalIdentifier": "country_code",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Country Code"
+ },
+ "abbrev": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.abbrev))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "ESA",
+ "isCustomField": false,
+ "accessor": "abbrev",
+ "identifier": "abbrev",
+ "position": 6,
+ "originalIdentifier": "abbrev",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Abbrev"
+ },
+ "description": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.description))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "isCustomField": false,
+ "accessor": "description",
+ "identifier": "description",
+ "position": 7,
+ "originalIdentifier": "description",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Description"
+ },
+ "administrator": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.administrator))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "administrator",
+ "identifier": "administrator",
+ "position": 8,
+ "originalIdentifier": "administrator",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Administrator",
+ "sourceData": "Director General: Josef Aschbacher"
+ },
+ "founding_year": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.founding_year))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "1975",
+ "isCustomField": false,
+ "accessor": "founding_year",
+ "identifier": "founding_year",
+ "position": 9,
+ "originalIdentifier": "founding_year",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Founding Year"
+ },
+ "launchers": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.launchers))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "launchers",
+ "identifier": "launchers",
+ "position": 10,
+ "originalIdentifier": "launchers",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Launchers"
+ },
+ "spacecraft": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.spacecraft))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "spacecraft",
+ "identifier": "spacecraft",
+ "position": 11,
+ "originalIdentifier": "spacecraft",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacecraft"
+ },
+ "parent": {
+ "children": {},
+ "dataType": "null",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.parent))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "parent",
+ "identifier": "parent",
+ "position": 12,
+ "originalIdentifier": "parent",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Parent"
+ },
+ "image_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.image_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "image_url",
+ "identifier": "image_url",
+ "position": 13,
+ "originalIdentifier": "image_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Image Url"
+ },
+ "logo_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.logo_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png",
+ "isCustomField": false,
+ "accessor": "logo_url",
+ "identifier": "logo_url",
+ "position": 14,
+ "originalIdentifier": "logo_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Logo Url"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "isCustomField": false,
+ "accessor": "agency",
+ "identifier": "agency",
+ "position": 16,
+ "originalIdentifier": "agency",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Agency"
+ },
+ "age": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.age))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 44,
+ "isCustomField": false,
+ "accessor": "age",
+ "identifier": "age",
+ "position": 17,
+ "originalIdentifier": "age",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Age"
+ },
+ "flights_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.flights_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "flights_count",
+ "identifier": "flights_count",
+ "position": 18,
+ "originalIdentifier": "flights_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Flights Count"
+ },
+ "landings_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.landings_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "landings_count",
+ "identifier": "landings_count",
+ "position": 19,
+ "originalIdentifier": "landings_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Landings Count"
+ },
+ "in_space": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "in_space",
+ "identifier": "in_space",
+ "position": 20,
+ "originalIdentifier": "in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "In Space"
+ },
+ "time_in_space": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.time_in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P396DT11H33M45S",
+ "isCustomField": false,
+ "accessor": "time_in_space",
+ "identifier": "time_in_space",
+ "position": 21,
+ "originalIdentifier": "time_in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Time In Space"
+ },
+ "eva_time": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.eva_time))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P1DT15H54M",
+ "isCustomField": false,
+ "accessor": "eva_time",
+ "identifier": "eva_time",
+ "position": 22,
+ "originalIdentifier": "eva_time",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Eva Time"
+ },
+ "spacewalks_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.spacewalks_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 6,
+ "isCustomField": false,
+ "accessor": "spacewalks_count",
+ "identifier": "spacewalks_count",
+ "position": 23,
+ "originalIdentifier": "spacewalks_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacewalks Count"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "url": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "name": "Thomas Pesquet",
+ "status": {
+ "id": 1,
+ "name": "Active"
+ },
+ "type": {
+ "id": 2,
+ "name": "Government"
+ },
+ "age": 44,
+ "date_of_birth": "1978-02-27",
+ "nationality": "French",
+ "bio": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "twitter": "https://twitter.com/Thom_astro",
+ "instagram": "https://instagram.com/thom_astro",
+ "wiki": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "agency": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "flights_count": 2,
+ "landings_count": 2,
+ "last_flight": "2021-04-23T09:49:02Z",
+ "first_flight": "2016-11-17T20:20:13Z"
+ },
+ "isCustomField": false,
+ "accessor": "__root_schema__",
+ "identifier": "__root_schema__",
+ "position": -1,
+ "originalIdentifier": "__root_schema__",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": ""
+ }
+ },
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "JSONForm1",
+ "submitButtonStyles": {
+ "buttonColor": "transparent",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "TERTIARY"
+ },
+ "dynamicPropertyPathList": [
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ }
+ ],
+ "displayName": "JSON Form",
+ "iconSVG": "/static/media/icon.5b428de12db9ad6a591955ead07f86e9.svg",
+ "topRow": 37,
+ "bottomRow": 80,
+ "fieldLimitExceeded": false,
+ "parentRowSpace": 10,
+ "title": "",
+ "type": "JSON_FORM_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "submitButtonStyles.borderRadius"
+ },
+ {
+ "key": "resetButtonStyles.buttonColor"
+ },
+ {
+ "key": "resetButtonStyles.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.cellBorderRadius"
+ },
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.borderRadius"
+ }
+ ],
+ "sourceData": "{{filteredAstronauts_really_long.data.results[0]}}",
+ "showReset": false,
+ "resetButtonLabel": "",
+ "key": "mb10lpx0lx",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "dynamicHeight": "FIXED",
+ "autoGenerateForm": true,
+ "widgetId": "rsugpn6p9u",
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "SECONDARY"
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "scrollContents": true,
+ "fixedFooter": true,
+ "submitButtonLabel": "",
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "disabledWhenInvalid": true,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Iframe2",
+ "displayName": "Iframe",
+ "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg",
+ "searchTags": [
+ "embed"
+ ],
+ "topRow": 17,
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "source": "{{JSONForm1.sourceData.wiki}}",
+ "type": "IFRAME_WIDGET",
+ "hideCard": false,
+ "borderOpacity": 100,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "source"
+ }
+ ],
+ "borderWidth": 1,
+ "key": "g8muw4zk94",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "widgetId": "mz6fhqu7a9",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "onClick": "{{showModal('Modal2').then(() => {\n showModal('Modal5');\n closeModal('Modal3');\n}).catch(() => {\n showModal('Modal2');\n showModal('Modal3');\n showModal('Modal4');\n});}}",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 24,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.profile_image}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "xbvii1ix6y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "onClick": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 91,
+ "bottomRow": 115,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 24,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.agency.image_url}}",
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "objectFit": "contain",
+ "widgetId": "rqyzl6wlzr",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container6",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 17,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 70,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "Noto Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.name}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "backgroundColor": "{{appsmith.theme.colors.backgroundColor}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "utlu5mh5r2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "lutbmumiav",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "rpasupm5h1",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "lutbmumiav",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "v7vpjo9wpz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "jr6l3jzyn8",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v7vpjo9wpz",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "25rem",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 75,
+ "bottomRow": 89,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "Nunito Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{filteredAstronauts_really_long.data.results[0].bio}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "textAlign": "RIGHT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "6vq35sdbrv",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{storeValue(\"\", \"\").then(() => {\n removeValue(\"\");\n});}}",
+ "buttonColor": "#1e40af",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 9,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "w4kz23hasp",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "iconName": "refresh",
+ "widgetId": "x1fkr3v9eo",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Progress1",
+ "progressType": "linear",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "progress"
+ }
+ ],
+ "displayName": "Progress",
+ "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg",
+ "searchTags": [
+ "percent"
+ ],
+ "topRow": 81,
+ "bottomRow": 85,
+ "parentRowSpace": 10,
+ "type": "PROGRESS_WIDGET",
+ "isIndeterminate": false,
+ "hideCard": false,
+ "fillColor": "#1e40af",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "i0hq3tnqfi",
+ "showResult": true,
+ "isDeprecated": false,
+ "rightColumn": 30,
+ "counterClosewise": false,
+ "widgetId": "i3o88akg85",
+ "isVisible": true,
+ "steps": "",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "progress": ""
+ },
+ {
+ "widgetName": "Rating1",
+ "displayName": "Rating",
+ "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg",
+ "searchTags": [
+ "stars"
+ ],
+ "topRow": 86,
+ "bottomRow": 90,
+ "parentRowSpace": 10,
+ "type": "RATE_WIDGET",
+ "maxCount": "5",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultRate"
+ }
+ ],
+ "isDisabled": false,
+ "key": "hv9pk8djb6",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 26,
+ "inactiveColor": "#D6D6D6",
+ "dynamicHeight": "FIXED",
+ "widgetId": "fe0ylf714w",
+ "isVisible": true,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "defaultRate": "{{astronautsLog.ratings.data}}",
+ "activeColor": "#1e40af",
+ "size": "LARGE",
+ "maxDynamicHeight": 9000,
+ "isAllowHalf": false,
+ "minDynamicHeight": 4,
+ "tooltips": "[\n \"Terrible\",\n \"Bad\",\n \"Neutral\",\n \"Goods\",\n \"Great\"\n]"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container7",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 91,
+ "bottomRow": 119,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas4",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 280,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text5",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.description}}",
+ "key": "s8x2nnrhnk",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "transparent",
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pwie12lxwz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "e3t8svebdk",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "7jhkg61wuu",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "e3t8svebdk",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "7cpcokj50b",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "j32coyaw4r",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "dynamicHeight": "FIXED",
+ "widgetId": "7cpcokj50b",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "topRow": 2,
+ "defaultCurrencyCode": "USD",
+ "labelWidth": 5,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "allowCurrencyChange": true,
+ "version": 1,
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "widgetName": "CurrencyInput1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onBlur"
+ }
+ ],
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "hideCard": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "labelPosition": "Top",
+ "key": "56rrtkdl37",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 19,
+ "widgetId": "z1ayixhauq",
+ "minWidth": 450,
+ "label": "Label",
+ "parentId": "vn0hhhi9ah",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "onBlur": "",
+ "responsiveBehavior": "fill",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 14,
+ "widgetName": "Button13",
+ "onClick": "{{filteredAstronauts_really_long.run()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 10,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 17,
+ "animateLoading": true,
+ "parentColumnSpace": 13.734375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "{{fetch_astronauts.data.data}}",
+ "isDisabled": false,
+ "key": "kfwc5ab4um",
+ "isDeprecated": false,
+ "rightColumn": 17,
+ "isDefaultClickDisabled": true,
+ "widgetId": "jjuqt1ifnb",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 10,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h08lbuzxas",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas5",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "nl8f1m7oav",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ko3kkb450m",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tb7gta7tfb",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "si6g5eoxgp",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "yhzhm228tu",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "g90ws31m93",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "g90ws31m93",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal2",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas6",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "t3qbm5y91f",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "w8ynayy73b",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xouwxo7b2m",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button4",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "up63zfuump",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "qqi11sxegr",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "e52k9rhbo7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e52k9rhbo7",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{closeModal('Modal4').then(() => {\n showModal('');\n}).catch(() => {\n storeValue('hihhi', \"\");\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal3",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas7",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton4",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "sug149rv39",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text8",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "r34bouucht",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button5",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "y8sdru05pv",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button6",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "l4nu1expuv",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "zvzi5jsd5u",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ljy0qzec2d",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ljy0qzec2d",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal4",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas8",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton5",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "9we1nw6waw",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "senfwwilkd",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button7",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "88f6rwgir5",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button8",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "oua6ex9wyf",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "lyiz2yxss7",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sxmqnk89c",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sxmqnk89c",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal5",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas9",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton6",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "57g8xip6m9",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "c1avbznl1f",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button9",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "cm40e67pym",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button10",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "6vvcrt1z3t",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "sndkhe4bc2",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zlhoy988ce",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "zlhoy988ce",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{storeValue(\"\", \"\").then(() => {\n showModal('Modal2');\n}).catch(() => {\n showModal('Modal6');\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal6",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas10",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton7",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "w88iattdtr",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text11",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "d49q1jow18",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button11",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "4r2ie2z1iy",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button12",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "wy3sjg3y3r",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "76hhhkqi15",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sihk1i9j5",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sihk1i9j5",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 160,
+ "bottomRow": 167,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "onRecordingStart": "{{setInterval(() => {\n showAlert('hi');\n}, 5000, 'samesies');}}",
+ "dynamicTriggerPathList": [
+ {
+ "key": "onRecordingStart"
+ }
+ ],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ky6byinlri",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "widgetId": "1eppm1e2e6",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "iconColor": "white"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "--Playground1_astronautsLog.ratings",
+ "name": "astronautsLog.ratings",
+ "collectionId": "--Playground1_astronautsLog",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetch_astronauts",
+ "name": "fetch_astronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetchAstronauts",
+ "name": "fetchAstronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "name": "filteredAstronauts_really_long",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad00"
+ }
+ ],
+ "actionList": [
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.test",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\t\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.zebra",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.feline",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad09"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject16.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject16.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject16.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC3.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC3.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC3.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad11"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "dog",
+ "fullyQualifiedName": "TC4.dog",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "dog",
+ "fullyQualifiedName": "TC4.dog",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.dog",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad07"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "JSObject1.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 100) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "JSObject1.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject1.progressBar",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad25"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun",
+ "fullyQualifiedName": "JSObject1.myFun",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun",
+ "fullyQualifiedName": "JSObject1.myFun",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject1.myFun",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad21"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject15.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject15.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject15.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject14.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaskara');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n showAlert('namaskara');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject14.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaskara');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject14.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.animal",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC6.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n amplitude.Identify();\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n amplitude.Identify();\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC6.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n amplitude.Identify();\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC6.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad31"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC6.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC6.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC6.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad35"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "countdown",
+ "fullyQualifiedName": "TC5.countdown",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "countdown",
+ "fullyQualifiedName": "TC5.countdown",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC5.countdown",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad33"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject16.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject16.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject16.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad23"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "storeLocation",
+ "fullyQualifiedName": "TC5.storeLocation",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "storeLocation",
+ "fullyQualifiedName": "TC5.storeLocation",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC5.storeLocation",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad37"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC2.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": true,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC2.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": true,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC2.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad45"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC1.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_JSObject1.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\t\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.zebra",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.test",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC2.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC2.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC2.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad53"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() =>n"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.cat",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad43"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC1.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad41"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.animal",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad51"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject15.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject15.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject15.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad27"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.feline",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad55"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject14.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaste');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n showAlert('namaste');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject14.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaste');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject14.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad29"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "blue",
+ "fullyQualifiedName": "TC6.blue",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "blue",
+ "fullyQualifiedName": "TC6.blue",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.blue",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad63"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n Button2;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "function () {\n Button2;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n Button2;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_JSObject1.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad57"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "green",
+ "fullyQualifiedName": "TC6.green",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "green",
+ "fullyQualifiedName": "TC6.green",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.green",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad61"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "ratings",
+ "fullyQualifiedName": "astronautsLog.ratings",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 5) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "ratings",
+ "fullyQualifiedName": "astronautsLog.ratings",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 5) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.ratings",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad69"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "orange",
+ "fullyQualifiedName": "TC6.orange",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "orange",
+ "fullyQualifiedName": "TC6.orange",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.orange",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "textColour",
+ "fullyQualifiedName": "astronautsLog.textColour",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('formTextColour', '#b91c1c');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('formTextColour', '#b91c1c');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "textColour",
+ "fullyQualifiedName": "astronautsLog.textColour",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('formTextColour', '#b91c1c');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.textColour",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad67"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "displayAstronaut",
+ "fullyQualifiedName": "astronautsLog.displayAstronaut",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "displayAstronaut",
+ "fullyQualifiedName": "astronautsLog.displayAstronaut",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.displayAstronaut",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5f"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImagesold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImagesold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petImagesold",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad19"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFactsold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFactsold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petFactsold",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad13"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_petFacts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad39"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_failingQuery",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad49"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "astronautNames",
+ "fullyQualifiedName": "astronautsLog.astronautNames",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "astronautNames",
+ "fullyQualifiedName": "astronautsLog.astronautNames",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.astronautNames",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6b"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_petImages",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "astronautsLog.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 100) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "astronautsLog.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.progressBar",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad65"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.imageApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.imageApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petImages",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad15"
+ },
+ {
+ "pluginType": "SAAS",
+ "pluginId": "google-sheets-plugin",
+ "unpublishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "mainGoogleSheetDS",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "selfReferencingDataPaths": [],
+ "formData": {
+ "command": {
+ "data": "UPDATE_ONE"
+ },
+ "entityType": {
+ "data": "ROWS"
+ },
+ "tableHeaderIndex": {
+ "data": "1"
+ },
+ "projection": {
+ "data": []
+ },
+ "queryFormat": {
+ "data": "ROWS"
+ },
+ "range": {
+ "data": ""
+ },
+ "where": {
+ "data": {
+ "condition": "AND"
+ }
+ },
+ "pagination": {
+ "data": {
+ "limit": "20",
+ "offset": "0"
+ }
+ },
+ "smartSubstitution": {
+ "data": true
+ }
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "mainGoogleSheetDS",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "selfReferencingDataPaths": [],
+ "formData": {
+ "command": {
+ "data": "UPDATE_ONE"
+ },
+ "entityType": {
+ "data": "ROWS"
+ },
+ "tableHeaderIndex": {
+ "data": "1"
+ },
+ "projection": {
+ "data": []
+ },
+ "queryFormat": {
+ "data": "ROWS"
+ },
+ "range": {
+ "data": ""
+ },
+ "where": {
+ "data": {
+ "condition": "AND"
+ }
+ },
+ "pagination": {
+ "data": {
+ "limit": "20",
+ "offset": "0"
+ }
+ },
+ "smartSubstitution": {
+ "data": true
+ }
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.factsApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.factsApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petFacts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad17"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.cat",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad05"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "both",
+ "fullyQualifiedName": "TC4.both",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "both",
+ "fullyQualifiedName": "TC4.both",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.both",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad79"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_randomUserGenerator",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad47"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "fetchAstronauts",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "fetchAstronauts",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_fetchAstronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad73"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [
+ {
+ "value": "\n"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [
+ {
+ "value": "\n"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_randomUserGenerator",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5b"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "filtered_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\" where name = {{Select1.selectedOptionLabel}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "filtered_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\" where name = {{Select1.selectedOptionLabel}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_filtered_astronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad75"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad71"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "filteredAstronauts_really_long",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "name",
+ "value": "{{Select1.selectedOptionLabel}}"
+ }
+ ],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ },
+ {
+ "key": "queryParameters[0].value"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "filteredAstronauts_really_long",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "name",
+ "value": "{{Select1.selectedOptionLabel}}"
+ }
+ ],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ },
+ {
+ "key": "queryParameters[0].value"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7b"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2f"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "\n",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "\n",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3d"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "fetch_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\";",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "fetch_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\";",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_fetch_astronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad77"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_failingQuery",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad59"
+ }
+ ],
+ "actionCollectionList": [
+ {
+ "unpublishedCollection": {
+ "name": "TC4",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// setTimeout() and setInterval() scenarios\n\tboth: async function () {\n\t\tthis.cat()\n\t\tawait setTimeout(() => { \n\t\t\tconsole.log('executing code doggo')\n\t\t\tthis.dog()} ,12000, 'both')\n\t},\n\tdog: async function () {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://dog.ceo/api/breeds/image/random')\n\t\t//\tstoreValue('factsApi', 'https://dogapi.dog.com/api/facts') \n\t\t\t\tstoreValue('factsApi', 'https://dogapi.dog/api/facts') \n\t\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait petImages.run();\n\t\t\t\tawait petFacts.run()\n\t\t\t\tconsole.log('Attemping to find new dog pics')\n\t\t\t}).then( () => {\n\t\t\t\t(petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage),\n\t\t\t\t(petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact)\n\t\t\t\tconsole.log('Found new doggo pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'doggo')\t\n\t},\n\tcat: () => {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\t\tstoreValue('factsApi', 'https://catfact.ninja/fact')\n\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait\tpetImages.run()\n\t\t\t\tawait\tpetFacts.run()\n\t\t\t\tconsole.log('Attemping to find new cat pics')\n\t\t\t}).then(async () => {\n\t\t\t\tstoreValue('kittyImage', petImages.data[0].url)\n\t\t\t\tstoreValue('kittyFact', petFacts.data.fact)\n\t\t\t\tconsole.log('Found new kitty pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'kitty')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC4",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// setTimeout() and setInterval() scenarios\n\tboth: async function () {\n\t\tthis.cat()\n\t\tawait setTimeout(() => { \n\t\t\tconsole.log('executing code doggo')\n\t\t\tthis.dog()} ,12000, 'both')\n\t},\n\tdog: async function () {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://dog.ceo/api/breeds/image/random')\n\t\t//\tstoreValue('factsApi', 'https://dogapi.dog.com/api/facts') \n\t\t\t\tstoreValue('factsApi', 'https://dogapi.dog/api/facts') \n\t\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait petImages.run();\n\t\t\t\tawait petFacts.run()\n\t\t\t\tconsole.log('Attemping to find new dog pics')\n\t\t\t}).then( () => {\n\t\t\t\t(petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage),\n\t\t\t\t(petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact)\n\t\t\t\tconsole.log('Found new doggo pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'doggo')\t\n\t},\n\tcat: () => {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\t\tstoreValue('factsApi', 'https://catfact.ninja/fact')\n\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait\tpetImages.run()\n\t\t\t\tawait\tpetFacts.run()\n\t\t\t\tconsole.log('Attemping to find new cat pics')\n\t\t\t}).then(async () => {\n\t\t\t\tstoreValue('kittyImage', petImages.data[0].url)\n\t\t\t\tstoreValue('kittyFact', petFacts.data.fact)\n\t\t\t\tconsole.log('Found new kitty pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'kitty')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 2_TC4",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7f"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC3",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// navigateTo() scenarios - need to be modified\n\tmyVar1: [\n\t\t{\n\t\t\t\"label\": \"Page navigation\",\n\t\t\t\"value\": \"Page navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Widget navigation\",\n\t\t\t\"value\": \"Widget navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Tab navigation - WIP\",\n\t\t\t\"value\": \"Tab navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"External navigation\",\n\t\t\t\"value\": \"External navigation\"\n\t\t}\n\t],\n\tmyFun1: async () => {\n\t\tif (Select2.selectedOptionValue == \"Page navigation\") {\n\t\t\tconsole.log(\"Navigating to a page\")\n\t\t\tawait Api1.clear()\n\t\t\tawait Api2.clear()\n\t\t\tawait Api3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait\tnavigateTo('Navigated Page', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Widget navigation\") {\n\t\t\tconsole.log(\"Navigating to a widget after API execution\")\n\t\t\tApi1.clear()\n\t\t\tApi2.clear()\n\t\t\tApi3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t \tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(() => showAlert(\"Trouble executing API calls\")) //not executing from second call\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Tab navigation\") {\n\t\t\tshowAlert(\"Navigating to Tab 2 of tab widget\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run() \n\t\t\t\t\tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW')\n\t\t\t\t}) .catch((e) => console.log(e.message)) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"External navigation\") {\n\t\t\tshowAlert(\"Navigating to Appsmith website\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait navigateTo('www.appsmith.com', {}, 'NEW_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[{\n \"label\": \"Page navigation\",\n \"value\": \"Page navigation\"\n}, {\n \"label\": \"Widget navigation\",\n \"value\": \"Widget navigation\"\n}, {\n \"label\": \"Tab navigation - WIP\",\n \"value\": \"Tab navigation\"\n}, {\n \"label\": \"External navigation\",\n \"value\": \"External navigation\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC3",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// navigateTo() scenarios - need to be modified\n\tmyVar1: [\n\t\t{\n\t\t\t\"label\": \"Page navigation\",\n\t\t\t\"value\": \"Page navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Widget navigation\",\n\t\t\t\"value\": \"Widget navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Tab navigation - WIP\",\n\t\t\t\"value\": \"Tab navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"External navigation\",\n\t\t\t\"value\": \"External navigation\"\n\t\t}\n\t],\n\tmyFun1: async () => {\n\t\tif (Select2.selectedOptionValue == \"Page navigation\") {\n\t\t\tconsole.log(\"Navigating to a page\")\n\t\t\tawait Api1.clear()\n\t\t\tawait Api2.clear()\n\t\t\tawait Api3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait\tnavigateTo('Navigated Page', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Widget navigation\") {\n\t\t\tconsole.log(\"Navigating to a widget after API execution\")\n\t\t\tApi1.clear()\n\t\t\tApi2.clear()\n\t\t\tApi3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t \tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(() => showAlert(\"Trouble executing API calls\")) //not executing from second call\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Tab navigation\") {\n\t\t\tshowAlert(\"Navigating to Tab 2 of tab widget\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run() \n\t\t\t\t\tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW')\n\t\t\t\t}) .catch((e) => console.log(e.message)) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"External navigation\") {\n\t\t\tshowAlert(\"Navigating to Appsmith website\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait navigateTo('www.appsmith.com', {}, 'NEW_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[{\n \"label\": \"Page navigation\",\n \"value\": \"Page navigation\"\n}, {\n \"label\": \"Widget navigation\",\n \"value\": \"Widget navigation\"\n}, {\n \"label\": \"Tab navigation - WIP\",\n \"value\": \"Tab navigation\"\n}, {\n \"label\": \"External navigation\",\n \"value\": \"External navigation\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 2_TC3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad81"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC5",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// display array of locations using storeValue() on map widget & access outer variable (improve outer variable scenarios)\n\tlocations: [\n\t\t{\n\t\t\t\"lat\": 28.644078,\n\t\t\t\"long\": 77.343284,\n\t\t\t\"title\": \"Vaishali\",\n\t\t\t\"color\": \"#8AA000\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6162195,\n\t\t\t\"long\": 77.1584105,\n\t\t\t\"title\": \"Tilak Nagar\",\n\t\t\t\"color\": \"#8AA001\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.5477725,\n\t\t\t\"long\": 77.27241599999999,\n\t\t\t\"title\": \"Vasant Kunj\",\n\t\t\t\"color\": \"#8AA002\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6842635,\n\t\t\t\"long\": 77.12194249999999,\n\t\t\t\"title\": \"Rohini\",\n\t\t\t\"color\": \"#8AA003\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.627524,\n\t\t\t\"long\": 77.26232999999999,\n\t\t\t\"title\": \"Mayur Vihar\",\n\t\t\t\"color\": \"#8AA004\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.723989,\n\t\t\t\"long\": 77.32631549999999,\n\t\t\t\"title\": \"New Friends Colony\",\n\t\t\t\"color\": \"#8AA005\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.533346,\n\t\t\t\"long\": 77.2608495,\n\t\t\t\"title\": \"Kalkaji\",\n\t\t\t\"color\": \"#8AA006\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6111395,\n\t\t\t\"long\": 77.0912565,\n\t\t\t\"title\": \"Dwarka\",\n\t\t\t\"color\": \"#8AA007\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.607106,\n\t\t\t\"long\": 77.0939745,\n\t\t\t\"title\": \"Paschim Vihar\",\n\t\t\t\"color\": \"#8AA008\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7238,\n\t\t\t\"long\": 77.04109700000001,\n\t\t\t\"title\": \"Janakpuri\",\n\t\t\t\"color\": \"#8AA009\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6004265,\n\t\t\t\"long\": 77.13923650000001,\n\t\t\t\"title\": \"Uttam Nagar\",\n\t\t\t\"color\": \"#8AA00A\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.662347500000003,\n\t\t\t\"long\": 77.293808,\n\t\t\t\"title\": \"Preet Vihar\",\n\t\t\t\"color\": \"#8AA00B\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.548065,\n\t\t\t\"long\": 77.238924,\n\t\t\t\"title\": \"Nehru Place\",\n\t\t\t\"color\": \"#8AA00C\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.698132,\n\t\t\t\"long\": 77.1752135,\n\t\t\t\"title\": \"Pitampura\",\n\t\t\t\"color\": \"#8AA00D\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.649233000000002,\n\t\t\t\"long\": 77.37527349999999,\n\t\t\t\"title\": \"Ghaziabad\",\n\t\t\t\"color\": \"#8AA00E\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.669881500000002,\n\t\t\t\"long\": 77.1325635,\n\t\t\t\"title\": \"Punjabi Bagh\",\n\t\t\t\"color\": \"#8AA00F\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.995054000000003,\n\t\t\t\"long\": 77.1732235,\n\t\t\t\"title\": \"Patel Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7234325,\n\t\t\t\"long\": 77.202831,\n\t\t\t\"title\": \"Shalimar Bagh\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6362485,\n\t\t\t\"long\": 77.229872,\n\t\t\t\"title\": \"Greater Kailash (1/ 2/ 3)\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.641876500000002,\n\t\t\t\"long\": 77.204572,\n\t\t\t\"title\": \"Krishna Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.596356,\n\t\t\t\"long\": 77.2121875,\n\t\t\t\"title\": \"Connaught Place\"\n\t\t},\n\t\t{\n\t\t\"lat\": 28.5450065,\n\t\t\"long\": 77.279852,\n\t\t\"title\": \"Okhla\"\n\t\t},\n\t{\n\t\"lat\": 28.637442999999998,\n\t\"long\": 77.1791195,\n\t\"title\": \"Rajendra Nagar\"\n},\n\t{\n\t\"lat\": 28.65356,\n\t\"long\": 77.2749285,\n\t\"title\": \"Shahdara\"\n},\n\t{\n\t\"lat\": 28.574506,\n\t\"long\": 77.1907595,\n\t\"title\": \"Ashok Vihar\"\n},\n\t{\n\t\"lat\": 28.658746,\n\t\"long\": 77.1803415,\n\t\"title\": \"Kamla Nagar\"\n},\n\t{\n\t\"lat\": 28.575978499999998,\n\t\"long\": 77.159367,\n\t\"title\": \"Hauz Khas/Safdarjung/Green Park\"\n},\n\t{\n\t\"lat\": 28.607501499999998,\n\t\"long\": 77.22935749999999,\n\t\"title\": \"Karol Bagh\"\n},\n\t{\n\t\"lat\": 28.509921499999997,\n\t\"long\": 77.2065825,\n\t\"title\": \"Anand Vihar / Chander Nagar\"\n},\n\t{\n\t\"lat\": 28.5873275,\n\t\"long\": 77.22194250000001,\n\t\"title\": \"Saket/Malviya Nagar/Adchini\"\n},\n\t{\n\t\"lat\": 28.6872405,\n\t\"long\": 77.114919,\n\t\"title\": \"Rajouri/ Kirti\"\n},\n\t{\n\t\"lat\": 28.7819535,\n\t\"long\": 77.3001775,\n\t\"title\": \"East of Kailash/Lajpat Nagar\"\n},\n\t{\n\t\"lat\": 28.61948,\n\t\"long\": 77.1274255,\n\t\"title\": \"Hari Nagar / Mayapuri\"\n},\n\t{\n\t\"lat\": 28.529919,\n\t\"long\": 77.0723435,\n\t\"title\": \"South ex / 1/ 2/ DC\"\n},\n\t{\n\t\"lat\": 28.77791,\n\t\"long\": 77.05407650000001,\n\t\"title\": \"Vasant Vihar/ MB/ RKP\"\n},\n\t{\n\t\"lat\": 28.614067,\n\t\"long\": 77.0558015,\n\t\"title\": \"Vikaspuri\"\n},\n\t{\n\t\"lat\": 28.67888,\n\t\"long\": 77.3584895,\n\t\"title\": \"Dilshad Garden\"\n},\n\t{\n\t\"lat\": 28.718331499999998,\n\t\"long\": 77.1691395,\n\t\"title\": \"Model Town (1/ 2)\"\n},\n\t{\n\t\"lat\": 28.722808,\n\t\"long\": 77.12085400000001,\n\t\"title\": \"Aerocity\"\n},\n\t{\n\t\"lat\": 28.586436499999998,\n\t\"long\": 77.300185,\n\t\"title\": \"Jangpura\"\n},\n\t{\n\t\"lat\": 28.487882499999998,\n\t\"long\": 77.198639,\n\t\"title\": \"Sainik Farms\"\n},\n\t{\n\t\"lat\": 28.653709,\n\t\"long\": 77.12888749999999,\n\t\"title\": \"Ramesh Nagar\"\n}\n],\n\tstoreLocation: function () {\n\t\tstoreValue('mapPins', this.locations)\n\t\treturn appsmith.store.mapPins\n\t},\n\tcountdown: () => {\n\t\tstoreValue('count', NumberSlider1.value)\n\t\tvar interval = setInterval(() => {\n\t\t\tstoreValue('count', appsmith.store.count - 1)\n\t\t\t// showAlert(appsmith.store.count.toString())\n\t\t\tif(appsmith.store.count < 1 )\n\t\t\t\tclearInterval(interval)\n\t\t}, NumberSlider2.value)\n\t}\n}",
+ "variables": [
+ {
+ "name": "locations",
+ "value": "[{\n \"lat\": 28.644078,\n \"long\": 77.343284,\n \"title\": \"Vaishali\",\n \"color\": \"#8AA000\"\n}, {\n \"lat\": 28.6162195,\n \"long\": 77.1584105,\n \"title\": \"Tilak Nagar\",\n \"color\": \"#8AA001\"\n}, {\n \"lat\": 28.5477725,\n \"long\": 77.27241599999999,\n \"title\": \"Vasant Kunj\",\n \"color\": \"#8AA002\"\n}, {\n \"lat\": 28.6842635,\n \"long\": 77.12194249999999,\n \"title\": \"Rohini\",\n \"color\": \"#8AA003\"\n}, {\n \"lat\": 28.627524,\n \"long\": 77.26232999999999,\n \"title\": \"Mayur Vihar\",\n \"color\": \"#8AA004\"\n}, {\n \"lat\": 28.723989,\n \"long\": 77.32631549999999,\n \"title\": \"New Friends Colony\",\n \"color\": \"#8AA005\"\n}, {\n \"lat\": 28.533346,\n \"long\": 77.2608495,\n \"title\": \"Kalkaji\",\n \"color\": \"#8AA006\"\n}, {\n \"lat\": 28.6111395,\n \"long\": 77.0912565,\n \"title\": \"Dwarka\",\n \"color\": \"#8AA007\"\n}, {\n \"lat\": 28.607106,\n \"long\": 77.0939745,\n \"title\": \"Paschim Vihar\",\n \"color\": \"#8AA008\"\n}, {\n \"lat\": 28.7238,\n \"long\": 77.04109700000001,\n \"title\": \"Janakpuri\",\n \"color\": \"#8AA009\"\n}, {\n \"lat\": 28.6004265,\n \"long\": 77.13923650000001,\n \"title\": \"Uttam Nagar\",\n \"color\": \"#8AA00A\"\n}, {\n \"lat\": 28.662347500000003,\n \"long\": 77.293808,\n \"title\": \"Preet Vihar\",\n \"color\": \"#8AA00B\"\n}, {\n \"lat\": 28.548065,\n \"long\": 77.238924,\n \"title\": \"Nehru Place\",\n \"color\": \"#8AA00C\"\n}, {\n \"lat\": 28.698132,\n \"long\": 77.1752135,\n \"title\": \"Pitampura\",\n \"color\": \"#8AA00D\"\n}, {\n \"lat\": 28.649233000000002,\n \"long\": 77.37527349999999,\n \"title\": \"Ghaziabad\",\n \"color\": \"#8AA00E\"\n}, {\n \"lat\": 28.669881500000002,\n \"long\": 77.1325635,\n \"title\": \"Punjabi Bagh\",\n \"color\": \"#8AA00F\"\n}, {\n \"lat\": 28.995054000000003,\n \"long\": 77.1732235,\n \"title\": \"Patel Nagar\"\n}, {\n \"lat\": 28.7234325,\n \"long\": 77.202831,\n \"title\": \"Shalimar Bagh\"\n}, {\n \"lat\": 28.6362485,\n \"long\": 77.229872,\n \"title\": \"Greater Kailash (1/ 2/ 3)\"\n}, {\n \"lat\": 28.641876500000002,\n \"long\": 77.204572,\n \"title\": \"Krishna Nagar\"\n}, {\n \"lat\": 28.596356,\n \"long\": 77.2121875,\n \"title\": \"Connaught Place\"\n}, {\n \"lat\": 28.5450065,\n \"long\": 77.279852,\n \"title\": \"Okhla\"\n}, {\n \"lat\": 28.637442999999998,\n \"long\": 77.1791195,\n \"title\": \"Rajendra Nagar\"\n}, {\n \"lat\": 28.65356,\n \"long\": 77.2749285,\n \"title\": \"Shahdara\"\n}, {\n \"lat\": 28.574506,\n \"long\": 77.1907595,\n \"title\": \"Ashok Vihar\"\n}, {\n \"lat\": 28.658746,\n \"long\": 77.1803415,\n \"title\": \"Kamla Nagar\"\n}, {\n \"lat\": 28.575978499999998,\n \"long\": 77.159367,\n \"title\": \"Hauz Khas/Safdarjung/Green Park\"\n}, {\n \"lat\": 28.607501499999998,\n \"long\": 77.22935749999999,\n \"title\": \"Karol Bagh\"\n}, {\n \"lat\": 28.509921499999997,\n \"long\": 77.2065825,\n \"title\": \"Anand Vihar / Chander Nagar\"\n}, {\n \"lat\": 28.5873275,\n \"long\": 77.22194250000001,\n \"title\": \"Saket/Malviya Nagar/Adchini\"\n}, {\n \"lat\": 28.6872405,\n \"long\": 77.114919,\n \"title\": \"Rajouri/ Kirti\"\n}, {\n \"lat\": 28.7819535,\n \"long\": 77.3001775,\n \"title\": \"East of Kailash/Lajpat Nagar\"\n}, {\n \"lat\": 28.61948,\n \"long\": 77.1274255,\n \"title\": \"Hari Nagar / Mayapuri\"\n}, {\n \"lat\": 28.529919,\n \"long\": 77.0723435,\n \"title\": \"South ex / 1/ 2/ DC\"\n}, {\n \"lat\": 28.77791,\n \"long\": 77.05407650000001,\n \"title\": \"Vasant Vihar/ MB/ RKP\"\n}, {\n \"lat\": 28.614067,\n \"long\": 77.0558015,\n \"title\": \"Vikaspuri\"\n}, {\n \"lat\": 28.67888,\n \"long\": 77.3584895,\n \"title\": \"Dilshad Garden\"\n}, {\n \"lat\": 28.718331499999998,\n \"long\": 77.1691395,\n \"title\": \"Model Town (1/ 2)\"\n}, {\n \"lat\": 28.722808,\n \"long\": 77.12085400000001,\n \"title\": \"Aerocity\"\n}, {\n \"lat\": 28.586436499999998,\n \"long\": 77.300185,\n \"title\": \"Jangpura\"\n}, {\n \"lat\": 28.487882499999998,\n \"long\": 77.198639,\n \"title\": \"Sainik Farms\"\n}, {\n \"lat\": 28.653709,\n \"long\": 77.12888749999999,\n \"title\": \"Ramesh Nagar\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC5",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// display array of locations using storeValue() on map widget & access outer variable (improve outer variable scenarios)\n\tlocations: [\n\t\t{\n\t\t\t\"lat\": 28.644078,\n\t\t\t\"long\": 77.343284,\n\t\t\t\"title\": \"Vaishali\",\n\t\t\t\"color\": \"#8AA000\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6162195,\n\t\t\t\"long\": 77.1584105,\n\t\t\t\"title\": \"Tilak Nagar\",\n\t\t\t\"color\": \"#8AA001\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.5477725,\n\t\t\t\"long\": 77.27241599999999,\n\t\t\t\"title\": \"Vasant Kunj\",\n\t\t\t\"color\": \"#8AA002\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6842635,\n\t\t\t\"long\": 77.12194249999999,\n\t\t\t\"title\": \"Rohini\",\n\t\t\t\"color\": \"#8AA003\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.627524,\n\t\t\t\"long\": 77.26232999999999,\n\t\t\t\"title\": \"Mayur Vihar\",\n\t\t\t\"color\": \"#8AA004\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.723989,\n\t\t\t\"long\": 77.32631549999999,\n\t\t\t\"title\": \"New Friends Colony\",\n\t\t\t\"color\": \"#8AA005\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.533346,\n\t\t\t\"long\": 77.2608495,\n\t\t\t\"title\": \"Kalkaji\",\n\t\t\t\"color\": \"#8AA006\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6111395,\n\t\t\t\"long\": 77.0912565,\n\t\t\t\"title\": \"Dwarka\",\n\t\t\t\"color\": \"#8AA007\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.607106,\n\t\t\t\"long\": 77.0939745,\n\t\t\t\"title\": \"Paschim Vihar\",\n\t\t\t\"color\": \"#8AA008\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7238,\n\t\t\t\"long\": 77.04109700000001,\n\t\t\t\"title\": \"Janakpuri\",\n\t\t\t\"color\": \"#8AA009\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6004265,\n\t\t\t\"long\": 77.13923650000001,\n\t\t\t\"title\": \"Uttam Nagar\",\n\t\t\t\"color\": \"#8AA00A\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.662347500000003,\n\t\t\t\"long\": 77.293808,\n\t\t\t\"title\": \"Preet Vihar\",\n\t\t\t\"color\": \"#8AA00B\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.548065,\n\t\t\t\"long\": 77.238924,\n\t\t\t\"title\": \"Nehru Place\",\n\t\t\t\"color\": \"#8AA00C\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.698132,\n\t\t\t\"long\": 77.1752135,\n\t\t\t\"title\": \"Pitampura\",\n\t\t\t\"color\": \"#8AA00D\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.649233000000002,\n\t\t\t\"long\": 77.37527349999999,\n\t\t\t\"title\": \"Ghaziabad\",\n\t\t\t\"color\": \"#8AA00E\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.669881500000002,\n\t\t\t\"long\": 77.1325635,\n\t\t\t\"title\": \"Punjabi Bagh\",\n\t\t\t\"color\": \"#8AA00F\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.995054000000003,\n\t\t\t\"long\": 77.1732235,\n\t\t\t\"title\": \"Patel Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7234325,\n\t\t\t\"long\": 77.202831,\n\t\t\t\"title\": \"Shalimar Bagh\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6362485,\n\t\t\t\"long\": 77.229872,\n\t\t\t\"title\": \"Greater Kailash (1/ 2/ 3)\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.641876500000002,\n\t\t\t\"long\": 77.204572,\n\t\t\t\"title\": \"Krishna Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.596356,\n\t\t\t\"long\": 77.2121875,\n\t\t\t\"title\": \"Connaught Place\"\n\t\t},\n\t\t{\n\t\t\"lat\": 28.5450065,\n\t\t\"long\": 77.279852,\n\t\t\"title\": \"Okhla\"\n\t\t},\n\t{\n\t\"lat\": 28.637442999999998,\n\t\"long\": 77.1791195,\n\t\"title\": \"Rajendra Nagar\"\n},\n\t{\n\t\"lat\": 28.65356,\n\t\"long\": 77.2749285,\n\t\"title\": \"Shahdara\"\n},\n\t{\n\t\"lat\": 28.574506,\n\t\"long\": 77.1907595,\n\t\"title\": \"Ashok Vihar\"\n},\n\t{\n\t\"lat\": 28.658746,\n\t\"long\": 77.1803415,\n\t\"title\": \"Kamla Nagar\"\n},\n\t{\n\t\"lat\": 28.575978499999998,\n\t\"long\": 77.159367,\n\t\"title\": \"Hauz Khas/Safdarjung/Green Park\"\n},\n\t{\n\t\"lat\": 28.607501499999998,\n\t\"long\": 77.22935749999999,\n\t\"title\": \"Karol Bagh\"\n},\n\t{\n\t\"lat\": 28.509921499999997,\n\t\"long\": 77.2065825,\n\t\"title\": \"Anand Vihar / Chander Nagar\"\n},\n\t{\n\t\"lat\": 28.5873275,\n\t\"long\": 77.22194250000001,\n\t\"title\": \"Saket/Malviya Nagar/Adchini\"\n},\n\t{\n\t\"lat\": 28.6872405,\n\t\"long\": 77.114919,\n\t\"title\": \"Rajouri/ Kirti\"\n},\n\t{\n\t\"lat\": 28.7819535,\n\t\"long\": 77.3001775,\n\t\"title\": \"East of Kailash/Lajpat Nagar\"\n},\n\t{\n\t\"lat\": 28.61948,\n\t\"long\": 77.1274255,\n\t\"title\": \"Hari Nagar / Mayapuri\"\n},\n\t{\n\t\"lat\": 28.529919,\n\t\"long\": 77.0723435,\n\t\"title\": \"South ex / 1/ 2/ DC\"\n},\n\t{\n\t\"lat\": 28.77791,\n\t\"long\": 77.05407650000001,\n\t\"title\": \"Vasant Vihar/ MB/ RKP\"\n},\n\t{\n\t\"lat\": 28.614067,\n\t\"long\": 77.0558015,\n\t\"title\": \"Vikaspuri\"\n},\n\t{\n\t\"lat\": 28.67888,\n\t\"long\": 77.3584895,\n\t\"title\": \"Dilshad Garden\"\n},\n\t{\n\t\"lat\": 28.718331499999998,\n\t\"long\": 77.1691395,\n\t\"title\": \"Model Town (1/ 2)\"\n},\n\t{\n\t\"lat\": 28.722808,\n\t\"long\": 77.12085400000001,\n\t\"title\": \"Aerocity\"\n},\n\t{\n\t\"lat\": 28.586436499999998,\n\t\"long\": 77.300185,\n\t\"title\": \"Jangpura\"\n},\n\t{\n\t\"lat\": 28.487882499999998,\n\t\"long\": 77.198639,\n\t\"title\": \"Sainik Farms\"\n},\n\t{\n\t\"lat\": 28.653709,\n\t\"long\": 77.12888749999999,\n\t\"title\": \"Ramesh Nagar\"\n}\n],\n\tstoreLocation: function () {\n\t\tstoreValue('mapPins', this.locations)\n\t\treturn appsmith.store.mapPins\n\t},\n\tcountdown: () => {\n\t\tstoreValue('count', NumberSlider1.value)\n\t\tvar interval = setInterval(() => {\n\t\t\tstoreValue('count', appsmith.store.count - 1)\n\t\t\t// showAlert(appsmith.store.count.toString())\n\t\t\tif(appsmith.store.count < 1 )\n\t\t\t\tclearInterval(interval)\n\t\t}, NumberSlider2.value)\n\t}\n}",
+ "variables": [
+ {
+ "name": "locations",
+ "value": "[{\n \"lat\": 28.644078,\n \"long\": 77.343284,\n \"title\": \"Vaishali\",\n \"color\": \"#8AA000\"\n}, {\n \"lat\": 28.6162195,\n \"long\": 77.1584105,\n \"title\": \"Tilak Nagar\",\n \"color\": \"#8AA001\"\n}, {\n \"lat\": 28.5477725,\n \"long\": 77.27241599999999,\n \"title\": \"Vasant Kunj\",\n \"color\": \"#8AA002\"\n}, {\n \"lat\": 28.6842635,\n \"long\": 77.12194249999999,\n \"title\": \"Rohini\",\n \"color\": \"#8AA003\"\n}, {\n \"lat\": 28.627524,\n \"long\": 77.26232999999999,\n \"title\": \"Mayur Vihar\",\n \"color\": \"#8AA004\"\n}, {\n \"lat\": 28.723989,\n \"long\": 77.32631549999999,\n \"title\": \"New Friends Colony\",\n \"color\": \"#8AA005\"\n}, {\n \"lat\": 28.533346,\n \"long\": 77.2608495,\n \"title\": \"Kalkaji\",\n \"color\": \"#8AA006\"\n}, {\n \"lat\": 28.6111395,\n \"long\": 77.0912565,\n \"title\": \"Dwarka\",\n \"color\": \"#8AA007\"\n}, {\n \"lat\": 28.607106,\n \"long\": 77.0939745,\n \"title\": \"Paschim Vihar\",\n \"color\": \"#8AA008\"\n}, {\n \"lat\": 28.7238,\n \"long\": 77.04109700000001,\n \"title\": \"Janakpuri\",\n \"color\": \"#8AA009\"\n}, {\n \"lat\": 28.6004265,\n \"long\": 77.13923650000001,\n \"title\": \"Uttam Nagar\",\n \"color\": \"#8AA00A\"\n}, {\n \"lat\": 28.662347500000003,\n \"long\": 77.293808,\n \"title\": \"Preet Vihar\",\n \"color\": \"#8AA00B\"\n}, {\n \"lat\": 28.548065,\n \"long\": 77.238924,\n \"title\": \"Nehru Place\",\n \"color\": \"#8AA00C\"\n}, {\n \"lat\": 28.698132,\n \"long\": 77.1752135,\n \"title\": \"Pitampura\",\n \"color\": \"#8AA00D\"\n}, {\n \"lat\": 28.649233000000002,\n \"long\": 77.37527349999999,\n \"title\": \"Ghaziabad\",\n \"color\": \"#8AA00E\"\n}, {\n \"lat\": 28.669881500000002,\n \"long\": 77.1325635,\n \"title\": \"Punjabi Bagh\",\n \"color\": \"#8AA00F\"\n}, {\n \"lat\": 28.995054000000003,\n \"long\": 77.1732235,\n \"title\": \"Patel Nagar\"\n}, {\n \"lat\": 28.7234325,\n \"long\": 77.202831,\n \"title\": \"Shalimar Bagh\"\n}, {\n \"lat\": 28.6362485,\n \"long\": 77.229872,\n \"title\": \"Greater Kailash (1/ 2/ 3)\"\n}, {\n \"lat\": 28.641876500000002,\n \"long\": 77.204572,\n \"title\": \"Krishna Nagar\"\n}, {\n \"lat\": 28.596356,\n \"long\": 77.2121875,\n \"title\": \"Connaught Place\"\n}, {\n \"lat\": 28.5450065,\n \"long\": 77.279852,\n \"title\": \"Okhla\"\n}, {\n \"lat\": 28.637442999999998,\n \"long\": 77.1791195,\n \"title\": \"Rajendra Nagar\"\n}, {\n \"lat\": 28.65356,\n \"long\": 77.2749285,\n \"title\": \"Shahdara\"\n}, {\n \"lat\": 28.574506,\n \"long\": 77.1907595,\n \"title\": \"Ashok Vihar\"\n}, {\n \"lat\": 28.658746,\n \"long\": 77.1803415,\n \"title\": \"Kamla Nagar\"\n}, {\n \"lat\": 28.575978499999998,\n \"long\": 77.159367,\n \"title\": \"Hauz Khas/Safdarjung/Green Park\"\n}, {\n \"lat\": 28.607501499999998,\n \"long\": 77.22935749999999,\n \"title\": \"Karol Bagh\"\n}, {\n \"lat\": 28.509921499999997,\n \"long\": 77.2065825,\n \"title\": \"Anand Vihar / Chander Nagar\"\n}, {\n \"lat\": 28.5873275,\n \"long\": 77.22194250000001,\n \"title\": \"Saket/Malviya Nagar/Adchini\"\n}, {\n \"lat\": 28.6872405,\n \"long\": 77.114919,\n \"title\": \"Rajouri/ Kirti\"\n}, {\n \"lat\": 28.7819535,\n \"long\": 77.3001775,\n \"title\": \"East of Kailash/Lajpat Nagar\"\n}, {\n \"lat\": 28.61948,\n \"long\": 77.1274255,\n \"title\": \"Hari Nagar / Mayapuri\"\n}, {\n \"lat\": 28.529919,\n \"long\": 77.0723435,\n \"title\": \"South ex / 1/ 2/ DC\"\n}, {\n \"lat\": 28.77791,\n \"long\": 77.05407650000001,\n \"title\": \"Vasant Vihar/ MB/ RKP\"\n}, {\n \"lat\": 28.614067,\n \"long\": 77.0558015,\n \"title\": \"Vikaspuri\"\n}, {\n \"lat\": 28.67888,\n \"long\": 77.3584895,\n \"title\": \"Dilshad Garden\"\n}, {\n \"lat\": 28.718331499999998,\n \"long\": 77.1691395,\n \"title\": \"Model Town (1/ 2)\"\n}, {\n \"lat\": 28.722808,\n \"long\": 77.12085400000001,\n \"title\": \"Aerocity\"\n}, {\n \"lat\": 28.586436499999998,\n \"long\": 77.300185,\n \"title\": \"Jangpura\"\n}, {\n \"lat\": 28.487882499999998,\n \"long\": 77.198639,\n \"title\": \"Sainik Farms\"\n}, {\n \"lat\": 28.653709,\n \"long\": 77.12888749999999,\n \"title\": \"Ramesh Nagar\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 3_TC5",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad83"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n//installed library check on page load\n\tmyFun1: () => {\n\t\tamplitude.Identify()\n\t},\n\tmyFun2: async () => {\n\t\tthis.myFun1()\n\t\ttypeof jsonwebtoken === \"object\" \n\t\t\t&& typeof jsonwebtoken.decode === \"function\" \n\t\t\t&& showAlert(\"Success\");\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n//installed library check on page load\n\tmyFun1: () => {\n\t\tamplitude.Identify()\n\t},\n\tmyFun2: async () => {\n\t\tthis.myFun1()\n\t\ttypeof jsonwebtoken === \"object\" \n\t\t\t&& typeof jsonwebtoken.decode === \"function\" \n\t\t\t&& showAlert(\"Success\");\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 3_TC6",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad85"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 4",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// using storeValue() to dynamically modify values - update code using mutations \n\tblue: () => {\n\t\tstoreValue('background', '#606ebd')\n\t\tstoreValue('highlight', '#0e23c2')\n\t\tstoreValue('text', '#09171f')\n\t\tstoreValue('contrast', '#a9ab43')\n\t},\n\torange: () => {\n\t\tstoreValue('background', '#ba9a99')\n\t\tstoreValue('highlight', '#990f0b')\n\t\tstoreValue('text', '#b30a05')\n\t\tstoreValue('contrast', '#76948b')\n\t\t},\n\tgreen: () => {\n\t\tstoreValue('background', '#9fb39b')\n\t\tstoreValue('highlight', '#205717')\n\t\tstoreValue('text', '#3b5237')\n\t\tstoreValue('contrast', '#d13681')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 4",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// using storeValue() to dynamically modify values - update code using mutations \n\tblue: () => {\n\t\tstoreValue('background', '#606ebd')\n\t\tstoreValue('highlight', '#0e23c2')\n\t\tstoreValue('text', '#09171f')\n\t\tstoreValue('contrast', '#a9ab43')\n\t},\n\torange: () => {\n\t\tstoreValue('background', '#ba9a99')\n\t\tstoreValue('highlight', '#990f0b')\n\t\tstoreValue('text', '#b30a05')\n\t\tstoreValue('contrast', '#76948b')\n\t\t},\n\tgreen: () => {\n\t\tstoreValue('background', '#9fb39b')\n\t\tstoreValue('highlight', '#205717')\n\t\tstoreValue('text', '#3b5237')\n\t\tstoreValue('contrast', '#d13681')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 4_TC6",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad95"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject1",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun: ()=>{\n\t\tconst byteArray = new Uint8Array(1);\n\t\tconst randomValue = crypto.getRandomValues(byteArray);\n\t\tconsole.log(randomValue)\n\t\treturn randomValue;\n\t},\n\t\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject1",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun: ()=>{\n\t\tconst byteArray = new Uint8Array(1);\n\t\tconst randomValue = crypto.getRandomValues(byteArray);\n\t\tconsole.log(randomValue)\n\t\treturn randomValue;\n\t},\n\t\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad87"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject14",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\tshowAlert('namaskara')\n\t},\n\tmyFun2: () => {\n\t\tshowAlert('namaste')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject14",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\tshowAlert('namaskara')\n\t},\n\tmyFun2: () => {\n\t\tshowAlert('namaste')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject14",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad89"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject15",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject15",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject15",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8b"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject16",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun1: () => {\n\t\tpetFacts.run()\n\t\tresetWidget('Select1')\n\t\t\t.then(() => storeValue('select', Select1.selectedOptionLabel))\n\t\t\t.then(() => showAlert(appsmith.store.select))\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject16",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun1: () => {\n\t\tpetFacts.run()\n\t\tresetWidget('Select1')\n\t\t\t.then(() => storeValue('select', Select1.selectedOptionLabel))\n\t\t\t.then(() => showAlert(appsmith.store.select))\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject16",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8d"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC2",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive store value actions using Promise.all() and .then/.catch\n\tmyFun1: async () => { \n\t\t// TC1.clearStore()\n\t\trandomUserGenerator.run()\n\t\t\t.then((res) => {\n\t\t\tlet values =\n\t\t\t\t\t[\n\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t]\n\t\t\treturn Promise.all(values)\n\t\t\t\t.then(() => {\t\n\t\t\t\tshowAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\") \n\t\t\t\tconsole.log(appsmith.store) \n\t\t\t\tconsole.log(values)\n\t\t\t})\n\t\t\t\t.catch((err) => { \n\t\t\t\tconsole.log(\"Could not store values \", err.toString())\n\t\t\t\tshowAlert('Could not store values ', err.toString())\t\t\n\t\t\t}) })\n\t\tawait console.warn(\"2\");\n\t},\n\tmyFun2: async () => {\n\t\tfailingQuery.run()\n\t\t\t.then(() => showAlert(\"Query run was successful\"))\n\t\t\t.catch(() => {\n\t\t\trandomUserGenerator.run()\n\t\t\t\t.then((res) => {\n\t\t\t\tlet values =\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t\t]\n\t\t\t\treturn Promise.all(values)\n\t\t\t\t\t.then(() => {\t\n\t\t\t\t\tshowAlert(\"completed storing all values and now displaying all values on appropriate widgets\") })\n\t\t\t\t\t.catch((err) => { \n\t\t\t\t\tconsole.log(\"Could not store value in store \", err.toString())\n\t\t\t\t\tshowAlert('Could not store values in store ', err.toString())\t\t\n\t\t\t\t}) \n\t\t\t})\n\t\t})\n\t}, \n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC2",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive store value actions using Promise.all() and .then/.catch\n\tmyFun1: async () => { \n\t\t// TC1.clearStore()\n\t\trandomUserGenerator.run()\n\t\t\t.then((res) => {\n\t\t\tlet values =\n\t\t\t\t\t[\n\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t]\n\t\t\treturn Promise.all(values)\n\t\t\t\t.then(() => {\t\n\t\t\t\tshowAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\") \n\t\t\t\tconsole.log(appsmith.store) \n\t\t\t\tconsole.log(values)\n\t\t\t})\n\t\t\t\t.catch((err) => { \n\t\t\t\tconsole.log(\"Could not store values \", err.toString())\n\t\t\t\tshowAlert('Could not store values ', err.toString())\t\t\n\t\t\t}) })\n\t\tawait console.warn(\"2\");\n\t},\n\tmyFun2: async () => {\n\t\tfailingQuery.run()\n\t\t\t.then(() => showAlert(\"Query run was successful\"))\n\t\t\t.catch(() => {\n\t\t\trandomUserGenerator.run()\n\t\t\t\t.then((res) => {\n\t\t\t\tlet values =\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t\t]\n\t\t\t\treturn Promise.all(values)\n\t\t\t\t\t.then(() => {\t\n\t\t\t\t\tshowAlert(\"completed storing all values and now displaying all values on appropriate widgets\") })\n\t\t\t\t\t.catch((err) => { \n\t\t\t\t\tconsole.log(\"Could not store value in store \", err.toString())\n\t\t\t\t\tshowAlert('Could not store values in store ', err.toString())\t\t\n\t\t\t\t}) \n\t\t\t})\n\t\t})\n\t}, \n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 1_TC2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8f"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive resetWidget() function scenarios within .then/.catch - scenarios can be improved\n\tselectOptions: [\n\t\t{\n\t\t\t\"label\": \"Blue\",\n\t\t\t\"value\": \"#7e98c2\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Green\",\n\t\t\t\"value\": \"#96b080\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Red\",\n\t\t\t\"value\": \"#ba5059\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Yellow\",\n\t\t\t\"value\": \"#ebe58f\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Grey\",\n\t\t\t\"value\": \"#a6aeba\"\n\t\t}\n\t],\n\n\tselected: '',\n\tmyFun1: async function () {\n\t\tclearStore()\n\t\tawait resetWidget('Switch1')\n\t\t\t.then(() => {\n\t\t\tresetWidget('Select1')\n\t\t\tresetWidget('Table1')\n\t\t\tthis.myFun2() \t\t//return a message\n\t\t\t\t.then(async () => {\n\t\t\t\tthis.selected = Select1.selectedOptionLabel\n\t\t\t\tawait showAlert('background colour is now ' + this.selected) }) \n\t\t}) \t\t//return a second toast message\n\t\t\t.catch((e) => {\n\t\t\tresetWidget('RadioGroup1')\n\t\t\tshowAlert(\"Couldn't execute all success call steps, hence now in the catch block\") })\n\t},\n\tmyFun2: async () => {\n\t\tApi1.run()\n\t\t\t.then(() => showAlert(\"Ran the API\"))\n\t\t\t.catch(() => showAlert(\"Nested call failed\"))\n\t},\n}",
+ "variables": [
+ {
+ "name": "selectOptions",
+ "value": "[{\n \"label\": \"Blue\",\n \"value\": \"#7e98c2\"\n}, {\n \"label\": \"Green\",\n \"value\": \"#96b080\"\n}, {\n \"label\": \"Red\",\n \"value\": \"#ba5059\"\n}, {\n \"label\": \"Yellow\",\n \"value\": \"#ebe58f\"\n}, {\n \"label\": \"Grey\",\n \"value\": \"#a6aeba\"\n}]"
+ },
+ {
+ "name": "selected",
+ "value": "''"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive resetWidget() function scenarios within .then/.catch - scenarios can be improved\n\tselectOptions: [\n\t\t{\n\t\t\t\"label\": \"Blue\",\n\t\t\t\"value\": \"#7e98c2\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Green\",\n\t\t\t\"value\": \"#96b080\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Red\",\n\t\t\t\"value\": \"#ba5059\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Yellow\",\n\t\t\t\"value\": \"#ebe58f\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Grey\",\n\t\t\t\"value\": \"#a6aeba\"\n\t\t}\n\t],\n\n\tselected: '',\n\tmyFun1: async function () {\n\t\tclearStore()\n\t\tawait resetWidget('Switch1')\n\t\t\t.then(() => {\n\t\t\tresetWidget('Select1')\n\t\t\tresetWidget('Table1')\n\t\t\tthis.myFun2() \t\t//return a message\n\t\t\t\t.then(async () => {\n\t\t\t\tthis.selected = Select1.selectedOptionLabel\n\t\t\t\tawait showAlert('background colour is now ' + this.selected) }) \n\t\t}) \t\t//return a second toast message\n\t\t\t.catch((e) => {\n\t\t\tresetWidget('RadioGroup1')\n\t\t\tshowAlert(\"Couldn't execute all success call steps, hence now in the catch block\") })\n\t},\n\tmyFun2: async () => {\n\t\tApi1.run()\n\t\t\t.then(() => showAlert(\"Ran the API\"))\n\t\t\t.catch(() => showAlert(\"Nested call failed\"))\n\t},\n}",
+ "variables": [
+ {
+ "name": "selectOptions",
+ "value": "[{\n \"label\": \"Blue\",\n \"value\": \"#7e98c2\"\n}, {\n \"label\": \"Green\",\n \"value\": \"#96b080\"\n}, {\n \"label\": \"Red\",\n \"value\": \"#ba5059\"\n}, {\n \"label\": \"Yellow\",\n \"value\": \"#ebe58f\"\n}, {\n \"label\": \"Grey\",\n \"value\": \"#a6aeba\"\n}]"
+ },
+ {
+ "name": "selected",
+ "value": "''"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 1_TC1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad91"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tButton2\n\t},\n\tasync myFun2 () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tButton2\n\t},\n\tasync myFun2 () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 1_JSObject1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad93"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "astronautsLog",
+ "pageId": "--Playground1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tastronautNames: () => {\n\t\tfetch\n\t\treturn fetchAstronauts.data.results.map((n) => {\n\t\t\treturn {\n\t\t\t\tlabel: n.name,\n\t\t\t\tvalue: n.name\n\t\t}})\n\t},\n\tdisplayAstronaut: () => Object.keys(this.astronautNames).map(a => ({ label: a + `${this.astronautNames[a] ? ' ' + this.astronautNames[a] : ''}`, value: a })),\n\ttextColour: () => {\n\t\tstoreValue('formTextColour', '#b91c1c')\n\t},\n\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t},\n\tratings: () => {\n\t\treturn Math.floor(Math.random() * 5) + 1\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "astronautsLog",
+ "pageId": "--Playground1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tastronautNames: () => {\n\t\tfetch\n\t\treturn fetchAstronauts.data.results.map((n) => {\n\t\t\treturn {\n\t\t\t\tlabel: n.name,\n\t\t\t\tvalue: n.name\n\t\t}})\n\t},\n\tdisplayAstronaut: () => Object.keys(this.astronautNames).map(a => ({ label: a + `${this.astronautNames[a] ? ' ' + this.astronautNames[a] : ''}`, value: a })),\n\ttextColour: () => {\n\t\tstoreValue('formTextColour', '#b91c1c')\n\t},\n\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t},\n\tratings: () => {\n\t\treturn Math.floor(Math.random() * 5) + 1\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground1_astronautsLog",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad97"
+ }
+ ],
+ "editModeTheme": {
+ "name": "Sharp",
+ "displayName": "Sharp",
+ "config": {
+ "colors": {
+ "primaryColor": "#3B7DDD",
+ "backgroundColor": "#fff"
+ },
+ "borderRadius": {
+ "appBorderRadius": {
+ "none": "0px",
+ "md": "0.375rem",
+ "lg": "1.5rem"
+ }
+ },
+ "boxShadow": {
+ "appBoxShadow": {
+ "none": "none",
+ "sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
+ }
+ },
+ "fontFamily": {
+ "appFont": [
+ "System Default",
+ "Nunito Sans",
+ "Poppins",
+ "Inter",
+ "Montserrat",
+ "Noto Sans",
+ "Open Sans",
+ "Roboto",
+ "Rubik",
+ "Ubuntu"
+ ]
+ }
+ },
+ "properties": {
+ "colors": {
+ "primaryColor": "#F4ECDD",
+ "backgroundColor": ""
+ },
+ "borderRadius": {
+ "appBorderRadius": "0.375rem"
+ },
+ "boxShadow": {
+ "appBoxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
+ },
+ "fontFamily": {
+ "appFont": "Roboto"
+ }
+ },
+ "stylesheet": {
+ "AUDIO_RECORDER_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_GROUP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
+ },
+ "CAMERA_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CHECKBOX_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CHECKBOX_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CONTAINER_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CIRCULAR_PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATE_PICKER_WIDGET2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FILE_PICKER_WIDGET_V2": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "FORM_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "ICON_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "IFRAME_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "IMAGE_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
+ },
+ "LIST_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MENU_BUTTON_WIDGET": {
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MODAL_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DROP_DOWN_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PROGRESSBAR_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "RATE_WIDGET": {
+ "activeColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "RADIO_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "RICH_TEXT_EDITOR_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "STATBOX_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SWITCH_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SWITCH_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "TABLE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
+ },
+ "TABLE_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ }
+ },
+ "TABS_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}"
+ },
+ "VIDEO_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SINGLE_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "isSystemTheme": false,
+ "deleted": false
+ },
+ "publishedTheme": {
+ "name": "Sharp",
+ "displayName": "Sharp",
+ "config": {
+ "colors": {
+ "primaryColor": "#3B7DDD",
+ "backgroundColor": "#fff"
+ },
+ "borderRadius": {
+ "appBorderRadius": {
+ "none": "0px",
+ "md": "0.375rem",
+ "lg": "1.5rem"
+ }
+ },
+ "boxShadow": {
+ "appBoxShadow": {
+ "none": "none",
+ "sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
+ }
+ },
+ "fontFamily": {
+ "appFont": [
+ "System Default",
+ "Nunito Sans",
+ "Poppins",
+ "Inter",
+ "Montserrat",
+ "Noto Sans",
+ "Open Sans",
+ "Roboto",
+ "Rubik",
+ "Ubuntu"
+ ]
+ }
+ },
+ "properties": {
+ "colors": {
+ "primaryColor": "#F4ECDD",
+ "backgroundColor": ""
+ },
+ "borderRadius": {
+ "appBorderRadius": "0.375rem"
+ },
+ "boxShadow": {
+ "appBoxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
+ },
+ "fontFamily": {
+ "appFont": "Roboto"
+ }
+ },
+ "stylesheet": {
+ "AUDIO_RECORDER_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_GROUP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
+ },
+ "CAMERA_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CHECKBOX_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CHECKBOX_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CONTAINER_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CIRCULAR_PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATE_PICKER_WIDGET2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FILE_PICKER_WIDGET_V2": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "FORM_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "ICON_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "IFRAME_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "IMAGE_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
+ },
+ "LIST_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MENU_BUTTON_WIDGET": {
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MODAL_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DROP_DOWN_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PROGRESSBAR_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "RATE_WIDGET": {
+ "activeColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "RADIO_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "RICH_TEXT_EDITOR_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "STATBOX_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SWITCH_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SWITCH_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "TABLE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
+ },
+ "TABLE_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ }
+ },
+ "TABS_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}"
+ },
+ "VIDEO_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SINGLE_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "isSystemTheme": false,
+ "deleted": false
+ },
+ "modifiedResources" : {"isAllModified": true}
+}
diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json
new file mode 100644
index 000000000000..c6d910ef10f4
--- /dev/null
+++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json
@@ -0,0 +1,2927 @@
+{
+ "moduleInstanceList": [
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "moduleUUID": "fa17f4dd-1c37-49c1-8691-853e97b0347a",
+ "type": "JS_MODULE",
+ "unpublishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "JSModule11",
+ "contextType": "PAGE",
+ "pageId": "Page2",
+ "inputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "publishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "JSModule11",
+ "contextType": "PAGE",
+ "pageId": "Page2",
+ "inputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "id": "Page2_JSModule11",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_57df2ae3-0ea7-42eb-b75b-a9bb605615cf"
+ },
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "moduleUUID": "47bfbc79-d417-4672-babe-dff947a31d25",
+ "type": "QUERY_MODULE",
+ "unpublishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "QueryModule11",
+ "contextType": "PAGE",
+ "pageId": "Page1",
+ "inputs": {},
+ "moduleInputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "publishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "QueryModule11",
+ "contextType": "PAGE",
+ "pageId": "Page1",
+ "inputs": {},
+ "moduleInputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "id": "Page1_QueryModule11",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_089c3852-5716-4af4-b4de-926a80a01669"
+ },
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "moduleUUID": "47bfbc79-d417-4672-babe-dff947a31d25",
+ "type": "QUERY_MODULE",
+ "unpublishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "QueryModule11",
+ "contextType": "PAGE",
+ "pageId": "Page2",
+ "inputs": {},
+ "moduleInputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "publishedModuleInstance": {
+ "version": "0.0.1",
+ "name": "QueryModule11",
+ "contextType": "PAGE",
+ "pageId": "Page2",
+ "inputs": {},
+ "moduleInputs": {},
+ "jsonPathKeys": [],
+ "isValid": false,
+ "invalids": [],
+ "userPermissions": []
+ },
+ "id": "Page2_QueryModule11",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_4880055e-951c-4875-aa6a-ab04e6011870"
+ }
+ ],
+ "sourceModuleList": [
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "packageName": "package",
+ "moduleUUID": "47bfbc79-d417-4672-babe-dff947a31d25",
+ "moduleName": "QueryModule1",
+ "version": "0.0.1"
+ },
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "packageName": "package",
+ "moduleUUID": "47bfbc79-d417-4672-babe-dff947a31d25",
+ "moduleName": "QueryModule1",
+ "version": "0.0.1"
+ },
+ {
+ "packageUUID": "4cbbc9dc-a0de-4f56-9dcb-0cddefeb7ce8",
+ "packageName": "package",
+ "moduleUUID": "fa17f4dd-1c37-49c1-8691-853e97b0347a",
+ "moduleName": "JSModule1",
+ "version": "0.0.1"
+ }
+ ],
+ "artifactJsonType": "APPLICATION",
+ "clientSchemaVersion": 1.0,
+ "serverSchemaVersion": 7.0,
+ "exportedApplication": {
+ "name": "autocommit",
+ "isPublic": false,
+ "pages": [
+ {
+ "id": "Page1",
+ "isDefault": true
+ },
+ {
+ "id": "Page2",
+ "isDefault": false
+ }
+ ],
+ "publishedPages": [
+ {
+ "id": "Page1",
+ "isDefault": true
+ },
+ {
+ "id": "Page2",
+ "isDefault": false
+ }
+ ],
+ "viewMode": false,
+ "appIsExample": false,
+ "unreadCommentThreads": 0.0,
+ "unpublishedApplicationDetail": {
+ "hiddenJSLibs": []
+ },
+ "publishedApplicationDetail": {
+ "hiddenJSLibs": []
+ },
+ "color": "#F4FFDE",
+ "slug": "autocommit",
+ "unpublishedCustomJSLibs": [
+ {
+ "uidString": "jsonwebtoken_/libraries/[email protected]"
+ },
+ {
+ "uidString": "XMLParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.3.2/fxparser.min.js"
+ }
+ ],
+ "publishedCustomJSLibs": [],
+ "evaluationVersion": 2.0,
+ "applicationVersion": 2.0,
+ "collapseInvisibleWidgets": true,
+ "isManualUpdate": false,
+ "deleted": false
+ },
+ "datasourceList": [
+ {
+ "datasourceConfiguration": {
+ "connection": {
+ "mode": "READ_WRITE",
+ "ssl": {
+ "authType": "DEFAULT"
+ }
+ },
+ "endpoints": [
+ {
+ "port": 5432.0
+ }
+ ]
+ },
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "62b3019260456831ead4d041_62b32d47c074aa6fdd7edb56"
+ }
+ ],
+ "customJSLibList": [
+ {
+ "name": "fast-xml-parser",
+ "uidString": "XMLParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.3.2/fxparser.min.js",
+ "accessor": [
+ "XMLParser"
+ ],
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.3.2/fxparser.min.js",
+ "version": "4.3.2",
+ "defs": "{\"!name\":\"LIB/XMLParser\",\"XMLParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"addEntity\":{\"!type\":\"fn()\",\"prototype\":{}}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "jsonwebtoken",
+ "uidString": "jsonwebtoken_/libraries/[email protected]",
+ "accessor": [
+ "jsonwebtoken"
+ ],
+ "url": "/libraries/[email protected]",
+ "version": "8.5.1",
+ "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "pageList": [
+ {
+ "unpublishedPage": {
+ "name": "Page2",
+ "slug": "page2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224.0,
+ "snapColumns": 64.0,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0.0,
+ "bottomRow": 700.0,
+ "containerStyle": "none",
+ "snapRows": 69.0,
+ "parentRowSpace": 1.0,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89.0,
+ "minHeight": 710.0,
+ "parentColumnSpace": 1.0,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0.0
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": []
+ },
+ "publishedPage": {
+ "name": "Page2",
+ "slug": "page2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224.0,
+ "snapColumns": 64.0,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0.0,
+ "bottomRow": 700.0,
+ "containerStyle": "none",
+ "snapRows": 69.0,
+ "parentRowSpace": 1.0,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89.0,
+ "minHeight": 710.0,
+ "parentColumnSpace": 1.0,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0.0
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": []
+ },
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_b45844aa-9894-4475-a1a0-afb01cd4308b"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page1",
+ "slug": "page1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896.0,
+ "snapColumns": 64.0,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0.0,
+ "bottomRow": 490.0,
+ "containerStyle": "none",
+ "snapRows": 124.0,
+ "parentRowSpace": 1.0,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 90.0,
+ "minHeight": 1292.0,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1.0,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0.0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 1.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 8.0,
+ "widgetName": "Input1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 8.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 30.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "8b3b114frr",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "a8trbjjo5c",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 1.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 10.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 36.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 43.0,
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 42.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 39.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "nnrslzlg7p",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "lx3q92ahay",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 36.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 19.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 42.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 57.0,
+ "widgetName": "Input3",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 49.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 34.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "5l5hmeh8gw",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "h3f5ucxz09",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 50.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 14.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 40.0,
+ "widgetName": "IconButton1",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 36.0,
+ "bottomRow": 40.0,
+ "parentRowSpace": 10.0,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 14.0,
+ "animateLoading": true,
+ "parentColumnSpace": 11.25,
+ "leftColumn": 40.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "dj45n0dugx",
+ "isDeprecated": false,
+ "rightColumn": 44.0,
+ "iconName": "plus",
+ "widgetId": "qgsw245nl8",
+ "minWidth": 50.0,
+ "isVisible": true,
+ "version": 1.0,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 36.0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 10.0,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "onSort": "{{\n Select_public_users1.run();\n Total_record_public_users1.run()\n }}",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.e6911f8bb94dc6c4a102a74740c41763.svg",
+ "topRow": 8.0,
+ "isSortable": true,
+ "onPageChange": "{{\n Select_public_users1.run();\n Total_record_public_users1.run()\n }}",
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "totalRecordsCount"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.gender.computedValue"
+ },
+ {
+ "key": "primaryColumns.dob.computedValue"
+ },
+ {
+ "key": "primaryColumns.email.computedValue"
+ },
+ {
+ "key": "primaryColumns.name.computedValue"
+ },
+ {
+ "key": "primaryColumns.EditActions1.saveButtonColor"
+ },
+ {
+ "key": "primaryColumns.EditActions1.saveBorderRadius"
+ },
+ {
+ "key": "primaryColumns.EditActions1.discardBorderRadius"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isSaveDisabled"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isDiscardDisabled"
+ },
+ {
+ "key": "primaryColumns.createdAt.computedValue"
+ },
+ {
+ "key": "primaryColumns.updatedAt.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.avatar.computedValue"
+ },
+ {
+ "key": "primaryColumns.address.computedValue"
+ },
+ {
+ "key": "primaryColumns.role.computedValue"
+ },
+ {
+ "key": "primaryColumns.phoneNo.computedValue"
+ }
+ ],
+ "needsHeightForContent": true,
+ "leftColumn": 10.0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0.0,
+ "showInlineEditingOptionDropdown": true,
+ "flexVerticalAlignment": "start",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 2.0,
+ "totalRecordsCount": "{{Total_record_public_users1.data[0].count}}",
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "iconButton": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "menuButton": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnUpdatedAt": 1.714726905161E12,
+ "primaryColumnId": "id",
+ "defaultSelectedRowIndices": [
+ 0.0
+ ],
+ "mobileBottomRow": 36.0,
+ "widgetName": "Table1",
+ "defaultPageSize": 0.0,
+ "columnOrder": [
+ "id",
+ "gender",
+ "dob",
+ "email",
+ "name",
+ "createdAt",
+ "updatedAt",
+ "status",
+ "avatar",
+ "address",
+ "role",
+ "phoneNo",
+ "EditActions1"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isSaveDisabled"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isDiscardDisabled"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 36.0,
+ "columnWidthMap": {},
+ "parentRowSpace": 10.0,
+ "hideCard": false,
+ "onAddNewRowSave": "{{Insert_public_users1.run(() => {\n showAlert(\"Successfully created!\");\n Select_public_users1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}",
+ "mobileRightColumn": 44.0,
+ "parentColumnSpace": 11.25,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ },
+ {
+ "key": "onSort"
+ },
+ {
+ "key": "onAddNewRowSave"
+ },
+ {
+ "key": "primaryColumns.EditActions1.onSave"
+ }
+ ],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "EditActions1": {
+ "computedValue": "",
+ "saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}",
+ "discardIconAlign": "left",
+ "isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "EditActions1",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "EditActions1",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "discardButtonColor": "#F22B2B",
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": true,
+ "textSize": "0.875rem",
+ "onSave": "{{Update_public_users1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_public_users1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}",
+ "discardButtonVariant": "TERTIARY",
+ "buttonStyle": "rgb(3, 179, 101)",
+ "allowCellWrapping": false,
+ "index": 10.0,
+ "isDiscardVisible": true,
+ "isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
+ "isVisible": true,
+ "label": "Save / Discard",
+ "discardActionLabel": "Discard",
+ "columnType": "editActions",
+ "thousandSeparator": true,
+ "saveActionLabel": "Save",
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "right",
+ "saveIconAlign": "left",
+ "originalId": "EditActions1",
+ "discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "address": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"address\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "address",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "address",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 8.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "address",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "address",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "role": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"role\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "role",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "role",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 9.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "role",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "role",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "gender": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"gender\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "gender",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "gender",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 1.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "gender",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "gender",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "avatar": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"avatar\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "avatar",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "avatar",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 6.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "avatar",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "avatar",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "phoneNo": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"phoneNo\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "phoneNo",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "phoneNo",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 11.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "phoneNo",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "phoneNo",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "createdAt": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"createdAt\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "createdAt",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "createdAt",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 2.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "createdAt",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "createdAt",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "dob": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"dob\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "dob",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "dob",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 4.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "dob",
+ "columnType": "date",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "dob",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "name": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"name\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "name",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "name",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 9.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "name",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "name",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "id": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "id",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "id",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 0.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "id",
+ "columnType": "number",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "id",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "email": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"email\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "email",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "email",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 6.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "email",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "email",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "updatedAt": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"updatedAt\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "updatedAt",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "updatedAt",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 3.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "updatedAt",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "updatedAt",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "status": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "status",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "status",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 4.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "status",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "status",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ }
+ },
+ "key": "asxavmesz9",
+ "canFreezeColumn": true,
+ "isDeprecated": false,
+ "rightColumn": 44.0,
+ "textSize": "0.875rem",
+ "widgetId": "oij05bwell",
+ "allowAddNewRow": true,
+ "minWidth": 450.0,
+ "tableData": "{{Select_public_users1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "mobileTopRow": 8.0,
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 10.0,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page1_Select_public_users1",
+ "name": "Select_public_users1",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [
+ "Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"",
+ "Table1.sortOrder.column || 'id'",
+ "Table1.pageSize",
+ "Table1.pageOffset"
+ ],
+ "timeoutInMillisecond": 10000.0
+ },
+ {
+ "id": "Page1_Total_record_public_users1",
+ "name": "Total_record_public_users1",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000.0
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": []
+ },
+ "publishedPage": {
+ "name": "Page1",
+ "slug": "page1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896.0,
+ "snapColumns": 64.0,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0.0,
+ "bottomRow": 490.0,
+ "containerStyle": "none",
+ "snapRows": 124.0,
+ "parentRowSpace": 1.0,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 90.0,
+ "minHeight": 1292.0,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1.0,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0.0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 1.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 8.0,
+ "widgetName": "Input1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 8.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 30.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "8b3b114frr",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "a8trbjjo5c",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 1.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 10.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 36.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 43.0,
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 42.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 39.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "nnrslzlg7p",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "lx3q92ahay",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 36.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 19.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f2c34197dbcf03595098986de898928f.svg",
+ "topRow": 42.0,
+ "labelWidth": 5.0,
+ "type": "INPUT_WIDGET_V2",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 10.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "version": 2.0,
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileBottomRow": 57.0,
+ "widgetName": "Input3",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "bottomRow": 49.0,
+ "parentRowSpace": 10.0,
+ "autoFocus": false,
+ "hideCard": false,
+ "mobileRightColumn": 34.0,
+ "parentColumnSpace": 11.25,
+ "labelPosition": "Top",
+ "key": "5l5hmeh8gw",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 30.0,
+ "widgetId": "h3f5ucxz09",
+ "minWidth": 450.0,
+ "label": "Label",
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 50.0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 14.0,
+ "maxDynamicHeight": 9000.0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4.0
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 40.0,
+ "widgetName": "IconButton1",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 36.0,
+ "bottomRow": 40.0,
+ "parentRowSpace": 10.0,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 14.0,
+ "animateLoading": true,
+ "parentColumnSpace": 11.25,
+ "leftColumn": 40.0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "dj45n0dugx",
+ "isDeprecated": false,
+ "rightColumn": 44.0,
+ "iconName": "plus",
+ "widgetId": "qgsw245nl8",
+ "minWidth": 50.0,
+ "isVisible": true,
+ "version": 1.0,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 36.0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 10.0,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "onSort": "{{\n Select_public_users1.run();\n Total_record_public_users1.run()\n }}",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.e6911f8bb94dc6c4a102a74740c41763.svg",
+ "topRow": 8.0,
+ "isSortable": true,
+ "onPageChange": "{{\n Select_public_users1.run();\n Total_record_public_users1.run()\n }}",
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "totalRecordsCount"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.gender.computedValue"
+ },
+ {
+ "key": "primaryColumns.dob.computedValue"
+ },
+ {
+ "key": "primaryColumns.email.computedValue"
+ },
+ {
+ "key": "primaryColumns.name.computedValue"
+ },
+ {
+ "key": "primaryColumns.EditActions1.saveButtonColor"
+ },
+ {
+ "key": "primaryColumns.EditActions1.saveBorderRadius"
+ },
+ {
+ "key": "primaryColumns.EditActions1.discardBorderRadius"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isSaveDisabled"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isDiscardDisabled"
+ },
+ {
+ "key": "primaryColumns.createdAt.computedValue"
+ },
+ {
+ "key": "primaryColumns.updatedAt.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.avatar.computedValue"
+ },
+ {
+ "key": "primaryColumns.address.computedValue"
+ },
+ {
+ "key": "primaryColumns.role.computedValue"
+ },
+ {
+ "key": "primaryColumns.phoneNo.computedValue"
+ }
+ ],
+ "needsHeightForContent": true,
+ "leftColumn": 10.0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0.0,
+ "showInlineEditingOptionDropdown": true,
+ "flexVerticalAlignment": "start",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 2.0,
+ "totalRecordsCount": "{{Total_record_public_users1.data[0].count}}",
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "iconButton": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "menuButton": {
+ "boxShadow": "none",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnUpdatedAt": 1.714726905161E12,
+ "primaryColumnId": "id",
+ "defaultSelectedRowIndices": [
+ 0.0
+ ],
+ "mobileBottomRow": 36.0,
+ "widgetName": "Table1",
+ "defaultPageSize": 0.0,
+ "columnOrder": [
+ "id",
+ "gender",
+ "dob",
+ "email",
+ "name",
+ "createdAt",
+ "updatedAt",
+ "status",
+ "avatar",
+ "address",
+ "role",
+ "phoneNo",
+ "EditActions1"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isSaveDisabled"
+ },
+ {
+ "key": "primaryColumns.EditActions1.isDiscardDisabled"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 36.0,
+ "columnWidthMap": {},
+ "parentRowSpace": 10.0,
+ "hideCard": false,
+ "onAddNewRowSave": "{{Insert_public_users1.run(() => {\n showAlert(\"Successfully created!\");\n Select_public_users1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}",
+ "mobileRightColumn": 44.0,
+ "parentColumnSpace": 11.25,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ },
+ {
+ "key": "onSort"
+ },
+ {
+ "key": "onAddNewRowSave"
+ },
+ {
+ "key": "primaryColumns.EditActions1.onSave"
+ }
+ ],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "EditActions1": {
+ "computedValue": "",
+ "saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}",
+ "discardIconAlign": "left",
+ "isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "EditActions1",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "EditActions1",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "discardButtonColor": "#F22B2B",
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": true,
+ "textSize": "0.875rem",
+ "onSave": "{{Update_public_users1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_public_users1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}",
+ "discardButtonVariant": "TERTIARY",
+ "buttonStyle": "rgb(3, 179, 101)",
+ "allowCellWrapping": false,
+ "index": 10.0,
+ "isDiscardVisible": true,
+ "isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
+ "isVisible": true,
+ "label": "Save / Discard",
+ "discardActionLabel": "Discard",
+ "columnType": "editActions",
+ "thousandSeparator": true,
+ "saveActionLabel": "Save",
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "right",
+ "saveIconAlign": "left",
+ "originalId": "EditActions1",
+ "discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "address": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"address\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "address",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "address",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 8.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "address",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "address",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "role": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"role\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "role",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "role",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 9.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "role",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "role",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "gender": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"gender\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "gender",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "gender",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 1.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "gender",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "gender",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "avatar": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"avatar\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "avatar",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "avatar",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 6.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "avatar",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "avatar",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "phoneNo": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"phoneNo\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "phoneNo",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "phoneNo",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 11.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "phoneNo",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "phoneNo",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "createdAt": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"createdAt\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "createdAt",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "createdAt",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 2.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "createdAt",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "createdAt",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "dob": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"dob\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "dob",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "dob",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 4.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "dob",
+ "columnType": "date",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "dob",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "name": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"name\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "name",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "name",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 9.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "name",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "name",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "id": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "id",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "id",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 0.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "id",
+ "columnType": "number",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "id",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "email": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"email\"]))}}",
+ "isEditable": true,
+ "notation": "standard",
+ "alias": "email",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "email",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 6.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "email",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": true,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "email",
+ "currencyCode": "USD",
+ "verticalAlignment": "CENTER"
+ },
+ "updatedAt": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"updatedAt\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "updatedAt",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "updatedAt",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 3.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "updatedAt",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "updatedAt",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ },
+ "status": {
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "isEditable": false,
+ "notation": "standard",
+ "alias": "status",
+ "enableSort": true,
+ "isSaveVisible": true,
+ "id": "status",
+ "isDisabled": false,
+ "allowSameOptionsInNewRow": true,
+ "validation": {},
+ "isCellVisible": true,
+ "isDerived": false,
+ "textSize": "0.875rem",
+ "allowCellWrapping": false,
+ "index": 4.0,
+ "isDiscardVisible": true,
+ "isVisible": true,
+ "label": "status",
+ "fontStyle": "",
+ "textColor": "",
+ "columnType": "text",
+ "thousandSeparator": true,
+ "horizontalAlignment": "LEFT",
+ "isCellEditable": false,
+ "decimals": 0.0,
+ "width": 150.0,
+ "enableFilter": true,
+ "sticky": "",
+ "originalId": "status",
+ "currencyCode": "USD",
+ "cellBackground": "",
+ "verticalAlignment": "CENTER"
+ }
+ },
+ "key": "asxavmesz9",
+ "canFreezeColumn": true,
+ "isDeprecated": false,
+ "rightColumn": 44.0,
+ "textSize": "0.875rem",
+ "widgetId": "oij05bwell",
+ "allowAddNewRow": true,
+ "minWidth": 450.0,
+ "tableData": "{{Select_public_users1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "mobileTopRow": 8.0,
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 10.0,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page1_Select_public_users1",
+ "name": "Select_public_users1",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [
+ "Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"",
+ "Table1.sortOrder.column || 'id'",
+ "Table1.pageSize",
+ "Table1.pageOffset"
+ ],
+ "timeoutInMillisecond": 10000.0
+ },
+ {
+ "id": "Page1_Total_record_public_users1",
+ "name": "Total_record_public_users1",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000.0
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": []
+ },
+ "deleted": false,
+ "gitSyncId": "65f6faeadf34416ea132fa23_65f6faeadf34416ea132fa25"
+ }
+ ],
+ "actionList": [
+ {
+ "moduleInstanceId": "Page2_JSModule11",
+ "isPublic": true,
+ "rootModuleInstanceId": "Page2_JSModule11",
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "_$JSModule11$_JSModule1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "collectionId": "Page2__$JSModule11$_JSModule1",
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:35Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "_$JSModule11$_JSModule1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "collectionId": "Page2__$JSModule11$_JSModule1",
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:35Z"
+ },
+ "id": "Page2__$JSModule11$_JSModule1.myFun1",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_8d495292-c217-441b-8d1e-662895286d72"
+ },
+ {
+ "moduleInstanceId": "Page2_JSModule11",
+ "isPublic": true,
+ "rootModuleInstanceId": "Page2_JSModule11",
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "_$JSModule11$_JSModule1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "collectionId": "Page2__$JSModule11$_JSModule1",
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:35Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "_$JSModule11$_JSModule1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "collectionId": "Page2__$JSModule11$_JSModule1",
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:35Z"
+ },
+ "id": "Page2__$JSModule11$_JSModule1.myFun2",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_f9c25005-7d8f-4f70-bf67-f2d56552b858"
+ },
+ {
+ "moduleInstanceId": "Page2_QueryModule11",
+ "isPublic": true,
+ "rootModuleInstanceId": "Page2_QueryModule11",
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "_$QueryModule11$_QueryModule1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:39Z"
+ },
+ "publishedAction": {
+ "name": "_$QueryModule11$_QueryModule1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:39Z"
+ },
+ "id": "Page2__$QueryModule11$_QueryModule1",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_fbf5eec1-67e9-4d83-ba9f-372219249bdd"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "Select_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT\n *\nFROM\n public.users\nORDER BY\n \"{{Table1.sortOrder.column || 'id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"",
+ "Table1.sortOrder.column || 'id'",
+ "Table1.pageSize",
+ "Table1.pageOffset"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:15Z"
+ },
+ "publishedAction": {
+ "name": "Select_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT\n *\nFROM\n public.users\nORDER BY\n \"{{Table1.sortOrder.column || 'id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"",
+ "Table1.sortOrder.column || 'id'",
+ "Table1.pageSize",
+ "Table1.pageOffset"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:15Z"
+ },
+ "id": "Page1_Select_public_users1",
+ "deleted": false,
+ "gitSyncId": "65f6faeadf34416ea132fa23_65fc16ffcff75c68df8ac4eb"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "Total_record_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT COUNT(*) from public.users;",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:15Z"
+ },
+ "publishedAction": {
+ "name": "Total_record_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT COUNT(*) from public.users;",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:15Z"
+ },
+ "id": "Page1_Total_record_public_users1",
+ "deleted": false,
+ "gitSyncId": "65f6faeadf34416ea132fa23_65fc16ffcff75c68df8ac4ea"
+ },
+ {
+ "moduleInstanceId": "Page1_QueryModule11",
+ "isPublic": true,
+ "rootModuleInstanceId": "Page1_QueryModule11",
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "_$QueryModule11$_QueryModule1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "contextType": "PAGE",
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:39Z"
+ },
+ "publishedAction": {
+ "name": "_$QueryModule11$_QueryModule1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "contextType": "PAGE",
+ "isValid": false,
+ "invalids": [
+ "No configurations found in this action"
+ ],
+ "messages": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-25T04:58:39Z"
+ },
+ "id": "Page1__$QueryModule11$_QueryModule1",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_efe025a1-7f9f-4bff-9836-53d23558f11c"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "Insert_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "INSERT INTO public.users (\"gender\",\"latitude\",\"longitude\",\"dob\",\"phone\",\"email\",\"image\",\"country\",\"name\",\"created_at\",\"updated_at\") VALUES ('{{(Table1.newRow || {}).gender}}','{{(Table1.newRow || {}).latitude}}','{{(Table1.newRow || {}).longitude}}','{{(Table1.newRow || {}).dob}}','{{(Table1.newRow || {}).phone}}','{{(Table1.newRow || {}).email}}','{{(Table1.newRow || {}).image}}','{{(Table1.newRow || {}).country}}','{{(Table1.newRow || {}).name}}','{{(Table1.newRow || {}).created_at}}','{{(Table1.newRow || {}).updated_at}}')",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "(Table1.newRow || {}).phone",
+ "(Table1.newRow || {}).latitude",
+ "(Table1.newRow || {}).created_at",
+ "(Table1.newRow || {}).email",
+ "(Table1.newRow || {}).name",
+ "(Table1.newRow || {}).dob",
+ "(Table1.newRow || {}).updated_at",
+ "(Table1.newRow || {}).gender",
+ "(Table1.newRow || {}).longitude",
+ "(Table1.newRow || {}).image",
+ "(Table1.newRow || {}).country"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:19Z"
+ },
+ "publishedAction": {
+ "name": "Insert_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "INSERT INTO public.users (\"gender\",\"latitude\",\"longitude\",\"dob\",\"phone\",\"email\",\"image\",\"country\",\"name\",\"created_at\",\"updated_at\") VALUES ('{{(Table1.newRow || {}).gender}}','{{(Table1.newRow || {}).latitude}}','{{(Table1.newRow || {}).longitude}}','{{(Table1.newRow || {}).dob}}','{{(Table1.newRow || {}).phone}}','{{(Table1.newRow || {}).email}}','{{(Table1.newRow || {}).image}}','{{(Table1.newRow || {}).country}}','{{(Table1.newRow || {}).name}}','{{(Table1.newRow || {}).created_at}}','{{(Table1.newRow || {}).updated_at}}')",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "(Table1.newRow || {}).phone",
+ "(Table1.newRow || {}).latitude",
+ "(Table1.newRow || {}).created_at",
+ "(Table1.newRow || {}).email",
+ "(Table1.newRow || {}).name",
+ "(Table1.newRow || {}).dob",
+ "(Table1.newRow || {}).updated_at",
+ "(Table1.newRow || {}).gender",
+ "(Table1.newRow || {}).longitude",
+ "(Table1.newRow || {}).image",
+ "(Table1.newRow || {}).country"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:19Z"
+ },
+ "id": "Page1_Insert_public_users1",
+ "deleted": false,
+ "gitSyncId": "65f6faeadf34416ea132fa23_65fc1703cff75c68df8ac4f5"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "Update_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "UPDATE public.users SET \"gender\"= '{{Table1.updatedRow.gender}}', \"latitude\"= '{{Table1.updatedRow.latitude}}', \"longitude\"= '{{Table1.updatedRow.longitude}}', \"dob\"= '{{Table1.updatedRow.dob}}', \"phone\"= '{{Table1.updatedRow.phone}}', \"email\"= '{{Table1.updatedRow.email}}', \"image\"= '{{Table1.updatedRow.image}}', \"country\"= '{{Table1.updatedRow.country}}', \"name\"= '{{Table1.updatedRow.name}}', \"created_at\"= '{{Table1.updatedRow.created_at}}', \"updated_at\"= '{{Table1.updatedRow.updated_at}}' WHERE \"id\"= {{Table1.updatedRow.id}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Table1.updatedRow.id",
+ "Table1.updatedRow.gender",
+ "Table1.updatedRow.phone",
+ "Table1.updatedRow.name",
+ "Table1.updatedRow.latitude",
+ "Table1.updatedRow.email",
+ "Table1.updatedRow.updated_at",
+ "Table1.updatedRow.dob",
+ "Table1.updatedRow.created_at",
+ "Table1.updatedRow.country",
+ "Table1.updatedRow.longitude",
+ "Table1.updatedRow.image"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:19Z"
+ },
+ "publishedAction": {
+ "name": "Update_public_users1",
+ "datasource": {
+ "name": "Users",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "Users",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000.0,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "UPDATE public.users SET \"gender\"= '{{Table1.updatedRow.gender}}', \"latitude\"= '{{Table1.updatedRow.latitude}}', \"longitude\"= '{{Table1.updatedRow.longitude}}', \"dob\"= '{{Table1.updatedRow.dob}}', \"phone\"= '{{Table1.updatedRow.phone}}', \"email\"= '{{Table1.updatedRow.email}}', \"image\"= '{{Table1.updatedRow.image}}', \"country\"= '{{Table1.updatedRow.country}}', \"name\"= '{{Table1.updatedRow.name}}', \"created_at\"= '{{Table1.updatedRow.created_at}}', \"updated_at\"= '{{Table1.updatedRow.updated_at}}' WHERE \"id\"= {{Table1.updatedRow.id}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": false
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Table1.updatedRow.id",
+ "Table1.updatedRow.gender",
+ "Table1.updatedRow.phone",
+ "Table1.updatedRow.name",
+ "Table1.updatedRow.latitude",
+ "Table1.updatedRow.email",
+ "Table1.updatedRow.updated_at",
+ "Table1.updatedRow.dob",
+ "Table1.updatedRow.created_at",
+ "Table1.updatedRow.country",
+ "Table1.updatedRow.longitude",
+ "Table1.updatedRow.image"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-03-21T11:16:19Z"
+ },
+ "id": "Page1_Update_public_users1",
+ "deleted": false,
+ "gitSyncId": "65f6faeadf34416ea132fa23_65fc1703cff75c68df8ac4f4"
+ }
+ ],
+ "actionCollectionList": [
+ {
+ "moduleInstanceId": "Page2_JSModule11",
+ "isPublic": true,
+ "rootModuleInstanceId": "Page2_JSModule11",
+ "unpublishedCollection": {
+ "name": "_$JSModule11$_JSModule1",
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "_$JSModule11$_JSModule1",
+ "pageId": "Page2",
+ "contextType": "PAGE",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "userPermissions": []
+ },
+ "id": "Page2__$JSModule11$_JSModule1",
+ "deleted": false,
+ "gitSyncId": "6634a7ee75904c168ca44791_fa6ca619-dbde-4695-a08e-79727c77b441"
+ }
+ ],
+ "editModeTheme": {
+ "name": "Default-New",
+ "displayName": "Modern",
+ "isSystemTheme": true,
+ "deleted": false
+ },
+ "publishedTheme": {
+ "name": "Default-New",
+ "displayName": "Modern",
+ "isSystemTheme": true,
+ "deleted": false
+ },
+ "modifiedResources": {
+ "isAllModified": true
+ }
+}
|
5dfbe8cac7efd3629e4cb4eccfbec4dc7a6fd027
|
2024-09-16 22:53:09
|
NandanAnantharamu
|
test: fix DataSourceScheme (#36339)
| false
|
fix DataSourceScheme (#36339)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/DatasourceSchema_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/DatasourceSchema_spec.ts
index 717b0edbe2ed..d0a02c28e0bb 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/DatasourceSchema_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/DatasourceSchema_spec.ts
@@ -3,6 +3,7 @@ import {
dataSources,
entityItems,
homePage,
+ locators,
} from "../../../../support/Objects/ObjectsCore";
import EditorNavigation, {
EntityType,
@@ -46,7 +47,8 @@ describe(
});
});
- it("2. Verify if schema was fetched once #18448", () => {
+ //This test is failing because of this bug #36348
+ it.skip("2. Verify if schema was fetched once #36348", () => {
agHelper.RefreshPage();
EditorNavigation.SelectEntityByName(
dataSourceName,
@@ -70,13 +72,14 @@ describe(
agHelper.RefreshPage();
dataSources.CreateMockDB("Users");
dataSources.CreateQueryAfterDSSaved();
- dataSources.VerifyTableSchemaOnQueryEditor("public.users");
- dataSources.SelectTableFromPreviewSchemaList("public.users");
- dataSources.VerifyColumnSchemaOnQueryEditor("id", 1);
+ agHelper.GetNClick(dataSources._dsTabSchema);
+ agHelper.AssertElementAbsence(locators._btnSpinner);
dataSources.FilterAndVerifyDatasourceSchemaBySearch(
"public.us",
"public.users",
);
+ dataSources.SelectTableFromPreviewSchemaList("public.users");
+ dataSources.VerifyColumnSchemaOnQueryEditor("id", 1);
},
);
@@ -87,10 +90,13 @@ describe(
agHelper.RefreshPage();
dataSources.CreateMockDB("Users");
dataSources.CreateQueryAfterDSSaved();
+ agHelper.GetNClick(dataSources._dsTabSchema);
+ dataSources.FilterAndVerifyDatasourceSchemaBySearch("public.users");
dataSources.VerifyTableSchemaOnQueryEditor("public.users");
// then refresh
dataSources.RefreshDatasourceSchema();
// assert the schema is still shown.
+ dataSources.FilterAndVerifyDatasourceSchemaBySearch("public.users");
dataSources.VerifyTableSchemaOnQueryEditor("public.users");
},
);
diff --git a/app/client/cypress/support/Pages/DataSources.ts b/app/client/cypress/support/Pages/DataSources.ts
index 50834a58fb7d..c984a29f5cda 100644
--- a/app/client/cypress/support/Pages/DataSources.ts
+++ b/app/client/cypress/support/Pages/DataSources.ts
@@ -201,7 +201,7 @@ export class DataSources {
".t--datasource-name:contains('" + dsName + "')";
_mandatoryMark = "//span[text()='*']";
_deleteDSHostPort = ".t--delete-field";
-
+ _dsTabSchema = "[data-testid='t--tab-schema']";
private _pageSelectionMenu = "[data-testId='t--page-selection']";
private _pageSelectMenuItem = ".ads-v2-menu__menu-item";
@@ -1373,7 +1373,7 @@ export class DataSources {
expectedTableName = search,
) {
this.agHelper.Sleep(2500); //for query editor to load
- this.agHelper.TypeText(this._datasourceStructureSearchInput, search);
+ this.agHelper.ClearNType(this._datasourceStructureSearchInput, search);
this.agHelper.Sleep(1000); //for search result to load
this.VerifyTableSchemaOnQueryEditor(expectedTableName);
}
|
217da70d9fd45b8aab3004d68b49d5e8a4087206
|
2024-05-13 16:45:03
|
Rahul Barwal
|
chore: Fix failing spec with updated string (#33378)
| false
|
Fix failing spec with updated string (#33378)
|
chore
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ExplorerTests/Page_Load_Spec.js b/app/client/cypress/e2e/Regression/ClientSide/ExplorerTests/Page_Load_Spec.js
index beb2d80dda74..991a50ea91b9 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ExplorerTests/Page_Load_Spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/ExplorerTests/Page_Load_Spec.js
@@ -10,8 +10,12 @@ import {
} from "../../../../support/Objects/ObjectsCore";
import PageList from "../../../../support/Pages/PageList";
import { EntityItems } from "../../../../support/Pages/AssertHelper";
+import {
+ createMessage,
+ STARTER_TEMPLATE_PAGE_LAYOUTS,
+} from "../../../../../src/ce/constants/messages";
-describe("Page Load tests", { tags: ["@tag.IDE"] }, () => {
+describe("Page Load tests", { tags: ["@tag.IDE", "@tag.Templates"] }, () => {
afterEach(() => {
agHelper.SaveLocalStorageCache();
});
@@ -23,7 +27,9 @@ describe("Page Load tests", { tags: ["@tag.IDE"] }, () => {
before(() => {
agHelper.AddDsl("PageLoadDsl");
PageList.AddNewPage();
- cy.get("h2").contains("Drag and drop a widget here");
+ cy.get("span").contains(
+ createMessage(STARTER_TEMPLATE_PAGE_LAYOUTS.header),
+ );
});
it("1. Published page loads correctly", () => {
|
2c484d55388f941c199cab0f08ecbe405a7ec44a
|
2022-04-28 16:43:53
|
Anagh Hegde
|
fix: Unable to see apps in home page after git connect fails (#13387)
| false
|
Unable to see apps in home page after git connect fails (#13387)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationFetcherCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationFetcherCEImpl.java
index 15d8e40288bf..0f86730f82da 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationFetcherCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationFetcherCEImpl.java
@@ -112,9 +112,15 @@ public Mono<UserHomepageDTO> getAllApplications() {
// Collect all the applications as a map with organization id as a key
Flux<Application> applicationFlux = applicationRepository
.findByMultipleOrganizationIds(orgIds, READ_APPLICATIONS)
+ // Git connected apps will have gitApplicationMetadat
.filter(application -> application.getGitApplicationMetadata() == null
- || (!StringUtils.isEmpty(application.getGitApplicationMetadata().getDefaultBranchName())
- && application.getGitApplicationMetadata().getBranchName().equals(application.getGitApplicationMetadata().getDefaultBranchName()))
+ // 1. When the ssh key is generated by user and then the connect app fails
+ || (StringUtils.isEmpty(application.getGitApplicationMetadata().getDefaultBranchName())
+ && StringUtils.isEmpty(application.getGitApplicationMetadata().getBranchName()))
+ // 2. When the DefaultBranchName is missing due to branch creation flow failures or corrupted scenarios
+ || (!StringUtils.isEmpty(application.getGitApplicationMetadata().getBranchName())
+ && application.getGitApplicationMetadata().getBranchName().equals(application.getGitApplicationMetadata().getDefaultBranchName())
+ )
)
.map(responseUtils::updateApplicationWithDefaultResources);
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ApplicationFetcherUnitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ApplicationFetcherUnitTest.java
index a81f655cd63d..fa42f4a5b7f3 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ApplicationFetcherUnitTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ApplicationFetcherUnitTest.java
@@ -2,14 +2,18 @@
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.ApplicationPage;
+import com.appsmith.server.domains.GitApplicationMetadata;
+import com.appsmith.server.domains.GitAuth;
import com.appsmith.server.domains.NewPage;
import com.appsmith.server.domains.Organization;
import com.appsmith.server.domains.User;
import com.appsmith.server.domains.UserData;
import com.appsmith.server.dtos.OrganizationApplicationsDTO;
import com.appsmith.server.dtos.PageDTO;
+import com.appsmith.server.dtos.UserHomepageDTO;
import com.appsmith.server.helpers.ResponseUtils;
import com.appsmith.server.repositories.ApplicationRepository;
+import com.appsmith.server.services.ApplicationService;
import com.appsmith.server.services.NewPageService;
import com.appsmith.server.services.OrganizationService;
import com.appsmith.server.services.SessionUserService;
@@ -18,7 +22,9 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
+import org.mockito.Mock;
import org.mockito.Mockito;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.junit4.SpringRunner;
import reactor.core.publisher.Flux;
@@ -65,6 +71,9 @@ public class ApplicationFetcherUnitTest {
ApplicationFetcher applicationFetcher;
+ @MockBean
+ ApplicationService applicationService;
+
User testUser;
final static String defaultPageId = "defaultPageId";
@@ -194,6 +203,9 @@ public void getAllApplications_NoRecentOrgAndApps_AllEntriesReturned() {
.thenReturn(updateDefaultPageIdsWithinApplication(application));
}
+ Mockito.when(applicationService.createOrUpdateSshKeyPair(Mockito.anyString()))
+ .thenReturn(Mono.just(new GitAuth()));
+
StepVerifier.create(applicationFetcher.getAllApplications())
.assertNext(userHomepageDTO -> {
List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
@@ -213,6 +225,140 @@ public void getAllApplications_NoRecentOrgAndApps_AllEntriesReturned() {
}).verifyComplete();
}
+ @Test
+ public void getAllApplications_gitConnectedAppScenarios_OnlyTheDefaultBranchedAppIsReturned() {
+ initMocks();
+ // mock the user data to return recently used orgs and apps
+ UserData userData = new UserData();
+ Mockito.when(userDataService.getForCurrentUser()).thenReturn(Mono.just(userData));
+
+ // mock the list of applications
+ List<Application> applications = createDummyApplications(4,4);
+ List<NewPage> pageList = createDummyPages(4, 4);
+
+ Mockito.when(applicationRepository.findByMultipleOrganizationIds(
+ testUser.getOrganizationIds(), READ_APPLICATIONS)
+ ).thenReturn(Flux.fromIterable(applications));
+
+ Mockito.when(newPageService.findPageSlugsByApplicationIds(anyList(), eq(READ_PAGES)))
+ .thenReturn(Flux.fromIterable(pageList));
+
+ for (Application application : applications) {
+ Mockito
+ .when(responseUtils.updateApplicationWithDefaultResources(application))
+ .thenReturn(updateDefaultPageIdsWithinApplication(application));
+ }
+
+ Mockito.when(applicationService.createOrUpdateSshKeyPair(Mockito.anyString()))
+ .thenReturn(Mono.just(new GitAuth()));
+
+ StepVerifier.create(applicationFetcher.getAllApplications())
+ .assertNext(userHomepageDTO -> {
+ List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
+ assertThat(dtos.size()).isEqualTo(4);
+ for (OrganizationApplicationsDTO dto : dtos) {
+ assertThat(dto.getApplications().size()).isEqualTo(4);
+ List<Application> applicationList = dto.getApplications();
+ for (Application application : applicationList) {
+ application.getPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-unpublished-slug")
+ );
+ application.getPublishedPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-published-slug")
+ );
+ }
+ }
+ }).verifyComplete();
+
+ // Generate SSH keys for an app - to test if the app is visible in home page when the git connect step is aborted in middle
+ Mockito.when(applicationService.save(Mockito.any(Application.class)))
+ .thenReturn(Mono.just(new Application()));
+ Mono<UserHomepageDTO> userHomepageDTOMono = applicationFetcher.getAllApplications()
+ .flatMap(userHomepageDTO -> {
+ List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
+ List<Application> applicationList = dtos.get(0).getApplications();
+ return Mono.just(applicationList.get(0));
+ })
+ // After choosing the any app randomly to connect to git, Generate keys and stop the process
+ .flatMap(application -> applicationService.createOrUpdateSshKeyPair(application.getId()))
+ .then(applicationFetcher.getAllApplications());
+
+ StepVerifier.create(userHomepageDTOMono)
+ .assertNext(userHomepageDTO -> {
+ List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
+ assertThat(dtos.size()).isEqualTo(4);
+ for (OrganizationApplicationsDTO dto : dtos) {
+ assertThat(dto.getApplications().size()).isEqualTo(4);
+ List<Application> applicationList = dto.getApplications();
+ for (Application application : applicationList) {
+ application.getPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-unpublished-slug")
+ );
+ application.getPublishedPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-published-slug")
+ );
+ }
+ }
+ }).verifyComplete();
+
+ // For connect and create branch flow scenarios where - defaultBranchName is somehow not saved in DB
+ userHomepageDTOMono = applicationFetcher.getAllApplications()
+ .flatMap(userHomepageDTO -> {
+ List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
+ List<Application> applicationList = dtos.get(0).getApplications();
+ return Mono.just(applicationList.get(0));
+ })
+ .flatMap(application -> {
+ // Create a new branched App resource in the same org and verify that branch App does not show up in the response.
+ Application branchApp = new Application();
+ branchApp.setName("branched App");
+ branchApp.setOrganizationId(application.getOrganizationId());
+ branchApp.setId("org-" + 5 + "-app-" + 5);
+ GitApplicationMetadata gitApplicationMetadata = new GitApplicationMetadata();
+ gitApplicationMetadata.setDefaultApplicationId(application.getId());
+ gitApplicationMetadata.setBranchName("master");
+ gitApplicationMetadata.setRemoteUrl("remnoteUrl");
+ branchApp.setGitApplicationMetadata(gitApplicationMetadata);
+
+ // Set dummy applicationPages
+ ApplicationPage unpublishedPage = new ApplicationPage();
+ unpublishedPage.setId("page" + 5);
+ unpublishedPage.setDefaultPageId("page" + 5);
+ unpublishedPage.setIsDefault(true);
+
+ ApplicationPage publishedPage = new ApplicationPage();
+ publishedPage.setId("page" + 5);
+ publishedPage.setDefaultPageId("page" + 5);
+ publishedPage.setIsDefault(true);
+
+ branchApp.setPages(List.of(unpublishedPage));
+ branchApp.setPublishedPages(List.of(publishedPage));
+ applications.add(branchApp);
+
+ return applicationService.save(branchApp);
+ })
+ .then(applicationFetcher.getAllApplications());
+
+ StepVerifier.create(userHomepageDTOMono)
+ .assertNext(userHomepageDTO -> {
+ List<OrganizationApplicationsDTO> dtos = userHomepageDTO.getOrganizationApplications();
+ assertThat(dtos.size()).isEqualTo(4);
+ for (OrganizationApplicationsDTO dto : dtos) {
+ assertThat(dto.getApplications().size()).isEqualTo(4);
+ List<Application> applicationList = dto.getApplications();
+ for (Application application : applicationList) {
+ application.getPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-unpublished-slug")
+ );
+ application.getPublishedPages().forEach(
+ page -> assertThat(page.getSlug()).isEqualTo(page.getId()+"-published-slug")
+ );
+ }
+ }
+ }).verifyComplete();
+
+ }
+
@Test
public void getAllApplications_WhenUserHasRecentOrgAndApp_RecentEntriesComeFirst() {
initMocks();
|
85a31fa9110020ad926148fe03b2ab020506ff84
|
2024-01-09 13:28:41
|
Shrikant Sharat Kandula
|
chore: Fix spotless error
| false
|
Fix spotless error
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java
index 33862f5a6115..e9bc03e801d9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java
@@ -1,6 +1,5 @@
package com.appsmith.server.plugins.base;
-import com.appsmith.external.models.BaseDomain;
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.PluginType;
import com.appsmith.server.constants.FieldName;
|
2eac19379b50f78ef0d12adf9702b740a9697f22
|
2024-12-23 18:50:44
|
Sagar Khalasi
|
fix: Fix for locator for AddWidgetTableAndBind_spec test case (#38313)
| false
|
Fix for locator for AddWidgetTableAndBind_spec test case (#38313)
|
fix
|
diff --git a/app/client/cypress/locators/QueryEditor.json b/app/client/cypress/locators/QueryEditor.json
index 0c0cf32811e5..045bfba86913 100644
--- a/app/client/cypress/locators/QueryEditor.json
+++ b/app/client/cypress/locators/QueryEditor.json
@@ -9,7 +9,7 @@
"addDatasource": ".t--add-datasource",
"editDatasourceButton": ".t--edit-datasource",
"switch": ".t--form-control-SWITCH input",
- "queryResponse": "(//div[@class='table']//div[@class='tr'])[3]//div[@class='td mp-mask']",
+ "queryResponse": "(//div[@class='table']//div[@class='tr'])[2]//div[@class='td mp-mask']",
"querySelect": "//div[contains(@class, 't--template-menu')]//div[text()='Select']",
"queryCreate": "//div[contains(@class, 't--template-menu')]//div[text()='Create']",
"queryUpdate": "//div[contains(@class, 't--template-menu')]//div[text()='Update']",
|
8c141ed2cd38a0f043bff248811a6e394a1c93d8
|
2022-01-10 21:36:52
|
Ayush Pahwa
|
chore: Added null check on eval output and started using standard call for pluginId (#10290)
| false
|
Added null check on eval output and started using standard call for pluginId (#10290)
|
chore
|
diff --git a/app/client/src/sagas/QueryPaneSagas.ts b/app/client/src/sagas/QueryPaneSagas.ts
index ea48730d82f4..f123f4433f2f 100644
--- a/app/client/src/sagas/QueryPaneSagas.ts
+++ b/app/client/src/sagas/QueryPaneSagas.ts
@@ -66,14 +66,10 @@ function* changeQuerySaga(actionPayload: ReduxAction<{ id: string }>) {
return;
}
- const currentEditorConfig: any[] = yield select(
- getEditorConfig,
- action.datasource.pluginId,
- );
- const currentSettingConfig: any[] = yield select(
- getSettingConfig,
- action.datasource.pluginId,
- );
+ // fetching pluginId and the consequent configs from the action
+ const pluginId = action.pluginId;
+ const currentEditorConfig: any[] = yield select(getEditorConfig, pluginId);
+ const currentSettingConfig: any[] = yield select(getSettingConfig, pluginId);
// Update the evaluations when the queryID is changed by changing the
// URL or selecting new query from the query pane
diff --git a/app/client/src/workers/formEval.ts b/app/client/src/workers/formEval.ts
index 34ded6f68355..c992d495b92e 100644
--- a/app/client/src/workers/formEval.ts
+++ b/app/client/src/workers/formEval.ts
@@ -6,6 +6,7 @@ import { ReduxActionTypes } from "constants/ReduxActionConstants";
import { ActionConfig } from "entities/Action";
import { FormEvalActionPayload } from "sagas/FormEvaluationSaga";
import { FormConfig } from "components/formControls/BaseControl";
+import { isEmpty } from "lodash";
export enum ConditionType {
HIDE = "hide", // When set, the component will be shown until condition is true
@@ -146,6 +147,11 @@ export function setFormEvaluationSaga(
});
}
+ // if the evaluations are empty, then the form is not valid, don't mutate the state
+ if (isEmpty(finalEvalObj)) {
+ return currentEvalState;
+ }
+
// This is the initial evaluation state, evaluations can now be run on top of this
return { [payload.formId]: finalEvalObj };
} else {
|
83970b9770baabad8cbad832907350ec25b34160
|
2023-10-13 16:53:17
|
Dipyaman Biswas
|
feat: make features call a blocking API call for page load (#27974)
| false
|
make features call a blocking API call for page load (#27974)
|
feat
|
diff --git a/app/client/src/ce/AppRouter.tsx b/app/client/src/ce/AppRouter.tsx
index cbfd14f1efb7..1d95ef88c60b 100644
--- a/app/client/src/ce/AppRouter.tsx
+++ b/app/client/src/ce/AppRouter.tsx
@@ -45,7 +45,10 @@ import * as Sentry from "@sentry/react";
import { getSafeCrash, getSafeCrashCode } from "selectors/errorSelectors";
import UserProfile from "pages/UserProfile";
import { getCurrentUser } from "actions/authActions";
-import { getCurrentUserLoading } from "selectors/usersSelectors";
+import {
+ getCurrentUserLoading,
+ getFeatureFlagsFetching,
+} from "selectors/usersSelectors";
import Setup from "pages/setup";
import SettingsLoader from "pages/AdminSettings/loader";
import SignupSuccess from "pages/setup/SignupSuccess";
@@ -153,6 +156,7 @@ function AppRouter(props: {
} = props;
const tenantIsLoading = useSelector(isTenantLoading);
const currentUserIsLoading = useSelector(getCurrentUserLoading);
+ const featuresIsLoading = useSelector(getFeatureFlagsFetching);
useEffect(() => {
getCurrentUser();
@@ -166,7 +170,11 @@ function AppRouter(props: {
// hide the top loader once the tenant is loaded
useEffect(() => {
- if (tenantIsLoading === false && currentUserIsLoading === false) {
+ if (
+ tenantIsLoading === false &&
+ currentUserIsLoading === false &&
+ featuresIsLoading === false
+ ) {
const loader = document.getElementById("loader") as HTMLDivElement;
if (loader) {
@@ -177,9 +185,9 @@ function AppRouter(props: {
});
}
}
- }, [tenantIsLoading, currentUserIsLoading]);
+ }, [tenantIsLoading, currentUserIsLoading, featuresIsLoading]);
- if (tenantIsLoading || currentUserIsLoading) return null;
+ if (tenantIsLoading || currentUserIsLoading || featuresIsLoading) return null;
return (
<Router history={history}>
diff --git a/app/client/src/reducers/uiReducers/usersReducer.ts b/app/client/src/reducers/uiReducers/usersReducer.ts
index cfef42896639..52c0b5f96c02 100644
--- a/app/client/src/reducers/uiReducers/usersReducer.ts
+++ b/app/client/src/reducers/uiReducers/usersReducer.ts
@@ -24,6 +24,7 @@ const initialState: UsersReduxState = {
featureFlag: {
data: DEFAULT_FEATURE_FLAG_VALUE,
isFetched: false,
+ isFetching: true,
},
productAlert: {
config: {
@@ -173,6 +174,14 @@ const usersReducer = createReducer(initialState, {
photoId: action.payload.photoId,
},
}),
+ [ReduxActionTypes.FETCH_FEATURE_FLAGS_INIT]: (state: UsersReduxState) => ({
+ ...state,
+ featureFlag: {
+ ...state.featureFlag,
+ isFetched: false,
+ isFetching: true,
+ },
+ }),
[ReduxActionTypes.FETCH_FEATURE_FLAGS_SUCCESS]: (
state: UsersReduxState,
action: ReduxAction<FeatureFlags>,
@@ -181,6 +190,7 @@ const usersReducer = createReducer(initialState, {
featureFlag: {
data: action.payload,
isFetched: true,
+ isFetching: false,
},
}),
[ReduxActionErrorTypes.FETCH_FEATURE_FLAGS_ERROR]: (
@@ -190,6 +200,7 @@ const usersReducer = createReducer(initialState, {
featureFlag: {
data: {},
isFetched: true,
+ isFetching: false,
},
}),
[ReduxActionTypes.FETCH_PRODUCT_ALERT_SUCCESS]: (
@@ -252,6 +263,7 @@ export interface UsersReduxState {
featureFlag: {
isFetched: boolean;
data: FeatureFlags;
+ isFetching: boolean;
};
productAlert: ProductAlertState;
}
diff --git a/app/client/src/selectors/usersSelectors.tsx b/app/client/src/selectors/usersSelectors.tsx
index 53fcc78c025b..e693ec0aa125 100644
--- a/app/client/src/selectors/usersSelectors.tsx
+++ b/app/client/src/selectors/usersSelectors.tsx
@@ -5,16 +5,24 @@ import { ANONYMOUS_USERNAME } from "constants/userConstants";
export const getCurrentUser = (state: AppState): User | undefined =>
state.ui?.users?.currentUser;
+
export const getCurrentUserLoading = (state: AppState): boolean =>
state.ui.users.loadingStates.fetchingUser;
+
export const getUserAuthError = (state: AppState): string =>
state.ui.users.error;
+
export const getUsers = (state: AppState): User[] => state.ui.users.users;
+
export const getProppanePreference = (
state: AppState,
): PropertyPanePositionConfig | undefined => state.ui.users.propPanePreferences;
+
export const getFeatureFlagsFetched = (state: AppState) =>
state.ui.users.featureFlag.isFetched;
+export const getFeatureFlagsFetching = (state: AppState) =>
+ state.ui.users.featureFlag.isFetching;
+
export const getIsUserLoggedIn = (state: AppState): boolean =>
state.ui.users.currentUser?.email !== ANONYMOUS_USERNAME;
|
178f8f16f5186e5316e716a2038c1fbd4f0eef2e
|
2023-08-21 13:19:28
|
Aishwarya-U-R
|
test: Cypress | (DI) S3 added validations (Cont.,) + CI Stabilize (#26486)
| false
|
Cypress | (DI) S3 added validations (Cont.,) + CI Stabilize (#26486)
|
test
|
diff --git a/app/client/cypress/e2e/GSheet/Misc_Spec.ts b/app/client/cypress/e2e/GSheet/Misc_Spec.ts
index ced4cb19edb6..7ab2b2288b21 100644
--- a/app/client/cypress/e2e/GSheet/Misc_Spec.ts
+++ b/app/client/cypress/e2e/GSheet/Misc_Spec.ts
@@ -142,7 +142,7 @@ describe("GSheet Miscellaneous Tests", function () {
});
//Validating loaded JSON form
- agHelper.GetElement(locators._spanButton("Update")).then((selector) => {
+ agHelper.GetElement(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
@@ -199,7 +199,7 @@ describe("GSheet Miscellaneous Tests", function () {
});
//Validating loaded JSON form
- agHelper.GetElement(locators._spanButton("Update")).then((selector) => {
+ agHelper.GetElement(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts b/app/client/cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts
index 77b7f8cf0dfc..cfc049ebdd27 100644
--- a/app/client/cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts
+++ b/app/client/cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts
@@ -6,6 +6,7 @@ import {
homePage,
gitSync,
dataSources,
+ locators,
} from "../../../support/Objects/ObjectsCore";
describe("Shopping cart App", function () {
@@ -116,17 +117,57 @@ describe("Shopping cart App", function () {
//Wait for element to be in DOM
agHelper.Sleep(3000);
agHelper.AssertElementLength(appPage.inputValues, 9);
- agHelper.UpdateInput(appPage.bookname, "Atomic habits", true);
- agHelper.UpdateInput(appPage.bookgenre, "Self help", true);
- agHelper.UpdateInput(appPage.bookprice, "200", true);
- agHelper.UpdateInput(appPage.bookquantity, "2", true);
+ agHelper.ClearNType(
+ appPage.bookname + "//" + locators._inputField,
+ "Atomic habits",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookgenre + "//" + locators._inputField,
+ "Self help",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookprice + "//" + locators._inputField,
+ "200",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookquantity + "//" + locators._inputField,
+ "2",
+ 0,
+ true,
+ );
agHelper.GetNClick(appPage.addButton, 0, true);
assertHelper.AssertNetworkStatus("@postExecute");
agHelper.GetNClick(appPage.bookname);
- agHelper.UpdateInput(appPage.bookname, "A man called ove", true);
- agHelper.UpdateInput(appPage.bookgenre, "Fiction", true);
- agHelper.UpdateInput(appPage.bookprice, "100", true);
- agHelper.UpdateInput(appPage.bookquantity, "1", true);
+ agHelper.ClearNType(
+ appPage.bookname + "//" + locators._inputField,
+ "A man called ove",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookgenre + "//" + locators._inputField,
+ "Fiction",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookprice + "//" + locators._inputField,
+ "100",
+ 0,
+ true,
+ );
+ agHelper.ClearNType(
+ appPage.bookquantity + "//" + locators._inputField,
+ "1",
+ 0,
+ true,
+ );
agHelper.GetNClick(appPage.addButton, 0, true);
assertHelper.AssertNetworkStatus("@postExecute");
// Deleting the book from the cart
@@ -138,12 +179,17 @@ describe("Shopping cart App", function () {
// validating that the book is deleted
agHelper.AssertElementLength(appPage.deleteButton + "/parent::div", 1);
// Updating the book quantity from edit cart
- agHelper.UpdateInput(appPage.editbookquantity, "3", true);
+ agHelper.ClearNType(
+ appPage.editbookquantity + "//" + locators._inputField,
+ "3",
+ 0,
+ true,
+ );
agHelper.GetNClick(appPage.editButton, 0, true);
//Wait for all post execute calls to finish
agHelper.Sleep(3000);
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
// validating updated value in the cart
agHelper
.GetElement(dataSources._selectedRow)
diff --git a/app/client/cypress/e2e/Regression/Apps/PgAdmin_spec.js b/app/client/cypress/e2e/Regression/Apps/PgAdmin_spec.js
index 405b6e01b498..4fb3e07e0614 100644
--- a/app/client/cypress/e2e/Regression/Apps/PgAdmin_spec.js
+++ b/app/client/cypress/e2e/Regression/Apps/PgAdmin_spec.js
@@ -78,7 +78,7 @@ describe("PgAdmin Clone App", function () {
cy.xpath(appPage.columnNamefield).should("be.visible");
cy.xpath(appPage.datatypefield).should("be.visible");
agHelper.GetNClick(appPage.addColumnName);
- agHelper.UpdateInput(appPage.addColumnName, "ID");
+ agHelper.TypeText(appPage.addColumnName + " " + locators._inputField, "ID");
agHelper.SelectFromDropDown("Varchar", "", 1);
// switching on the Primary Key toggle
cy.get(widgetsPage.switchWidgetInactive).first().click();
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_1_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_1_spec.ts
index 8af975da8548..72253b092751 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_1_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_1_spec.ts
@@ -9,7 +9,7 @@ import {
describe("JS to non-JS mode in Action Selector", () => {
it("1. should not show any fields with a blank JS field", () => {
- agHelper.AddDsl("promisesBtnDsl", locators._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locators._buttonByText("Submit"));
entityExplorer.SelectEntityByName("Button1", "Widgets");
propPane.EnterJSContext("onClick", `{{}}`, true, false);
propPane.ToggleJSMode("onClick", false);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_2_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_2_spec.ts
index 5df4e2f8c6b3..3e6657afd00e 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_2_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_2_spec.ts
@@ -7,7 +7,7 @@ import {
describe("JS to non-JS mode in Action Selector", () => {
before(() => {
- agHelper.AddDsl("promisesBtnDsl", locators._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locators._buttonByText("Submit"));
});
it("1. shows fields for navigate to from js to non-js mode", () => {
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_3_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_3_spec.ts
index d8e4171b8151..3a012cff4baa 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_3_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_3_spec.ts
@@ -7,7 +7,7 @@ import {
describe("JS to non-JS mode in Action Selector", () => {
before(() => {
- agHelper.AddDsl("promisesBtnDsl", locators._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locators._buttonByText("Submit"));
});
it("1. should show fields appropriately for setinterval", () => {
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_4_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_4_spec.ts
index 136636dc8cf9..45ed80b5c41b 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_4_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/ActionSelector_JsToNonJSMode_4_spec.ts
@@ -7,7 +7,7 @@ import {
describe("JS to non-JS mode in Action Selector", () => {
before(() => {
- agHelper.AddDsl("promisesBtnDsl", locators._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locators._buttonByText("Submit"));
});
it("10. Bug 23167 - Message field in PostMessage should accept all type of values", () => {
diff --git a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/PostWindowMessage_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/PostWindowMessage_spec.ts
index bb98452a58fd..4e8ac274a4b1 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/PostWindowMessage_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/ActionExecution/PostWindowMessage_spec.ts
@@ -41,7 +41,7 @@ describe("Post window message", () => {
);
propPane.SelectPlatformFunction("onMessageReceived", "Show alert");
agHelper.EnterActionValue("Message", "I got a message from iframe");
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.AssertElementVisibility("#iframe-Iframe1");
agHelper.Sleep(5000); //allowing time for elements to load fully before clicking - for CI flaky
cy.get("#iframe-Iframe1").then((element) => {
diff --git a/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/General_settings_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/General_settings_Spec.ts
new file mode 100644
index 000000000000..78feb0771147
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/General_settings_Spec.ts
@@ -0,0 +1,17 @@
+import {
+ agHelper,
+ adminSettings,
+} from "../../../../support/Objects/ObjectsCore";
+import { CURRENT_REPO, REPO } from "../../../../fixtures/REPO";
+
+describe("Admin Settings Page - General page validations", () => {
+ it("1. TC# 2439 Verify 'Page title' changes upon changing Instance name", () => {
+ adminSettings.NavigateToAdminSettings();
+ agHelper.TypeText(adminSettings._instanceName, "Testing Instance name");
+ agHelper.ClickButton("Save");
+ if (CURRENT_REPO === REPO.CE) cy.title().should("eq", "Appsmith");
+ //verifying that Instance name is not changed in CE
+ else if (CURRENT_REPO === REPO.EE)
+ cy.title().should("eq", "Testing Instance name"); //verifying that Instance name is not changed in EE
+ });
+});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts
index 8e562c3cff51..49d5e47dc5f8 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts
@@ -111,8 +111,6 @@ describe("Test Top + Stacked navigation style", function () {
agHelper.GetNAssertContains(
`${appSettings.locators._navigationMenuItem} span`,
pageName,
- "exist",
- 0,
);
});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_1_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_1_Spec.ts
index 939b5ebb06ca..22108c12ca06 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_1_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_1_Spec.ts
@@ -18,7 +18,7 @@ describe("Validate basic Promises", () => {
});
it("1. Verify Async Await in direct Promises", () => {
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
apiPage.CreateAndFillApi("https://randomuser.me/api/", "RandomUser", 30000);
apiPage.CreateAndFillApi(
"https://api.genderize.io?name={{this.params.country}}",
@@ -55,7 +55,7 @@ describe("Validate basic Promises", () => {
it("2. Verify .then & .catch via direct Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnImgDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnImgDsl", locator._buttonByText("Submit"));
apiPage.CreateAndFillApi(
"https://picsum.photos/200/300",
"RandomImy",
@@ -87,7 +87,7 @@ describe("Validate basic Promises", () => {
it("3. Verify .then & .catch via JS Objects in Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
apiPage.CreateAndFillApi(
"https://favqs.com/api/qotd",
"InspiringQuotes",
@@ -114,7 +114,7 @@ return InspiringQuotes.run().then((res) => { showAlert("Today's quote for " + us
it("4. Verify Promise.race via direct Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
apiPage.CreateAndFillApi(
"https://api.agify.io?name={{this.params.person}}",
"Agify",
@@ -140,7 +140,7 @@ return InspiringQuotes.run().then((res) => { showAlert("Today's quote for " + us
it("5. Verify maintaining context via direct Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnListDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnListDsl", locator._buttonByText("Submit"));
apiPage.CreateAndFillApi(
"https://api.jikan.moe/v4/anime?q={{this.params.name}}",
"GetAnime",
@@ -188,7 +188,7 @@ return InspiringQuotes.run().then((res) => { showAlert("Today's quote for " + us
it("6: Verify Promise.all via direct Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
ee.SelectEntityByName("Button1", "Widgets");
propPane.EnterJSContext(
"onClick",
@@ -212,7 +212,7 @@ return InspiringQuotes.run().then((res) => { showAlert("Today's quote for " + us
it("7. Bug 10150: Verify Promise.all via JSObjects", () => {
deployMode.NavigateBacktoEditor();
const date = new Date().toDateString();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
jsEditor.CreateJSObject(`let allFuncs = [Genderize.run({ country: 'India' }),
RandomUser.run(),
GetAnime.run({ name: 'Gintama' }),
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_2_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_2_Spec.ts
index 544b28d593ca..3cb24cde34ed 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_2_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Binding/Promises_2_Spec.ts
@@ -18,7 +18,7 @@ describe("Validate basic Promises", () => {
it("1. Verify storeValue via .then via direct Promises", () => {
const date = new Date().toDateString();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
ee.SelectEntityByName("Button1", "Widgets");
propPane.EnterJSContext(
"onClick",
@@ -31,7 +31,7 @@ describe("Validate basic Promises", () => {
});
it("2. Verify resolve & chaining via direct Promises", () => {
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
ee.SelectEntityByName("Button1", "Widgets");
propPane.EnterJSContext(
@@ -53,7 +53,7 @@ describe("Validate basic Promises", () => {
});
it("3. Verify Promises.any via direct JSObjects", () => {
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
jsEditor.CreateJSObject(
`export default {
@@ -92,7 +92,7 @@ describe("Validate basic Promises", () => {
it("4. Bug : 11110 - Verify resetWidget via .then direct Promises", () => {
deployMode.NavigateBacktoEditor();
- agHelper.AddDsl("promisesBtnDsl", locator._spanButton("Submit"));
+ agHelper.AddDsl("promisesBtnDsl", locator._buttonByText("Submit"));
ee.SelectEntityByName("Button1", "Widgets");
propPane.EnterJSContext(
"onClick",
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/AllWidgets_Reset_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/AllWidgets_Reset_Spec.ts
index 13afbb57b52a..3c0249cfc5f6 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/AllWidgets_Reset_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/AllWidgets_Reset_Spec.ts
@@ -206,7 +206,7 @@ function selectTableAndReset() {
}
function selectSwitchGroupAndReset() {
- cy.get(".bp3-control-indicator").last().click({ force: true });
+ _.agHelper.CheckUncheck(_.locators._checkboxTypeByOption("Red"));
_.agHelper.GetNAssertElementText(
_.locators._textWidgetInDeployed,
"RED",
@@ -441,14 +441,14 @@ Object.entries(widgetsToTest).forEach(([widgetSelector, testConfig]) => {
_.propPane.UpdatePropertyFieldValue("Text", testConfig.textBindingValue);
});
- it("3. Publish the app and check the reset assertWidgetReset", () => {
+ it(`3. Publish the app and check the reset of ${testConfig.widgetName}`, () => {
// Set onClick assertWidgetReset, storing value
- _.deployMode.DeployApp();
+ _.deployMode.DeployApp(_.locators._widgetInDeployed(widgetSelector));
testConfig.assertWidgetReset();
- _.agHelper.AssertContains("Reset Success!");
+ _.agHelper.ValidateToastMessage("Reset Success!");
});
- it(`4. Delete ${testConfig.widgetName} the widgets on canvas`, () => {
+ it(`4. Delete ${testConfig.widgetName} widget from canvas`, () => {
_.deployMode.NavigateBacktoEditor();
_.entityExplorer.SelectEntityByName(
`${testConfig.widgetPrefixName}`,
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug19893_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug19893_spec.ts
index 6b413ec80146..7c454f5a5325 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug19893_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug19893_spec.ts
@@ -2,7 +2,7 @@ import * as _ from "../../../../support/Objects/ObjectsCore";
let dsName: any;
-describe("Bug 19933: Authenticated API DS in case of OAuth2, should have save and authorise button enabled all the times", function () {
+describe("Bug 19893: Authenticated API DS in case of OAuth2, should have save and authorise button enabled all the times", function () {
it("1. Create Auth API DS, save i, now edit again and check the save and authorise button state", function () {
_.dataSources.NavigateToDSCreateNew();
_.agHelper.GenerateUUID();
@@ -14,8 +14,8 @@ describe("Bug 19933: Authenticated API DS in case of OAuth2, should have save an
_.dataSources.AssertCursorPositionForTextInput(
_.dataSources._urlInputControl,
"{moveToStart}",
- "he",
- 2,
+ "localhost",
+ 9,
);
});
});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Moment_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Moment_Spec.ts
index f186a4e119eb..5f08a6cb8b97 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Moment_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Moment_Spec.ts
@@ -25,9 +25,7 @@ describe("Bug #14299 - The data from the query does not show up on the widget",
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);
- dataSources.EnterQuery(query);
- agHelper.RenameWithInPane("getAstronauts");
+ dataSources.CreateQueryAfterDSSaved(query, "getAstronauts");
jsEditor.CreateJSObject(
`export default {
runAstros: () => {
diff --git a/app/client/cypress/e2e/Regression/ClientSide/EmbedSettings/EmbedSettings_spec.js b/app/client/cypress/e2e/Regression/ClientSide/EmbedSettings/EmbedSettings_spec.js
index eb5eaf4dac80..05a9222ffc63 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/EmbedSettings/EmbedSettings_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/EmbedSettings/EmbedSettings_spec.js
@@ -22,6 +22,7 @@ describe("Embed settings options", function () {
function ValidateEditModeSetting(setting) {
_.deployMode.NavigateBacktoEditor();
_.embedSettings.OpenEmbedSettings();
+ _.agHelper.Sleep();
_.agHelper.GetNAssertElementText(
_.embedSettings.locators._frameAncestorsSetting,
setting,
@@ -72,11 +73,10 @@ describe("Embed settings options", function () {
cy.enablePublicAccess();
cy.wait(8000); //adding wait time for iframe to load fully!
getIframeBody().contains("Submit").should("exist");
- _.deployMode.NavigateBacktoEditor();
+ _.deployMode.NavigateToHomeDirectly();
});
it("1. Limit embedding", function () {
- _.homePage.NavigateToHome();
cy.get(".admin-settings-menu-option").click();
cy.get(".t--admin-settings-APPSMITH_ALLOWED_FRAME_ANCESTORS").within(() => {
cy.get("input").eq(1).click();
diff --git a/app/client/cypress/e2e/Regression/ClientSide/FormLogin/EnableFormLogin_spec.js b/app/client/cypress/e2e/Regression/ClientSide/FormLogin/EnableFormLogin_spec.js
index 12884b95074c..0667a2a8a724 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/FormLogin/EnableFormLogin_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/FormLogin/EnableFormLogin_spec.js
@@ -21,9 +21,7 @@ describe("Form Login test functionality", function () {
cy.get(adminSettings.saveButton).should("be.visible");
cy.get(adminSettings.saveButton).should("not.be.disabled");
cy.get(adminSettings.saveButton).click();
- cy.get(adminSettings.restartNotice).should("be.visible");
- // adding wait for server to restart
- cy.wait(120000);
+ cy.waitForServerRestart();
cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible"));
cy.get(homePage.profileMenu).click();
cy.get(homePage.signOutIcon).click();
@@ -47,8 +45,7 @@ describe("Form Login test functionality", function () {
cy.get(adminSettings.formSignupDisabled).click({ force: true });
cy.wait(2000);
cy.get(adminSettings.saveButton).click();
- cy.get(adminSettings.restartNotice).should("be.visible");
- cy.wait(120000);
+ cy.waitForServerRestart();
cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible"));
cy.get(homePage.profileMenu).click();
cy.get(homePage.signOutIcon).click();
@@ -97,9 +94,7 @@ describe("Form Login test functionality", function () {
cy.get(adminSettings.saveButton).should("be.visible");
cy.get(adminSettings.saveButton).should("not.be.disabled");
cy.get(adminSettings.saveButton).click();
- cy.get(adminSettings.restartNotice).should("be.visible");
- // adding wait for server to restart
- cy.wait(120000);
+ cy.waitForServerRestart();
cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible"));
cy.get(homePage.profileMenu).click();
cy.get(homePage.signOutIcon).click();
@@ -124,9 +119,7 @@ describe("Form Login test functionality", function () {
cy.get(adminSettings.saveButton).should("be.visible");
cy.get(adminSettings.saveButton).should("not.be.disabled");
cy.get(adminSettings.saveButton).click();
- cy.get(adminSettings.restartNotice).should("be.visible");
- // adding wait for server to restart
- cy.wait(120000);
+ cy.waitForServerRestart();
cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible"));
cy.reload();
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 3c0b448fa2bd..9f85a8f646bb 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
@@ -186,9 +186,9 @@ describe("Import and validate older app (app created in older versions of Appsmi
"have.text",
);
agHelper
- .GetElement(locators._checkboxGroupOptions("Ulf Merbold"))
+ .GetElement(locators._checkboxTypeByOption("Ulf Merbold"))
.should("be.checked");
- agHelper.CheckUncheck(locators._checkboxGroupOptions("Anil Menon"));
+ agHelper.CheckUncheck(locators._checkboxTypeByOption("Anil Menon"));
//Slider
agHelper
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckboxGroup2_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckboxGroup2_spec.js
index e5a29696896b..a5a7fd0b437c 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckboxGroup2_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckboxGroup2_spec.js
@@ -2,26 +2,19 @@ const commonlocators = require("../../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../../locators/FormWidgets.json");
const publish = require("../../../../../locators/publishWidgetspage.json");
const explorer = require("../../../../../locators/explorerlocators.json");
-const widgetsPage = require("../../../../../locators/Widgets.json");
-import * as _ from "../../../../../support/Objects/ObjectsCore";
+import {
+ agHelper,
+ propPane,
+ deployMode,
+} from "../../../../../support/Objects/ObjectsCore";
describe("Checkbox Group Widget Functionality", function () {
before(() => {
- _.agHelper.AddDsl("checkboxgroupDsl");
+ agHelper.AddDsl("checkboxgroupDsl");
});
it("1. Checkbox Group Widget Functionality", function () {
- cy.openPropertyPane("checkboxgroupwidget");
- /**
- * @param{Text} Random Text
- * @param{RadioWidget}Mouseover
- * @param{RadioPre Css} Assertion
- */
- cy.widgetText(
- "checkboxgrouptest",
- formWidgetsPage.checkboxGroupWidget,
- widgetsPage.widgetNameSpan,
- );
+ propPane.RenameWidget("CheckboxGroup1", "CBGTest");
/**
* @param{IndexValue} Provide Input Index Value
* @param{Text} Index Text Value.
@@ -37,7 +30,7 @@ describe("Checkbox Group Widget Functionality", function () {
.eq(2)
.should("have.text", this.dataSet.radio2);
cy.radioInput(3, "2");
- cy.get(formWidgetsPage.radioAddButton).click({ force: true });
+ agHelper.ClickButton("Add option");
cy.radioInput(4, this.dataSet.radio4);
cy.get(formWidgetsPage.deleteradiovalue).eq(2).click({ force: true });
cy.wait(200);
@@ -59,46 +52,35 @@ describe("Checkbox Group Widget Functionality", function () {
// .get(commonlocators.dropdownSelectButton)
// .click({ force: true })
// .type("2");
- _.deployMode.DeployApp();
});
- it("2. Checkbox Group Functionality To Unchecked Visible Widget", function () {
- _.deployMode.NavigateBacktoEditor();
- cy.openPropertyPane("checkboxgroupwidget");
- cy.togglebarDisable(commonlocators.visibleCheckbox);
- _.deployMode.DeployApp();
+ it("2. Checkbox Group Functionality To Unchecked/Check Visible Widget", function () {
+ propPane.TogglePropertyState("Visible", "Off");
+ deployMode.DeployApp();
cy.get(publish.checkboxGroupWidget + " " + "input").should("not.exist");
- _.deployMode.NavigateBacktoEditor();
- });
-
- it("3. Checkbox Group Functionality To Check Visible Widget", function () {
+ deployMode.NavigateBacktoEditor();
+ //Checkbox Group Functionality To Check Visible Widget
cy.openPropertyPane("checkboxgroupwidget");
- cy.togglebar(commonlocators.visibleCheckbox);
- _.deployMode.DeployApp();
+ propPane.TogglePropertyState("Visible", "On");
+ deployMode.DeployApp();
cy.wait(500);
cy.get(publish.checkboxGroupWidget + " " + "input")
.eq(0)
.should("exist");
- });
-
- it("4. Checkbox Group Functionality To Button Text", function () {
cy.get(publish.checkboxGroupWidget + " " + "label")
.eq(2)
.should("have.text", "test2");
- _.deployMode.NavigateBacktoEditor();
+ deployMode.NavigateBacktoEditor();
});
- it("handleSelectAllChange: unchecked", function () {
+ it("3. handleSelectAllChange: unchecked", function () {
const selectAllSelector = formWidgetsPage.selectAllCheckboxControl;
const uncheckedOptionInputs = `${formWidgetsPage.checkboxGroupOptionInputs} input:not(:checked)`;
// Deselect all
cy.get(selectAllSelector).click();
// Should get 2 unchecked option inputs
cy.get(uncheckedOptionInputs).should("have.length", 2);
- });
-
- it("handleSelectAllChange: checked", function () {
- const selectAllSelector = formWidgetsPage.selectAllCheckboxControl;
+ //handleSelectAllChange: checked", function () {
const checkedOptionInputs = `${formWidgetsPage.checkboxGroupOptionInputs} input:checked`;
// Select all
cy.get(selectAllSelector).click();
@@ -106,7 +88,7 @@ describe("Checkbox Group Widget Functionality", function () {
cy.get(checkedOptionInputs).should("have.length", 2);
});
- it("Checkbox Group Functionality To alignment options", function () {
+ it("4. Checkbox Group Functionality To alignment options", function () {
cy.openPropertyPane("checkboxgroupwidget");
cy.moveToStyleTab();
// check default value
@@ -132,18 +114,16 @@ describe("Checkbox Group Widget Functionality", function () {
).should("have.css", "justify-content", "flex-start");
});
- it("Check isDirty meta property", function () {
+ it("5. Check isDirty meta property", function () {
cy.get(explorer.addWidget).click();
cy.dragAndDropToCanvas("textwidget", { x: 300, y: 500 });
cy.openPropertyPane("textwidget");
- cy.updateCodeInput(
- ".t--property-control-text",
- `{{checkboxgrouptest.isDirty}}`,
- );
+ propPane.UpdatePropertyFieldValue("Text", "{{CBGTest.isDirty}}");
// Change defaultSelectedValues
cy.openPropertyPane("checkboxgroupwidget");
cy.moveToContentTab();
- cy.updateCodeInput(".t--property-control-defaultselectedvalues", "GREEN");
+ propPane.UpdatePropertyFieldValue("Default selected values", "GREEN");
+
// Check if isDirty is reset to false
cy.get(".t--widget-textwidget").should("contain", "false");
// Interact with UI
@@ -152,6 +132,3 @@ describe("Checkbox Group Widget Functionality", function () {
cy.get(".t--widget-textwidget").should("contain", "true");
});
});
-afterEach(() => {
- // put your clean up code if any
-});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/DataIdentifierProperty_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/DataIdentifierProperty_spec.ts
index 813a9ab8a9f5..ec5f39803019 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/DataIdentifierProperty_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/DataIdentifierProperty_spec.ts
@@ -125,6 +125,9 @@ describe("List v2 - Data Identifier property", () => {
"https://api.punkapi.com/v2/beers?page={{List1.pageNo}}&per_page={{List1.pageSize}}",
"",
);
+ agHelper.VerifyEvaluatedValue(
+ "https://api.punkapi.com/v2/beers?page=1&per_page=2",
+ );
apiPage.RunAPI(false);
entityExplorer.ExpandCollapseEntity("List1");
entityExplorer.SelectEntityByName("Text2", "Container1");
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/Radio_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/Radio_spec.js
index f06ec6083ad2..e9280846633e 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/Radio_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/Radio_spec.js
@@ -1,25 +1,22 @@
-const commonlocators = require("../../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../../locators/FormWidgets.json");
const publish = require("../../../../../locators/publishWidgetspage.json");
-const widgetsPage = require("../../../../../locators/Widgets.json");
-import * as _ from "../../../../../support/Objects/ObjectsCore";
+import {
+ agHelper,
+ propPane,
+ deployMode,
+ entityExplorer,
+ locators,
+ draggableWidgets,
+} from "../../../../../support/Objects/ObjectsCore";
describe("Radio Widget Functionality", function () {
before(() => {
- _.agHelper.AddDsl("newFormDsl");
+ agHelper.AddDsl("newFormDsl");
});
- it("Radio Widget Functionality", function () {
- cy.openPropertyPane("radiogroupwidget");
- /**
- * @param{Text} Random Text
- * @param{RadioWidget}Mouseover
- * @param{RadioPre Css} Assertion
- */
- cy.widgetText(
- "radiotest",
- formWidgetsPage.radioWidget,
- widgetsPage.widgetNameSpan,
- );
+
+ it("1. Radio Widget Functionality", function () {
+ entityExplorer.ExpandCollapseEntity("Container3");
+ propPane.RenameWidget("RadioGroup1", "RGtest");
/**
* @param{IndexValue} Provide Input Index Value
* @param{Text} Index Text Value.
@@ -33,10 +30,10 @@ describe("Radio Widget Functionality", function () {
.eq(1)
.should("have.text", this.dataSet.radio2);
cy.radioInput(3, "2");
- cy.get(formWidgetsPage.radioAddButton).click({ force: true });
+ agHelper.ClickButton("Add option");
cy.radioInput(4, this.dataSet.radio4);
- cy.get(formWidgetsPage.deleteradiovalue).eq(2).click({ force: true });
- cy.get(formWidgetsPage.labelradio).should("not.have.value", "test4");
+ cy.get(formWidgetsPage.deleteradiovalue).eq(1).click({ force: true });
+ cy.get(formWidgetsPage.labelradio).should("not.have.value", "test2");
/**
* @param{Show Alert} Css for InputChange
*/
@@ -46,29 +43,29 @@ describe("Radio Widget Functionality", function () {
.scrollIntoView()
.click({ force: true })
.type("2");
- _.deployMode.DeployApp();
+ deployMode.DeployApp(
+ locators._widgetInDeployed(draggableWidgets.RADIO_GROUP),
+ );
+ agHelper.AssertExistingCheckedState(
+ locators._checkboxTypeByOption("test1"),
+ );
+ agHelper.CheckUncheck(locators._checkboxTypeByOption("test4"));
+ agHelper.ValidateToastMessage("hello");
+ deployMode.NavigateBacktoEditor();
});
- it("Radio Functionality To Unchecked Visible Widget", function () {
- _.deployMode.NavigateBacktoEditor();
+
+ it("2. Radio Functionality To Check/Uncheck Visible property", function () {
cy.openPropertyPane("radiogroupwidget");
- cy.togglebarDisable(commonlocators.visibleCheckbox);
- _.deployMode.DeployApp();
+ propPane.TogglePropertyState("Visible", "Off");
+ deployMode.DeployApp();
cy.get(publish.radioWidget + " " + "input").should("not.exist");
- _.deployMode.NavigateBacktoEditor();
- });
- it("Radio Functionality To Check Visible Widget", function () {
+ deployMode.NavigateBacktoEditor();
+ //Radio Functionality To Check Visible Widget
cy.openPropertyPane("radiogroupwidget");
- cy.togglebar(commonlocators.visibleCheckbox);
- _.deployMode.DeployApp();
- cy.get(publish.radioWidget + " " + "input").should("be.checked");
- });
- it("Radio Functionality To Button Text", function () {
- cy.get(publish.radioWidget + " " + "label")
- .eq(1)
- .should("have.text", "test2");
- _.deployMode.NavigateBacktoEditor();
+ propPane.TogglePropertyState("Visible", "On");
+ deployMode.DeployApp();
+ agHelper.AssertExistingCheckedState(
+ locators._checkboxTypeByOption("test1"),
+ );
});
});
-afterEach(() => {
- // put your clean up code if any
-});
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 38124ac77892..ec1b4713930c 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts
@@ -34,7 +34,7 @@ describe("Create new workspace and invite user & validate all roles", () => {
_.agHelper.GetNClick(_.homePage._shareWorkspace(workspaceId));
_.agHelper.GetNClick(_.homePage._visibleTextSpan("Manage Users"));
cy.get(".search-highlight").should("not.exist");
- _.agHelper.UpdateInput(
+ _.agHelper.TypeText(
_.homePage._searchUsersInput,
Cypress.env("TESTUSERNAME1"),
);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts
index 9da14866eacc..de0a6833acf9 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts
@@ -42,7 +42,7 @@ describe("Create new workspace and share with a user", function () {
agHelper.Sleep(2000);
agHelper.GetNAssertContains(homePage._appContainer, workspaceId);
if (CURRENT_REPO === REPO.CE) {
- agHelper.AssertElementVisibility(locators._spanButton("Share"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Share"));
}
agHelper.GetElement(homePage._applicationCard).first().trigger("mouseover");
agHelper.AssertElementAbsence(homePage._appEditIcon);
diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_CurlPOSTImport_spec.js b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_CurlPOSTImport_spec.js
index b33ca8063aeb..395d2f1df594 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_CurlPOSTImport_spec.js
+++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_CurlPOSTImport_spec.js
@@ -1,8 +1,8 @@
const apiwidget = require("../../../../locators/apiWidgetslocator.json");
import {
- agHelper,
dataSources,
apiPage,
+ assertHelper,
} from "../../../../support/Objects/ObjectsCore";
describe("Test curl import flow", function () {
@@ -17,7 +17,7 @@ describe("Test curl import flow", function () {
parseSpecialCharSequences: false,
},
);
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
cy.get("@curlImport").then((response) => {
cy.expect(response.response.body.responseMeta.success).to.eq(true);
cy.get(apiwidget.ApiName)
diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts
index 968c90ac3882..6f2a92bd8330 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts
@@ -7,6 +7,7 @@ import {
entityItems,
entityExplorer,
locators,
+ assertHelper,
} from "../../../../support/Objects/ObjectsCore";
describe("Validate API request body panel", () => {
@@ -156,10 +157,10 @@ describe("Validate API request body panel", () => {
apiPage.ToggleOnPageLoadRun(false); //Bug 12476
entityExplorer.SelectEntityByName("Page1");
- deployMode.DeployApp(locators._spanButton("Select Files"));
+ deployMode.DeployApp(locators._buttonByText("Select Files"));
agHelper.ClickButton("Select Files");
agHelper.UploadFile(imageNameToUpload);
- agHelper.AssertNetworkExecutionSuccess("@postExecute"); //validating Cloudinary api call
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute"); //validating Cloudinary api call
agHelper.ValidateToastMessage("Image uploaded to Cloudinary successfully");
agHelper.Sleep();
cy.xpath(apiPage._imageSrc)
@@ -168,7 +169,7 @@ describe("Validate API request body panel", () => {
.then(($src) => {
expect($src).not.eq("https://assets.appsmith.com/widgets/default.png");
});
- agHelper.AssertElementVisibility(locators._spanButton("Select Files")); //verifying if reset!
+ agHelper.AssertElementVisibility(locators._buttonByText("Select Files")); //verifying if reset!
deployMode.NavigateBacktoEditor();
});
@@ -185,13 +186,13 @@ describe("Validate API request body panel", () => {
entityExplorer.SelectEntityByName("FilePicker1", "Widgets");
agHelper.ClickButton("Select Files");
agHelper.UploadFile(imageNameToUpload);
- agHelper.AssertNetworkExecutionSuccess("@postExecute", false);
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", false);
- deployMode.DeployApp(locators._spanButton("Select Files"));
+ deployMode.DeployApp(locators._buttonByText("Select Files"));
agHelper.ClickButton("Select Files");
agHelper.UploadFile(imageNameToUpload);
- agHelper.AssertNetworkExecutionSuccess("@postExecute", false);
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", false);
agHelper.ValidateToastMessage("CloudinaryUploadApi failed to execute");
- agHelper.AssertElementVisibility(locators._spanButton("Select Files")); //verifying if reset in case of failure!
+ agHelper.AssertElementVisibility(locators._buttonByText("Select Files")); //verifying if reset in case of failure!
});
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts
index f1821e6d7417..d0d37bb8f9a8 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts
@@ -112,7 +112,7 @@ describe("Validate Mongo URI CRUD with JSON Form", () => {
);
agHelper.AssertElementEnabledDisabled(
- locators._spanButton("Submit") + "/parent::div",
+ locators._buttonByText("Submit") + "/parent::div",
0,
false,
);
@@ -222,7 +222,7 @@ function GenerateCRUDNValidateDeployPage(
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Mongo_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Mongo_Spec.ts
index 5bd31f48f063..6b3ecb4a50ef 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Mongo_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Mongo_Spec.ts
@@ -113,7 +113,7 @@ describe("Validate Mongo CRUD with JSON Form", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL1_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL1_Spec.ts
index 47830aa1de29..bc9e36712b86 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL1_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL1_Spec.ts
@@ -206,7 +206,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
expect($cellData).to.eq("Vintage Cars");
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
@@ -341,7 +341,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts
index ed3154296ee9..d13a2c524763 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts
@@ -415,7 +415,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres1_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres1_Spec.ts
index a1c66fc7194f..220be95da07c 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres1_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres1_Spec.ts
@@ -147,7 +147,7 @@ describe("Postgres Generate CRUD with JSON Form", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts
index d4e6ecb03837..03ae095e42a9 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts
@@ -131,7 +131,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
@@ -197,7 +197,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
agHelper.AssertElementVisibility(
locators._visibleTextDiv("This field is required"),
);
- cy.xpath(locators._spanButton("Update") + "/parent::div").should(
+ cy.xpath(locators._buttonByText("Update") + "/parent::div").should(
"have.attr",
"disabled",
);
@@ -455,12 +455,12 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
//Checking Required field validations
deployMode.ClearJSONFieldValue("Shipname", 0);
- cy.xpath(locators._spanButton("Submit") + "/parent::div").should(
+ cy.xpath(locators._buttonByText("Submit") + "/parent::div").should(
"have.attr",
"disabled",
);
deployMode.EnterJSONInputValue("Shipname", "MALTESE FALCON", 0);
- cy.xpath(locators._spanButton("Submit") + "/parent::div").should(
+ cy.xpath(locators._buttonByText("Submit") + "/parent::div").should(
"not.have.attr",
"disabled",
);
@@ -531,7 +531,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
agHelper.AssertElementVisibility(
locators._visibleTextDiv("This field is required"),
);
- cy.xpath(locators._spanButton("Submit") + "/parent::div").should(
+ cy.xpath(locators._buttonByText("Submit") + "/parent::div").should(
"have.attr",
"disabled",
);
diff --git a/app/client/cypress/e2e/Regression/ServerSide/JsFunctionExecution/SetTimeout_spec.ts b/app/client/cypress/e2e/Regression/ServerSide/JsFunctionExecution/SetTimeout_spec.ts
index 4a23e52e9d56..4a4c68cb743c 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/JsFunctionExecution/SetTimeout_spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/JsFunctionExecution/SetTimeout_spec.ts
@@ -116,7 +116,7 @@ describe("Tests setTimeout API", function () {
agHelper.GetNClick(jsEditor._logsTab);
debuggerHelper.DoesConsoleLogExist("Hey there!");
debuggerHelper.DoesConsoleLogExist("Bye!");
- debuggerHelper.DoesConsoleLogExist("Working!", false, undefined, 100);
+ debuggerHelper.DoesConsoleLogExist("Working!", false);
agHelper.Sleep(4000);
debuggerHelper.DoesConsoleLogExist("Working!");
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/MySQL_Datatypes/Basic_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/MySQL_Datatypes/Basic_Spec.ts
index 4414e24b0d3d..3e40f65ac831 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/MySQL_Datatypes/Basic_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/MySQL_Datatypes/Basic_Spec.ts
@@ -83,7 +83,9 @@ describe("MySQL Datatype tests", function () {
});
i % 2 && agHelper.ToggleSwitch("Bool_column");
agHelper.ClickButton("insertRecord");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(
+ locators._buttonByText("Run InsertQuery"),
+ );
agHelper.Sleep(2000);
});
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad1_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad1_Spec.ts
index e548567422c8..8979e3a414d2 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad1_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad1_Spec.ts
@@ -8,6 +8,7 @@ import {
dataSources,
table,
entityItems,
+ assertHelper,
} from "../../../../support/Objects/ObjectsCore";
let dsName: any, jsName: any;
@@ -60,7 +61,7 @@ describe("JSObjects OnLoad Actions tests", function () {
jsEditor.ConfirmationClick("Yes");
agHelper.Sleep(1000);
});
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0).then((cellData) => {
expect(cellData).to.be.equal("2");
});
@@ -123,7 +124,7 @@ describe("JSObjects OnLoad Actions tests", function () {
);
// assert that on view mode, we don't get "successful run" toast message for onpageload actions
agHelper.AssertElementAbsence(locators._specificToast("ran successfully")); //failed toast is appearing hence skipping
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0).then((cellData) => {
expect(cellData).to.be.equal("2");
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts
index f40fe6c52323..c3feb8b7124e 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Params/PassingParams_Spec.ts
@@ -66,10 +66,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
entityExplorer.SelectEntityByName("ParamsTest", "Queries/JS");
apiPage.ToggleOnPageLoadRun(false); //Bug 12476
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("7");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 3000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
@@ -82,10 +82,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(function() { return this?.params?.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("9");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 3000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
@@ -98,10 +98,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(() => { return this?.params?.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("7");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
@@ -114,10 +114,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{this?.params.condition || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("9");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
@@ -130,10 +130,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(function() { return this?.params.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("7");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
@@ -146,10 +146,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(() => { return this?.params.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("9");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
@@ -162,10 +162,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{this.params.condition || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("7");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
@@ -178,10 +178,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(function() { return this.params.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("8");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("8");
});
@@ -194,10 +194,10 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(() => { return this.params.condition })() || '1=1'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.SelectDropDown("9");
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
@@ -211,13 +211,13 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
"SELECT * FROM public.users where id = {{(() => { return this.params.condition })() || '7'}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
//Verifh when No selected option passed
cy.xpath(locators._selectWidgetDropdownInDeployed("selectwidget")).within(
() => cy.get(locators._crossBtn).click(),
);
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
@@ -230,9 +230,9 @@ describe("Bug #10784 - Passing params from JS to SQL query should not break", ()
dataSources.EnterQuery(
"SELECT * FROM public.users where id = {{(() => { return this.params.condition })()}} order by id",
);
- deployMode.DeployApp(locators._spanButton("Submit"));
+ deployMode.DeployApp(locators._buttonByText("Submit"));
agHelper.ClickButton("Submit");
- agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => {
expect(cellData).to.be.equal("8");
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Array_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Array_Spec.ts
index 271f8f9bc70d..cc413d990e32 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Array_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Array_Spec.ts
@@ -88,7 +88,7 @@ describe("Array Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -106,7 +106,7 @@ describe("Array Datatype tests", function () {
agHelper.EnterInputText("Schedule", "Stand up,Update,Report,Executive");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -127,7 +127,7 @@ describe("Array Datatype tests", function () {
);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -151,7 +151,7 @@ describe("Array Datatype tests", function () {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Update did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
@@ -494,7 +494,7 @@ describe("Array Datatype tests", function () {
//Deleting all records from table - arraytypes
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -508,7 +508,7 @@ describe("Array Datatype tests", function () {
agHelper.EnterInputText("Schedule", "Travel,Chillax,Hire,Give rewards");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Binary_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Binary_Spec.ts
index 81a973310e70..31e2d8388e28 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Binary_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Binary_Spec.ts
@@ -89,7 +89,7 @@ describe.skip("Binary Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.AssertElementAbsence(locators._btnSpinner, 10000); //for the update row to appear at last
table.WaitUntilTableLoad();
agHelper.Sleep(3000); //some more time for all rows with images to be populated
@@ -117,7 +117,7 @@ describe.skip("Binary Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.AssertElementAbsence(locators._btnSpinner, 20000); //for the update row to appear at last
table.WaitUntilTableLoad();
agHelper.Sleep(2000); //some more time for all rows with images to be populated
@@ -145,7 +145,7 @@ describe.skip("Binary Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.AssertElementAbsence(locators._btnSpinner, 20000); //for the update row to appear at last
table.WaitUntilTableLoad();
agHelper.Sleep(2000); //some more time for all rows with images to be populated
@@ -174,7 +174,7 @@ describe.skip("Binary Datatype tests", function () {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Update did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
agHelper.AssertElementAbsence(locators._btnSpinner, 20000); //for the update row to appear at last
table.WaitUntilTableLoad();
agHelper.Sleep(10000); //some more time for rows to rearrange!
@@ -210,7 +210,7 @@ describe.skip("Binary Datatype tests", function () {
//Deleting all records from .table
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -227,7 +227,7 @@ describe.skip("Binary Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.WaitUntilTableLoad();
agHelper.Sleep(2000); //for all rows with images to be populated
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts
index 94245d88712f..aa6cd8649429 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts
@@ -88,7 +88,7 @@ describe("Boolean & Enum Datatype tests", function () {
agHelper.ToggleSwitch("Areweworking");
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -106,7 +106,7 @@ describe("Boolean & Enum Datatype tests", function () {
agHelper.SelectDropDown("Saturday");
agHelper.ToggleSwitch("Areweworking", "uncheck");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -124,7 +124,7 @@ describe("Boolean & Enum Datatype tests", function () {
agHelper.SelectDropDown("Friday");
agHelper.ToggleSwitch("Areweworking", "uncheck");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -143,7 +143,7 @@ describe("Boolean & Enum Datatype tests", function () {
agHelper.ToggleSwitch("Areweworking", "check");
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Update did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -202,7 +202,7 @@ describe("Boolean & Enum Datatype tests", function () {
//Deleting all records from table
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -213,7 +213,7 @@ describe("Boolean & Enum Datatype tests", function () {
agHelper.SelectDropDown("Wednesday");
agHelper.ToggleSwitch("Areweworking", "check");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Character_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Character_Spec.ts
index a038905d23dc..ae16cbb3216e 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Character_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Character_Spec.ts
@@ -95,7 +95,7 @@ describe("Character Datatype tests", function () {
agHelper.ClickButton("Run InsertQuery");
agHelper.AssertElementVisibility(locators._modal);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -129,7 +129,7 @@ describe("Character Datatype tests", function () {
false,
);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -163,7 +163,7 @@ describe("Character Datatype tests", function () {
false,
);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -194,7 +194,7 @@ describe("Character Datatype tests", function () {
agHelper.EnterInputText("Limited_4_", "Flights", true);
agHelper.ClearInputText("Unlimited", false);
agHelper.ClickButton("Update");
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -242,7 +242,7 @@ describe("Character Datatype tests", function () {
false,
);
agHelper.ClickButton("Update");
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
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
@@ -276,7 +276,7 @@ describe("Character Datatype tests", function () {
false,
);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
@@ -297,7 +297,7 @@ describe("Character Datatype tests", function () {
it("11. Deleting records - chartypes", () => {
table.SelectTableRow(1);
agHelper.ClickButton("DeleteQuery", 1);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 3rd record is deleted
});
@@ -308,7 +308,7 @@ describe("Character Datatype tests", function () {
it("12. Deleting all records from table - chartypes", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -317,7 +317,7 @@ describe("Character Datatype tests", function () {
agHelper.ClickButton("Run InsertQuery");
agHelper.AssertElementVisibility(locators._modal);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("5"); //asserting serial column is inserting fine in sequence
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/DateTime_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/DateTime_Spec.ts
index a9480d0055b9..8d90901710f2 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/DateTime_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/DateTime_Spec.ts
@@ -158,7 +158,7 @@ describe("DateTime Datatype tests", function () {
agHelper.EnterInputText("Intervaler", "P6Y5M4DT3H2M1S");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -195,7 +195,7 @@ describe("DateTime Datatype tests", function () {
agHelper.EnterInputText("Intervaler", "3 4:05:06");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
@@ -234,7 +234,7 @@ describe("DateTime Datatype tests", function () {
agHelper.EnterInputText("Intervaler", "P0001-03-02T06:04:05", true);
agHelper.ClickButton("Update");
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is same
});
@@ -281,7 +281,7 @@ describe("DateTime Datatype tests", function () {
agHelper.EnterInputText("Intervaler", "1-2");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
@@ -310,7 +310,7 @@ describe("DateTime Datatype tests", function () {
it("10. Deleting all records from table - datetimetypes", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Json_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Json_Spec.ts
index 7cc82eadda7d..d31b48e9d9ed 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Json_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Json_Spec.ts
@@ -106,7 +106,7 @@ describe("Json & JsonB Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -126,7 +126,7 @@ describe("Json & JsonB Datatype tests", function () {
deployMode.EnterJSONInputValue("Price", "400");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -146,7 +146,7 @@ describe("Json & JsonB Datatype tests", function () {
deployMode.EnterJSONInputValue("Price", "360");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -167,7 +167,7 @@ describe("Json & JsonB Datatype tests", function () {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Update did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
@@ -281,7 +281,7 @@ describe("Json & JsonB Datatype tests", function () {
it("10. Deleting all records from table - jsonbooks", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -301,7 +301,7 @@ describe("Json & JsonB Datatype tests", function () {
deployMode.EnterJSONInputValue("Price", "800");
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
@@ -449,7 +449,7 @@ describe("Json & JsonB Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -475,7 +475,7 @@ describe("Json & JsonB Datatype tests", function () {
]);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -498,7 +498,7 @@ describe("Json & JsonB Datatype tests", function () {
deployMode.SelectJsonFormMultiSelect("Genres", ["Fiction", "Spirituality"]);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -530,7 +530,7 @@ describe("Json & JsonB Datatype tests", function () {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locators._toastMsg); //Assert that Update did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
@@ -639,7 +639,7 @@ describe("Json & JsonB Datatype tests", function () {
it("24. Deleting all records from table - jsonbooks", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -663,7 +663,7 @@ describe("Json & JsonB Datatype tests", function () {
]);
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts
index 26833a08f507..fc7628088248 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts
@@ -112,7 +112,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "865456.987654567");
agHelper.EnterInputText("Numericid", "2147483647.2147484"); //2147483647.2147483647
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
@@ -134,7 +134,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "232143455655456.34"); //232143455655456.3434456565
agHelper.EnterInputText("Numericid", "9877700000.143423"); //9877700000.14342340008876
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
@@ -156,7 +156,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "877675655441232.1"); //877675655441232.00998765 , 877675655441232.111
agHelper.EnterInputText("Numericid", "86542300099.1"); //86542300099.1000099999876
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -179,7 +179,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "777675655441232.1", true); //777675655441232.00998765 , 777675655441232.111
agHelper.EnterInputText("Numericid", "76542300099.10988", true); //76542300099.109876788
agHelper.ClickButton("Update");
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -216,7 +216,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "777575655441232.1", true); //777575655441232.716716716716 , 777575655441232.1115
agHelper.EnterInputText("Numericid", "66542300099.00088", true); //66542300099.0008767675
agHelper.ClickButton("Update");
- agHelper.AssertElementVisibility(locators._spanButton("Run UpdateQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run UpdateQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
@@ -238,7 +238,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "8765456.987654345"); //8765456.98765434567
agHelper.EnterInputText("Numericid", "87654356.98765436"); // 87654356.987654356
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
@@ -256,7 +256,7 @@ describe("Numeric Datatype tests", function () {
it("11. Deleting records - numerictypes", () => {
table.SelectTableRow(1);
agHelper.ClickButton("DeleteQuery", 1);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 3rd record is deleted
});
@@ -267,7 +267,7 @@ describe("Numeric Datatype tests", function () {
it("12. Deleting all records from table - numerictypes", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -279,7 +279,7 @@ describe("Numeric Datatype tests", function () {
agHelper.EnterInputText("Decimalid", "8765456.987654345");
agHelper.EnterInputText("Numericid", "87654356.98765436"); // 87654356.9876543567
agHelper.ClickButton("Insert");
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("5"); //asserting serial column is inserting fine in sequence
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/UUID_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/UUID_Spec.ts
index 81670fa89f7d..8e36de74291e 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/UUID_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/UUID_Spec.ts
@@ -101,7 +101,7 @@ describe("UUID Datatype tests", function () {
cy.pause();
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._specificToast("failed to execute")); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(0, 0).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
@@ -127,7 +127,7 @@ describe("UUID Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._specificToast("failed to execute")); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(1, 0).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
@@ -153,7 +153,7 @@ describe("UUID Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._specificToast("failed to execute")); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
@@ -186,7 +186,7 @@ describe("UUID Datatype tests", function () {
locators._specificToast("failed to execute"),
); //Assert that Insert did not fail
agHelper.AssertElementVisibility(
- locators._spanButton("Run UpdateQuery"),
+ locators._buttonByText("Run UpdateQuery"),
);
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
@@ -218,7 +218,7 @@ describe("UUID Datatype tests", function () {
locators._specificToast("failed to execute"),
); //Assert that Insert did not fail
agHelper.AssertElementVisibility(
- locators._spanButton("Run UpdateQuery"),
+ locators._buttonByText("Run UpdateQuery"),
);
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
@@ -334,7 +334,7 @@ describe("UUID Datatype tests", function () {
it("12. Deleting all records from table - uuidtype", () => {
agHelper.GetNClick(locators._deleteIcon);
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
agHelper.Sleep(2000);
table.WaitForTableEmpty();
});
@@ -348,7 +348,7 @@ describe("UUID Datatype tests", function () {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locators._specificToast("failed to execute")); //Assert that Insert did not fail
- agHelper.AssertElementVisibility(locators._spanButton("Run InsertQuery"));
+ agHelper.AssertElementVisibility(locators._buttonByText("Run InsertQuery"));
table.WaitUntilTableLoad();
table.ReadTableRowColumnData(0, 0).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
diff --git a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/Mongo_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/Mongo_Spec.ts
index dad64ff7911f..d3eed3d7b27d 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/Mongo_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/Mongo_Spec.ts
@@ -878,7 +878,7 @@ describe("Validate Mongo Query Pane Validations", () => {
});
//Validating loaded JSON form
- cy.xpath(locators._spanButton("Update")).then((selector) => {
+ cy.xpath(locators._buttonByText("Update")).then((selector) => {
cy.wrap(selector)
.invoke("attr", "class")
.then((classes) => {
diff --git a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
index 1802ecb7e6e7..b0fc5c23f1e6 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
+++ b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
@@ -1,7 +1,6 @@
/// <reference types="Cypress" />
const queryLocators = require("../../../../locators/QueryEditor.json");
-const datasource = require("../../../../locators/DatasourcesEditor.json");
const generatePage = require("../../../../locators/GeneratePage.json");
const formControls = require("../../../../locators/FormControl.json");
import {
@@ -48,6 +47,11 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
});
it("1. Validate List Files in bucket (all existing files) command, run + Widget Binding", () => {
+ const expectedErrorMessages = [
+ "NoSuchBucket: The specified bucket does not exist",
+ "InvalidBucketName: The specified bucket is not valid",
+ ];
+
entityExplorer.DragDropWidgetNVerify(draggableWidgets.INPUT_V2);
propPane.UpdatePropertyFieldValue("Default value", "AutoTest");
cy.NavigateToActiveDSQueryPane(datasourceName);
@@ -65,9 +69,11 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
cy.wait(3000); //for new postExecute to come thru
cy.wait("@postExecute").then(({ response }) => {
expect(response.body.data.isExecutionSuccess).to.eq(false);
- expect(response.body.data.body).to.contains(
- "NoSuchBucket: The specified bucket does not exist",
- );
+ expect(response.body.data.body).to.satisfy((body) => {
+ return expectedErrorMessages.some((errorMessage) =>
+ body.includes(errorMessage),
+ );
+ });
});
cy.wait(2000);
// agHelper.ActionContextMenuWithInPane({
@@ -80,7 +86,8 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
"assets-test--appsmith",
"List files",
);
- dataSources.RunQuery();
+
+ dataSources.RunQueryNVerifyResponseViews(100);
agHelper.ActionContextMenuWithInPane({
action: "Delete",
entityType: entityItems.Query,
@@ -392,7 +399,7 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
cy.deleteQueryUsingContext(); //exeute actions & 200 response is verified in this method
});
- it("6. Create new file in bucket for UI Operations & Verify Search, Delete operations from NewPage UI created in S3 ds & Bug 8686, 8684", function () {
+ it("6. Create new 'text' file in bucket for UI Operations & Verify Search, Delete operations from NewPage CRUD UI created in S3 ds & Bug 8686, 8684", function () {
//Creating new file in bucket
cy.NavigateToActiveDSQueryPane(datasourceName);
dataSources.ValidateNSelectDropdown(
@@ -515,7 +522,6 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
});
after("Deletes the datasource", () => {
- cy.NavigateToQueryEditor();
dataSources.DeleteDatasouceFromActiveTab(datasourceName, [200 | 409]);
});
});
diff --git a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.js b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.js
deleted file mode 100644
index ae337a4634dd..000000000000
--- a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.js
+++ /dev/null
@@ -1,261 +0,0 @@
-/// <reference types="Cypress" />
-
-const queryLocators = require("../../../../locators/QueryEditor.json");
-const datasource = require("../../../../locators/DatasourcesEditor.json");
-const generatePage = require("../../../../locators/GeneratePage.json");
-const dsl = require("../../../../fixtures/snippingTableDsl.json");
-const commonlocators = require("../../../../locators/commonlocators.json");
-const formControls = require("../../../../locators/FormControl.json");
-import * as _ from "../../../../support/Objects/ObjectsCore";
-
-let datasourceName;
-
-describe("Validate CRUD queries for Amazon S3 along with UI flow verifications", function () {
- beforeEach(() => {
- _.agHelper.RestoreLocalStorageCache();
- cy.startRoutesForDatasource();
- });
-
- afterEach(() => {
- _.agHelper.SaveLocalStorageCache();
- });
-
- // afterEach(function() {
- // if (this.currentTest.state === "failed") {
- // Cypress.runner.stop();
- // }
- // });
-
- // afterEach(() => {
- // if (queryName)
- // cy.actionContextMenuByEntityName(queryName);
- // });
-
- it("1. Creates a new Amazon S3 datasource", function () {
- cy.NavigateToDatasourceEditor();
- cy.get(datasource.AmazonS3).click({ force: true }).wait(1000);
-
- cy.generateUUID().then((uid) => {
- datasourceName = `S3 CRUD ds ${uid}`;
- cy.renameDatasource(datasourceName);
- cy.wrap(datasourceName).as("dSName");
- });
-
- cy.fillAmazonS3DatasourceForm();
- cy.testSaveDatasource();
- });
-
- it("2. Bug 9069, 9201, 6975, 9922, 3836, 6492, 11833: Upload/Update query is failing in S3 crud pages", function () {
- cy.NavigateToDSGeneratePage(datasourceName);
- cy.wait(3000);
- //Verifying List of Files from UI
- cy.get(generatePage.selectTableDropdown).click();
- cy.get(generatePage.dropdownOption)
- .contains("assets-test.appsmith.com")
- .scrollIntoView()
- .should("be.visible")
- .click();
- cy.get(generatePage.generatePageFormSubmitBtn).click();
- cy.wait("@replaceLayoutWithCRUDPage").should(
- "have.nested.property",
- "response.body.responseMeta.status",
- 201,
- );
- cy.wait("@getActions");
- cy.wait("@postExecute").should(
- "have.nested.property",
- "response.body.responseMeta.status",
- 200,
- );
-
- cy.VerifyErrorMsgAbsence("Cyclic dependency found while evaluating"); //Verifies 8686
- cy.ClickGotIt();
-
- //Upload: 1
- let fixturePath = "AAAGlobeChristmas.jpeg";
- cy.wait(3000);
- cy.clickButton("Select Files"); //1 files selected
- cy.get(generatePage.uploadFilesS3)
- .first()
- .selectFile("cypress/fixtures/AAAGlobeChristmas.jpeg", {
- force: true,
- });
- cy.wait(2000);
- cy.get(generatePage.uploadBtn).click();
- cy.wait(3000);
- cy.clickButton("Upload");
- cy.wait(1000);
- cy.wait("@postExecute").should(
- "have.nested.property",
- "response.body.data.isExecutionSuccess",
- true,
- );
-
- cy.get(commonlocators.toastAction)
- .should("have.length", 1)
- .should("contain.text", "File Uploaded"); //Verifies bug # 6975
-
- //Verifying Searching File from UI
- cy.xpath(queryLocators.searchFilefield).type("AAAGlobeChri").wait(7000); //for search to finish
-
- cy.get(`.t--widget-textwidget span:contains(${fixturePath})`)
- .should("have.length", 1)
- .scrollIntoView();
- _.agHelper.Sleep(2000);
-
- //Verifying DeleteFile icon from UI
-
- const deleteIconButtonXPATH =
- "//button/span[@icon='trash']/ancestor::div[contains(@class,'t--widget-iconbuttonwidget')]/preceding-sibling::div[contains(@class, 't--widget-textwidget')]//span[text()='" +
- fixturePath +
- "']/ancestor::div[contains(@class, 't--widget-textwidget')]/following-sibling::div[contains(@class,'t--widget-iconbuttonwidget')]";
-
- cy.xpath(deleteIconButtonXPATH)
- .should("exist")
- .last()
- .scrollIntoView()
- .click(); //Verifies 8684
-
- cy.VerifyErrorMsgAbsence("Cyclic dependency found while evaluating"); //Verifies 8686
-
- expect(
- cy.xpath("//span[text()='Are you sure you want to delete the file?']"),
- ).to.exist; //verify Delete File dialog appears
- cy.clickButton("Confirm").wait(1000); //wait for Delete operation to be successfull, //Verifies 8684
- cy.wait("@postExecute").then(({ response }) => {
- expect(response.body.data.isExecutionSuccess).to.eq(true);
- });
-
- cy.get(`.t--widget-textwidget span:contains(${fixturePath})`).should(
- "not.exist",
- );
- //verify Deletion of file is success from UI also
-
- //Upload: 2 - Bug verification 9201
- fixturePath = "AAAFlowerVase.jpeg";
- cy.wait(3000);
- cy.clickButton("Select Files"); //1 files selected
- cy.get(generatePage.uploadFilesS3)
- .first()
- .selectFile("cypress/fixtures/AAAFlowerVase.jpeg", {
- force: true,
- });
- cy.wait(2000);
- cy.get(generatePage.uploadBtn).click();
- cy.wait(3000);
- cy.clickButton("Upload");
- cy.wait("@postExecute").should(
- "have.nested.property",
- "response.body.data.isExecutionSuccess",
- true,
- );
-
- cy.get(commonlocators.toastAction)
- .should("have.length", 1)
- .should("contain.text", "File Uploaded"); //Verifies bug # 6975
-
- //Verifying Searching File from UI
- cy.xpath(queryLocators.searchFilefield)
- .clear()
- .wait(500)
- .type("AAAFlower")
- .wait(7000); //for search to finish
-
- cy.get(`.t--widget-textwidget span:contains(${fixturePath})`)
- .should("have.length", 1)
- .scrollIntoView();
- //Verifies bug # 9922
-
- cy.wait(3000);
- //Verifying DeleteFile icon from UI
- cy.xpath(
- "//button/span[@icon='trash']/ancestor::div[contains(@class,'t--widget-iconbuttonwidget')]/preceding-sibling::div[contains(@class, 't--widget-textwidget')]//span[text()='" +
- fixturePath +
- "']/ancestor::div[contains(@class, 't--widget-textwidget')]/following-sibling::div[contains(@class,'t--widget-iconbuttonwidget')]",
- )
- .should("exist")
- .last()
- .scrollIntoView()
- .click(); //Verifies 8684
- cy.VerifyErrorMsgAbsence("Cyclic dependency found while evaluating"); //Verifies 8686
-
- expect(
- cy.xpath("//span[text()='Are you sure you want to delete the file?']"),
- ).to.exist; //verify Delete File dialog appears
- cy.clickButton("Confirm").wait(3000); //wait for Delete operation to be successfull, //Verifies 8684
- cy.wait("@postExecute")
- .then(({ response }) => {
- expect(response.body.data.isExecutionSuccess).to.eq(true);
- })
- .wait(2000); //wait a bit more for CI
- cy.get(`.t--widget-textwidget span:contains(${fixturePath})`).should(
- "not.exist",
- );
- //verify Deletion of file is success from UI also
-
- //Deleting the page://Commenting below since during re-runs the page name can be com2, com3 etc
- // _.entityExplorer.ActionContextMenuByEntityName(
- // "Assets-test.appsmith.com",
- // "Delete",
- // );
- });
-
- it("3. Verify 'Add to widget [Widget Suggestion]' functionality - S3", () => {
- _.entityExplorer.SelectEntityByName("Page1");
- cy.NavigateToActiveDSQueryPane(datasourceName);
-
- _.agHelper.GetObjectName().then(($queryName) => {
- _.dataSources.ValidateNSelectDropdown("Commands", "List files in bucket");
- cy.typeValueNValidate(
- "assets-test.appsmith.com",
- formControls.s3BucketName,
- );
- cy.runQuery();
- cy.xpath(queryLocators.suggestedWidgetDropdown).click().wait(1000);
- cy.get(".t--draggable-selectwidget").validateWidgetExists();
-
- _.entityExplorer.SelectEntityByName("Select1", "Widgets");
- _.agHelper.GetNClick(_.propPane._deleteWidget);
-
- _.entityExplorer.SelectEntityByName($queryName, "Queries/JS");
- cy.get(queryLocators.suggestedTableWidget).click().wait(1000);
- cy.get(commonlocators.TableV2Row).validateWidgetExists();
- _.entityExplorer.SelectEntityByName("Table1", "Widgets");
- _.agHelper.GetNClick(_.propPane._deleteWidget);
-
- _.entityExplorer.SelectEntityByName($queryName, "Queries/JS");
- cy.deleteQueryUsingContext(); //exeute actions & 200 response is verified in this method
- });
- });
-
- it("4. Verify 'Connect Widget [snipping]' functionality - S3 ", () => {
- _.entityExplorer.DragDropWidgetNVerify(_.draggableWidgets.TABLE, 200, 200);
- _.table.AddSampleTableData();
- cy.NavigateToActiveDSQueryPane(datasourceName);
- _.agHelper.GetObjectName().then(($queryName) => {
- _.entityExplorer.SelectEntityByName($queryName, "Queries/JS");
- _.dataSources.ValidateNSelectDropdown("Commands", "List files in bucket");
- cy.typeValueNValidate(
- "assets-test.appsmith.com",
- formControls.s3BucketName,
- );
- cy.runQuery();
- cy.clickButton("Select widget");
- cy.xpath(queryLocators.snipeableTable).click().wait(1500); //wait for table to load!
-
- cy.get(commonlocators.TableV2Row).validateWidgetExists();
-
- _.entityExplorer.SelectEntityByName("Table1", "Widgets");
- _.agHelper.GetNClick(_.propPane._deleteWidget);
- _.entityExplorer.SelectEntityByName($queryName, "Queries/JS");
-
- cy.deleteQueryUsingContext(); //exeute actions & 200 response is verified in this method
- cy.wait(3000); //waiting for deletion to complete! - else after hook fails
- });
- });
-
- after("Deletes the datasource", () => {
- cy.NavigateToQueryEditor();
- _.dataSources.DeleteDatasouceFromActiveTab(datasourceName, [200 | 409]);
- });
-});
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
new file mode 100644
index 000000000000..27506e2b11f1
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts
@@ -0,0 +1,487 @@
+/// <reference types="Cypress" />
+
+import generatePage from "../../../../locators/GeneratePage.json";
+import formControls from "../../../../locators/FormControl.json";
+import {
+ agHelper,
+ entityExplorer,
+ dataSources,
+ entityItems,
+ draggableWidgets,
+ propPane,
+ deployMode,
+ locators,
+ assertHelper,
+ table,
+} from "../../../../support/Objects/ObjectsCore";
+import { Widgets } from "../../../../support/Pages/DataSources";
+
+describe("Validate CRUD queries for Amazon S3 along with UI flow verifications", function () {
+ let bucketName = "assets-test--appsmith",
+ uid: any,
+ datasourceName: any;
+ beforeEach(() => {
+ agHelper.RestoreLocalStorageCache();
+ dataSources.StartDataSourceRoutes();
+ });
+
+ afterEach(() => {
+ agHelper.SaveLocalStorageCache();
+ });
+
+ // afterEach(function() {
+ // if (this.currentTest.state === "failed") {
+ // Cypress.runner.stop();
+ // }
+ // });
+
+ // afterEach(() => {
+ // if (queryName)
+ // cy.actionContextMenuByEntityName(queryName);
+ // });
+
+ before("Creates a new Amazon S3 datasource", function () {
+ dataSources.CreateDataSource("S3");
+ cy.get("@dsName").then((dsName) => {
+ datasourceName = dsName;
+ });
+ agHelper.GenerateUUID();
+
+ cy.get("@guid").then((guid) => {
+ uid = guid;
+ });
+ });
+
+ it("1. Bug 9069, 9201, 6975, 9922, 3836, 6492, 11833: Upload/Update query is failing in S3 crud pages", function () {
+ dataSources.NavigateFromActiveDS(datasourceName, false);
+ cy.wait(3000);
+ //Verifying List of Files from UI
+ cy.get(generatePage.selectTableDropdown).click();
+ cy.get(generatePage.dropdownOption)
+ .contains(bucketName)
+ .scrollIntoView()
+ .should("be.visible")
+ .click();
+ cy.get(generatePage.generatePageFormSubmitBtn).click();
+ assertHelper.AssertNetworkStatus("@replaceLayoutWithCRUDPage", 201);
+ assertHelper.AssertNetworkStatus("@getActions");
+ assertHelper.AssertNetworkStatus("@postExecute");
+
+ agHelper.AssertElementAbsence(
+ locators._specificToast("Cyclic dependency found while evaluating"),
+ ); //Verifies 8686
+ agHelper.ClickButton("Got it");
+
+ deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.BUTTON));
+
+ //Upload: 1- from Deployed page
+ let imageNameToUpload = "AAAGlobeChristmas.jpeg";
+
+ let fixturePath = uid + "Globe.jpeg";
+ agHelper.ClickButton("Select Files"); //1 files selected
+
+ agHelper.UploadFile(imageNameToUpload);
+
+ agHelper.ClearTextField(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ false,
+ 2,
+ );
+ agHelper.AssertElementEnabledDisabled(locators._buttonByText("Upload")); //Assert that when name is empty, upload button is disabled
+ agHelper.TypeText(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ fixturePath,
+ 2,
+ );
+ agHelper.Sleep(2000); //time for file to be uploaded
+ agHelper.ClickButton("Upload");
+ cy.wait(1000);
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", true);
+
+ agHelper.ValidateToastMessage("File Uploaded"); //Verifies bug # 6975
+
+ agHelper.Sleep(2000); //time for file to be uploaded
+
+ //Verifying Searching File from UI
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ uid,
+ );
+ agHelper.Sleep(5000); //for search to be successful
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fixturePath,
+ "have.text",
+ 1,
+ );
+ agHelper.Sleep(2000);
+
+ //Verifying DeleteFile icon from UI
+
+ DeleteS3FileFromUI(fixturePath);
+
+ //Upload: 2 - Bug verification 9201
+ imageNameToUpload = "AAAFlowerVase.jpeg";
+ fixturePath = uid + "FlowerVase.jpeg";
+ cy.wait(3000);
+ agHelper.ClickButton("Select Files"); //1 files selected
+ agHelper.UploadFile(imageNameToUpload);
+
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ fixturePath,
+ 2,
+ );
+ agHelper.Sleep(2000); //time for file to be uploaded
+ agHelper.ClickButton("Upload");
+
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", true);
+ agHelper.ValidateToastMessage("File Uploaded"); //Verifies bug # 6975
+
+ //Verifying Searching File from UI
+
+ // agHelper.ClearNType(
+ // locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ // uid,
+ // );//as already uid is present in search box
+ agHelper.Sleep(2000); //for search to be successful
+
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fixturePath,
+ "have.text",
+ 1,
+ );
+
+ //Verifies bug # 9922
+
+ cy.wait(3000);
+ //Verifying DeleteFile from UI
+ DeleteS3FileFromUI(fixturePath);
+
+ //Deleting the page://Commenting below since during re-runs the page name can be com2, com3 etc
+ // entityExplorer.ActionContextMenuByEntityName(
+ // "Assets-test.appsmith.com",
+ // "Delete",
+ // );
+ agHelper.ClearTextField(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ );
+ });
+
+ it("2. Edit from S3 crud pages", function () {
+ let imageNameToUpload = "Datatypes/Bridge.jpg"; //Massachusetts
+ let fixturePath = uid + imageNameToUpload;
+ agHelper.ClickButton("Select Files"); //1 files selected
+ agHelper.UploadFile(imageNameToUpload);
+
+ agHelper.AssertElementAbsence(locators._buttonByText("Select Files")); //verifying buttons are changed
+ agHelper.AssertElementVisibility(
+ locators._buttonByText("1 files selected"),
+ );
+
+ agHelper.ClearTextField(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ false,
+ 2,
+ );
+ agHelper.AssertElementEnabledDisabled(locators._buttonByText("Upload")); //Assert that when name is empty, upload button is disabled
+ agHelper.TypeText(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ fixturePath,
+ 2,
+ );
+ agHelper.Sleep(2000); //time for file to be uploaded
+ agHelper.ClickButton("Upload", { sleepTime: 2000 });
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", true);
+
+ agHelper.AssertElementVisibility(locators._buttonByText("Select Files"));
+ agHelper.AssertElementAbsence(locators._buttonByText("1 files selected"));
+
+ agHelper.ValidateToastMessage("File Uploaded"); //Verifies bug # 6975
+
+ agHelper.Sleep(2000); //time for file to be uploaded
+
+ //Verifying Searching File from UI
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ uid,
+ );
+ agHelper.Sleep(5000); //for search to be successful
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fixturePath,
+ "have.text",
+ 1,
+ );
+ agHelper.Sleep(2000);
+
+ //Verifying Edit file from UI
+ imageNameToUpload = "Datatypes/Massachusetts.jpeg";
+
+ agHelper.GetNClick(dataSources._s3CrudIcons(fixturePath, "Edit"));
+ agHelper.AssertElementVisibility(locators._visibleTextSpan("Update File")); //verifying Update File dialog appears
+ agHelper.ClickButton("Cancel");
+ agHelper.AssertElementAbsence(locators._visibleTextSpan("Update File")); //verifying Update File dialog is closed
+
+ agHelper.GetNClick(dataSources._s3CrudIcons(fixturePath, "Edit"));
+ agHelper.ClickButton("Select File"); //1 files selected
+ agHelper.UploadFile(imageNameToUpload, true, 2);
+
+ agHelper.AssertElementEnabledDisabled(dataSources._s3EditFileName);
+ agHelper.AssertText(
+ dataSources._s3EditFileName + " ** " + locators._inputField,
+ "val",
+ fixturePath,
+ ); //Assert that file name is original name
+ agHelper.ClickButton("Update", { sleepTime: 2000 }); //for the update to refelct in UI
+
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fixturePath,
+ "have.text",
+ 1,
+ );
+
+ //Only Asserting icons are present
+ agHelper.AssertElementVisibility(
+ dataSources._s3CrudIcons(fixturePath, "CopyURL"),
+ );
+ agHelper.AssertElementVisibility(
+ dataSources._s3CrudIcons(fixturePath, "Download"),
+ );
+
+ // //Browser pop up appearing, unable to handle it in Cypress, below not working
+ // cy.on("window:confirm", (text) => {
+ // // Handle the confirm dialog as needed
+ // // For example, you can assert the dialog message
+ // expect(text).contains(fixturePath);
+ // // Respond to the confirm dialog
+ // cy.window().then((win) => win.confirm(true)); // Accept the dialog
+ // // cy.window().then(win => win.confirm(false)); // Dismiss the dialog
+ // });
+ // agHelper.GiveChromeCopyPermission();
+ // agHelper.GetNClick(dataSources._s3CrudIcons(fixturePath, "CopyURL"));
+ // cy.window()
+ // .its("navigator.clipboard")
+ // .invoke("readText")
+ // .should("contain", fixturePath);
+
+ //Attempt Delete & Cancel from UI
+ agHelper.GetNClick(dataSources._s3CrudIcons(fixturePath, "Delete")); //Verifies 8684
+
+ agHelper.ClickButton("Cancel");
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fixturePath,
+ "have.text",
+ 1,
+ );
+
+ //Attempt Delete & Confirm from UI
+ DeleteS3FileFromUI(fixturePath);
+
+ agHelper.ClearTextField(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ );
+ });
+
+ it("3. Uploading maximum files from UI - S3 Crud page", () => {
+ let imageNameToUpload = "Datatypes/Georgia.jpeg",
+ bulkyId = "BulkUpload/" + uid;
+ // Datatypes/Maine.jpeg,
+
+ agHelper.ClickButton("Select Files"); //1 files selected
+ agHelper.UploadFile(imageNameToUpload, false);
+
+ agHelper.ClickButton("Add more");
+ imageNameToUpload = "Datatypes/Maine.jpeg";
+ agHelper.UploadFile(imageNameToUpload, false);
+
+ agHelper.ClickButton("Add more");
+ imageNameToUpload = "Datatypes/NewJersey.jpeg";
+ agHelper.UploadFile(imageNameToUpload, false);
+
+ agHelper.AssertElementAbsence(locators._buttonByText("Add more")); //verifying Add more button is not present after max files are uploaded
+
+ agHelper.ClickButton("Upload 3 files");
+ agHelper.AssertElementVisibility(
+ locators._buttonByText("3 files selected"),
+ );
+
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ "BulkUpload/" + uid,
+ 1,
+ );
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ "Georgia.jpeg",
+ 2,
+ ); //Since previous name is retained in input field
+ agHelper.Sleep(2000); //time for file to be uploaded
+ agHelper.ClickButton("Upload");
+ agHelper.ValidateToastMessage("File Uploaded", 0, 3); //Verifies for all 3 files
+
+ //Verifying Searching Folder from UI
+ agHelper.ClearNType(
+ locators._widgetInputSelector(draggableWidgets.INPUT_V2),
+ bulkyId,
+ );
+ agHelper.Sleep(5000); //for search to be successful
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ "Georgia.jpeg",
+ "contain.text",
+ 1,
+ );
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ "Maine.jpeg",
+ "contain.text",
+ 2,
+ );
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ "NewJersey.jpeg",
+ "contain.text",
+ 3,
+ );
+
+ DeleteS3FileFromUI(bulkyId + "/Georgia.jpeg", false);
+ DeleteS3FileFromUI(bulkyId + "/Maine.jpeg", false);
+ DeleteS3FileFromUI(bulkyId + "/NewJersey.jpeg", true);
+
+ deployMode.NavigateBacktoEditor();
+ });
+
+ it("4. Verifying Max file size - 'Base64' file - CRUD page - Bug #18245 - 10 Mb & 40 Mb", function () {
+ let video = "Videos/defaultVideo.y4m";
+
+ entityExplorer.SelectEntityByName("FilePicker", "Container6");
+ propPane.UpdatePropertyFieldValue("Max no. of files", "2");
+
+ propPane.UpdatePropertyFieldValue("Max file size(Mb)", "10");
+
+ deployMode.DeployApp();
+ agHelper.ClickButton("Select Files");
+
+ agHelper.UploadFile(video, false);
+ agHelper.AssertText(
+ dataSources._s3MaxFileSizeAlert,
+ "text",
+ "This file exceeds maximum allowed size of 10 MB ",
+ );
+ agHelper.ClickButton("Close");
+ deployMode.NavigateBacktoEditor();
+
+ entityExplorer.SelectEntityByName("FilePicker", "Container6");
+ propPane.UpdatePropertyFieldValue("Max file size(Mb)", "40");
+ deployMode.DeployApp();
+ video = "Videos/rotatedQRCode.y4m";
+
+ agHelper.ClickButton("Select Files");
+ agHelper.UploadFile(video, false);
+ agHelper.AssertText(
+ dataSources._s3MaxFileSizeAlert,
+ "text",
+ "This file exceeds maximum allowed size of 40 MB ",
+ );
+
+ video = "Videos/defaultVideo.y4m";
+ agHelper.UploadFile(video, false);
+ agHelper.AssertElementVisibility(dataSources._s3MaxFileSizeAlert, false);
+
+ video = "Videos/webCamVideo.y4m";
+ agHelper.ClickButton("Add more");
+ agHelper.UploadFile(video, false);
+ agHelper.AssertElementVisibility(dataSources._s3MaxFileSizeAlert, false);
+
+ agHelper.ClickButton("Upload 2 files");
+ agHelper.ClickButton("2 files selected");
+
+ agHelper.ClickButton("Remove file");
+ agHelper.ClickButton("Remove file");
+
+ agHelper.ClickButton("Close");
+ agHelper.AssertElementVisibility(locators._buttonByText("Select Files"));
+ deployMode.NavigateBacktoEditor();
+ });
+
+ it("5. Verify 'Add to widget [Widget Suggestion]' functionality - S3", () => {
+ entityExplorer.SelectEntityByName("Page1");
+ dataSources.NavigateFromActiveDS(datasourceName, true);
+
+ agHelper.GetObjectName().then(($queryName) => {
+ dataSources.ValidateNSelectDropdown("Commands", "List files in bucket");
+ agHelper.UpdateCodeInput(formControls.s3BucketName, bucketName);
+
+ dataSources.RunQuery();
+ dataSources.AddSuggestedWidget(Widgets.Dropdown);
+ propPane.DeleteWidgetDirectlyFromPropertyPane();
+
+ entityExplorer.SelectEntityByName($queryName, "Queries/JS");
+ dataSources.AddSuggestedWidget(Widgets.Table);
+ table.WaitUntilTableLoad(0, 0, "v2");
+ propPane.DeleteWidgetDirectlyFromPropertyPane();
+
+ entityExplorer.SelectEntityByName($queryName, "Queries/JS");
+ agHelper.ActionContextMenuWithInPane({
+ action: "Delete",
+ entityType: entityItems.Query,
+ });
+ });
+ });
+
+ it("6. Verify 'Connect Widget [snipping]' functionality - S3 ", () => {
+ entityExplorer.DragDropWidgetNVerify(draggableWidgets.TABLE);
+ dataSources.NavigateFromActiveDS(datasourceName, true);
+ agHelper.GetObjectName().then(($queryName) => {
+ entityExplorer.SelectEntityByName($queryName, "Queries/JS");
+ dataSources.ValidateNSelectDropdown("Commands", "List files in bucket");
+ agHelper.UpdateCodeInput(formControls.s3BucketName, bucketName);
+ dataSources.RunQuery();
+ agHelper.ClickButton("Select widget"); //Binding to dragDropped table
+ agHelper.AssertElementVisibility(dataSources._snippingBanner);
+ agHelper.GetNClick(locators._widgetInDeployed(draggableWidgets.TABLE));
+ entityExplorer.SelectEntityByName("Table1", "Widgets");
+ propPane.DeleteWidgetDirectlyFromPropertyPane();
+ entityExplorer.SelectEntityByName($queryName, "Queries/JS");
+ agHelper.ActionContextMenuWithInPane({
+ action: "Delete",
+ entityType: entityItems.Query,
+ });
+ //exeute actions & 200 response is verified in this method
+ cy.wait(3000); //waiting for deletion to complete! - else after hook fails
+ });
+ });
+
+ after("Deletes the datasource", () => {
+ dataSources.DeleteDatasouceFromActiveTab(datasourceName, 409); //since crud page is still active
+ });
+
+ function DeleteS3FileFromUI(
+ fileNameToDelete = "",
+ toAssertNoDataToDisplay = true,
+ ) {
+ agHelper.GetNClick(dataSources._s3CrudIcons(fileNameToDelete, "Delete")); //Verifies 8684
+ agHelper.AssertElementAbsence(
+ locators._specificToast("Cyclic dependency found while evaluating"),
+ ); //Verifies 8686
+ agHelper.AssertElementVisibility(
+ locators._visibleTextSpan("Are you sure you want to delete the file?"),
+ ); //verify Delete File dialog appears
+ agHelper.ClickButton("Confirm", { sleepTime: 3000 }); //wait for Delete operation to be successfull, //Verifies 8684
+ assertHelper.AssertNetworkExecutionSuccess("@postExecute", true);
+ agHelper.GetNAssertElementText(
+ locators._textWidgetInDeployed,
+ fileNameToDelete,
+ "not.have.text",
+ 1,
+ );
+ toAssertNoDataToDisplay &&
+ agHelper.AssertElementVisibility(
+ locators._visibleTextDiv("No data to display"),
+ );
+ }
+});
diff --git a/app/client/cypress/e2e/Sanity/Datasources/Arango_Basic_Spec.ts b/app/client/cypress/e2e/Sanity/Datasources/Arango_Basic_Spec.ts
index 1fb31194fc82..c686756d22f5 100644
--- a/app/client/cypress/e2e/Sanity/Datasources/Arango_Basic_Spec.ts
+++ b/app/client/cypress/e2e/Sanity/Datasources/Arango_Basic_Spec.ts
@@ -310,7 +310,7 @@ describe("Validate Arango & CURL Import Datasources", () => {
entityExplorer.SelectEntityByName("Query6");
dataSources.FilterAndVerifyDatasourceSchemaBySearch("country", "column");
dataSources.RunQuery();
- dataSources.AddSuggestedWidget(Widgets.Table); //Binding to new table from schema explorer
+ dataSources.AddSuggestedWidget(Widgets.Table, true); //Binding to new table from schema explorer
propPane.AssertPropertiesDropDownCurrentValue("Table data", "Query6");
entityExplorer.SelectEntityByName("Query6");
agHelper.ClickButton("Select widget"); //Binding to dragDropped table
diff --git a/app/client/cypress/limited-tests.txt b/app/client/cypress/limited-tests.txt
index 8f4137fb214b..4807f105284d 100644
--- a/app/client/cypress/limited-tests.txt
+++ b/app/client/cypress/limited-tests.txt
@@ -2,7 +2,6 @@
cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js
-
# For running all specs - uncomment below:
#cypress/e2e/**/**/*
diff --git a/app/client/cypress/support/AdminSettingsCommands.js b/app/client/cypress/support/AdminSettingsCommands.js
index aa6ac0c4cdd4..4c7609b0abd2 100644
--- a/app/client/cypress/support/AdminSettingsCommands.js
+++ b/app/client/cypress/support/AdminSettingsCommands.js
@@ -8,7 +8,9 @@ const googleForm = require("../locators/GoogleForm.json");
const googleData = require("../fixtures/googleSource.json");
const githubForm = require("../locators/GithubForm.json");
import adminSettings from "../locators/AdminsSettings";
+import { ObjectsRegistry } from "./Objects/Registry";
+let agHelper = ObjectsRegistry.AggregateHelper;
const BASE_URL = Cypress.config().baseUrl;
Cypress.Commands.add("fillGoogleFormPartly", () => {
@@ -80,5 +82,5 @@ Cypress.Commands.add("waitForServerRestart", () => {
cy.window().then((win) => {
win.location.reload();
});
- cy.get(adminSettings.saveButton).should("be.visible");
+ agHelper.AssertElementVisibility(adminSettings.saveButton, true, 0, 30000);
});
diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts
index eacf6cf40c26..a24729659dc6 100644
--- a/app/client/cypress/support/Objects/CommonLocators.ts
+++ b/app/client/cypress/support/Objects/CommonLocators.ts
@@ -93,8 +93,6 @@ export class CommonLocators {
_responseTab = "[data-testid=t--tab-response]";
_modal = ".t--modal-widget";
_closeModal = "button:contains('Close')";
- _buttonText = (btnText: string) =>
- "//*[contains(@class, 'bp3-button-text') and text()='" + btnText + "']";
_entityProperties = (entityNameinLeftSidebar: string) =>
"//div[text()='" +
entityNameinLeftSidebar +
@@ -105,8 +103,8 @@ export class CommonLocators {
"']/parent::div[contains(@class, 't--entity-name editing')]/input";
_jsToggle = (controlToToggle: string) =>
".t--property-control-" + controlToToggle + " .t--js-toggle";
- _spanButton = (btnVisibleText: string) =>
- `//span[text()="${btnVisibleText}"]/ancestor::button`;
+ _buttonByText = (btnVisibleText: string) =>
+ `//span[text()="${btnVisibleText}"]/ancestor::button | //button[text()="${btnVisibleText}" or @title="${btnVisibleText}"]`;
_selectPropPageDropdown = (ddName: string) =>
"//div[contains(@class, 't--property-control-" +
ddName.replace(/ +/g, "").toLowerCase() +
@@ -159,8 +157,12 @@ export class CommonLocators {
_evaluatedErrorMessage =
".t--CodeEditor-evaluatedValue .t--evaluatedPopup-error";
_evalPopup = ".evaluated-value-popup";
- _checkboxGroupOptions = (option: string) =>
- "//div[contains(text(),'" + option + "')]/parent::label/input";
+ _checkboxTypeByOption = (option: string) =>
+ "//div[contains(text(),'" +
+ option +
+ "')]/parent::label/input | //label[contains(text(),'" +
+ option +
+ "')]/input";
_multiSelectOptions = (option: string) =>
"div[title='" + option + "'] input[type='checkbox']";
_divWithClass = (className: string) =>
diff --git a/app/client/cypress/support/Pages/AdminSettings.ts b/app/client/cypress/support/Pages/AdminSettings.ts
index 0b2de96bce33..47f34be11503 100644
--- a/app/client/cypress/support/Pages/AdminSettings.ts
+++ b/app/client/cypress/support/Pages/AdminSettings.ts
@@ -12,6 +12,8 @@ export class AdminSettings {
"//span[contains(text(), '" +
user +
"')]/parent::div/parent::a/parent::td/following-sibling::td[1]";
+ public _instanceName =
+ "//label[text()='Instance name']/following-sibling::div//input";
public NavigateToAdminSettings() {
this.homePage.NavigateToHome();
diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts
index adb478196145..6096c4fc01ab 100644
--- a/app/client/cypress/support/Pages/AggregateHelper.ts
+++ b/app/client/cypress/support/Pages/AggregateHelper.ts
@@ -265,7 +265,7 @@ export class AggregateHelper extends ReusableHelper {
index = 0,
) {
if (index >= 0)
- this.GetElement(selector).eq(index).should(textPresence, text);
+ this.ScrollIntoView(selector, index).should(textPresence, text);
else this.GetElement(selector).should(textPresence, text);
}
@@ -323,22 +323,53 @@ export class AggregateHelper extends ReusableHelper {
public ClickButton(
btnVisibleText: string,
- index = 0,
- shouldSleep = true,
- force = true,
+ indexOrOptions:
+ | number
+ | Partial<{
+ index: number;
+ force: boolean;
+ waitAfterClick: boolean;
+ sleepTime: number;
+ }> = 0,
) {
- this.ScrollIntoView(this.locator._spanButton(btnVisibleText), index).click({
- force: force,
- });
- shouldSleep && this.Sleep();
+ const button = this.locator._buttonByText(btnVisibleText);
+ let index: number,
+ force = true,
+ waitAfterClick = true,
+ waitTime = 1000;
+
+ if (typeof indexOrOptions === "number") {
+ index = indexOrOptions;
+ } else {
+ index = indexOrOptions.index || 0;
+ force =
+ typeof indexOrOptions.force !== "undefined"
+ ? indexOrOptions.force
+ : true;
+ // waitAfterClick = indexOrOptions.waitAfterClick || false;
+ // Check if waitAfterClick is explicitly set, otherwise default to true
+ waitAfterClick =
+ typeof indexOrOptions.waitAfterClick !== "undefined"
+ ? indexOrOptions.waitAfterClick
+ : true;
+ waitTime = indexOrOptions.sleepTime || 1000;
+ }
+
+ return this.ScrollIntoView(button, index)
+ .click({ force })
+ .then(() => {
+ if (waitAfterClick) {
+ return this.Sleep(waitTime);
+ }
+ });
}
- public clickMultipleButtons(btnVisibleText: string, shouldSleep = true) {
- cy.xpath(this.locator._spanButton(btnVisibleText)).each(($el) => {
+ public clickMultipleButtons(btnVisibleText: string, waitAfterClick = true) {
+ cy.xpath(this.locator._buttonByText(btnVisibleText)).each(($el) => {
$el.trigger("click", { force: true });
cy.wait(200);
});
- shouldSleep && this.Sleep();
+ waitAfterClick && this.Sleep();
}
public Paste(selector: any, pastePayload: string) {
@@ -424,13 +455,6 @@ export class AggregateHelper extends ReusableHelper {
// cy.waitUntil(()) => (selector.includes("//") ? cy.xpath(selector) : cy.get(selector))).then(($ele) => { cy.wrap($ele).eq(0).should("be.visible");});
}
- public AssertNetworkExecutionSuccess(aliasName: string, expectedRes = true) {
- cy.wait(1000).wait(aliasName); //Wait a bit for call to finish!
- cy.get(aliasName)
- .its("response.body.data.isExecutionSuccess")
- .should("eq", expectedRes);
- }
-
public AssertNetworkDataSuccess(aliasName: string, expectedRes = true) {
cy.wait(1000).wait(aliasName); //Wait a bit for call to finish!
cy.get(aliasName)
@@ -766,14 +790,19 @@ export class AggregateHelper extends ReusableHelper {
this.TypeText(selector, totype, index);
}
}
- public ClearTextField(selector: string, force = false) {
- this.GetElement(selector).clear({ force });
+ public ClearTextField(selector: string, force = false, index = 0) {
+ this.GetElement(selector).eq(index).clear({ force });
this.Sleep(500); //for text to clear for CI runs
}
- public ClearNType(selector: string, totype: string) {
- this.ClearTextField(selector);
- this.TypeText(selector, totype);
+ public ClearNType(
+ selector: string,
+ totype: string,
+ index = 0,
+ force = false,
+ ) {
+ this.ClearTextField(selector, force, index);
+ this.TypeText(selector, totype, index);
}
public TypeText(
@@ -873,12 +902,22 @@ export class AggregateHelper extends ReusableHelper {
}
}
- public AssertExistingCheckedState(selector: string, toggle: string) {
- this.GetElement(selector).should(
- "have.attr",
- "data-selected-value",
- toggle,
- );
+ public AssertExistingCheckedState(selector: string, toggle = "true") {
+ this.GetElement(selector)
+ .invoke("attr", "data-selected-value")
+ .then((dataSelectedValue) => {
+ cy.log("dataSelectedValue:" + dataSelectedValue);
+ if (dataSelectedValue !== undefined) {
+ this.GetElement(selector).should(
+ "have.attr",
+ "data-selected-value",
+ toggle,
+ );
+ } else
+ this.GetElement(selector).should(
+ toggle == "true" ? "be.checked" : "not.be.checked",
+ );
+ });
}
public AssertSelectedTab(propertyName: string, value: "true" | "false") {
@@ -1004,7 +1043,7 @@ export class AggregateHelper extends ReusableHelper {
) {
if (entityType != EntityItems.Widget)
this.GetNClick(this.locator._contextMenuItem("Are you sure?"));
- this.Sleep(1000);
+ this.Sleep();
toAssertAction && this.assertHelper.AssertDelete(entityType);
}
@@ -1143,23 +1182,6 @@ export class AggregateHelper extends ReusableHelper {
this.Sleep(500); //for value set to settle
}
- public UpdateInput(selector: string, value: string, force = false) {
- this.GetElement(selector)
- .find("input")
- .clear({ force: force })
- //.type(this.selectAll)
- .type(value, { delay: 1, parseSpecialCharSequences: false });
- // .type(selectAllJSObjectContentShortcut)
- // .then((ins: any) => {
- // //const input = ins[0].input;
- // ins.clear();
- // this.Sleep(200);
- // //ins.setValue(value);
- // ins.val(value).trigger('change');
- // this.Sleep(200);
- // });
- }
-
public UpdateFieldInput(selector: string, value: string) {
this.GetElement(selector)
.find("input")
@@ -1338,10 +1360,10 @@ export class AggregateHelper extends ReusableHelper {
});
}
- public UploadFile(fixtureName: string, toClickUpload = true) {
+ public UploadFile(fixtureName: string, toClickUpload = true, index = 0) {
//cy.fixture(fixtureName).as("selectFileFixture");//giving issue, hence using directly as below
cy.get(this.locator._uploadFiles)
- .eq(0)
+ .eq(index)
.selectFile("cypress/fixtures/" + fixtureName, { force: true })
.wait(3000);
toClickUpload && this.GetNClick(this.locator._uploadBtn, 0, false);
@@ -1455,16 +1477,8 @@ export class AggregateHelper extends ReusableHelper {
selector: ElementType,
text: string | number | RegExp,
exists: "exist" | "not.exist" = "exist",
- index?: number,
- timeout?: number,
) {
- if (index)
- return this.GetElement(selector, timeout)
- .eq(index)
- .contains(text)
- .should(exists);
- else
- return this.GetElement(selector, timeout).contains(text).should(exists);
+ return this.GetElement(selector).contains(text).should(exists);
}
public AssertURL(url: string) {
@@ -1538,11 +1552,9 @@ export class AggregateHelper extends ReusableHelper {
index = 0,
disabled = true,
) {
- if (disabled) {
- return this.GetElement(selector).eq(index).should("be.disabled");
- } else {
- return this.GetElement(selector).eq(index).should("not.be.disabled");
- }
+ return this.GetElement(selector)
+ .eq(index)
+ .should(disabled ? "have.attr" : "not.have.attr", "disabled");
}
// Waits until all LazyCodeEditor wrappers finished loading the actual code editor.
diff --git a/app/client/cypress/support/Pages/ApiPage.ts b/app/client/cypress/support/Pages/ApiPage.ts
index c15da6cbccfe..16b8ecf0882f 100644
--- a/app/client/cypress/support/Pages/ApiPage.ts
+++ b/app/client/cypress/support/Pages/ApiPage.ts
@@ -219,7 +219,7 @@ export class ApiPage {
) {
this.agHelper.GetNClick(this._apiRunBtn, 0, true, waitTimeInterval);
toValidateResponse &&
- this.agHelper.AssertNetworkExecutionSuccess("@postExecute");
+ this.assertHelper.AssertNetworkExecutionSuccess("@postExecute");
// Asserting Network result
validateNetworkAssertOptions?.expectedPath &&
diff --git a/app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts b/app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts
index d86c579d5534..ff96476d3bc2 100644
--- a/app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts
+++ b/app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts
@@ -47,7 +47,7 @@ export class ThemeSettings {
this.agHelper.TypeText(this.locators._colorInput(type), colorIndex); //Doing it again for since sometimes it does not type properpy
this.agHelper.GetElement(this.locators._colorInput(type)).clear();
this.agHelper.TypeText(this.locators._colorInput(type), colorIndex);
- //this.agHelper.UpdateInput(this._colorInputField(type), colorIndex);//not working!
+ // this.agHelper.TypeText(this._colorInputField(type), colorIndex); //not working!
}
}
}
diff --git a/app/client/cypress/support/Pages/AssertHelper.ts b/app/client/cypress/support/Pages/AssertHelper.ts
index d8b68d9657e3..2ca169ba3ca6 100644
--- a/app/client/cypress/support/Pages/AssertHelper.ts
+++ b/app/client/cypress/support/Pages/AssertHelper.ts
@@ -90,6 +90,13 @@ export class AssertHelper extends ReusableHelper {
// });
}
+ public AssertNetworkExecutionSuccess(aliasName: string, expectedRes = true) {
+ this.WaitForNetworkCall(aliasName);
+ cy.get(aliasName)
+ .its("response.body.data.isExecutionSuccess")
+ .should("eq", expectedRes);
+ }
+
public AssertContains(
text: string | RegExp,
exists: "exist" | "not.exist" | "be.visible" = "exist",
diff --git a/app/client/cypress/support/Pages/AutoLayout.ts b/app/client/cypress/support/Pages/AutoLayout.ts
index 0f3010c58188..e2d2399a4ead 100644
--- a/app/client/cypress/support/Pages/AutoLayout.ts
+++ b/app/client/cypress/support/Pages/AutoLayout.ts
@@ -112,8 +112,8 @@ export class AutoLayout {
public VerifyIsAutoLayout() {
this.agHelper.GetNClick(this.locators._selectionCanvas("0"), 0, true);
- cy.get(this.autoConvertButton).should("contain", "fixed layout");
- cy.get(this.flexMainContainer).should("exist");
+ this.agHelper.GetNAssertContains(this.autoConvertButton, "fixed layout");
+ this.agHelper.AssertElementExist(this.flexMainContainer);
}
public VerifyIsFixedLayout() {
@@ -128,7 +128,6 @@ export class AutoLayout {
.siblings(this._flexComponentClass)
.should("exist");
} else {
- this.agHelper.AssertExistingCheckedState;
cy.get(`${this.locators._widgetInCanvas(widgetTypeName)} canvas`)
.siblings(this._flexComponentClass)
.should("exist");
diff --git a/app/client/cypress/support/Pages/DataSources.ts b/app/client/cypress/support/Pages/DataSources.ts
index 1fa208409451..ab98587dff61 100644
--- a/app/client/cypress/support/Pages/DataSources.ts
+++ b/app/client/cypress/support/Pages/DataSources.ts
@@ -253,6 +253,18 @@ export class DataSources {
dsName +
"']/ancestor::div[contains(@class, 't--datasource')]//div[@data-testid='datasource-collapse-wrapper']";
_snippingBanner = ".t--sniping-mode-banner";
+ _s3CrudIcons = (
+ fieldName: string,
+ type: "Edit" | "Delete" | "CopyURL" | "Download",
+ ) =>
+ "//span[text()='" +
+ fieldName +
+ "']/ancestor::div[@type='CANVAS_WIDGET'][1]//div[@data-widgetname-cy='" +
+ type +
+ "Icon']";
+ _s3EditFileName =
+ "[data-widgetname-cy='update_file_name'] div[data-testid='input-container']";
+ _s3MaxFileSizeAlert = "//p[@role='alert']";
public AssertDSEditViewMode(mode: "Edit" | "View") {
if (mode == "Edit") this.agHelper.AssertElementAbsence(this._editButton);
@@ -569,8 +581,10 @@ export class DataSources {
"Please select an option",
"Personal access token",
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Bearer token"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Bearer token") +
+ "//" +
+ this.locator._inputField,
Cypress.env("AIRTABLE_BEARER"),
);
this.agHelper.Sleep();
@@ -613,12 +627,16 @@ export class DataSources {
}
public FillFirestoreDSForm(environment = this.dataManager.defaultEnviorment) {
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Database URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Database URL") +
+ "//" +
+ this.locator._inputField,
this.dataManager.dsValues[environment].firestore_database_url,
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Project Id"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Project Id") +
+ "//" +
+ this.locator._inputField,
this.dataManager.dsValues[environment].firestore_projectID,
);
// cy.fixture("firestore-ServiceAccCreds").then((json: any) => {
@@ -677,8 +695,8 @@ export class DataSources {
) {
this.NavigateToDSCreateNew();
this.CreatePlugIn("Authenticated GraphQL API");
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("URL") + "//" + this.locator._inputField,
this.dataManager.dsValues[environment].GraphqlApiUrl_TED,
);
@@ -926,7 +944,7 @@ export class DataSources {
private AssertRunButtonVisibility() {
this.agHelper.AssertElementVisibility(
- this.locator._spanButton("Run"),
+ this.locator._buttonByText("Run"),
true,
0,
20000,
@@ -1074,7 +1092,7 @@ export class DataSources {
); //For the run to give response
if (toValidateResponse) {
this.agHelper.Sleep();
- this.agHelper.AssertNetworkExecutionSuccess(
+ this.assertHelper.AssertNetworkExecutionSuccess(
"@postExecute",
expectedStatus,
);
@@ -1141,15 +1159,15 @@ export class DataSources {
this.agHelper.AssertAutoSave();
}
- public EnterQuery(query: string, sleep = 500) {
+ public EnterQuery(query: string, sleep = 500, toVerifySave = true) {
this.agHelper.UpdateCodeInput(
this.locator._codeEditorTarget,
query,
"query",
);
- this.agHelper.AssertAutoSave();
+ toVerifySave && this.agHelper.AssertAutoSave();
this.agHelper.Sleep(sleep); //waiting a bit before proceeding!
- cy.wait("@saveAction");
+ this.assertHelper.AssertNetworkStatus("@saveAction", 200);
}
public RunQueryNVerifyResponseViews(
@@ -1448,8 +1466,8 @@ export class DataSources {
}
public FillAuthAPIUrl(environment = this.dataManager.defaultEnviorment) {
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("URL") + "//" + this.locator._inputField,
this.dataManager.dsValues[environment].authenticatedApiUrl,
);
}
@@ -1587,8 +1605,8 @@ export class DataSources {
) {
if (dsName) this.agHelper.RenameWithInPane(dsName, false);
// Fill Auth Form
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("URL") + "//" + this.locator._inputField,
this.dataManager.dsValues[environment].OAuth_ApiUrl,
);
this.agHelper.GetNClick(this._authType);
@@ -1599,30 +1617,40 @@ export class DataSources {
else if (grantType == "AuthCode")
this.agHelper.GetNClick(this._authorizationCode);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Access token URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Access token URL") +
+ "//" +
+ this.locator._inputField,
this.dataManager.dsValues[environment].OAUth_AccessTokenUrl,
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Client ID"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Client ID") +
+ "//" +
+ this.locator._inputField,
clientId,
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Client secret"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Client secret") +
+ "//" +
+ this.locator._inputField,
clientSecret,
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Scope(s)"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Scope(s)") +
+ "//" +
+ this.locator._inputField,
"profile",
);
- this.agHelper.UpdateInput(
- this.locator._inputFieldByName("Authorization URL"),
+ this.agHelper.TypeText(
+ this.locator._inputFieldByName("Authorization URL") +
+ "//" +
+ this.locator._inputField,
this.dataManager.dsValues[environment].OAuth_AuthUrl,
);
}
- public AddSuggestedWidget(widget: Widgets) {
+ public AddSuggestedWidget(widget: Widgets, force = false, index = 0) {
switch (widget) {
case Widgets.Dropdown:
this.agHelper.GetNClick(this._suggestedWidget("SELECT_WIDGET"));
@@ -1631,7 +1659,11 @@ export class DataSources {
);
break;
case Widgets.Table:
- this.agHelper.GetNClick(this._suggestedWidget("TABLE_WIDGET_V2"));
+ this.agHelper.GetNClick(
+ this._suggestedWidget("TABLE_WIDGET_V2"),
+ index,
+ force,
+ );
this.agHelper.AssertElementVisibility(
this.locator._widgetInCanvas(WIDGET.TABLE),
);
diff --git a/app/client/cypress/support/Pages/DebuggerHelper.ts b/app/client/cypress/support/Pages/DebuggerHelper.ts
index 9bfd8b2f172a..6e2aef875b27 100644
--- a/app/client/cypress/support/Pages/DebuggerHelper.ts
+++ b/app/client/cypress/support/Pages/DebuggerHelper.ts
@@ -131,18 +131,11 @@ export class DebuggerHelper {
this.agHelper.AssertSelectedTab(this.locators._debuggerSelectedTab, "true");
}
- DoesConsoleLogExist(
- text: string,
- exists = true,
- index?: number,
- timeout?: number,
- ) {
+ DoesConsoleLogExist(text: string, exists = true) {
this.agHelper.GetNAssertContains(
this.locators._logMessage,
text,
exists ? "exist" : "not.exist",
- index,
- timeout,
);
}
diff --git a/app/client/cypress/support/Pages/DeployModeHelper.ts b/app/client/cypress/support/Pages/DeployModeHelper.ts
index 95e32a84ed24..48a404870253 100644
--- a/app/client/cypress/support/Pages/DeployModeHelper.ts
+++ b/app/client/cypress/support/Pages/DeployModeHelper.ts
@@ -156,16 +156,22 @@ export class DeployMode {
public NavigateBacktoEditor() {
this.assertHelper.AssertDocumentReady();
this.agHelper.GetNClick(this.locator._backToEditor, 0, true);
- this.agHelper.Sleep(2000);
+ this.agHelper.Sleep();
localStorage.setItem("inDeployedMode", "false");
+ //Assert no error toast in Edit mode when navigating back from Deploy mode
this.agHelper.AssertElementAbsence(
this.locator._specificToast("There was an unexpected error"),
- ); //Assert that is not error toast in Edit mode when navigating back from Deploy mode
- this.assertHelper.AssertDocumentReady();
- this.assertHelper.AssertNetworkStatus("@getWorkspace");
+ );
+ this.agHelper.AssertElementAbsence(
+ this.locator._specificToast(
+ "Internal server error while processing request",
+ ),
+ );
cy.window().then((win) => {
win.location.reload();
}); //only reloading edit page to load elements
+ this.assertHelper.AssertDocumentReady();
+ this.assertHelper.AssertNetworkStatus("@getWorkspace");
this.agHelper.AssertElementVisibility(this.locator._editPage); //Assert if canvas is visible after Navigating back!
}
diff --git a/app/client/cypress/support/Pages/GitSync.ts b/app/client/cypress/support/Pages/GitSync.ts
index c54925ce24ee..d78b7b224775 100644
--- a/app/client/cypress/support/Pages/GitSync.ts
+++ b/app/client/cypress/support/Pages/GitSync.ts
@@ -311,7 +311,7 @@ export class GitSync {
this.agHelper.AssertContains(
Cypress.env("MESSAGES").DISCARD_CHANGES_WARNING(),
);
- this.agHelper.ClickButton("Are you sure?", 0, false);
+ this.agHelper.ClickButton("Are you sure?", { waitAfterClick: false });
this.agHelper.AssertContains(
Cypress.env("MESSAGES").DISCARDING_AND_PULLING_CHANGES(),
);
diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts
index 72f303d2e4c0..1d248d41db45 100644
--- a/app/client/cypress/support/Pages/HomePage.ts
+++ b/app/client/cypress/support/Pages/HomePage.ts
@@ -43,7 +43,7 @@ export class HomePage {
_profileMenu = ".t--profile-menu-icon";
private _editProfileMenu = ".t--edit-profile";
private _signout = ".t--sign-out";
- _searchUsersInput = ".search-input";
+ _searchUsersInput = ".search-input input";
private _manageUsers = ".manageUsers";
public _closeBtn = ".ads-v2-modal__content-header-close-button";
@@ -385,7 +385,9 @@ export class HomePage {
this.agHelper.Sleep(2000);
workspaceId && cy.get(this._appContainer).contains(workspaceId);
if (checkForShareButton) {
- cy.xpath(this.locator._spanButton("Share")).first().should("be.visible");
+ cy.xpath(this.locator._buttonByText("Share"))
+ .first()
+ .should("be.visible");
}
}
@@ -430,7 +432,7 @@ export class HomePage {
"response.body.responseMeta.status",
200,
);
- this.agHelper.UpdateInput(this._searchUsersInput, email);
+ this.agHelper.TypeText(this._searchUsersInput, email);
cy.wait(2000);
cy.get(HomePageLocators.DeleteBtn).first().click({ force: true });
cy.get(this._leaveWorkspaceConfirmModal).should("be.visible");
@@ -467,7 +469,7 @@ export class HomePage {
) {
this.OpenMembersPageForWorkspace(workspaceName);
cy.log(workspaceName, email, currentRole);
- this.agHelper.UpdateInput(this._searchUsersInput, email);
+ this.agHelper.TypeText(this._searchUsersInput, email);
cy.get(".search-highlight").should("exist").contains(email);
this.agHelper.Sleep(2000);
cy.xpath(this._userRoleDropDown(currentRole))
diff --git a/app/client/cypress/support/Pages/PropertyPane.ts b/app/client/cypress/support/Pages/PropertyPane.ts
index 221559673707..4f82d0df3051 100644
--- a/app/client/cypress/support/Pages/PropertyPane.ts
+++ b/app/client/cypress/support/Pages/PropertyPane.ts
@@ -191,9 +191,13 @@ export class PropertyPane {
this.entityExplorer.AssertEntityPresenceInExplorer(widgetName + "Copy");
}
+ public DeleteWidgetDirectlyFromPropertyPane() {
+ this.agHelper.GetNClick(this._deleteWidget);
+ }
+
public DeleteWidgetFromPropertyPane(widgetName: string) {
this.entityExplorer.SelectEntityByName(widgetName, "Widgets");
- this.agHelper.GetNClick(this._deleteWidget);
+ this.DeleteWidgetDirectlyFromPropertyPane();
this.agHelper.Sleep(500);
this.entityExplorer.AssertEntityAbsenceInExplorer(widgetName);
}
diff --git a/app/client/cypress/support/widgetCommands.js b/app/client/cypress/support/widgetCommands.js
index 3877f4b348d2..034be7bc62a2 100644
--- a/app/client/cypress/support/widgetCommands.js
+++ b/app/client/cypress/support/widgetCommands.js
@@ -1087,7 +1087,7 @@ Cypress.Commands.add(
Cypress.Commands.add("radioInput", (index, text) => {
cy.get(widgetsPage.RadioInput)
.eq(index)
- .click({ force: true })
+ .focus()
.clear({ force: true })
.type(text)
.wait(200);
|
544c3705e8cf37e2500c17937981b3b803019c05
|
2023-12-11 12:40:40
|
Pawan Kumar
|
chore: Add tag group component (#29387)
| false
|
Add tag group component (#29387)
|
chore
|
diff --git a/app/client/package.json b/app/client/package.json
index 4096081ac021..aae62bec45a9 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -386,7 +386,6 @@
"@blueprintjs/core@^3.47.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch",
"@blueprintjs/icons": "3.22.0",
"@types/react": "^17.0.2",
- "postcss": "8.4.31",
- "@react-types/shared": "3.19.0"
+ "postcss": "8.4.31"
}
}
diff --git a/app/client/packages/design-system/headless/package.json b/app/client/packages/design-system/headless/package.json
index 454b03422e69..bd30928ab9a5 100644
--- a/app/client/packages/design-system/headless/package.json
+++ b/app/client/packages/design-system/headless/package.json
@@ -30,7 +30,7 @@
"@react-types/checkbox": "^3.4.3",
"@react-types/label": "^3.7.3",
"@react-types/menu": "^3.9.5",
- "@react-types/shared": "^3.17.0",
+ "@react-types/shared": "^3.22.0",
"classnames": "*"
},
"peerDependencies": {
diff --git a/app/client/packages/design-system/headless/src/components/Field/HelpText.tsx b/app/client/packages/design-system/headless/src/components/Field/HelpText.tsx
index 6aeea4fd938c..bedc4e7e6889 100644
--- a/app/client/packages/design-system/headless/src/components/Field/HelpText.tsx
+++ b/app/client/packages/design-system/headless/src/components/Field/HelpText.tsx
@@ -1,13 +1,19 @@
import React, { forwardRef } from "react";
import type { HTMLAttributes } from "react";
import { useDOMRef } from "@react-spectrum/utils";
-import type { DOMRef, SpectrumHelpTextProps } from "@react-types/shared";
+import type {
+ DOMRef,
+ SpectrumHelpTextProps,
+ ValidationState,
+} from "@react-types/shared";
interface HelpTextProps extends Omit<SpectrumHelpTextProps, "showErrorIcon"> {
/** Props for the help text description element. */
descriptionProps?: HTMLAttributes<HTMLElement>;
/** Props for the help text error message element. */
errorMessageProps?: HTMLAttributes<HTMLElement>;
+ /** validation state for help text */
+ validationState: ValidationState;
}
function _HelpText(props: HelpTextProps, ref: DOMRef<HTMLDivElement>) {
diff --git a/app/client/packages/design-system/headless/src/components/Field/src/Field.tsx b/app/client/packages/design-system/headless/src/components/Field/src/Field.tsx
index 29433ce57758..17b921e45b09 100644
--- a/app/client/packages/design-system/headless/src/components/Field/src/Field.tsx
+++ b/app/client/packages/design-system/headless/src/components/Field/src/Field.tsx
@@ -4,7 +4,7 @@ import type { SpectrumFieldProps } from "@react-types/label";
import { Label } from "./Label";
import { HelpText } from "./HelpText";
-import type { StyleProps } from "@react-types/shared";
+import type { StyleProps, ValidationState } from "@react-types/shared";
export type FieldProps = Omit<
SpectrumFieldProps,
@@ -13,6 +13,7 @@ export type FieldProps = Omit<
fieldType?: "field" | "field-group";
labelClassName?: string;
helpTextClassName?: string;
+ validationState?: ValidationState;
};
export type FieldRef = Ref<HTMLDivElement>;
@@ -83,7 +84,7 @@ const _Field = (props: FieldProps, ref: FieldRef) => {
<div
{...wrapperProps}
className={wrapperClassName}
- data-disabled={isDisabled ? "" : undefined}
+ data-disabled={Boolean(isDisabled) ? "" : undefined}
data-field=""
data-field-type={fieldType}
ref={ref}
diff --git a/app/client/packages/design-system/headless/src/components/Field/src/HelpText.tsx b/app/client/packages/design-system/headless/src/components/Field/src/HelpText.tsx
index 2c3e723f5a9b..9ad277012028 100644
--- a/app/client/packages/design-system/headless/src/components/Field/src/HelpText.tsx
+++ b/app/client/packages/design-system/headless/src/components/Field/src/HelpText.tsx
@@ -1,7 +1,11 @@
import React, { forwardRef } from "react";
import type { HTMLAttributes } from "react";
import { useDOMRef } from "@react-spectrum/utils";
-import type { DOMRef, SpectrumHelpTextProps } from "@react-types/shared";
+import type {
+ DOMRef,
+ SpectrumHelpTextProps,
+ ValidationState,
+} from "@react-types/shared";
interface HelpTextProps extends Omit<SpectrumHelpTextProps, "showErrorIcon"> {
/** Props for the help text description element. */
@@ -10,6 +14,8 @@ interface HelpTextProps extends Omit<SpectrumHelpTextProps, "showErrorIcon"> {
errorMessageProps?: HTMLAttributes<HTMLElement>;
/** classname */
className?: string;
+ /** validation state for help text */
+ validationState?: ValidationState;
}
function _HelpText(props: HelpTextProps, ref: DOMRef<HTMLDivElement>) {
diff --git a/app/client/packages/design-system/headless/src/components/Switch/Switch.tsx b/app/client/packages/design-system/headless/src/components/Switch/Switch.tsx
index 825b73468f8e..853b5a65df7b 100644
--- a/app/client/packages/design-system/headless/src/components/Switch/Switch.tsx
+++ b/app/client/packages/design-system/headless/src/components/Switch/Switch.tsx
@@ -16,8 +16,8 @@ import type { CheckboxGroupContextType } from "../Checkbox";
export interface SwitchProps
extends Omit<SpectrumSwitchProps, keyof StyleProps>,
- Validation,
- InlineLabelProps {
+ InlineLabelProps,
+ Validation<boolean> {
className?: string;
}
diff --git a/app/client/packages/design-system/headless/src/components/TextArea/src/TextArea.tsx b/app/client/packages/design-system/headless/src/components/TextArea/src/TextArea.tsx
index efe7e7929c17..8b858cd31d6e 100644
--- a/app/client/packages/design-system/headless/src/components/TextArea/src/TextArea.tsx
+++ b/app/client/packages/design-system/headless/src/components/TextArea/src/TextArea.tsx
@@ -21,7 +21,7 @@ function TextArea(props: TextAreaProps, ref: TextAreaRef) {
// not in stately because this is so we know when to re-measure, which is a spectrum design
const [inputValue, setInputValue] = useControlledState(
props.value,
- props.defaultValue,
+ props.defaultValue ?? "",
() => {
//
},
diff --git a/app/client/packages/design-system/widgets/package.json b/app/client/packages/design-system/widgets/package.json
index 0336406b370a..4e53ec3e6430 100644
--- a/app/client/packages/design-system/widgets/package.json
+++ b/app/client/packages/design-system/widgets/package.json
@@ -17,7 +17,8 @@
"@react-aria/visually-hidden": "^3.8.0",
"clsx": "^2.0.0",
"colorjs.io": "^0.4.3",
- "lodash": "*"
+ "lodash": "*",
+ "react-aria-components": "^1.0.0-rc.0"
},
"devDependencies": {
"eslint-plugin-storybook": "^0.6.10"
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/index.ts b/app/client/packages/design-system/widgets/src/components/TagGroup/index.ts
new file mode 100644
index 000000000000..3bd16e178a03
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/index.ts
@@ -0,0 +1 @@
+export * from "./src";
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/src/Tag.tsx b/app/client/packages/design-system/widgets/src/components/TagGroup/src/Tag.tsx
new file mode 100644
index 000000000000..51dc07daa1bd
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/src/Tag.tsx
@@ -0,0 +1,36 @@
+import clsx from "clsx";
+import React from "react";
+import {
+ Tag as HeadlessTag,
+ Button as HeadlessButton,
+} from "react-aria-components";
+import { getTypographyClassName } from "@design-system/theming";
+import type { TagProps as HeadlessTagProps } from "react-aria-components";
+
+import styles from "./styles.module.css";
+import { CloseIcon } from "../../Modal/src/CloseIcon";
+
+function Tag({ children, ...props }: HeadlessTagProps) {
+ const textValue = typeof children === "string" ? children : undefined;
+
+ return (
+ <HeadlessTag
+ textValue={textValue}
+ {...props}
+ className={clsx(styles["tag"], getTypographyClassName("footnote"))}
+ >
+ {({ allowsRemoving }) => (
+ <>
+ <span>{children}</span>
+ {allowsRemoving && (
+ <HeadlessButton slot="remove">
+ <CloseIcon />
+ </HeadlessButton>
+ )}
+ </>
+ )}
+ </HeadlessTag>
+ );
+}
+
+export { Tag };
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/src/TagGroup.tsx b/app/client/packages/design-system/widgets/src/components/TagGroup/src/TagGroup.tsx
new file mode 100644
index 000000000000..dc30e230f4ee
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/src/TagGroup.tsx
@@ -0,0 +1,66 @@
+import React from "react";
+import {
+ Label as HeadlessLabel,
+ TagGroup as HeadlessTagGroup,
+ TagList as HeadlessTagList,
+ Text as HeadlessText,
+} from "react-aria-components";
+import type {
+ TagGroupProps as HeadlessTagGroupProps,
+ TagListProps as HeadlessTagListProps,
+} from "react-aria-components";
+
+import { Text } from "../../Text";
+import styles from "./styles.module.css";
+import { getTypographyClassName } from "@design-system/theming";
+
+interface TagGroupProps<T>
+ extends Omit<HeadlessTagGroupProps, "children">,
+ Pick<HeadlessTagListProps<T>, "items" | "children" | "renderEmptyState"> {
+ label?: string;
+ description?: string;
+ errorMessage?: string;
+}
+
+function TagGroup<T extends object>(props: TagGroupProps<T>) {
+ const {
+ children,
+ description,
+ errorMessage,
+ items,
+ label,
+ renderEmptyState,
+ ...rest
+ } = props;
+
+ return (
+ <HeadlessTagGroup {...rest} className={styles["tag-group"]}>
+ {Boolean(label) && <HeadlessLabel>{<Text>{label}</Text>}</HeadlessLabel>}
+ <HeadlessTagList
+ className={styles["tag-list"]}
+ items={items}
+ renderEmptyState={renderEmptyState}
+ >
+ {children}
+ </HeadlessTagList>
+ {Boolean(description) && (
+ <HeadlessText
+ className={getTypographyClassName("footnote")}
+ slot="description"
+ >
+ {description}
+ </HeadlessText>
+ )}
+ {Boolean(errorMessage) && (
+ <HeadlessText
+ className={getTypographyClassName("footnote")}
+ slot="errorMessage"
+ >
+ {errorMessage}
+ </HeadlessText>
+ )}
+ </HeadlessTagGroup>
+ );
+}
+
+export { TagGroup };
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/src/index.ts b/app/client/packages/design-system/widgets/src/components/TagGroup/src/index.ts
new file mode 100644
index 000000000000..b64b09a9ebd4
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/src/index.ts
@@ -0,0 +1,2 @@
+export { TagGroup } from "./TagGroup";
+export { Tag } from "./Tag";
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css
new file mode 100644
index 000000000000..e43a77f8f332
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css
@@ -0,0 +1,106 @@
+.tag-group {
+ display: flex;
+ flex-direction: column;
+ gap: var(--inner-spacing-2);
+
+ /**
+ * ----------------------------------------------------------------------------
+ * ERROR MESSAGE
+ *-----------------------------------------------------------------------------
+ */
+ [slot="errorMessage"] {
+ color: var(--color-fg-negative);
+ }
+}
+
+.tag-list {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--inner-spacing-2);
+}
+
+.tag {
+ height: var(--sizing-6);
+ color: var(--color-fg);
+ background-color: var(--color-bg-neutral-subtle);
+ border-radius: var(--border-radius-1);
+ padding: 0 var(--inner-spacing-2);
+ outline: none;
+ cursor: default;
+ display: flex;
+ align-items: center;
+ transition: border-color 200ms;
+ overflow: hidden;
+
+ &:has([slot="remove"]) {
+ padding-inline-end: 0;
+ }
+
+ /**
+ * ----------------------------------------------------------------------------
+ * HOVERED
+ *-----------------------------------------------------------------------------
+ */
+ &[data-hovered] {
+ background-color: var(--color-bg-neutral-subtle-hover);
+ }
+
+ &[data-focus-visible] {
+ outline: 2px solid var(--color-bd-focus);
+ outline-offset: 2px;
+ }
+
+ /**
+ * ----------------------------------------------------------------------------
+ * SELECTED TAG
+ *-----------------------------------------------------------------------------
+ */
+ &[data-selected] {
+ border-color: var(--color-bd-neutral);
+ background: var(--color-bg-neutral);
+ color: var(--color-fg-on-neutral);
+ }
+
+ /**
+ * ----------------------------------------------------------------------------
+ * REMOVE BUTTON
+ *-----------------------------------------------------------------------------
+ */
+ [slot="remove"] {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: var(--sizing-6);
+ width: var(--sizing-6);
+ background: none;
+ border: none;
+ padding: 0;
+ margin-inline-start: var(--inner-spacing-1);
+ color: var(--color-fg);
+ transition: color 200ms;
+ outline: none;
+ font-size: 0.95em;
+
+ &[data-hovered] {
+ background: var(--color-bg-neutral-subtle-hover);
+ }
+
+ svg {
+ width: 1em;
+ height: 1em;
+ }
+
+ &[data-hovered] {
+ color: var(--remove-button-color-hovered);
+ }
+ }
+
+ /**
+ * ----------------------------------------------------------------------------
+ * DISABLED TAG
+ *-----------------------------------------------------------------------------
+ */
+ &[data-disabled] {
+ opacity: var(--opacity-disabled);
+ }
+}
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/stories/TagGroup.stories.mdx b/app/client/packages/design-system/widgets/src/components/TagGroup/stories/TagGroup.stories.mdx
new file mode 100644
index 000000000000..8827f3c08b91
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/stories/TagGroup.stories.mdx
@@ -0,0 +1,157 @@
+import { TagGroup, Tag } from "@design-system/widgets";
+import { Canvas, Meta, Story, ArgsTable } from "@storybook/addon-docs";
+
+<Meta
+ title="Design-system/Widgets/TagGroup"
+ component={TagGroup}
+ args={{
+ onRemove: undefined,
+ children: (
+ <>
+ <Tag id="value-1">Value 1</Tag>
+ <Tag id="value-2">Value 2</Tag>
+ <Tag id="value-3">Value 3</Tag>
+ <Tag id="value-4">Value 4</Tag>
+ </>
+ ),
+ }}
+/>
+
+export const Template = (args) => <TagGroup {...args} />;
+
+# Tag Group
+
+Tag Group is a group of checkboxes that can be selected together.
+
+<Canvas>
+ <Story name="Tag Group">{Template.bind({})}</Story>
+</Canvas>
+
+## Props ( Tag Group )
+
+<ArgsTable of={TagGroup} />
+
+## Props ( Tag )
+
+<ArgsTable of={Tag} />
+
+# Single Selection Mode
+
+Tag Group can be configured to allow only one selection at a time with the `selectionMode` prop.
+
+<Canvas>
+ <Story
+ name="Single Selection Mode"
+ args={{
+ selectionMode: "single",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+# Multiple Selection Mode
+
+Tag Group can be configured to allow multiple selections at a time with the `selectionMode` prop with value `multiple`.
+
+<Canvas>
+ <Story
+ name="Multiple Selection Mode"
+ args={{
+ selectionMode: "multiple",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## Removing Tags
+
+Tags can be removed with the `onRemove` prop. The Tag will render a close icon when this prop is provided on the TagGroup.
+
+<Canvas>
+ <Story
+ name="Removing Tags"
+ args={{
+ onRemove: (id) => {
+ console.log(id);
+ },
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## Disabled Tags
+
+Tags can be disabled with the `disabledKeys` prop.
+
+<Canvas>
+ <Story
+ name="Disabled Tags"
+ args={{
+ selectionMode: "multiple",
+ disabledKeys: ["value-2"],
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## Empty State
+
+<Canvas>
+ <Story
+ name="Empty State"
+ args={{
+ renderEmptyState: () => "No categories.",
+ children: undefined,
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## With Label
+
+<Canvas>
+ <Story
+ name="With Label"
+ args={{
+ label: "Categories",
+ selectionMode: "multiple",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## With Description
+
+<Canvas>
+ <Story
+ name="With Description"
+ args={{
+ label: "Categories",
+ description: "Select one or more categories.",
+ selectionMode: "multiple",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+## With Error
+
+<Canvas>
+ <Story
+ name="With Error"
+ args={{
+ label: "Categories",
+ selectionMode: "multiple",
+ errorMessage: "Please select at least one category.",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
diff --git a/app/client/packages/design-system/widgets/src/index.ts b/app/client/packages/design-system/widgets/src/index.ts
index 4c7fc3c0c7d7..792cad86da10 100644
--- a/app/client/packages/design-system/widgets/src/index.ts
+++ b/app/client/packages/design-system/widgets/src/index.ts
@@ -18,6 +18,7 @@ export * from "./components/TextArea";
export * from "./components/Spinner";
export * from "./components/Menu";
export * from "./components/Modal";
+export * from "./components/TagGroup";
export * from "./utils";
export * from "./styles";
diff --git a/app/client/src/pages/workspace/CreateWorkspaceForm.tsx b/app/client/src/pages/workspace/CreateWorkspaceForm.tsx
index e7bd82dc09cd..fc2f27c76a9a 100644
--- a/app/client/src/pages/workspace/CreateWorkspaceForm.tsx
+++ b/app/client/src/pages/workspace/CreateWorkspaceForm.tsx
@@ -42,6 +42,7 @@ export function CreateApplicationForm(
data-testid="create-workspace-form__name"
name="name"
placeholder="Name"
+ // @ts-expect-error Type mismatch
validate={noSpaces}
/>
</FormGroup>
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index c319995b45c3..9e48e5e37ec3 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -2515,11 +2515,11 @@ __metadata:
linkType: hard
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.1, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.1, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.0, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.4.4, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.3, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.7.7, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
- version: 7.21.5
- resolution: "@babel/runtime@npm:7.21.5"
+ version: 7.23.5
+ resolution: "@babel/runtime@npm:7.23.5"
dependencies:
- regenerator-runtime: ^0.13.11
- checksum: 358f2779d3187f5c67ad302e8f8d435412925d0b991d133c7d4a7b1ddd5a3fda1b6f34537cb64628dfd96a27ae46df105bed3895b8d754b88cacdded8d1129dd
+ regenerator-runtime: ^0.14.0
+ checksum: 164d9802424f06908e62d29b8fd3a87db55accf82f46f964ac481dcead11ff7df8391e3696e5fa91a8ca10ea8845bf650acd730fa88cf13f8026cd8d5eec6936
languageName: node
linkType: hard
@@ -2984,7 +2984,7 @@ __metadata:
"@react-types/checkbox": ^3.4.3
"@react-types/label": ^3.7.3
"@react-types/menu": ^3.9.5
- "@react-types/shared": ^3.17.0
+ "@react-types/shared": ^3.22.0
classnames: "*"
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
@@ -3095,6 +3095,7 @@ __metadata:
colorjs.io: ^0.4.3
eslint-plugin-storybook: ^0.6.10
lodash: "*"
+ react-aria-components: ^1.0.0-rc.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
languageName: unknown
@@ -4036,12 +4037,12 @@ __metadata:
languageName: node
linkType: hard
-"@internationalized/number@npm:^3.3.0":
- version: 3.3.0
- resolution: "@internationalized/number@npm:3.3.0"
+"@internationalized/number@npm:^3.4.0":
+ version: 3.4.0
+ resolution: "@internationalized/number@npm:3.4.0"
dependencies:
"@swc/helpers": ^0.5.0
- checksum: 76e5bd0e7713d8010be90b2d3427371a0ee97e34e6d81da2c10587986503be308ab8bfd8f590e1d88977800f5d79f9e2d91e7ac1d6d34006575216027125f302
+ checksum: 238161e726f49a32fd311c5a864b93fd6e7e0f465ce4c54b51558b028a9c24109d66332f48067114d01f3acd1eae4cfa436070013d88db7f1f4f8158c5ddfb9d
languageName: node
linkType: hard
@@ -6550,711 +6551,1612 @@ __metadata:
languageName: node
linkType: hard
-"@react-aria/button@npm:^3.7.0":
- version: 3.7.1
- resolution: "@react-aria/button@npm:3.7.1"
+"@react-aria/breadcrumbs@npm:^3.5.8":
+ version: 3.5.8
+ resolution: "@react-aria/breadcrumbs@npm:3.5.8"
dependencies:
- "@react-aria/focus": ^3.12.0
- "@react-aria/interactions": ^3.15.0
- "@react-aria/utils": ^3.16.0
- "@react-stately/toggle": ^3.5.1
- "@react-types/button": ^3.7.2
- "@react-types/shared": ^3.18.0
- "@swc/helpers": ^0.4.14
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/link": ^3.6.2
+ "@react-aria/utils": ^3.22.0
+ "@react-types/breadcrumbs": ^3.7.2
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 3bf25222748b841262e76385ca3e862f7229bffab714262950a71e32391bb86564d2729777f00f58e511580ae2f5ab0d34951a2186137340b3640f2db7bdb80a
+ checksum: 88524d5ef11f395a0068905a7e5ca2025b98b406f8876950cfd23d4e73decff5721fcdd191ef280b5bcf32b4f2dfcee01cb0e8859061567af685257e9c917e95
languageName: node
linkType: hard
-"@react-aria/checkbox@npm:^3.7.1, @react-aria/checkbox@npm:^3.9.0":
+"@react-aria/button@npm:^3.7.0, @react-aria/button@npm:^3.9.0":
version: 3.9.0
- resolution: "@react-aria/checkbox@npm:3.9.0"
+ resolution: "@react-aria/button@npm:3.9.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/toggle": ^3.7.0
+ "@react-types/button": ^3.9.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 267788203dbbc0a006bfbb4cd02e90c1dd22c6130805dc797f46714d3464c641a77a025eead6cbd1bd150e1b83d9225ba3248af2dbb9aaae8bf06af7e50e1598
+ languageName: node
+ linkType: hard
+
+"@react-aria/calendar@npm:^3.5.3":
+ version: 3.5.3
+ resolution: "@react-aria/calendar@npm:3.5.3"
dependencies:
- "@react-aria/label": ^3.5.1
- "@react-aria/toggle": ^3.6.0
- "@react-aria/utils": ^3.16.0
- "@react-stately/checkbox": ^3.4.1
- "@react-stately/toggle": ^3.5.1
- "@react-types/checkbox": ^3.4.3
- "@react-types/shared": ^3.18.0
- "@swc/helpers": ^0.4.14
+ "@internationalized/date": ^3.5.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/calendar": ^3.4.2
+ "@react-types/button": ^3.9.1
+ "@react-types/calendar": ^3.4.2
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 4251a4d32f16aba0dcae9ad9b821f25daa640707771cbe6a6da44e9d54b68f3e68841832478cdcd351c249f4bf1c735b9ef040ff35e781a2de8cf7a19e1dfff7
+ languageName: node
+ linkType: hard
+
+"@react-aria/checkbox@npm:^3.12.0, @react-aria/checkbox@npm:^3.7.1, @react-aria/checkbox@npm:^3.9.0":
+ version: 3.12.0
+ resolution: "@react-aria/checkbox@npm:3.12.0"
+ dependencies:
+ "@react-aria/form": ^3.0.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/toggle": ^3.9.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/checkbox": ^3.6.0
+ "@react-stately/form": ^3.0.0
+ "@react-stately/toggle": ^3.7.0
+ "@react-types/checkbox": ^3.6.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 37e68e1e4d85546da290e2dd156922e64802caabe319ca1701365cca22157b0c6176780b81e451f871d38c0bf7b67342009c0fce1ca86f48bb858912200591e7
+ languageName: node
+ linkType: hard
+
+"@react-aria/combobox@npm:^3.8.0":
+ version: 3.8.0
+ resolution: "@react-aria/combobox@npm:3.8.0"
+ dependencies:
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/listbox": ^3.11.2
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/menu": ^3.11.2
+ "@react-aria/overlays": ^3.19.0
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/textfield": ^3.13.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/combobox": ^3.8.0
+ "@react-stately/form": ^3.0.0
+ "@react-types/button": ^3.9.1
+ "@react-types/combobox": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: f8876d24aa21309546c520046cc89430397267ba375d5d817e0b5307fb1d731b5101de7d3eeb0a46966af380a5f8c7e9c8d39a4a6dbd3be7bbb76f7b49eee78f
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: a8e9657d9aff3adeefc649096f26025b4aa989b951b367a0de2f52b8d210065fb14f13ed3fdc718ec198c19e5707677f53498ba3a55fd1d554da6626a7506482
languageName: node
linkType: hard
-"@react-aria/focus@npm:^3.10.1, @react-aria/focus@npm:^3.11.0, @react-aria/focus@npm:^3.12.0, @react-aria/focus@npm:^3.12.1, @react-aria/focus@npm:^3.13.0, @react-aria/focus@npm:^3.14.0, @react-aria/focus@npm:^3.14.3":
- version: 3.14.3
- resolution: "@react-aria/focus@npm:3.14.3"
+"@react-aria/datepicker@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-aria/datepicker@npm:3.9.0"
dependencies:
- "@react-aria/interactions": ^3.19.1
- "@react-aria/utils": ^3.21.1
- "@react-types/shared": ^3.21.0
+ "@internationalized/date": ^3.5.0
+ "@internationalized/number": ^3.4.0
+ "@internationalized/string": ^3.1.1
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/form": ^3.0.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/spinbutton": ^3.6.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/datepicker": ^3.9.0
+ "@react-stately/form": ^3.0.0
+ "@react-types/button": ^3.9.1
+ "@react-types/calendar": ^3.4.2
+ "@react-types/datepicker": ^3.7.0
+ "@react-types/dialog": ^3.5.7
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 0a22e7183e2eca50396b3acb67aef8aa284f7e81fd41d40eefd9c3aee425ae36268a630e2fecaaee46e059753b731fb0ad3a2e5d111c86c8cb9117b21b5d8d84
+ languageName: node
+ linkType: hard
+
+"@react-aria/dialog@npm:^3.5.8":
+ version: 3.5.8
+ resolution: "@react-aria/dialog@npm:3.5.8"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/overlays": ^3.19.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/dialog": ^3.5.7
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 605f9be0d7b6f80924e4b1977531193c5ea677053a0039d442bd1d8e335f3dc3973fff7e3ff471c2d58b757b27e9e212a9691114c0ee46446cd4d7ac275d6a14
+ languageName: node
+ linkType: hard
+
+"@react-aria/dnd@npm:^3.5.0":
+ version: 3.5.0
+ resolution: "@react-aria/dnd@npm:3.5.0"
+ dependencies:
+ "@internationalized/string": ^3.1.1
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/overlays": ^3.19.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/dnd": ^3.2.6
+ "@react-types/button": ^3.9.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 7b333671751844bc706ff84e1d0c505b84877da6c9ea61cd702aff346300b0fb3ba5d9d8db30fe27b6bed30364e6898bf79545178197501c2f21f8d1f8f4d234
+ languageName: node
+ linkType: hard
+
+"@react-aria/focus@npm:^3.10.1, @react-aria/focus@npm:^3.11.0, @react-aria/focus@npm:^3.15.0":
+ version: 3.15.0
+ resolution: "@react-aria/focus@npm:3.15.0"
+ dependencies:
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
clsx: ^1.1.1
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 3db33bd8f767d8a9ba06d3eac42c86b146f12691bd0ff72a62e9124674a8e23e7b0cbf9b4fcb6e85d8bc3c35c89b8d6c1739b15e101990ad72bfdc42d4b307af
+ checksum: 28db7975faf3295b91a68ff61e77f02e3fa260a2b1f3376fd3fd52cade8f8c916f1c725d71b2ceddeb29999d4ddcf0e2a22f2ececaa4788f756977677985fc1c
languageName: node
linkType: hard
-"@react-aria/i18n@npm:^3.7.1, @react-aria/i18n@npm:^3.7.2, @react-aria/i18n@npm:^3.8.4":
- version: 3.8.4
- resolution: "@react-aria/i18n@npm:3.8.4"
+"@react-aria/form@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "@react-aria/form@npm:3.0.0"
+ dependencies:
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/form": ^3.0.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 564281ebf9c6157eb65e3611c37ddfbc74999ed4e033b4a9fbb1f96cac7543bbe1b06c3fea2d6d239017ff1a6e591881b311cb460398268b89aef4b831d94f33
+ languageName: node
+ linkType: hard
+
+"@react-aria/grid@npm:^3.8.5":
+ version: 3.8.5
+ resolution: "@react-aria/grid@npm:3.8.5"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/grid": ^3.8.3
+ "@react-stately/selection": ^3.14.1
+ "@react-stately/virtualizer": ^3.6.5
+ "@react-types/checkbox": ^3.6.0
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 22bbe8e9680cb80391ac544f989e1ad76e97201e8063c3d9b34ac21aa072ef2b13df6979aa9837fd4914b9639d87fe46628b5a40261c7c879a33d30251b3a5be
+ languageName: node
+ linkType: hard
+
+"@react-aria/gridlist@npm:^3.7.2":
+ version: 3.7.2
+ resolution: "@react-aria/gridlist@npm:3.7.2"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/grid": ^3.8.5
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/list": ^3.10.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 5844a81fd581474e615ae68146a3d79a666557df4d4482abce3535f682d53680b5c3f827c18bdce5aed97a8bae7c0d77dbe2f5c7af136372b42b5870faf1bcd3
+ languageName: node
+ linkType: hard
+
+"@react-aria/i18n@npm:^3.7.1, @react-aria/i18n@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-aria/i18n@npm:3.9.0"
dependencies:
"@internationalized/date": ^3.5.0
"@internationalized/message": ^3.1.1
- "@internationalized/number": ^3.3.0
+ "@internationalized/number": ^3.4.0
"@internationalized/string": ^3.1.1
- "@react-aria/ssr": ^3.8.0
- "@react-aria/utils": ^3.21.1
- "@react-types/shared": ^3.21.0
+ "@react-aria/ssr": ^3.9.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 6539c6c548fbe4ee22a40acc55018d469c1f72c2160a35006f16d6a920936db63d3b6b9055e1251a8a588c09e6c392b0e1a6a6da1b78dc02ee990e54a365b099
+ checksum: 01d2f712eed47063265ecc9507c3bb6e7f3692f5c94781856400f1750d5470f2682b079c69026b99c1474435bc97672ceec9d51ce79d1bb615e8b4dac067895d
languageName: node
linkType: hard
-"@react-aria/interactions@npm:^3.14.0, @react-aria/interactions@npm:^3.15.0, @react-aria/interactions@npm:^3.15.1, @react-aria/interactions@npm:^3.16.0, @react-aria/interactions@npm:^3.19.1":
- version: 3.19.1
- resolution: "@react-aria/interactions@npm:3.19.1"
+"@react-aria/interactions@npm:^3.14.0, @react-aria/interactions@npm:^3.20.0":
+ version: 3.20.0
+ resolution: "@react-aria/interactions@npm:3.20.0"
dependencies:
- "@react-aria/ssr": ^3.8.0
- "@react-aria/utils": ^3.21.1
- "@react-types/shared": ^3.21.0
+ "@react-aria/ssr": ^3.9.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 7d2b059d2af75e8f847c2c01acf2ae1c7721a206098a2c4d056bb746513c710aaf46951774807e3aa18dee2f8311cb754b838162631d86a00d392216df2e5fcd
+ checksum: 25e1210d1002559f47e7855ac184a969481838cf6c567a6de8f0f86dfffb9aa86c90234ac35d49e5f16b3959fe075dcf8dca28e87f3d0001579005da35258ab1
languageName: node
linkType: hard
-"@react-aria/label@npm:^3.5.1, @react-aria/label@npm:^3.5.2, @react-aria/label@npm:^3.6.1":
- version: 3.6.1
- resolution: "@react-aria/label@npm:3.6.1"
+"@react-aria/label@npm:^3.7.3":
+ version: 3.7.3
+ resolution: "@react-aria/label@npm:3.7.3"
dependencies:
- "@react-aria/utils": ^3.19.0
- "@react-types/label": ^3.7.5
- "@react-types/shared": ^3.19.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 47c57be5e7d25eefaa5fcab7c9591a9d6c399283f5c4755582a4755f67821cd95a0b698c9c48fc7e1e82872b82b27ba500da18e7721c87b70d8f19a3a515c197
+ checksum: c97f6fc3866009c0869a1169539d897b6540ea1ae9268e1fa694b86b3448ec1e4c6c16e320fa92c3df2448e0dd43300af781419cc7da9377400e280826bdac5a
languageName: node
linkType: hard
-"@react-aria/link@npm:^3.3.6":
- version: 3.5.0
- resolution: "@react-aria/link@npm:3.5.0"
+"@react-aria/link@npm:^3.3.6, @react-aria/link@npm:^3.6.2":
+ version: 3.6.2
+ resolution: "@react-aria/link@npm:3.6.2"
dependencies:
- "@react-aria/focus": ^3.12.0
- "@react-aria/interactions": ^3.15.0
- "@react-aria/utils": ^3.16.0
- "@react-types/link": ^3.4.1
- "@react-types/shared": ^3.18.0
- "@swc/helpers": ^0.4.14
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/link": ^3.5.2
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 39e9b514d98e0f8df72b21a687127eaafcbb4131c9eaa254f5a1b02cdf088eacb94fd432ec7e091221e386b20675166b3aaeedb06dbd9ec0a969f97fc4465603
+ checksum: 9c7f4486148772dea59960434d53c8183e076764ce89b374c3f0525c4e07e7f729bd7b6b557af2795d800377df13efa24d6b093b95381df5b9c7f5703bbf787e
languageName: node
linkType: hard
-"@react-aria/menu@npm:^3.11.1":
- version: 3.11.1
- resolution: "@react-aria/menu@npm:3.11.1"
- dependencies:
- "@react-aria/focus": ^3.14.3
- "@react-aria/i18n": ^3.8.4
- "@react-aria/interactions": ^3.19.1
- "@react-aria/overlays": ^3.18.1
- "@react-aria/selection": ^3.17.1
- "@react-aria/utils": ^3.21.1
- "@react-stately/collections": ^3.10.2
- "@react-stately/menu": ^3.5.6
- "@react-stately/tree": ^3.7.3
- "@react-types/button": ^3.9.0
- "@react-types/menu": ^3.9.5
- "@react-types/shared": ^3.21.0
+"@react-aria/listbox@npm:^3.11.2":
+ version: 3.11.2
+ resolution: "@react-aria/listbox@npm:3.11.2"
+ dependencies:
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/list": ^3.10.1
+ "@react-types/listbox": ^3.4.6
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 330a9c09b53e870fb5c79d73ebd2595b0237a794ad445ff11601da48c7a8379427aedffc1f45046e98e01aa1188227e54714eba2103cf86b61bce3ac2c96503f
+ checksum: 25e6e132297c7d836f77fc1b7e9597fcd3dbda22fed292f7dc5d7dc69e47f7a5662fc2aaa1b6723512f5a24c8b1f9ae1a87110a390796a2d1402f3baf2e49ebe
languageName: node
linkType: hard
-"@react-aria/overlays@npm:^3.18.1":
- version: 3.18.1
- resolution: "@react-aria/overlays@npm:3.18.1"
+"@react-aria/live-announcer@npm:^3.3.1":
+ version: 3.3.1
+ resolution: "@react-aria/live-announcer@npm:3.3.1"
dependencies:
- "@react-aria/focus": ^3.14.3
- "@react-aria/i18n": ^3.8.4
- "@react-aria/interactions": ^3.19.1
- "@react-aria/ssr": ^3.8.0
- "@react-aria/utils": ^3.21.1
- "@react-aria/visually-hidden": ^3.8.6
- "@react-stately/overlays": ^3.6.3
- "@react-types/button": ^3.9.0
- "@react-types/overlays": ^3.8.3
- "@react-types/shared": ^3.21.0
+ "@swc/helpers": ^0.5.0
+ checksum: df4e161247c87038eabf3f623a3ce18ef486f6c8a3e136b9c91bf3585312f48759cbd5d8ba6d0236231ee3070343798b9865a15a07afd9dabebafc0249a1fda7
+ languageName: node
+ linkType: hard
+
+"@react-aria/menu@npm:^3.11.1, @react-aria/menu@npm:^3.11.2":
+ version: 3.11.2
+ resolution: "@react-aria/menu@npm:3.11.2"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/overlays": ^3.19.0
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/menu": ^3.5.7
+ "@react-stately/tree": ^3.7.4
+ "@react-types/button": ^3.9.1
+ "@react-types/menu": ^3.9.6
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: d8169db1de37cf5b5301666a853bd98f841237075650d35ed22b813f72742f6e4b893fc8084ab10290b00608f36492b75b5915ca1360654ec06121b9768aa6b2
+ checksum: f2c3ee4077bd606dc4594ea1c107e3392745bb18c2639f95ab0a2e5120fe8eded473fa794908aebdbd4af708ce270646b0d19fb501a9f8a915b2cd11baa14cd0
languageName: node
linkType: hard
-"@react-aria/radio@npm:^3.4.2, @react-aria/radio@npm:^3.6.1":
- version: 3.6.1
- resolution: "@react-aria/radio@npm:3.6.1"
+"@react-aria/meter@npm:^3.4.8":
+ version: 3.4.8
+ resolution: "@react-aria/meter@npm:3.4.8"
dependencies:
- "@react-aria/focus": ^3.12.1
- "@react-aria/i18n": ^3.7.2
- "@react-aria/interactions": ^3.15.1
- "@react-aria/label": ^3.5.2
- "@react-aria/utils": ^3.17.0
- "@react-stately/radio": ^3.8.1
- "@react-types/radio": ^3.4.2
- "@react-types/shared": ^3.18.1
- "@swc/helpers": ^0.4.14
+ "@react-aria/progress": ^3.4.8
+ "@react-types/meter": ^3.3.6
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: af65570651865ca0cf2f580ac5eb7a9b139d4a31f16f79517060468733b84f9c899429606b206890f5aecfeb7b50d139e2aaec7326a543448cb107e1bb164e26
+ checksum: 83cc0de9ecad491e562120e3655909c65c0bd0a8e48555fa555964a3b7d5a5d1ce8753dd622ed1df00d78705e831b503d8dbb41e942f0ed745dbc38306266a2f
languageName: node
linkType: hard
-"@react-aria/selection@npm:^3.17.1":
- version: 3.17.1
- resolution: "@react-aria/selection@npm:3.17.1"
+"@react-aria/numberfield@npm:^3.10.0":
+ version: 3.10.0
+ resolution: "@react-aria/numberfield@npm:3.10.0"
dependencies:
- "@react-aria/focus": ^3.14.3
- "@react-aria/i18n": ^3.8.4
- "@react-aria/interactions": ^3.19.1
- "@react-aria/utils": ^3.21.1
- "@react-stately/collections": ^3.10.2
- "@react-stately/selection": ^3.14.0
- "@react-types/shared": ^3.21.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/spinbutton": ^3.6.0
+ "@react-aria/textfield": ^3.13.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/form": ^3.0.0
+ "@react-stately/numberfield": ^3.7.0
+ "@react-types/button": ^3.9.1
+ "@react-types/numberfield": ^3.7.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 124ab12edcd3712dc581566c73946a5c46735fd32e37d3ace5c2351bc7876a423141943661041ee6a6f198098a1a7a4d67491e560c9b0a132bc81e351c252c56
+ checksum: 1103ac17384e3fed94c440388efb655478b3f4cd66691b76e54e2fe9e85b4b7d17e5681422fe191858ca7463dd8462924f08bfa9428a09a4000c2f233de5a2dd
languageName: node
linkType: hard
-"@react-aria/ssr@npm:^3.6.0, @react-aria/ssr@npm:^3.8.0":
- version: 3.8.0
- resolution: "@react-aria/ssr@npm:3.8.0"
+"@react-aria/overlays@npm:^3.19.0":
+ version: 3.19.0
+ resolution: "@react-aria/overlays@npm:3.19.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/ssr": ^3.9.0
+ "@react-aria/utils": ^3.22.0
+ "@react-aria/visually-hidden": ^3.8.7
+ "@react-stately/overlays": ^3.6.4
+ "@react-types/button": ^3.9.1
+ "@react-types/overlays": ^3.8.4
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 53712ecdf4833378b3a2ea787d768717aac29dec93fe997fea0974fab769bff7d2d6ad228a2a25fbad75d906445e7fa755e778a63f367f71524a3a8634bbdb7a
+ languageName: node
+ linkType: hard
+
+"@react-aria/progress@npm:^3.4.8":
+ version: 3.4.8
+ resolution: "@react-aria/progress@npm:3.4.8"
+ dependencies:
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/utils": ^3.22.0
+ "@react-types/progress": ^3.5.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: fdd30e055d95f3516301609768ab34f24dca06139e55a7ce3d38b11ed1d751d608f7d451b4dd9fa0b588edb8ba4ab5fc9a7a99866c5d27b6ae6d4247a8659a9f
+ languageName: node
+ linkType: hard
+
+"@react-aria/radio@npm:^3.4.2, @react-aria/radio@npm:^3.6.1, @react-aria/radio@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-aria/radio@npm:3.9.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/form": ^3.0.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/radio": ^3.10.0
+ "@react-types/radio": ^3.6.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: b226ce81e4d624a1f298768cd1e0ee48fed45489d623230e260337bb82afeeea6d84b2f15a9ac92c47809b11ad402ae195b2a7203d26442fcd798c88cfd7334d
+ languageName: node
+ linkType: hard
+
+"@react-aria/searchfield@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-aria/searchfield@npm:3.6.0"
+ dependencies:
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/textfield": ^3.13.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/searchfield": ^3.5.0
+ "@react-types/button": ^3.9.1
+ "@react-types/searchfield": ^3.5.2
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 34b9ce337afb9a764c55fb74abde09ee64ace42198565aae6c7b8dc295e5b91b8288f4a6ce7358ea338fce8b4f7570fb355379dda07fd6d19ba5edc471de2d4a
+ languageName: node
+ linkType: hard
+
+"@react-aria/select@npm:^3.14.0":
+ version: 3.14.0
+ resolution: "@react-aria/select@npm:3.14.0"
+ dependencies:
+ "@react-aria/form": ^3.0.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/listbox": ^3.11.2
+ "@react-aria/menu": ^3.11.2
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-aria/visually-hidden": ^3.8.7
+ "@react-stately/select": ^3.6.0
+ "@react-types/button": ^3.9.1
+ "@react-types/select": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 81da775a41c3cb2ad92e49b939aa60cfb144cea2ef968ee5e5a4843f3c839c9c04616cd552def08b98305da91f224a65c95630aecbd2baa384961f0d1f3cee11
+ languageName: node
+ linkType: hard
+
+"@react-aria/selection@npm:^3.17.2":
+ version: 3.17.2
+ resolution: "@react-aria/selection@npm:3.17.2"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/selection": ^3.14.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: b707a07f095904884916ba68b9517e5c2754f3408d8a16e9d9c20aed412db9e39a8012b48867dd3a751e715e61c86d56d93c7c7bbf9bfc897d2c22a20faa6f5f
+ languageName: node
+ linkType: hard
+
+"@react-aria/separator@npm:^3.3.8":
+ version: 3.3.8
+ resolution: "@react-aria/separator@npm:3.3.8"
+ dependencies:
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 0363c206b58c2e046e4154f1a96fe419ab98a9dd6e6e8bc87b978a9aaad731d37d0dc4830d52ef114767da0af2de88e0d7db76e977fa97551bee079a7092e444
+ languageName: node
+ linkType: hard
+
+"@react-aria/slider@npm:^3.7.3":
+ version: 3.7.3
+ resolution: "@react-aria/slider@npm:3.7.3"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/slider": ^3.4.5
+ "@react-types/shared": ^3.22.0
+ "@react-types/slider": ^3.7.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 216d47eca70c25450123a4d72574dcbd21528db3c523dbf1c34d07663246e17de2586c92133cb81bdfa0068cec74bafe7b82a43344d0ff8977901c537ced729f
+ languageName: node
+ linkType: hard
+
+"@react-aria/spinbutton@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-aria/spinbutton@npm:3.6.0"
+ dependencies:
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/utils": ^3.22.0
+ "@react-types/button": ^3.9.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 341f14e0aebb89d96aa0dbcf4cc909a85d6242f86bde01141fba1ea073e58e55ff0f2c0644292c1dc66884cd56609fa6fd531a33d8856271a35e57b067b9422d
+ languageName: node
+ linkType: hard
+
+"@react-aria/ssr@npm:^3.6.0, @react-aria/ssr@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-aria/ssr@npm:3.9.0"
+ dependencies:
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 7b708494e7c59c4cda8c21f8580d989e7758e854b043d597a0513ee2b08c86e9b877d9f6d5eea9df758bf1b1abdb5adfcba1871e38578ecdf1fe561980addda9
+ languageName: node
+ linkType: hard
+
+"@react-aria/switch@npm:^3.3.1, @react-aria/switch@npm:^3.5.2, @react-aria/switch@npm:^3.5.7":
+ version: 3.5.7
+ resolution: "@react-aria/switch@npm:3.5.7"
+ dependencies:
+ "@react-aria/toggle": ^3.9.0
+ "@react-stately/toggle": ^3.7.0
+ "@react-types/switch": ^3.5.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 4b39d6a71229da2a190ecaa5c1624c5eac38bd1a2eec57062f0e51c5aa69e41813492ede5db1580ae6df86d8ec084eafd8cdda1940898756bc61d4b2feddcb49
+ languageName: node
+ linkType: hard
+
+"@react-aria/table@npm:^3.13.2":
+ version: 3.13.2
+ resolution: "@react-aria/table@npm:3.13.2"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/grid": ^3.8.5
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/live-announcer": ^3.3.1
+ "@react-aria/utils": ^3.22.0
+ "@react-aria/visually-hidden": ^3.8.7
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/flags": ^3.0.0
+ "@react-stately/table": ^3.11.3
+ "@react-stately/virtualizer": ^3.6.5
+ "@react-types/checkbox": ^3.6.0
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
+ "@react-types/table": ^3.9.1
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 2b5134445601220f18aa0953310bed8b058eaaa9789a55b14c9dd28acd68ecd6f23a780e46befa631eda5aeb0a584000d44b9b5b92dc6d8faa792d38585804b5
+ languageName: node
+ linkType: hard
+
+"@react-aria/tabs@npm:^3.8.2":
+ version: 3.8.2
+ resolution: "@react-aria/tabs@npm:3.8.2"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/tabs": ^3.6.2
+ "@react-types/shared": ^3.22.0
+ "@react-types/tabs": ^3.3.4
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 68ced36bb3ee801531129f9ac27f4f6aaf37a80ec5c8990131911a14e3f34cb6e09c7d7e11a7d19573b02510fbcbd79e35487f68809220c77e4b0e91caa643ec
+ languageName: node
+ linkType: hard
+
+"@react-aria/tag@npm:^3.3.0":
+ version: 3.3.0
+ resolution: "@react-aria/tag@npm:3.3.0"
+ dependencies:
+ "@react-aria/gridlist": ^3.7.2
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/list": ^3.10.1
+ "@react-types/button": ^3.9.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 4063b07715e35ea97c4eaaaa7f552463e8ce9b46012c1b7162a49710582095d5dedee3df790f3076a02b1d3b2f479d62f6975feb4f160a922d257bd04c6bfe04
+ languageName: node
+ linkType: hard
+
+"@react-aria/textfield@npm:^3.11.0, @react-aria/textfield@npm:^3.13.0, @react-aria/textfield@npm:^3.8.1":
+ version: 3.13.0
+ resolution: "@react-aria/textfield@npm:3.13.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/form": ^3.0.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/form": ^3.0.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@react-types/textfield": ^3.9.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: ed41dd6a420ffe18f169e3370286b6f210c6986a73f32c3a525951631bcbba0165b9bd16e1a5f872d53a674fd3a8e5f1aedf967fb9b0371cfdf6d09579ea2d01
+ languageName: node
+ linkType: hard
+
+"@react-aria/toggle@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-aria/toggle@npm:3.9.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/toggle": ^3.7.0
+ "@react-types/checkbox": ^3.6.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: a6c3ca65d24f93d5fc38a6e2a74115bdc669daf866dab9001a0428989a01e81770e4a815c249c9465b1969c5026ae7b1efa6e6a8df1cb6236c22eda0d94e4599
+ languageName: node
+ linkType: hard
+
+"@react-aria/toolbar@npm:3.0.0-beta.0":
+ version: 3.0.0-beta.0
+ resolution: "@react-aria/toolbar@npm:3.0.0-beta.0"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: ebceb9c94652807ae293a51cf2126aed240c5d7cd6e869cdf24fc96d2949c41d6f1266a70b78d71555ffc51f9797a2cbc53b936c4b620b1ef92830c62e9f4a08
+ languageName: node
+ linkType: hard
+
+"@react-aria/tooltip@npm:^3.6.5":
+ version: 3.6.5
+ resolution: "@react-aria/tooltip@npm:3.6.5"
+ dependencies:
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/tooltip": ^3.4.6
+ "@react-types/shared": ^3.22.0
+ "@react-types/tooltip": ^3.4.6
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 6f65a5889e5a59257c8740f2877ab9b2f3e882881aa55a24fe14fdfd1eaa50828dc54c238275d638c2c74453a564cd27b04b077450297de56435913f8f90321d
+ languageName: node
+ linkType: hard
+
+"@react-aria/utils@npm:^3.16.0, @react-aria/utils@npm:^3.22.0":
+ version: 3.22.0
+ resolution: "@react-aria/utils@npm:3.22.0"
+ dependencies:
+ "@react-aria/ssr": ^3.9.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ clsx: ^1.1.1
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 4ed769920d76eac437dbf31a09ac597bddbcf1f47f6c74336d1e19acbf2fda9a9e4bf00fe0da789512604dddb0ea16599dc9da49a58b74de3a8d7b72015dd787
+ languageName: node
+ linkType: hard
+
+"@react-aria/visually-hidden@npm:^3.8.0, @react-aria/visually-hidden@npm:^3.8.7":
+ version: 3.8.7
+ resolution: "@react-aria/visually-hidden@npm:3.8.7"
+ dependencies:
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 72cc9e6614bf424c1af298fa3e8dbd79400bb8290d37e5d278de2df4cd54417ee9a00fb69295727dad187bd1b7cb3e893e82be023c3a4f0f2accf698f5002b82
+ languageName: node
+ linkType: hard
+
+"@react-hook/debounce@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "@react-hook/debounce@npm:4.0.0"
+ dependencies:
+ "@react-hook/latest": ^1.0.2
+ peerDependencies:
+ react: ">=16.8"
+ checksum: 199f944fd905b6cbeb0665e94ce49805f6a0a6f758f35862d784b87dd5c52760dcf2ce9a66abc5698f5b1418be387df5452a703812e9362d1dda0f9718a5d01d
+ languageName: node
+ linkType: hard
+
+"@react-hook/latest@npm:^1.0.2":
+ version: 1.0.3
+ resolution: "@react-hook/latest@npm:1.0.3"
+ peerDependencies:
+ react: ">=16.8"
+ checksum: 2408c9cd35c5cfa7697b6da3bc5eebef254a932ade70955074c474f23be7dd3e2f81bbba12edcc9208bd0f89c6ed366d6b11d4f6d7b1052877a0bac8f74afad4
+ languageName: node
+ linkType: hard
+
+"@react-hook/passive-layout-effect@npm:^1.2.0":
+ version: 1.2.1
+ resolution: "@react-hook/passive-layout-effect@npm:1.2.1"
+ peerDependencies:
+ react: ">=16.8"
+ checksum: 217cb8aa90fb8e677672319a9a466d7752890cf4357c76df000b207696e9cc717cf2ee88080671cc9dae238a82f92093ab4f61ab2f6032d2a8db958fc7d99b5d
+ languageName: node
+ linkType: hard
+
+"@react-hook/resize-observer@npm:^1.2.6":
+ version: 1.2.6
+ resolution: "@react-hook/resize-observer@npm:1.2.6"
+ dependencies:
+ "@juggle/resize-observer": ^3.3.1
+ "@react-hook/latest": ^1.0.2
+ "@react-hook/passive-layout-effect": ^1.2.0
+ peerDependencies:
+ react: ">=16.8"
+ checksum: d2ff6c50e847514acad774f2a4010fb1e6782a231ae00c9507c1a98028b3a26399e35f094170918f11b1eeafc581d60da7641bc178d496abf00c56eee8a6b36b
+ languageName: node
+ linkType: hard
+
+"@react-spectrum/utils@npm:^3.9.0":
+ version: 3.9.1
+ resolution: "@react-spectrum/utils@npm:3.9.1"
+ dependencies:
+ "@react-aria/i18n": ^3.7.1
+ "@react-aria/ssr": ^3.6.0
+ "@react-aria/utils": ^3.16.0
+ "@react-types/shared": ^3.18.0
+ "@swc/helpers": ^0.4.14
+ clsx: ^1.1.1
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: e50920524f56b5da385d7f563468bd5019e7972f911383c4628b624fabb03e0e9a08db456daa691c85197fa07aeb3389d31263e22a2441df9e5270553eebfbeb
+ languageName: node
+ linkType: hard
+
+"@react-spring/animated@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/animated@npm:9.4.1"
+ dependencies:
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ checksum: 0d5afc2cbaf22ce24da5d4ab7631855dbcf9c368e91b65c27ea2cb0116fb9d7dc7f7644ed2de46c02d7448c8a93e47b223cdaa9aca96454b813d94f156dbcd60
+ languageName: node
+ linkType: hard
+
+"@react-spring/core@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/core@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/rafz": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ checksum: a7e58bf93c6eeac98ada38b49a369d0fe86c21635ce9bcffe375eaa67fcae4ecdd5252e11f45c6173e73ed43cfdb741921f31d4e6e5fb720ec8cd8a1f8ee5332
+ languageName: node
+ linkType: hard
+
+"@react-spring/konva@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/konva@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/core": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ konva: ">=2.6"
+ react: ^16.8.0 || ^17.0.0
+ react-konva: ^16.8.0 || ^17.0.0
+ checksum: a657c447310e54f427f2b561a4ecfd60fa1fba21d65512cfb9ad16c643719b8d1ca2d975c7eaf24605e84ce9582dc65cc9e3222fed5cd4f9793f902fea1c94d7
+ languageName: node
+ linkType: hard
+
+"@react-spring/native@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/native@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/core": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ react-native: ">=0.58"
+ checksum: 56ae513547e75c6b9265288e1443acb1f84e7cd2284993aa64069045961b325b354152cbff0b802e80f2807dc300aaf88e74bca26b7e4cff032296073ba8eac3
+ languageName: node
+ linkType: hard
+
+"@react-spring/rafz@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/rafz@npm:9.4.1"
+ checksum: 73ac627c700ef16316eab3457bf2c55359a62ca4b67380a45b23eedf76f8d79aac7c92d257a0c685759e795b33fc355ef42dc2aabba53769dedbff7a604cacec
+ languageName: node
+ linkType: hard
+
+"@react-spring/shared@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/shared@npm:9.4.1"
+ dependencies:
+ "@react-spring/rafz": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ checksum: 3356cb6e1e61674aca38196651998483d4897d1cd6a072c8f1929f9307a6af756e99f5f46e178aa4f571d7667a865cf4ed2133991239330925f25e281fe2ebb6
+ languageName: node
+ linkType: hard
+
+"@react-spring/three@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/three@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/core": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ "@react-three/fiber": ">=6.0"
+ react: ">=16.11"
+ three: ">=0.126"
+ checksum: f659cf6d75458b054291c29c8764cc0ec90234d8b46baba7a2ba290c5c3570d2d96c6c29699a8fce567c8defd93a88df7d641c774c092e822a4a856682628f2d
+ languageName: node
+ linkType: hard
+
+"@react-spring/types@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/types@npm:9.4.1"
+ checksum: 67ab4a284a4bbce6c1bc19d426c0f81ee45044c2cf1d42912f100dd0a4140ceb4e4b38e602c99e2366c2742d0cce96b19a27ce5c316f30550a0f90bd180224af
+ languageName: node
+ linkType: hard
+
+"@react-spring/web@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/web@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/core": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ react-dom: ^16.8.0 || ^17.0.0
+ checksum: d53916ca693208178a206bc69d2c665f04578b7166ca84f15c72fa694862292f98ad0f592a24eb75f92832e2ff4d5e7abb5d0a763440474d32c1f5e7b72922b6
+ languageName: node
+ linkType: hard
+
+"@react-spring/zdog@npm:~9.4.0":
+ version: 9.4.1
+ resolution: "@react-spring/zdog@npm:9.4.1"
+ dependencies:
+ "@react-spring/animated": ~9.4.0
+ "@react-spring/core": ~9.4.0
+ "@react-spring/shared": ~9.4.0
+ "@react-spring/types": ~9.4.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0
+ react-dom: ^16.8.0 || ^17.0.0
+ react-zdog: ">=1.0"
+ zdog: ">=1.0"
+ checksum: 0e28d7cd6bf838cce5e3404321853c6b1dc3c37b29705cbcba3fb95beee6d654bd50354f9fb6df40aef0c246f58b1852da55b310960bf9367df6a20e677d4426
+ languageName: node
+ linkType: hard
+
+"@react-stately/calendar@npm:^3.4.2":
+ version: 3.4.2
+ resolution: "@react-stately/calendar@npm:3.4.2"
+ dependencies:
+ "@internationalized/date": ^3.5.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/calendar": ^3.4.2
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: a663e12e8c05ca07fefa9e49bde27c0b42dcce380c989e0a0fd2d4b7edf3768ecc68fd213aa86c3a176222bc09db7eaa2ea483d5f085478ed47b1efdb36ac337
+ languageName: node
+ linkType: hard
+
+"@react-stately/checkbox@npm:^3.4.1, @react-stately/checkbox@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-stately/checkbox@npm:3.6.0"
+ dependencies:
+ "@react-stately/form": ^3.0.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/checkbox": ^3.6.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: f8dbe86094e47965556be2228e0c376edc70c198233ff4d2e1d29bdf55122b49231d318fa8e720b167336b65a12b2233d8be3409fb5cc7ded7aa3f4f7a3a26bd
+ languageName: node
+ linkType: hard
+
+"@react-stately/collections@npm:^3.10.2, @react-stately/collections@npm:^3.10.3":
+ version: 3.10.3
+ resolution: "@react-stately/collections@npm:3.10.3"
+ dependencies:
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: f1c9732b67c90f1a5035c696d4326ef3710a8cbbfd3d6c64d88080c77d6e785d5de1484a9507f5bf9dcad2bd5ba25682899cd6376b2554b9210004d359f8d739
+ languageName: node
+ linkType: hard
+
+"@react-stately/combobox@npm:^3.8.0":
+ version: 3.8.0
+ resolution: "@react-stately/combobox@npm:3.8.0"
+ dependencies:
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/form": ^3.0.0
+ "@react-stately/list": ^3.10.1
+ "@react-stately/menu": ^3.5.7
+ "@react-stately/select": ^3.6.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/combobox": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: d13206b9d78348f9289a128b3674ada7c01b6dc182b8b28da5ab8cb902f843e46e5600dbe0ed190830733abafe06bf5909a76f1065c9b2e832cc93e9165787c7
+ languageName: node
+ linkType: hard
+
+"@react-stately/data@npm:^3.11.0":
+ version: 3.11.0
+ resolution: "@react-stately/data@npm:3.11.0"
+ dependencies:
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: ceb39351deb68269a7ed343c2a99a613650d994bb07003fc145d3f96dc1af254173a03ac4a9bdf954d4ec0a311d10d2bfe2ae6d27352c1446b647a26548b514b
+ languageName: node
+ linkType: hard
+
+"@react-stately/datepicker@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-stately/datepicker@npm:3.9.0"
+ dependencies:
+ "@internationalized/date": ^3.5.0
+ "@internationalized/string": ^3.1.1
+ "@react-stately/form": ^3.0.0
+ "@react-stately/overlays": ^3.6.4
+ "@react-stately/utils": ^3.9.0
+ "@react-types/datepicker": ^3.7.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 9efa816f514d041bb3ac5505c4d2e04399942d1556f0ffae0992ec3b420c82cbfb53586cece85775fa3faed3ae949117e9f1e25730dc5bc89f6524bb6bdf6857
+ languageName: node
+ linkType: hard
+
+"@react-stately/dnd@npm:^3.2.6":
+ version: 3.2.6
+ resolution: "@react-stately/dnd@npm:3.2.6"
+ dependencies:
+ "@react-stately/selection": ^3.14.1
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: a39751e138a3c9a85b8d58ff50c69341c258cbc934d4cb8e620687b52ddd9c8e7a60612c1224af643f26dcbf83f81e18c856ac454868bdca6da2624cfa4b6550
+ languageName: node
+ linkType: hard
+
+"@react-stately/flags@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "@react-stately/flags@npm:3.0.0"
+ dependencies:
+ "@swc/helpers": ^0.4.14
+ checksum: 7bf5c08707d939a62d5739d2933e4057bc3f3587709521584000248dbdfb268423927eec4ee84a005197f6c8da54d8036d4eda094e50b930166f1dc5ac4be2ce
+ languageName: node
+ linkType: hard
+
+"@react-stately/form@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "@react-stately/form@npm:3.0.0"
+ dependencies:
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: cd0866ab6a87b00fc7986537da02c6857b5b08c9f01a9e91d4bd8372254fbfc8f8c7ca226582a833d347e7f0934a0ee61c6b52779901977846abe623c97b3791
+ languageName: node
+ linkType: hard
+
+"@react-stately/grid@npm:^3.8.3":
+ version: 3.8.3
+ resolution: "@react-stately/grid@npm:3.8.3"
+ dependencies:
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/selection": ^3.14.1
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 7870791a69ad387164729efc8fbb32c83519259482fb8ffa11ca59bb51e7388ac579110c378efb13c1589a3be61eb0021dd0095f0f34c83d70117945e82ff3fb
+ languageName: node
+ linkType: hard
+
+"@react-stately/list@npm:^3.10.1":
+ version: 3.10.1
+ resolution: "@react-stately/list@npm:3.10.1"
+ dependencies:
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/selection": ^3.14.1
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 57908e73fb498c0f490992e2f92ee5f314ef805dcc0699805a83bf6212efc7fad672210a01a6407424e82fea50ce136352d4e8561c688e1cf3d1048f722c2a08
+ languageName: node
+ linkType: hard
+
+"@react-stately/menu@npm:^3.5.6, @react-stately/menu@npm:^3.5.7":
+ version: 3.5.7
+ resolution: "@react-stately/menu@npm:3.5.7"
+ dependencies:
+ "@react-stately/overlays": ^3.6.4
+ "@react-types/menu": ^3.9.6
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: efb47a115d52e05a1ad7bb934ad6062e32e67072f5173a513ccc9817c87ccc2534df13cd614531ff72d5590fa541fb6014dcde400a7bd5ce4acc4d22c5035107
+ languageName: node
+ linkType: hard
+
+"@react-stately/numberfield@npm:^3.7.0":
+ version: 3.7.0
+ resolution: "@react-stately/numberfield@npm:3.7.0"
+ dependencies:
+ "@internationalized/number": ^3.4.0
+ "@react-stately/form": ^3.0.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/numberfield": ^3.7.0
+ "@swc/helpers": ^0.5.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 4943f569056f0b1668d7f4c7a2162ed2f86fbbf335756420c2684c2143372ff10c8039e663d7fdb78500cafd55154d3098a8242f783136335c2432f333a927bf
+ languageName: node
+ linkType: hard
+
+"@react-stately/overlays@npm:^3.6.4":
+ version: 3.6.4
+ resolution: "@react-stately/overlays@npm:3.6.4"
dependencies:
+ "@react-stately/utils": ^3.9.0
+ "@react-types/overlays": ^3.8.4
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: bdcd16da76d9af75dab0c44907963d9367562bc3261c6871a8ee15754e92f929dcd886e5553e08d6193ddb174d78382c10fb7b9b8c7b0cf470bc18c2ed34b106
+ checksum: 39a3a6543449cfecf341b514a07c90e0ee796b0e67672807517ce64e2452af6151e343f2141f7f219400ccd17d4e6e7f8fb5094e3a224ab8381be0e6a7f5dde1
languageName: node
linkType: hard
-"@react-aria/switch@npm:^3.3.1, @react-aria/switch@npm:^3.5.2":
- version: 3.5.2
- resolution: "@react-aria/switch@npm:3.5.2"
+"@react-stately/radio@npm:^3.10.0, @react-stately/radio@npm:^3.6.2, @react-stately/radio@npm:^3.8.1":
+ version: 3.10.0
+ resolution: "@react-stately/radio@npm:3.10.0"
dependencies:
- "@react-aria/toggle": ^3.6.2
- "@react-stately/toggle": ^3.6.0
- "@react-types/switch": ^3.3.2
+ "@react-stately/form": ^3.0.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/radio": ^3.6.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 36136ddc45bfaf3dd52278372188438e66c74c6e17f7108f8cace8410190b53d2a78288b731203e20242735f03e494488b8ab53c1f455a7abc4118c39ac05648
+ checksum: 43f2fad6bc605b83c83b560123fa4bf22480c251392a98807eaff36eb9164a05a1d0238c6673b68a25521a8693e133f6953849e57213ce275bbd373ede24344f
languageName: node
linkType: hard
-"@react-aria/textfield@npm:^3.11.0, @react-aria/textfield@npm:^3.8.1":
- version: 3.11.0
- resolution: "@react-aria/textfield@npm:3.11.0"
+"@react-stately/searchfield@npm:^3.5.0":
+ version: 3.5.0
+ resolution: "@react-stately/searchfield@npm:3.5.0"
dependencies:
- "@react-aria/focus": ^3.14.0
- "@react-aria/label": ^3.6.1
- "@react-aria/utils": ^3.19.0
- "@react-types/shared": ^3.19.0
- "@react-types/textfield": ^3.7.3
+ "@react-stately/utils": ^3.9.0
+ "@react-types/searchfield": ^3.5.2
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 98ea14d907e6bdcfe2f0c44ff8cfed8a5ace24a6ac20d4827ead44912a3fce9109b2504425d0878fe51db7cca85f790993c1fa1ed6d32a9e4408b67a079f5834
+ checksum: e94c0e8f605309022bf02b31f14279e68ac951bb05a5ef41d355d779daffed566f03d4c6e1bb1ec8ef1292a64fef13f489f75e076316b88cd8422517daa06f2c
languageName: node
linkType: hard
-"@react-aria/toggle@npm:^3.6.0, @react-aria/toggle@npm:^3.6.2":
- version: 3.6.2
- resolution: "@react-aria/toggle@npm:3.6.2"
- dependencies:
- "@react-aria/focus": ^3.13.0
- "@react-aria/interactions": ^3.16.0
- "@react-aria/utils": ^3.18.0
- "@react-stately/toggle": ^3.6.0
- "@react-types/checkbox": ^3.4.4
- "@react-types/shared": ^3.18.1
- "@react-types/switch": ^3.3.2
+"@react-stately/select@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-stately/select@npm:3.6.0"
+ dependencies:
+ "@react-stately/form": ^3.0.0
+ "@react-stately/list": ^3.10.1
+ "@react-stately/menu": ^3.5.7
+ "@react-types/select": ^3.9.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 782b63b862c2976885915bf669dcfcf992fd728b1bb87c61aa85dcd740e82b3e634d7c56597d1365c2918f5744991fb4f295796255a517e5f7f4bfa0acf37e72
+ checksum: 712b7408aa5c58b5c6402df1de44e80013a25cc1cf6dc7f9a38f540d2e87d851198ef3549a9877b39a46d8786de20ce19a7bd25a1f01b162813ac683b258e1df
languageName: node
linkType: hard
-"@react-aria/utils@npm:^3.16.0, @react-aria/utils@npm:^3.17.0, @react-aria/utils@npm:^3.18.0, @react-aria/utils@npm:^3.19.0, @react-aria/utils@npm:^3.21.1":
- version: 3.21.1
- resolution: "@react-aria/utils@npm:3.21.1"
+"@react-stately/selection@npm:^3.14.1":
+ version: 3.14.1
+ resolution: "@react-stately/selection@npm:3.14.1"
dependencies:
- "@react-aria/ssr": ^3.8.0
- "@react-stately/utils": ^3.8.0
- "@react-types/shared": ^3.21.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
"@swc/helpers": ^0.5.0
- clsx: ^1.1.1
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 8e461ca8cd8d6ec57d4eb194627454255dbb9f855eb827665708072cc284146801838106fda4324eb98822cf4e0157fefc0123524fa9b2bb9fc92c643dfbf725
+ checksum: 56ef39b51f70164e8d5485461c3b94ba1f7fec9c42991d85553bda71d477881413cd7a49a468dc234c6abedde0724ac0b1da306746eb1febec1a166004d8218c
languageName: node
linkType: hard
-"@react-aria/visually-hidden@npm:^3.8.0, @react-aria/visually-hidden@npm:^3.8.6":
- version: 3.8.6
- resolution: "@react-aria/visually-hidden@npm:3.8.6"
+"@react-stately/slider@npm:^3.4.5":
+ version: 3.4.5
+ resolution: "@react-stately/slider@npm:3.4.5"
dependencies:
- "@react-aria/interactions": ^3.19.1
- "@react-aria/utils": ^3.21.1
- "@react-types/shared": ^3.21.0
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@react-types/slider": ^3.7.0
"@swc/helpers": ^0.5.0
- clsx: ^1.1.1
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: b80a92432e51892729b7e0ac461a647d935b788767a55f17a400073340067131268ca23a0130d40ee9500b20290c2a8f3572b8826b7e1782116fb37c53874952
+ checksum: ca7224438840936a78d66b2c3060fd174cf1d5626fcb2bc5e9c6225a30280eed8599649a1c98d712b3c3e91099e59140b938fa505474cfe35c6b7db9af9dcbc3
languageName: node
linkType: hard
-"@react-hook/debounce@npm:^4.0.0":
- version: 4.0.0
- resolution: "@react-hook/debounce@npm:4.0.0"
+"@react-stately/table@npm:^3.11.3":
+ version: 3.11.3
+ resolution: "@react-stately/table@npm:3.11.3"
dependencies:
- "@react-hook/latest": ^1.0.2
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/flags": ^3.0.0
+ "@react-stately/grid": ^3.8.3
+ "@react-stately/selection": ^3.14.1
+ "@react-stately/utils": ^3.9.0
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
+ "@react-types/table": ^3.9.1
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ">=16.8"
- checksum: 199f944fd905b6cbeb0665e94ce49805f6a0a6f758f35862d784b87dd5c52760dcf2ce9a66abc5698f5b1418be387df5452a703812e9362d1dda0f9718a5d01d
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 8da2a3704c01f09e033ab9a05f2292de6ebe95753a24bc573e0a926812349a3ebc6aa131261ab3dcf814cbabae33a466d0b4926308f276227d3244b8a80b14ed
languageName: node
linkType: hard
-"@react-hook/latest@npm:^1.0.2":
- version: 1.0.3
- resolution: "@react-hook/latest@npm:1.0.3"
+"@react-stately/tabs@npm:^3.6.2":
+ version: 3.6.2
+ resolution: "@react-stately/tabs@npm:3.6.2"
+ dependencies:
+ "@react-stately/list": ^3.10.1
+ "@react-types/shared": ^3.22.0
+ "@react-types/tabs": ^3.3.4
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ">=16.8"
- checksum: 2408c9cd35c5cfa7697b6da3bc5eebef254a932ade70955074c474f23be7dd3e2f81bbba12edcc9208bd0f89c6ed366d6b11d4f6d7b1052877a0bac8f74afad4
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 6cc064bd38ceb9ba812020d457dc38a502b8a746c4a1b6e1d5c0c27c0ceaa0236d0b5c0777880c08e011ad88bc892c48a98150b953fbd6d0bcb2a6410244b8ad
languageName: node
linkType: hard
-"@react-hook/passive-layout-effect@npm:^1.2.0":
- version: 1.2.1
- resolution: "@react-hook/passive-layout-effect@npm:1.2.1"
+"@react-stately/toggle@npm:^3.4.4, @react-stately/toggle@npm:^3.5.1, @react-stately/toggle@npm:^3.7.0":
+ version: 3.7.0
+ resolution: "@react-stately/toggle@npm:3.7.0"
+ dependencies:
+ "@react-stately/utils": ^3.9.0
+ "@react-types/checkbox": ^3.6.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ">=16.8"
- checksum: 217cb8aa90fb8e677672319a9a466d7752890cf4357c76df000b207696e9cc717cf2ee88080671cc9dae238a82f92093ab4f61ab2f6032d2a8db958fc7d99b5d
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 6552b8da1317625683f08fa7dd7585c2cd29a30e55291f7df3fbbcc6ad45e9b0ec5c3a1261891866db215e79d0f5ddbddbfc63abab51a325522a5d523cc6376e
languageName: node
linkType: hard
-"@react-hook/resize-observer@npm:^1.2.6":
- version: 1.2.6
- resolution: "@react-hook/resize-observer@npm:1.2.6"
+"@react-stately/tooltip@npm:^3.4.6":
+ version: 3.4.6
+ resolution: "@react-stately/tooltip@npm:3.4.6"
dependencies:
- "@juggle/resize-observer": ^3.3.1
- "@react-hook/latest": ^1.0.2
- "@react-hook/passive-layout-effect": ^1.2.0
+ "@react-stately/overlays": ^3.6.4
+ "@react-types/tooltip": ^3.4.6
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ">=16.8"
- checksum: d2ff6c50e847514acad774f2a4010fb1e6782a231ae00c9507c1a98028b3a26399e35f094170918f11b1eeafc581d60da7641bc178d496abf00c56eee8a6b36b
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 6d8623d5418a38135aedef1d16aa6fa400b777904893920a80d78faf2559a287787eac6f409a5eac3b2d15e65eab9eee8e83c80768753eea53b3707938f98b8b
languageName: node
linkType: hard
-"@react-spectrum/utils@npm:^3.9.0":
- version: 3.9.1
- resolution: "@react-spectrum/utils@npm:3.9.1"
+"@react-stately/tree@npm:^3.7.4":
+ version: 3.7.4
+ resolution: "@react-stately/tree@npm:3.7.4"
dependencies:
- "@react-aria/i18n": ^3.7.1
- "@react-aria/ssr": ^3.6.0
- "@react-aria/utils": ^3.16.0
- "@react-types/shared": ^3.18.0
- "@swc/helpers": ^0.4.14
- clsx: ^1.1.1
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/selection": ^3.14.1
+ "@react-stately/utils": ^3.9.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: e50920524f56b5da385d7f563468bd5019e7972f911383c4628b624fabb03e0e9a08db456daa691c85197fa07aeb3389d31263e22a2441df9e5270553eebfbeb
+ checksum: 7aeeb32b29e2c9184bcda5dd4c9573dd17d43a7d8b1cd1863a6e75aa7ce0e6185e856edd2330836a6a460a7cf239e7f5a1499e6dcc14a34a84be6b79dd45636e
languageName: node
linkType: hard
-"@react-spring/animated@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/animated@npm:9.4.1"
+"@react-stately/utils@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-stately/utils@npm:3.9.0"
dependencies:
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- checksum: 0d5afc2cbaf22ce24da5d4ab7631855dbcf9c368e91b65c27ea2cb0116fb9d7dc7f7644ed2de46c02d7448c8a93e47b223cdaa9aca96454b813d94f156dbcd60
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: aae38bc45086e086c47141e516f8608b6ad1a0a3c637c1da8b409515b978db0210ed102ca30135a4f733ae2265fecd1b9634cb21b7075fa48895fe7b1cfc6960
languageName: node
linkType: hard
-"@react-spring/core@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/core@npm:9.4.1"
+"@react-stately/virtualizer@npm:^3.6.5":
+ version: 3.6.5
+ resolution: "@react-stately/virtualizer@npm:3.6.5"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/rafz": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-aria/utils": ^3.22.0
+ "@react-types/shared": ^3.22.0
+ "@swc/helpers": ^0.5.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- checksum: a7e58bf93c6eeac98ada38b49a369d0fe86c21635ce9bcffe375eaa67fcae4ecdd5252e11f45c6173e73ed43cfdb741921f31d4e6e5fb720ec8cd8a1f8ee5332
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 7bf8f82e3837d3db6aac5c8a5b1d083a8754e4f8b999444b4841ced8b4d777ede9276014f512f7910b427a2698994d33ca204468b614b54dc53622256d5e0827
languageName: node
linkType: hard
-"@react-spring/konva@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/konva@npm:9.4.1"
+"@react-types/breadcrumbs@npm:^3.7.2":
+ version: 3.7.2
+ resolution: "@react-types/breadcrumbs@npm:3.7.2"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/core": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/link": ^3.5.2
+ "@react-types/shared": ^3.22.0
peerDependencies:
- konva: ">=2.6"
- react: ^16.8.0 || ^17.0.0
- react-konva: ^16.8.0 || ^17.0.0
- checksum: a657c447310e54f427f2b561a4ecfd60fa1fba21d65512cfb9ad16c643719b8d1ca2d975c7eaf24605e84ce9582dc65cc9e3222fed5cd4f9793f902fea1c94d7
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 39e07997778fc07a9ac96348218bb2192d893e990f0a5883ed4f9d00d7e47ef8270249c07a9121b07973bc830ad96f8603b42a497d3fd176e319eeee4f0066e9
languageName: node
linkType: hard
-"@react-spring/native@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/native@npm:9.4.1"
+"@react-types/button@npm:^3.7.1, @react-types/button@npm:^3.9.1":
+ version: 3.9.1
+ resolution: "@react-types/button@npm:3.9.1"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/core": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- react-native: ">=0.58"
- checksum: 56ae513547e75c6b9265288e1443acb1f84e7cd2284993aa64069045961b325b354152cbff0b802e80f2807dc300aaf88e74bca26b7e4cff032296073ba8eac3
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 5b73d20a8ab588231b62bd32c2171f8284bf1d7dfa4c67e54d436a4e5c663af9a6a1ee93bf5deb9f08308616fe248d2a6300685ef8188b8de3c956194d834a9e
languageName: node
linkType: hard
-"@react-spring/rafz@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/rafz@npm:9.4.1"
- checksum: 73ac627c700ef16316eab3457bf2c55359a62ca4b67380a45b23eedf76f8d79aac7c92d257a0c685759e795b33fc355ef42dc2aabba53769dedbff7a604cacec
+"@react-types/calendar@npm:^3.4.2":
+ version: 3.4.2
+ resolution: "@react-types/calendar@npm:3.4.2"
+ dependencies:
+ "@internationalized/date": ^3.5.0
+ "@react-types/shared": ^3.22.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 6aa8206b58c99666aab5349159e7c227dc430f14e278950bfb7d394a82c991e37c10ed5b359ff903845d0b1b59148e31a63ed70de45f1f658be4c21d74488a35
languageName: node
linkType: hard
-"@react-spring/shared@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/shared@npm:9.4.1"
+"@react-types/checkbox@npm:^3.4.3, @react-types/checkbox@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-types/checkbox@npm:3.6.0"
dependencies:
- "@react-spring/rafz": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- checksum: 3356cb6e1e61674aca38196651998483d4897d1cd6a072c8f1929f9307a6af756e99f5f46e178aa4f571d7667a865cf4ed2133991239330925f25e281fe2ebb6
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 867691d8af9832c9f90c6a8231fedadfc2700b177badb03d7175b0cf6c978e7bd488c2ff3b305231fbcd09f0eafe25f3d678f77c02e31ea7b36b463a15639945
languageName: node
linkType: hard
-"@react-spring/three@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/three@npm:9.4.1"
+"@react-types/combobox@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-types/combobox@npm:3.9.0"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/core": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
- "@react-three/fiber": ">=6.0"
- react: ">=16.11"
- three: ">=0.126"
- checksum: f659cf6d75458b054291c29c8764cc0ec90234d8b46baba7a2ba290c5c3570d2d96c6c29699a8fce567c8defd93a88df7d641c774c092e822a4a856682628f2d
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 38195595a87bd9d74b1949725b7f9ad5e4eab796da48355f2d79373aad23c311a54901aab7881f7d20339c70d8a1caccb16d3dcd7c0d92c28fc8e0fbed210f17
languageName: node
linkType: hard
-"@react-spring/types@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/types@npm:9.4.1"
- checksum: 67ab4a284a4bbce6c1bc19d426c0f81ee45044c2cf1d42912f100dd0a4140ceb4e4b38e602c99e2366c2742d0cce96b19a27ce5c316f30550a0f90bd180224af
+"@react-types/datepicker@npm:^3.7.0":
+ version: 3.7.0
+ resolution: "@react-types/datepicker@npm:3.7.0"
+ dependencies:
+ "@internationalized/date": ^3.5.0
+ "@react-types/calendar": ^3.4.2
+ "@react-types/overlays": ^3.8.4
+ "@react-types/shared": ^3.22.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 2d22364120e8b1ef8df8a114abc5f24e6d95c8f88e6ebf78204d7f43192642e69648166a23b355797971497155ea640504b0873b121d1067eb0572cfdb5de963
languageName: node
linkType: hard
-"@react-spring/web@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/web@npm:9.4.1"
+"@react-types/dialog@npm:^3.5.7":
+ version: 3.5.7
+ resolution: "@react-types/dialog@npm:3.5.7"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/core": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/overlays": ^3.8.4
+ "@react-types/shared": ^3.22.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- react-dom: ^16.8.0 || ^17.0.0
- checksum: d53916ca693208178a206bc69d2c665f04578b7166ca84f15c72fa694862292f98ad0f592a24eb75f92832e2ff4d5e7abb5d0a763440474d32c1f5e7b72922b6
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: dc134dc0903b442b681c5c4a7b19c4eed14a8f8ee121aeb7a29bedf078b284395db653f8770f14718048734454fe1dea71221435c09375bd96098555a018181d
languageName: node
linkType: hard
-"@react-spring/zdog@npm:~9.4.0":
- version: 9.4.1
- resolution: "@react-spring/zdog@npm:9.4.1"
+"@react-types/form@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-types/form@npm:3.6.0"
dependencies:
- "@react-spring/animated": ~9.4.0
- "@react-spring/core": ~9.4.0
- "@react-spring/shared": ~9.4.0
- "@react-spring/types": ~9.4.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
- react: ^16.8.0 || ^17.0.0
- react-dom: ^16.8.0 || ^17.0.0
- react-zdog: ">=1.0"
- zdog: ">=1.0"
- checksum: 0e28d7cd6bf838cce5e3404321853c6b1dc3c37b29705cbcba3fb95beee6d654bd50354f9fb6df40aef0c246f58b1852da55b310960bf9367df6a20e677d4426
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: bdb85a0e453a2d443c704c600a943d7471fb34472c165fa9606010dfe338f984a36d0a95d596610a166f21d509258243dda195dcacb7c61e20292599702540ce
languageName: node
linkType: hard
-"@react-stately/checkbox@npm:^3.4.1":
- version: 3.4.1
- resolution: "@react-stately/checkbox@npm:3.4.1"
+"@react-types/grid@npm:^3.2.3":
+ version: 3.2.3
+ resolution: "@react-types/grid@npm:3.2.3"
dependencies:
- "@react-stately/toggle": ^3.5.1
- "@react-stately/utils": ^3.6.0
- "@react-types/checkbox": ^3.4.3
- "@react-types/shared": ^3.18.0
- "@swc/helpers": ^0.4.14
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: cdee995f2588b1152a01399893cacde23b32cfa1bca05163a46507ebc113c6eabd02f596841c5cc748ae0e7ddebf23ae6433c1a9da948a764997f7af6ff8ae4f
+ checksum: fef37ec725123ad30792f345198319b3081b584e59f6ccf2788ee03897278de8dfeb252d7f9636505dd76431b7d32c3c055ce2cbe554d8353d98ea530f4686c0
languageName: node
linkType: hard
-"@react-stately/collections@npm:^3.10.2":
- version: 3.10.2
- resolution: "@react-stately/collections@npm:3.10.2"
+"@react-types/label@npm:^3.7.3":
+ version: 3.8.1
+ resolution: "@react-types/label@npm:3.8.1"
dependencies:
"@react-types/shared": ^3.21.0
- "@swc/helpers": ^0.5.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 0093ae3e0527459f6147c292d103675329bbfaed2bcc04a05035320202f7957ce2668e91b86ac427055b9af7ca1badd11569233e79ecb32b4d289116c4e19ef9
+ checksum: 92b16f25b588e909c54870666790099b83324ecb08da1860aff34a58a6cbbb018a1af6ebba40bba2e078bb3fc6f836ec345ffaf8380d7bcc766711d9aeb1344c
languageName: node
linkType: hard
-"@react-stately/menu@npm:^3.5.6":
- version: 3.5.6
- resolution: "@react-stately/menu@npm:3.5.6"
+"@react-types/link@npm:^3.5.2":
+ version: 3.5.2
+ resolution: "@react-types/link@npm:3.5.2"
dependencies:
- "@react-stately/overlays": ^3.6.3
- "@react-stately/utils": ^3.8.0
- "@react-types/menu": ^3.9.5
- "@react-types/shared": ^3.21.0
- "@swc/helpers": ^0.5.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 471a4273abd55b19edb9d045618d225986ceab3dd46f2d6606a70628c38f0ce3597b2fd390638c067dc7be51621953b1d7176e3a38117df524d268552e3ec38f
+ checksum: b7409bc9b00878d55a2caacd547641959a216b89b26bab6b96d505506b3200d672dafe87b0c747123073e04298b3a540468d80f7689a4c05f4953057fda171dc
languageName: node
linkType: hard
-"@react-stately/overlays@npm:^3.6.3":
- version: 3.6.3
- resolution: "@react-stately/overlays@npm:3.6.3"
+"@react-types/listbox@npm:^3.4.6":
+ version: 3.4.6
+ resolution: "@react-types/listbox@npm:3.4.6"
dependencies:
- "@react-stately/utils": ^3.8.0
- "@react-types/overlays": ^3.8.3
- "@swc/helpers": ^0.5.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: dca8e2dc2ab7150d365349a71b3851a81a33664de0b4048d96c20690ddb0cbfe83e454d8fde85a45d077aca9f993183088664f7aa079dc49641dacc38ec075a6
+ checksum: e829857ff24f37f5a7660ad19e6629793241177f94df78193b80b294301e35b1193397edc426cb98e807a342ce47f1d2e83f71caf8bb9b904b4196c86d6e6062
languageName: node
linkType: hard
-"@react-stately/radio@npm:^3.6.2, @react-stately/radio@npm:^3.8.1":
- version: 3.8.1
- resolution: "@react-stately/radio@npm:3.8.1"
+"@react-types/menu@npm:^3.9.5, @react-types/menu@npm:^3.9.6":
+ version: 3.9.6
+ resolution: "@react-types/menu@npm:3.9.6"
dependencies:
- "@react-stately/utils": ^3.6.0
- "@react-types/radio": ^3.4.2
- "@react-types/shared": ^3.18.1
- "@swc/helpers": ^0.4.14
+ "@react-types/overlays": ^3.8.4
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 9eb7bc5cb3569b2e461c5bd380458618a6430449a0e1b763dd4a43c2cf929646882f50ff894d27c4bbe61297c39bde6d38550daccc7266a47eaa60f12568ae0e
+ checksum: c97cf795272247742fd5bee54fdb567d5f3e671094f25eb5abad5461c85cdd6a6be0e3ed4ab5811f98a8695bed8de50955132c43b9dade5ec7582a75435c6189
languageName: node
linkType: hard
-"@react-stately/selection@npm:^3.14.0":
- version: 3.14.0
- resolution: "@react-stately/selection@npm:3.14.0"
+"@react-types/meter@npm:^3.3.6":
+ version: 3.3.6
+ resolution: "@react-types/meter@npm:3.3.6"
dependencies:
- "@react-stately/collections": ^3.10.2
- "@react-stately/utils": ^3.8.0
- "@react-types/shared": ^3.21.0
- "@swc/helpers": ^0.5.0
+ "@react-types/progress": ^3.5.1
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: ac0d91c9f53c359bf0088fc0a8e0ffc2c4e4650d24946d4879ad0945c51e4ce30b7ddcf698f62896d4bbd777dc64d9681897cd1faf4d8862eb17b077bbce0e68
+ checksum: 51ae73fb19bfbf5463f699496fe53138715dc37e93ec9e35ed81c058b356a7b2f376aaf9fe055b14e9b9e7e0f715b68205dd2c1080f17791b372638b96f4ae18
languageName: node
linkType: hard
-"@react-stately/toggle@npm:^3.4.4, @react-stately/toggle@npm:^3.5.1, @react-stately/toggle@npm:^3.6.0":
- version: 3.6.0
- resolution: "@react-stately/toggle@npm:3.6.0"
+"@react-types/numberfield@npm:^3.7.0":
+ version: 3.7.0
+ resolution: "@react-types/numberfield@npm:3.7.0"
dependencies:
- "@react-stately/utils": ^3.7.0
- "@react-types/checkbox": ^3.4.4
- "@react-types/shared": ^3.18.1
- "@swc/helpers": ^0.5.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 8ab0bd4e65133019c74f6f30d40f620a48d3c6592f558131553181cd98b4d014fba387d554d412a65ca3b6460294f968d8ded694432635c00e11ee358e497219
+ checksum: de33c000f72fc32eabd82ba0f26440c10b69ec1d4249a481df618297dabbf631db614da1bce25d79ff0266c156f9ae971330be822c8901d9edfd059f3416de8a
languageName: node
linkType: hard
-"@react-stately/tree@npm:^3.7.3":
- version: 3.7.3
- resolution: "@react-stately/tree@npm:3.7.3"
+"@react-types/overlays@npm:^3.8.4":
+ version: 3.8.4
+ resolution: "@react-types/overlays@npm:3.8.4"
dependencies:
- "@react-stately/collections": ^3.10.2
- "@react-stately/selection": ^3.14.0
- "@react-stately/utils": ^3.8.0
- "@react-types/shared": ^3.21.0
- "@swc/helpers": ^0.5.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 28fe973979b48437dc7cc71356b0345b4f4fbd7a5d7c56aaf4c861938678f5af068a6090f64fac4d02808399ed0a1044dbce54e4cd5cf808f136e331c70d7a91
+ checksum: 921903c871373de0bb862b0958d1fc6d66da527be7e5ae5a32cfe323dcfce95efab1fc948ab477870a083df44cf9aed2dea21c0b11b37da808344a317ecfa22e
languageName: node
linkType: hard
-"@react-stately/utils@npm:^3.6.0, @react-stately/utils@npm:^3.7.0, @react-stately/utils@npm:^3.8.0":
- version: 3.8.0
- resolution: "@react-stately/utils@npm:3.8.0"
+"@react-types/progress@npm:^3.5.1":
+ version: 3.5.1
+ resolution: "@react-types/progress@npm:3.5.1"
dependencies:
- "@swc/helpers": ^0.5.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 908423686bbf9a6d5d364456f60314047466f338de93e3789db38c292c6b9e953b227b554d0d175b7a2a5da544bbd59cb39d2897e575fcb79c85274bab65d223
+ checksum: 1bc35e8df15a6087b0697faceec9a38a551dbd891ba73c5a23500531cd295e0f6ed75040a2d123281aa84567c4a92746b6b7e2a1185593c5d90f03b79e36668e
languageName: node
linkType: hard
-"@react-types/button@npm:^3.7.1, @react-types/button@npm:^3.7.2, @react-types/button@npm:^3.9.0":
- version: 3.9.0
- resolution: "@react-types/button@npm:3.9.0"
+"@react-types/radio@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "@react-types/radio@npm:3.6.0"
dependencies:
- "@react-types/shared": ^3.21.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 93bd08f894c2a5e0b53b680759326b3151773bf3594f3169ecff012cbfc376e6a0472506f8b2bbf43aa41e37e410d8054dfaee728da9db86287d06adb80c9809
+ checksum: 0a6ab53bc02715f1a0934e1f2ab750c3394483479518bf13a0f00dc18c9d134cd30d0cc1ee034af7aa699b704227c06279e3bde768e4fa5ea3adce57c0d5ea60
languageName: node
linkType: hard
-"@react-types/checkbox@npm:^3.4.3, @react-types/checkbox@npm:^3.4.4":
- version: 3.4.4
- resolution: "@react-types/checkbox@npm:3.4.4"
+"@react-types/searchfield@npm:^3.5.2":
+ version: 3.5.2
+ resolution: "@react-types/searchfield@npm:3.5.2"
dependencies:
- "@react-types/shared": ^3.18.1
+ "@react-types/shared": ^3.22.0
+ "@react-types/textfield": ^3.9.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 147bd4288ee714ead98433388589673632d92e26a7152032809dbcab9424b219505aabed9ad49770197c5d8cc0e660cad7cb077426eb08f333b333aecacd40fc
+ checksum: 6c08d9bb27146f1a17b02c8deb511540a46809931b0342d93f2bd324d11dd28bd9cb8bbcce2023c0cb4c3a1e297a3d7404f4d6be2b0c76a08153f875ef273bde
languageName: node
linkType: hard
-"@react-types/label@npm:^3.7.3, @react-types/label@npm:^3.7.5":
- version: 3.8.1
- resolution: "@react-types/label@npm:3.8.1"
+"@react-types/select@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-types/select@npm:3.9.0"
dependencies:
- "@react-types/shared": ^3.21.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 92b16f25b588e909c54870666790099b83324ecb08da1860aff34a58a6cbbb018a1af6ebba40bba2e078bb3fc6f836ec345ffaf8380d7bcc766711d9aeb1344c
+ checksum: ba563e9ed2e37e05f44cab8d75ac033199bb0b016cbead711e1bbbda557168ea5139c04e57e75936675f18441961c3a85118898c15c272adf78a7a1594bbb1e8
languageName: node
linkType: hard
-"@react-types/link@npm:^3.4.1":
- version: 3.4.1
- resolution: "@react-types/link@npm:3.4.1"
- dependencies:
- "@react-aria/interactions": ^3.15.0
- "@react-types/shared": ^3.18.0
+"@react-types/shared@npm:^3.18.0, @react-types/shared@npm:^3.21.0, @react-types/shared@npm:^3.22.0":
+ version: 3.22.0
+ resolution: "@react-types/shared@npm:3.22.0"
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 0b59ccaeb6b39a6691825ea795fa5f40612da99466dc88a67fd4324c02f1e12a4825f3f5bf6fc3b09455e1a89d57ee2c3f2319075f571604c72599529d06c779
+ checksum: 108d171c006ee86d01418bb2ca0e54915e8cdb276ecd82cad43bd8aa3a360654a95983b60dbf196c7b004e0307690ae7b0315d051b015277699a552619ec2b29
languageName: node
linkType: hard
-"@react-types/menu@npm:^3.9.5":
- version: 3.9.5
- resolution: "@react-types/menu@npm:3.9.5"
+"@react-types/slider@npm:^3.7.0":
+ version: 3.7.0
+ resolution: "@react-types/slider@npm:3.7.0"
dependencies:
- "@react-types/overlays": ^3.8.3
- "@react-types/shared": ^3.21.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 505d762846d0ee221a39743fb357a5cc2146b4cdd1205356f3ba1fa2e1364c6a862fb3fafe7218173d1745a78b136e9826962f01ecd0fc11e2a6e5864fbd62fe
+ checksum: 489d0d46c54b79757952ba93cebf51ecbe9606e356f9c3ff77aba4c2f734e0c052260de5ba69c6aa2d282a2364e66829c3700a7e5157ba5cb99d91640823ec64
languageName: node
linkType: hard
-"@react-types/overlays@npm:^3.8.3":
- version: 3.8.3
- resolution: "@react-types/overlays@npm:3.8.3"
+"@react-types/switch@npm:^3.5.0":
+ version: 3.5.0
+ resolution: "@react-types/switch@npm:3.5.0"
dependencies:
- "@react-types/shared": ^3.21.0
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: e2b0a8170b2f0f6b53da91e3e55748b90951d7c0a03ff7150479e17dce4d32fbe58158786ce4037ac3fce733675e4f42049d5a2baad7e3d72601acd31c1fed46
+ checksum: 92f780a53b864dcd6a754631105963d3d0cf7a94a38d307540acc4adc269940be1e4be0c9723c71abb7c9de9d9a2a373b2a02a7e0e7fb3c2065e43b68f326ea1
languageName: node
linkType: hard
-"@react-types/radio@npm:^3.4.2":
- version: 3.4.2
- resolution: "@react-types/radio@npm:3.4.2"
+"@react-types/table@npm:^3.9.1":
+ version: 3.9.1
+ resolution: "@react-types/table@npm:3.9.1"
dependencies:
- "@react-types/shared": ^3.18.1
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 130256ec101275705988b39c399044f90767e7cfb24ac21a7eea58f413b5337166c7219bed89c6585224704b5df71e453e5a019153c929140f0b323d2cfe8aaa
+ checksum: f12aec327d5eef717f8ec2ac8abbc2ac8a765ab3c235aa20eb9a08d3458ad66b0cac9aaf4a0292c8733a12be42f6e328a11579b0e138f98ed2ee9e4badfd6ec5
languageName: node
linkType: hard
-"@react-types/shared@npm:3.19.0":
- version: 3.19.0
- resolution: "@react-types/shared@npm:3.19.0"
+"@react-types/tabs@npm:^3.3.4":
+ version: 3.3.4
+ resolution: "@react-types/tabs@npm:3.3.4"
+ dependencies:
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: e1cdabe05980be44b20d68e424f5891753f359c96bf151a17befa5a6e965dac315fd595657ed7c6572042078b5ca735735204175b020a8bdbb7dc11379a3be46
+ checksum: 52d187cbd8f6c119060cb391ef4ab4836989632d255b8fa42925dbe95fea966a7de2b334e3452d32a1f341b059e1a99a13546aa2fdd3ef6acb28c6fa93d08ae1
languageName: node
linkType: hard
-"@react-types/switch@npm:^3.3.2":
- version: 3.3.2
- resolution: "@react-types/switch@npm:3.3.2"
+"@react-types/textfield@npm:^3.9.0":
+ version: 3.9.0
+ resolution: "@react-types/textfield@npm:3.9.0"
dependencies:
- "@react-types/checkbox": ^3.4.4
- "@react-types/shared": ^3.18.1
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: c794f432b303fad509c892a2103c72252b2068739cffbe4e2a1468ead749ba2c47e5a71beb5d63e947af97b5b2410887a6284a0ac3855130752f734361834f06
+ checksum: 7e3d47d1f4b6dcd9a32f8b206ed79a4d9839da1424134ba85c22d20ebd6e15d49fdca2120b682319d1108bbf06dac2f0803ad37b46f8394417a960475ca09af5
languageName: node
linkType: hard
-"@react-types/textfield@npm:^3.7.3":
- version: 3.7.3
- resolution: "@react-types/textfield@npm:3.7.3"
+"@react-types/tooltip@npm:^3.4.6":
+ version: 3.4.6
+ resolution: "@react-types/tooltip@npm:3.4.6"
dependencies:
- "@react-types/shared": ^3.19.0
+ "@react-types/overlays": ^3.8.4
+ "@react-types/shared": ^3.22.0
peerDependencies:
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
- checksum: 04d69ba6a19563697647812cf6aced63ea25df43c6a0e80b5c6477b044dc6460b7534f1be1eb5c01ce960e882b42db3f9243329edf891dd91644140edc68218a
+ checksum: 6956cba440be8ee4cc048d2d53aae8ef11424f187568d6f75c3807663cbd5de008a57803f06e8cd2f3b2aac9e9ac7907dec476270ff65f4347fd4f3cc504c3e1
languageName: node
linkType: hard
@@ -27945,6 +28847,78 @@ __metadata:
languageName: node
linkType: hard
+"react-aria-components@npm:^1.0.0-rc.0":
+ version: 1.0.0-rc.0
+ resolution: "react-aria-components@npm:1.0.0-rc.0"
+ dependencies:
+ "@internationalized/date": ^3.5.0
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/toolbar": 3.0.0-beta.0
+ "@react-aria/utils": ^3.22.0
+ "@react-stately/table": ^3.11.3
+ "@react-types/form": ^3.6.0
+ "@react-types/grid": ^3.2.3
+ "@react-types/shared": ^3.22.0
+ "@react-types/table": ^3.9.1
+ "@swc/helpers": ^0.5.0
+ react-aria: ^3.30.0
+ react-stately: ^3.28.0
+ use-sync-external-store: ^1.2.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 866c4563e17ba0af12d77eb9064cdeb8784fd94836af3b26d7e42e3e930b38e6676dbf6f387e9c0f05d32041f330a65888872d3adf3b1a7cd538f4b69de11319
+ languageName: node
+ linkType: hard
+
+"react-aria@npm:^3.30.0":
+ version: 3.30.0
+ resolution: "react-aria@npm:3.30.0"
+ dependencies:
+ "@react-aria/breadcrumbs": ^3.5.8
+ "@react-aria/button": ^3.9.0
+ "@react-aria/calendar": ^3.5.3
+ "@react-aria/checkbox": ^3.12.0
+ "@react-aria/combobox": ^3.8.0
+ "@react-aria/datepicker": ^3.9.0
+ "@react-aria/dialog": ^3.5.8
+ "@react-aria/dnd": ^3.5.0
+ "@react-aria/focus": ^3.15.0
+ "@react-aria/gridlist": ^3.7.2
+ "@react-aria/i18n": ^3.9.0
+ "@react-aria/interactions": ^3.20.0
+ "@react-aria/label": ^3.7.3
+ "@react-aria/link": ^3.6.2
+ "@react-aria/listbox": ^3.11.2
+ "@react-aria/menu": ^3.11.2
+ "@react-aria/meter": ^3.4.8
+ "@react-aria/numberfield": ^3.10.0
+ "@react-aria/overlays": ^3.19.0
+ "@react-aria/progress": ^3.4.8
+ "@react-aria/radio": ^3.9.0
+ "@react-aria/searchfield": ^3.6.0
+ "@react-aria/select": ^3.14.0
+ "@react-aria/selection": ^3.17.2
+ "@react-aria/separator": ^3.3.8
+ "@react-aria/slider": ^3.7.3
+ "@react-aria/ssr": ^3.9.0
+ "@react-aria/switch": ^3.5.7
+ "@react-aria/table": ^3.13.2
+ "@react-aria/tabs": ^3.8.2
+ "@react-aria/tag": ^3.3.0
+ "@react-aria/textfield": ^3.13.0
+ "@react-aria/tooltip": ^3.6.5
+ "@react-aria/utils": ^3.22.0
+ "@react-aria/visually-hidden": ^3.8.7
+ "@react-types/shared": ^3.22.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 70d1cfd8d76e3174b283a6bbdfff33a8759723d91a693b195a7558a853240c086989aad933d55a590ffccd31acf09916031c8f052e06a092db15f5effed9cbc9
+ languageName: node
+ linkType: hard
+
"react-async-script@npm:^1.1.1":
version: 1.2.0
resolution: "react-async-script@npm:1.2.0"
@@ -28804,6 +29778,39 @@ __metadata:
languageName: node
linkType: hard
+"react-stately@npm:^3.28.0":
+ version: 3.28.0
+ resolution: "react-stately@npm:3.28.0"
+ dependencies:
+ "@react-stately/calendar": ^3.4.2
+ "@react-stately/checkbox": ^3.6.0
+ "@react-stately/collections": ^3.10.3
+ "@react-stately/combobox": ^3.8.0
+ "@react-stately/data": ^3.11.0
+ "@react-stately/datepicker": ^3.9.0
+ "@react-stately/dnd": ^3.2.6
+ "@react-stately/form": ^3.0.0
+ "@react-stately/list": ^3.10.1
+ "@react-stately/menu": ^3.5.7
+ "@react-stately/numberfield": ^3.7.0
+ "@react-stately/overlays": ^3.6.4
+ "@react-stately/radio": ^3.10.0
+ "@react-stately/searchfield": ^3.5.0
+ "@react-stately/select": ^3.6.0
+ "@react-stately/selection": ^3.14.1
+ "@react-stately/slider": ^3.4.5
+ "@react-stately/table": ^3.11.3
+ "@react-stately/tabs": ^3.6.2
+ "@react-stately/toggle": ^3.7.0
+ "@react-stately/tooltip": ^3.4.6
+ "@react-stately/tree": ^3.7.4
+ "@react-types/shared": ^3.22.0
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
+ checksum: 52262d153e2f92f83c0e86fc4d0de675b98e92eb1dd9ff8c3b40504f35b355dd41e8c8fc7f9f3632cd8c31c4110082232ec08273919490ba654e47a06270692c
+ languageName: node
+ linkType: hard
+
"react-style-singleton@npm:^2.2.1":
version: 2.2.1
resolution: "react-style-singleton@npm:2.2.1"
@@ -29300,13 +30307,20 @@ __metadata:
languageName: node
linkType: hard
-"regenerator-runtime@npm:^0.13.11, regenerator-runtime@npm:^0.13.4, regenerator-runtime@npm:^0.13.9":
+"regenerator-runtime@npm:^0.13.4, regenerator-runtime@npm:^0.13.9":
version: 0.13.11
resolution: "regenerator-runtime@npm:0.13.11"
checksum: 27481628d22a1c4e3ff551096a683b424242a216fee44685467307f14d58020af1e19660bf2e26064de946bad7eff28950eae9f8209d55723e2d9351e632bbb4
languageName: node
linkType: hard
+"regenerator-runtime@npm:^0.14.0":
+ version: 0.14.0
+ resolution: "regenerator-runtime@npm:0.14.0"
+ checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3
+ languageName: node
+ linkType: hard
+
"regenerator-transform@npm:^0.15.1":
version: 0.15.1
resolution: "regenerator-transform@npm:0.15.1"
@@ -33039,6 +34053,15 @@ __metadata:
languageName: node
linkType: hard
+"use-sync-external-store@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "use-sync-external-store@npm:1.2.0"
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0
+ checksum: 5c639e0f8da3521d605f59ce5be9e094ca772bd44a4ce7322b055a6f58eeed8dda3c94cabd90c7a41fb6fa852210092008afe48f7038792fd47501f33299116a
+ languageName: node
+ linkType: hard
+
"util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1":
version: 1.0.2
resolution: "util-deprecate@npm:1.0.2"
|
5d8b7a961fac53aed6108c8adc6b70fb4e2a0cdf
|
2021-08-04 17:58:01
|
Nayan
|
feature: Add API to set and get concurrent app editors (#6292)
| false
|
Add API to set and get concurrent app editors (#6292)
|
feature
|
diff --git a/app/rts/src/models.ts b/app/rts/src/models.ts
new file mode 100644
index 000000000000..18b6629e47cb
--- /dev/null
+++ b/app/rts/src/models.ts
@@ -0,0 +1,38 @@
+export class AppUser {
+ name: string;
+ email: string;
+
+ constructor(name: string, email: string) {
+ this.name = name;
+ this.email = email;
+ }
+}
+
+export class CurrentAppEditorEvent {
+ appId: string;
+ users: AppUser [];
+
+ constructor(appId: string, users: AppUser []) {
+ this.appId = appId;
+ this.users = users;
+ }
+}
+
+export interface Policy {
+ permission: string
+ users: string[]
+ groups: string[]
+}
+
+export interface CommentThread {
+ applicationId: string
+}
+
+export interface Comment {
+ threadId: string
+ policies: Policy[]
+ createdAt: string
+ updatedAt: string
+ creationTime: string
+ updationTime: string
+}
\ No newline at end of file
diff --git a/app/rts/src/server.ts b/app/rts/src/server.ts
index 7cd1ed3ecf6e..20be6daef441 100644
--- a/app/rts/src/server.ts
+++ b/app/rts/src/server.ts
@@ -5,6 +5,12 @@ import SocketIO from "socket.io"
import { MongoClient, ObjectId } from "mongodb"
import type mongodb from "mongodb"
import axios from "axios"
+import { AppUser, CurrentAppEditorEvent, Policy, Comment, CommentThread } from "./models"
+
+const APP_ROOM_PREFIX : string = "app:"
+const APP_EDITORS_EVENT_NAME : string = "collab:online_app_editors"
+const START_APP_EDIT_EVENT_NAME : string = "collab:start_edit_app"
+const LEAVE_APP_EDIT_EVENT_NAME : string = "collab:leave_edit_app"
const MONGODB_URI = process.env.APPSMITH_MONGODB_URI
if (MONGODB_URI == null || MONGODB_URI === "" || !MONGODB_URI.startsWith("mongodb")) {
@@ -18,18 +24,8 @@ if (API_BASE_URL == null || API_BASE_URL === "") {
process.exit(1)
}
-console.log("Connecting to MongoDB at", MONGODB_URI)
-
-const ROOMS = {}
-
main()
-interface Policy {
- permission: string
- users: string[]
- groups: string[]
-}
-
function main() {
const app = express()
const server = new http.Server(app)
@@ -46,16 +42,19 @@ function main() {
res.redirect("/index.html")
})
- app.get("/info", (req, res) => {
- return res.json({ rooms: ROOMS })
- });
-
io.on("connection", (socket) => {
- socket.join("default_room")
onSocketConnected(socket)
.catch((error) => console.error("Error in socket connected handler", error))
})
+ io.of("/").adapter.on("leave-room", (room, id) => {
+ sendCurrentUsers(io, room);
+ });
+
+ io.of("/").adapter.on("join-room", (room, id) => {
+ sendCurrentUsers(io, room);
+ });
+
watchMongoDB(io)
.catch((error) => console.error("Error watching MongoDB", error))
@@ -65,14 +64,35 @@ function main() {
})
}
+function joinAppEditRoom(socket, appId) {
+ // remove this socket from any other app rooms
+ socket.rooms.forEach(roomName => {
+ if(roomName.startsWith(APP_ROOM_PREFIX)) {
+ socket.leave(roomName);
+ }
+ });
+
+ // add this socket to room with application id
+ let roomName = APP_ROOM_PREFIX + appId;
+ socket.join(roomName);
+}
+
async function onSocketConnected(socket) {
- const connectionCookie = socket.handshake.headers.cookie
- console.log("new user connected with cookie", connectionCookie)
+ socket.on(START_APP_EDIT_EVENT_NAME, (appId) => {
+ if(socket.data.email) { // user is authenticated, join the room now
+ joinAppEditRoom(socket, appId)
+ } else { // user not authenticated yet, save the appId to join later
+ socket.data.pendingAppId = appId
+ }
+ });
- socket.on("disconnect", () => {
- console.log("user disconnected", connectionCookie)
- })
+ socket.on(LEAVE_APP_EDIT_EVENT_NAME, (appId) => {
+ let roomName = APP_ROOM_PREFIX + appId;
+ // remove this socket from app room
+ socket.leave(roomName);
+ });
+ const connectionCookie = socket.handshake.headers.cookie
let isAuthenticated = true
if (connectionCookie != null && connectionCookie !== "") {
@@ -99,7 +119,7 @@ async function tryAuth(socket, cookie) {
})
} catch (error) {
if (error.response?.status === 401) {
- console.info("Couldn't authenticate user with cookie:", sessionCookie)
+ console.info("Couldn't authenticate user with cookie:")
} else {
console.error("Error authenticating", error)
}
@@ -107,22 +127,15 @@ async function tryAuth(socket, cookie) {
}
const email = response.data.data.user.email
- ROOMS[email] = []
- socket.join("email:" + email)
- console.log("A socket joined email:" + email)
-
- /*for (const org of response.data.data.organizationApplications) {
- for (const app of org.applications) {
- ROOMS[email].push(app.id)
- console.log("Joining", app.id)
- socket.join("application:" + app.id)
- }
- }//*/
-
- socket.on("disconnect", (reason) => {
- delete ROOMS[email]
- });
+ const name = response.data.data.user.name ? response.data.data.user.name : email;
+ socket.data.email = email
+ socket.data.name = name
+
+ socket.join("email:" + email)
+ if(socket.data.pendingAppId) { // an appid is pending for this socket, join now
+ joinAppEditRoom(socket, socket.data.pendingAppId);
+ }
return true
}
@@ -130,19 +143,6 @@ async function watchMongoDB(io) {
const client = await MongoClient.connect(MONGODB_URI, { useUnifiedTopology: true });
const db = client.db()
- interface CommentThread {
- applicationId: string
- }
-
- interface Comment {
- threadId: string
- policies: Policy[]
- createdAt: string
- updatedAt: string
- creationTime: string
- updationTime: string
- }
-
const threadCollection: mongodb.Collection<CommentThread> = db.collection("commentThread")
const commentChangeStream = db.collection("comment").watch(
@@ -160,7 +160,7 @@ async function watchMongoDB(io) {
);
commentChangeStream.on("change", async (event: mongodb.ChangeEventCR<Comment>) => {
- console.log("comment event", event)
+ // console.log("comment event", event)
const comment: Comment = event.fullDocument
const { applicationId }: CommentThread = await threadCollection.findOne(
{ _id: new ObjectId(comment.threadId) },
@@ -177,13 +177,13 @@ async function watchMongoDB(io) {
for (const email of findPolicyEmails(comment.policies, "read:comments")) {
shouldEmit = true
- console.log("Emitting comment to email", email)
+ // console.log("Emitting comment to email", email)
target = target.to("email:" + email)
}
if (shouldEmit) {
const eventName = event.operationType + ":" + event.ns.coll
- console.log("Emitting", eventName)
+ // console.log("Emitting", eventName)
target.emit(eventName, { comment })
}
})
@@ -203,7 +203,7 @@ async function watchMongoDB(io) {
);
threadChangeStream.on("change", async (event: mongodb.ChangeEventCR) => {
- console.log("thread event", event)
+ // console.log("thread event", event)
const thread = event.fullDocument
if (thread == null) {
// This happens when `event.operationType === "drop"`, when a comment is deleted.
@@ -222,13 +222,13 @@ async function watchMongoDB(io) {
for (const email of findPolicyEmails(thread.policies, "read:commentThreads")) {
shouldEmit = true
- console.log("Emitting thread to email", email)
+ // console.log("Emitting thread to email", email)
target = target.to("email:" + email)
}
if (shouldEmit) {
const eventName = event.operationType + ":" + event.ns.coll
- console.log("Emitting", eventName)
+ // console.log("Emitting", eventName)
target.emit(eventName, { thread })
}
})
@@ -247,7 +247,7 @@ async function watchMongoDB(io) {
);
notificationsStream.on("change", async (event: mongodb.ChangeEventCR) => {
- console.log("notification event", event)
+ // console.log("notification event", event)
const notification = event.fullDocument
if (notification == null) {
@@ -278,7 +278,7 @@ function findPolicyEmails(policies: Policy[], permission: string): string[] {
for (const policy of policies) {
if (policy.permission === permission) {
for (const email of policy.users) {
- console.log("Emitting comment to email", email)
+ // console.log("Emitting comment to email", email)
emails.push(email)
}
break
@@ -286,3 +286,23 @@ function findPolicyEmails(policies: Policy[], permission: string): string[] {
}
return emails
}
+
+function sendCurrentUsers(socketIo, roomName:string) {
+ if(roomName.startsWith(APP_ROOM_PREFIX)) {
+ socketIo.in(roomName).fetchSockets().then(sockets => {
+ let onlineUsernames = new Set<string>();
+ let onlineUsers = new Array<AppUser>();
+ if(sockets) {
+ sockets.forEach(s => {
+ if(!onlineUsernames.has(s.data.email)) {
+ onlineUsers.push(new AppUser(s.data.name, s.data.email));
+ }
+ onlineUsernames.add(s.data.email);
+ });
+ }
+ let appId = roomName.replace(APP_ROOM_PREFIX, "") // get app id from room name by removing the prefix
+ let response = new CurrentAppEditorEvent(appId, onlineUsers);
+ socketIo.to(roomName).emit(APP_EDITORS_EVENT_NAME, response);
+ });
+ }
+}
\ No newline at end of file
|
11c1a0156633a28769994693255236b58db24d89
|
2021-05-09 09:47:12
|
Snyk bot
|
fix: upgrade org.springframework.boot:spring-boot-starter-actuator from 2.3.4.RELEASE to 2.4.4 (#4308)
| false
|
upgrade org.springframework.boot:spring-boot-starter-actuator from 2.3.4.RELEASE to 2.4.4 (#4308)
|
fix
|
diff --git a/app/server/appsmith-server/pom.xml b/app/server/appsmith-server/pom.xml
index 584eba9d7cfa..da5ee2e4d5af 100644
--- a/app/server/appsmith-server/pom.xml
+++ b/app/server/appsmith-server/pom.xml
@@ -131,7 +131,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
- <version>2.3.4.RELEASE</version>
+ <version>2.4.4</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
|
ab0a289d3ad91b200946140579972142eb4fb809
|
2023-02-27 12:06:45
|
Manish Kumar
|
fix: enforcing content-type header while registering the instance id (#20947)
| false
|
enforcing content-type header while registering the instance id (#20947)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/InstanceConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/InstanceConfig.java
index 5258276d6210..5fd2f084b2c2 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/InstanceConfig.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/InstanceConfig.java
@@ -16,6 +16,7 @@
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationListener;
import org.springframework.core.ParameterizedTypeReference;
+import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import org.springframework.web.reactive.function.BodyInserters;
@@ -128,6 +129,7 @@ private Mono<? extends Config> registerInstance() {
.create(baseUrl + "/api/v1/installations")
.post()
.body(BodyInserters.fromValue(Map.of("key", instanceId)))
+ .headers(httpHeaders -> httpHeaders.set(HttpHeaders.CONTENT_TYPE, "application/json"))
.exchange())
.flatMap(clientResponse -> clientResponse.toEntity(new ParameterizedTypeReference<ResponseDTO<String>>() {
}))
|
6ed49c21185821ca717d313c3270596bda604c2f
|
2024-05-08 15:07:52
|
Trisha Anand
|
chore: Remove duplicate Table tag from the list of tags (#33280)
| false
|
Remove duplicate Table tag from the list of tags (#33280)
|
chore
|
diff --git a/app/client/cypress/tags.js b/app/client/cypress/tags.js
index 08b66fd67dda..8c613c9ba391 100644
--- a/app/client/cypress/tags.js
+++ b/app/client/cypress/tags.js
@@ -36,7 +36,6 @@ module.exports = {
"@tag.Progress",
"@tag.Video",
"@tag.Container",
- "@tag.Table",
"@tag.Camera",
"@tag.Image",
"@tag.Tab",
|
f1cd71c7df66ca75046e8d8ba6f7972f74f800e4
|
2023-11-27 18:05:57
|
Aman Agarwal
|
feat: redirect user to datasource page on selecting start with data (#29102)
| false
|
redirect user to datasource page on selecting start with data (#29102)
|
feat
|
diff --git a/app/client/src/actions/onboardingActions.ts b/app/client/src/actions/onboardingActions.ts
index d511514602a7..90eee790af5e 100644
--- a/app/client/src/actions/onboardingActions.ts
+++ b/app/client/src/actions/onboardingActions.ts
@@ -43,12 +43,14 @@ export const disableStartSignpostingAction = () => {
export const firstTimeUserOnboardingInit = (
applicationId: string | undefined,
pageId: string,
+ suffix?: string,
) => {
return {
type: ReduxActionTypes.FIRST_TIME_USER_ONBOARDING_INIT,
payload: {
applicationId: applicationId,
pageId: pageId,
+ suffix,
},
};
};
diff --git a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
index 2a1bb723beda..d99b3dc7c538 100644
--- a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
+++ b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
@@ -52,6 +52,7 @@ import AnalyticsUtil from "utils/AnalyticsUtil";
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import history from "utils/history";
import { builderURL } from "@appsmith/RouteBuilder";
+import localStorage from "utils/localStorage";
const SectionWrapper = styled.div`
display: flex;
@@ -216,10 +217,26 @@ const CreateNewAppsOption = ({
};
const onClickStartWithData = () => {
- // fetch plugins information to show list of all plugins
- if (isEnabledForStartWithData) {
- dispatch(fetchPlugins());
- setUseType(START_WITH_TYPE.DATA);
+ const devEnabled = localStorage.getItem(
+ "ab_onboarding_flow_start_with_data_dev_only_enabled",
+ );
+ if (devEnabled) {
+ // fetch plugins information to show list of all plugins
+ if (isEnabledForStartWithData) {
+ dispatch(fetchPlugins());
+ setUseType(START_WITH_TYPE.DATA);
+ }
+ } else {
+ if (application) {
+ AnalyticsUtil.logEvent("CREATE_APP_FROM_SCRATCH");
+ dispatch(
+ firstTimeUserOnboardingInit(
+ application.id,
+ application.defaultPageId as string,
+ "datasources/NEW",
+ ),
+ );
+ }
}
};
diff --git a/app/client/src/sagas/OnboardingSagas.ts b/app/client/src/sagas/OnboardingSagas.ts
index 3252ef92f57b..a3193e71e579 100644
--- a/app/client/src/sagas/OnboardingSagas.ts
+++ b/app/client/src/sagas/OnboardingSagas.ts
@@ -433,7 +433,11 @@ function* endFirstTimeUserOnboardingSaga() {
}
function* firstTimeUserOnboardingInitSaga(
- action: ReduxAction<{ applicationId: string; pageId: string }>,
+ action: ReduxAction<{
+ applicationId: string;
+ pageId: string;
+ suffix?: string;
+ }>,
) {
yield call(setEnableStartSignposting, true);
yield put({
@@ -443,6 +447,7 @@ function* firstTimeUserOnboardingInitSaga(
history.replace(
builderURL({
pageId: action.payload.pageId,
+ suffix: action.payload.suffix || "",
}),
);
|
373a93f9c39c93e74deafc2298ee84ca85193fa2
|
2023-05-01 14:32:16
|
Hetu Nandu
|
fix: Scroll to selected widget failing when it's a container (#22777)
| false
|
Scroll to selected widget failing when it's a container (#22777)
|
fix
|
diff --git a/app/client/src/utils/helpers.tsx b/app/client/src/utils/helpers.tsx
index 2382bf4acba2..d1e8e2b7281f 100644
--- a/app/client/src/utils/helpers.tsx
+++ b/app/client/src/utils/helpers.tsx
@@ -36,6 +36,7 @@ import { checkContainerScrollable } from "widgets/WidgetUtils";
import type { ContainerWidgetProps } from "widgets/ContainerWidget/widget";
import type { WidgetProps } from "widgets/BaseWidget";
import { getContainerIdForCanvas } from "sagas/WidgetOperationUtils";
+import scrollIntoView from "scroll-into-view-if-needed";
export const snapToGrid = (
columnWidth: number,
@@ -237,7 +238,7 @@ export const quickScrollToWidget = (
if (el && canvas && !isElementVisibleInContainer(el, canvas)) {
const scrollElement = getWidgetElementToScroll(widgetId, canvasWidgets);
if (scrollElement) {
- scrollElement.scrollIntoView({
+ scrollIntoView(scrollElement, {
block: "center",
inline: "nearest",
behavior: "smooth",
@@ -247,24 +248,46 @@ export const quickScrollToWidget = (
});
};
-// Checks if the element in a container is visible or not.
-// Can be used to decide if scroll is needed
+/** Checks if a percentage of element is visible inside a container or not
+
+ The function first retrieves the bounding rectangles of both the
+ container and the element using the getBoundingClientRect() method.
+ It then calculates the visible area of the element inside the container
+ by determining the intersection between the two bounding rectangles.
+
+ The function then calculates the percentage of the element that is
+ visible by dividing the visible area by the total area of the element
+ and multiplying by 100. Finally, it returns true if the visible percentage
+ is greater than or equal to the desired percentage, and false otherwise.
+
+ Note that this function assumes that the element and the container
+ are both positioned using the CSS position property, and that the
+ container is positioned relative to its containing block. If the
+ element or the container have a different positioning, the
+ function may need to be adjusted accordingly.
+ **/
function isElementVisibleInContainer(
element: HTMLElement,
container: HTMLElement,
+ percentage = 100,
) {
- const elementRect = element.getBoundingClientRect();
- const containerRect = container.getBoundingClientRect();
- return (
- ((elementRect.top > containerRect.top &&
- elementRect.top < containerRect.bottom) ||
- (elementRect.bottom < containerRect.bottom &&
- elementRect.bottom > containerRect.top)) &&
- ((elementRect.left > containerRect.left &&
- elementRect.left < containerRect.right) ||
- (elementRect.right < containerRect.right &&
- elementRect.right > containerRect.left))
- );
+ const elementBounds = element.getBoundingClientRect();
+ const containerBounds = container.getBoundingClientRect();
+ // Calculate the visible area of the element inside the container
+ const visibleWidth =
+ Math.min(elementBounds.right, containerBounds.right) -
+ Math.max(elementBounds.left, containerBounds.left);
+ const visibleHeight =
+ Math.min(elementBounds.bottom, containerBounds.bottom) -
+ Math.max(elementBounds.top, containerBounds.top);
+ const visibleArea = visibleWidth * visibleHeight;
+
+ // Calculate the percentage of the element that is visible
+ const elementArea = element.clientWidth * element.clientHeight;
+ const visiblePercentage = (visibleArea / elementArea) * 100;
+
+ // Return whether the visible percentage is greater than or equal to the desired percentage
+ return visiblePercentage >= percentage;
}
function getWidgetElementToScroll(
|
0c1a1d8ee4ed207fc2624069e20748214cf0f01c
|
2024-12-25 16:39:07
|
Alex
|
fix: query tab scrollbar padding gap fix (#38317)
| false
|
query tab scrollbar padding gap fix (#38317)
|
fix
|
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/PluginActionForm.tsx b/app/client/src/PluginActionEditor/components/PluginActionForm/PluginActionForm.tsx
index e5be9eb367ec..f69ad963999f 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/PluginActionForm.tsx
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/PluginActionForm.tsx
@@ -12,7 +12,7 @@ const PluginActionForm = () => {
const { plugin } = usePluginActionContext();
return (
- <Flex flex="1" overflow="hidden" p="spaces-4" w="100%">
+ <Flex flex="1" overflow="auto" p="spaces-4" w="100%">
{plugin.uiComponent === UIComponentTypes.ApiEditorForm && (
<APIEditorForm />
)}
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/CommonEditorForm.tsx b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/CommonEditorForm.tsx
index 83478f013a7e..8ed8e1ca3418 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/CommonEditorForm.tsx
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/CommonEditorForm.tsx
@@ -1,11 +1,19 @@
import React from "react";
+import { Tab, TabsList } from "@appsmith/ads";
import { type Action } from "entities/Action";
import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig";
-import { InfoFields } from "./InfoFields";
-import { RequestTabs } from "./RequestTabs";
-import { HintMessages } from "./HintMessages";
-import { Flex } from "@appsmith/ads";
+import { API_EDITOR_TABS } from "PluginActionEditor/constants/CommonApiConstants";
+import { API_EDITOR_TAB_TITLES, createMessage } from "ee/constants/messages";
+
import useGetFormActionValues from "./hooks/useGetFormActionValues";
+import { DatasourceConfig } from "./components/DatasourceConfig";
+import { HintMessages } from "./HintMessages";
+import { InfoFields } from "./InfoFields";
+import KeyValueFieldArray from "components/editorComponents/form/fields/KeyValueFieldArray";
+import ApiAuthentication from "./components/ApiAuthentication";
+import { useSelectedFormTab } from "./hooks/useSelectedFormTab";
+import { getHeadersCount, getParamsCount } from "./utils";
+import * as Styled from "./styles";
interface Props {
httpMethodOptions: { value: string }[];
@@ -18,7 +26,13 @@ interface Props {
}
const CommonEditorForm = (props: Props) => {
- const { action } = props;
+ const {
+ action,
+ bodyUIComponent,
+ formName,
+ isChangePermitted,
+ paginationUiComponent,
+ } = props;
const hintMessages = action.messages || [];
const theme = EditorTheme.LIGHT;
const {
@@ -29,39 +43,89 @@ const CommonEditorForm = (props: Props) => {
datasourceParams,
} = useGetFormActionValues();
+ const [currentTab, setCurrentTab] = useSelectedFormTab();
+ const headersCount = getHeadersCount(
+ actionHeaders,
+ datasourceHeaders,
+ autoGeneratedHeaders,
+ );
+ const paramsCount = getParamsCount(actionParams, datasourceHeaders);
+
return (
- <Flex
- data-testid={props.dataTestId}
- flex="1"
- flexDirection="column"
- gap="spaces-3"
- overflow="hidden"
- w="100%"
- >
- <InfoFields
- actionName={action.name}
- changePermitted={props.isChangePermitted}
- formName={props.formName}
- options={props.httpMethodOptions}
- pluginId={action.pluginId}
- theme={theme}
- />
- <HintMessages hintMessages={hintMessages} />
- <RequestTabs
- actionConfigurationHeaders={actionHeaders}
- actionConfigurationParams={actionParams}
- actionName={action.name}
- autogeneratedHeaders={autoGeneratedHeaders}
- bodyUIComponent={props.bodyUIComponent}
- datasourceHeaders={datasourceHeaders}
- datasourceParams={datasourceParams}
- formName={props.formName}
- paginationUiComponent={props.paginationUiComponent}
- pushFields={props.isChangePermitted}
- showSettings={false}
- theme={theme}
- />
- </Flex>
+ <Styled.Tabs onValueChange={setCurrentTab} value={currentTab}>
+ <Styled.FormHeader>
+ <InfoFields
+ actionName={action.name}
+ changePermitted={props.isChangePermitted}
+ formName={props.formName}
+ options={props.httpMethodOptions}
+ pluginId={action.pluginId}
+ theme={theme}
+ />
+ <HintMessages hintMessages={hintMessages} />
+ <TabsList>
+ {Object.values(API_EDITOR_TABS)
+ .filter((tab) => {
+ return tab !== API_EDITOR_TABS.SETTINGS;
+ })
+ .map((tab) => (
+ <Tab
+ data-testid={`t--api-editor-${tab}`}
+ key={tab}
+ notificationCount={
+ tab == "HEADERS"
+ ? headersCount
+ : tab == "PARAMS"
+ ? paramsCount
+ : undefined
+ }
+ value={tab}
+ >
+ {createMessage(API_EDITOR_TAB_TITLES[tab])}
+ </Tab>
+ ))}
+ </TabsList>
+ </Styled.FormHeader>
+
+ <Styled.TabPanel value={API_EDITOR_TABS.HEADERS}>
+ <DatasourceConfig
+ attributeName="header"
+ autogeneratedHeaders={autoGeneratedHeaders}
+ data={datasourceHeaders}
+ />
+ <KeyValueFieldArray
+ actionConfig={actionHeaders}
+ dataTreePath={`${action.name}.config.headers`}
+ hideHeader
+ label="Headers"
+ name="actionConfiguration.headers"
+ placeholder="Value"
+ pushFields={isChangePermitted}
+ theme={theme}
+ />
+ </Styled.TabPanel>
+ <Styled.TabPanel value={API_EDITOR_TABS.PARAMS}>
+ <DatasourceConfig attributeName={"param"} data={datasourceParams} />
+ <KeyValueFieldArray
+ actionConfig={actionParams}
+ dataTreePath={`${action.name}.config.queryParameters`}
+ hideHeader
+ label="Params"
+ name="actionConfiguration.queryParameters"
+ pushFields={isChangePermitted}
+ theme={theme}
+ />
+ </Styled.TabPanel>
+ <Styled.TabPanel className="h-full" value={API_EDITOR_TABS.BODY}>
+ {bodyUIComponent}
+ </Styled.TabPanel>
+ <Styled.TabPanel value={API_EDITOR_TABS.PAGINATION}>
+ {paginationUiComponent}
+ </Styled.TabPanel>
+ <Styled.TabPanel value={API_EDITOR_TABS.AUTHENTICATION}>
+ <ApiAuthentication formName={formName} />
+ </Styled.TabPanel>
+ </Styled.Tabs>
);
};
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/RequestTabs.tsx b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/RequestTabs.tsx
index 62b22a18b6c8..3c1018cfc12e 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/RequestTabs.tsx
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/RequestTabs.tsx
@@ -27,6 +27,9 @@ const StyledTabPanel = styled(TabPanel)`
overflow: auto;
`;
+/**
+ * @deprecated This component will be deleted along with APIEditor/CommonEditorForm.
+ */
export function RequestTabs(props: {
autogeneratedHeaders: AutoGeneratedHeader[] | undefined;
datasourceHeaders: Property[];
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/components/EmbeddedDatasourcePathField.tsx b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/components/EmbeddedDatasourcePathField.tsx
index 55511f3b9710..89d6ada7e90d 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/components/EmbeddedDatasourcePathField.tsx
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/components/EmbeddedDatasourcePathField.tsx
@@ -155,7 +155,7 @@ const StyledTooltip = styled.span<{ width?: number }>`
position: absolute;
z-index: 100000;
max-width: 300px;
- bottom: 125%;
+ top: 125%;
left: calc(-10px + ${(props) => (props.width ? props.width / 2 : 0)}px);
margin-left: -60px;
@@ -165,14 +165,14 @@ const StyledTooltip = styled.span<{ width?: number }>`
&::after {
content: "";
position: absolute;
- top: 100%;
+ bottom: 100%;
left: 50%;
height: 10px;
width: 10px;
margin-left: -5px;
border-width: 5px;
border-style: solid;
- border-color: var(--ads-v2-color-bg-emphasis-max) transparent transparent
+ border-color: transparent transparent var(--ads-v2-color-bg-emphasis-max)
transparent;
}
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/styles.ts b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/styles.ts
index a60145281e9e..477027266dc2 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/styles.ts
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/components/CommonEditorForm/styles.ts
@@ -1,4 +1,5 @@
import styled from "styled-components";
+import { Tabs as AdsTabs, TabPanel as AdsTabPanel } from "@appsmith/ads";
export const RequestMethodSelectContainer = styled.div`
width: 100px;
@@ -10,3 +11,21 @@ export const RequestMethodSelectContainer = styled.div`
export const DatasourcePathFieldContainer = styled.div`
width: 100%;
`;
+
+export const FormHeader = styled.div`
+ position: sticky;
+ top: calc(-1 * var(--ads-v2-spaces-4));
+ padding-top: var(--ads-v2-spaces-4);
+ margin-top: calc(-1 * var(--ads-v2-spaces-4));
+ z-index: var(--ads-v2-z-index-21);
+ background-color: var(--ads-color-background);
+ height: 100px;
+`;
+
+export const Tabs = styled(AdsTabs)`
+ height: max-content;
+`;
+
+export const TabPanel = styled(AdsTabPanel)`
+ margin: 0 auto;
+`;
diff --git a/app/client/src/PluginActionEditor/components/PluginActionForm/components/UQIEditor/UQIEditorForm.tsx b/app/client/src/PluginActionEditor/components/PluginActionForm/components/UQIEditor/UQIEditorForm.tsx
index 69b7a4d0ed27..c8fb86c43aa9 100644
--- a/app/client/src/PluginActionEditor/components/PluginActionForm/components/UQIEditor/UQIEditorForm.tsx
+++ b/app/client/src/PluginActionEditor/components/PluginActionForm/components/UQIEditor/UQIEditorForm.tsx
@@ -23,7 +23,6 @@ const UQIEditorForm = () => {
alignItems="center"
data-testid="t--uqi-editor-form"
flexDirection="column"
- overflowY="scroll"
w="100%"
>
<FormRender
|
3d7d8911fd9b2ce1a2687f0b8f2e9cd56f5891ad
|
2022-06-09 15:01:02
|
Tolulope Adetula
|
fix: more refactoring
| false
|
more refactoring
|
fix
|
diff --git a/app/client/src/widgets/MultiSelectTreeWidget/component/index.tsx b/app/client/src/widgets/MultiSelectTreeWidget/component/index.tsx
index 3c6a8f2f18d2..716c57d5d836 100644
--- a/app/client/src/widgets/MultiSelectTreeWidget/component/index.tsx
+++ b/app/client/src/widgets/MultiSelectTreeWidget/component/index.tsx
@@ -15,7 +15,7 @@ import {
InputContainer,
} from "./index.styled";
import "rc-tree-select/assets/index.less";
-import { DefaultValueType, LabelValueType } from "rc-tree-select/lib/interface";
+import { DefaultValueType } from "rc-tree-select/lib/interface";
import { TreeNodeProps } from "rc-tree-select/lib/TreeNode";
import { CheckedStrategy } from "rc-tree-select/lib/utils/strategyUtil";
import { RenderMode, TextSize } from "constants/WidgetConstants";
@@ -25,7 +25,6 @@ import Icon from "components/ads/Icon";
import { Colors } from "constants/Colors";
import { LabelPosition } from "components/constants";
import LabelWithTooltip from "components/ads/LabelWithTooltip";
-import Select from "rc-select";
import useDropdown from "widgets/useDropdown";
export interface TreeSelectProps
@@ -133,15 +132,13 @@ function MultiTreeSelectComponent({
const [filter, setFilter] = useState(filterText ?? "");
const _menu = useRef<HTMLElement | null>(null);
- const selectRef = useRef<Select<LabelValueType[]> | null>(null);
const labelRef = useRef<HTMLDivElement>(null);
const inputRef = useRef<HTMLInputElement>(null);
const [memoDropDownWidth, setMemoDropDownWidth] = useState(0);
- const { BackDrop, getPopupContainer, onOpen } = useDropdown({
- selectRef,
+ const { BackDrop, getPopupContainer, onOpen, selectRef } = useDropdown({
inputRef,
renderMode,
});
diff --git a/app/client/src/widgets/MultiSelectWidgetV2/component/index.tsx b/app/client/src/widgets/MultiSelectWidgetV2/component/index.tsx
index 5afb17915873..6edb3cc6afd0 100644
--- a/app/client/src/widgets/MultiSelectWidgetV2/component/index.tsx
+++ b/app/client/src/widgets/MultiSelectWidgetV2/component/index.tsx
@@ -105,14 +105,12 @@ function MultiSelectComponent({
const [filter, setFilter] = useState(filterText ?? "");
const [filteredOptions, setFilteredOptions] = useState(options);
const [memoDropDownWidth, setMemoDropDownWidth] = useState(0);
- const selectRef = useRef<Select<LabelValueType[]> | null>(null);
const _menu = useRef<HTMLElement | null>(null);
const labelRef = useRef<HTMLDivElement>(null);
const inputRef = useRef<HTMLInputElement>(null);
- const { BackDrop, getPopupContainer, onOpen } = useDropdown({
- selectRef,
+ const { BackDrop, getPopupContainer, onOpen, selectRef } = useDropdown({
inputRef,
renderMode,
});
diff --git a/app/client/src/widgets/SingleSelectTreeWidget/component/index.tsx b/app/client/src/widgets/SingleSelectTreeWidget/component/index.tsx
index 31d10a5751ee..b24fc177acfc 100644
--- a/app/client/src/widgets/SingleSelectTreeWidget/component/index.tsx
+++ b/app/client/src/widgets/SingleSelectTreeWidget/component/index.tsx
@@ -15,7 +15,7 @@ import {
InputContainer,
} from "./index.styled";
import "rc-tree-select/assets/index.less";
-import { DefaultValueType, LabelValueType } from "rc-tree-select/lib/interface";
+import { DefaultValueType } from "rc-tree-select/lib/interface";
import { TreeNodeProps } from "rc-tree-select/lib/TreeNode";
import { RenderMode, TextSize } from "constants/WidgetConstants";
import { Alignment, Button, Classes, InputGroup } from "@blueprintjs/core";
@@ -24,7 +24,6 @@ import Icon from "components/ads/Icon";
import { Colors } from "constants/Colors";
import { LabelPosition } from "components/constants";
import LabelWithTooltip from "components/ads/LabelWithTooltip";
-import Select from "rc-select";
import useDropdown from "widgets/useDropdown";
export interface TreeSelectProps
@@ -129,14 +128,12 @@ function SingleSelectTreeComponent({
const [key, setKey] = useState(Math.random());
const [filter, setFilter] = useState(filterText ?? "");
- const selectRef = useRef<Select<LabelValueType[]> | null>(null);
const labelRef = useRef<HTMLDivElement>(null);
const _menu = useRef<HTMLElement | null>(null);
const inputRef = useRef<HTMLInputElement>(null);
const [memoDropDownWidth, setMemoDropDownWidth] = useState(0);
- const { BackDrop, getPopupContainer, onOpen } = useDropdown({
- selectRef,
+ const { BackDrop, getPopupContainer, onOpen, selectRef } = useDropdown({
inputRef,
renderMode,
});
diff --git a/app/client/src/widgets/useDropdown.tsx b/app/client/src/widgets/useDropdown.tsx
index 68d21eb06579..8c90de827130 100644
--- a/app/client/src/widgets/useDropdown.tsx
+++ b/app/client/src/widgets/useDropdown.tsx
@@ -15,15 +15,15 @@ const BackDropContainer = styled.div`
`;
type useDropdownProps = {
- selectRef: React.MutableRefObject<Select<LabelValueType[]> | null>;
inputRef: React.RefObject<HTMLInputElement>;
renderMode?: RenderMode;
};
const FOCUS_TIMEOUT = 500;
// TODO: Refactor More functionalities in MultiSelect, MultiTreeSelect and TreeSelect Components
-const useDropdown = ({ inputRef, renderMode, selectRef }: useDropdownProps) => {
+const useDropdown = ({ inputRef, renderMode }: useDropdownProps) => {
const popupContainer = useRef<HTMLElement>(getMainCanvas());
+ const selectRef = useRef<Select<LabelValueType[]> | null>(null);
const closeBackDrop = useCallback(() => {
if (selectRef.current) {
@@ -39,23 +39,27 @@ const useDropdown = ({ inputRef, renderMode, selectRef }: useDropdownProps) => {
const getPopupContainer = useCallback(() => popupContainer.current, []);
// When Dropdown is opened disable scrolling within the app except the list of options
- const onOpen = useCallback((open: boolean) => {
- if (open) {
- setTimeout(() => inputRef.current?.focus(), FOCUS_TIMEOUT);
- if (popupContainer.current && renderMode === RenderModes.CANVAS) {
- popupContainer.current.style.overflowY = "hidden";
+ const onOpen = useCallback(
+ (open: boolean) => {
+ if (open) {
+ setTimeout(() => inputRef.current?.focus(), FOCUS_TIMEOUT);
+ if (popupContainer.current && renderMode === RenderModes.CANVAS) {
+ popupContainer.current.style.overflowY = "hidden";
+ }
+ } else {
+ if (popupContainer.current && renderMode === RenderModes.CANVAS) {
+ popupContainer.current.style.overflowY = "auto";
+ }
}
- } else {
- if (popupContainer.current && renderMode === RenderModes.CANVAS) {
- popupContainer.current.style.overflowY = "auto";
- }
- }
- }, []);
+ },
+ [renderMode],
+ );
return {
BackDrop,
getPopupContainer,
onOpen,
+ selectRef,
};
};
|
648832a081179586244d52b1224262f682980bfb
|
2024-06-11 12:58:01
|
Manish Kumar
|
chore: reverted server version number (#34158)
| false
|
reverted server version number (#34158)
|
chore
|
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 34cc075b16ec..545686921c16 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
@@ -124,9 +124,6 @@ private static ApplicationJson migrateServerSchema(ApplicationJson applicationJs
case 6:
MigrationHelperMethods.ensureXmlParserPresenceInCustomJsLibList(applicationJson);
applicationJson.setServerSchemaVersion(7);
- case 7:
- applicationJson.setServerSchemaVersion(8);
-
default:
// Unable to detect the serverSchema
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaVersions.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaVersions.java
index dc55314e09e9..2b81d9a020af 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaVersions.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaVersions.java
@@ -12,6 +12,6 @@
*/
@Getter
public class JsonSchemaVersions {
- public static final Integer serverVersion = 8;
+ public static final Integer serverVersion = 7;
public static final Integer clientVersion = 1;
}
|
7346cfda8c378b3a8a29a5679305562726a0982b
|
2024-06-20 16:25:38
|
dependabot[bot]
|
chore: bump socket.io from 4.6.1 to 4.6.2 in /app/client (#34350)
| false
|
bump socket.io from 4.6.1 to 4.6.2 in /app/client (#34350)
|
chore
|
diff --git a/app/client/packages/rts/package.json b/app/client/packages/rts/package.json
index c67f857c3c7b..67a30f476b2e 100644
--- a/app/client/packages/rts/package.json
+++ b/app/client/packages/rts/package.json
@@ -25,7 +25,7 @@
"http-status-codes": "^2.2.0",
"klona": "^2.0.5",
"loglevel": "^1.8.1",
- "socket.io": "^4.5.4",
+ "socket.io": "^4.6.2",
"socket.io-adapter": "^2.4.0",
"source-map-support": "^0.5.19"
},
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index 3c9bc52bc564..5036011a6334 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -13063,7 +13063,7 @@ __metadata:
jest: ^29.3.1
klona: ^2.0.5
loglevel: ^1.8.1
- socket.io: ^4.5.4
+ socket.io: ^4.6.2
socket.io-adapter: ^2.4.0
source-map-support: ^0.5.19
supertest: ^6.3.3
@@ -18015,9 +18015,16 @@ __metadata:
languageName: node
linkType: hard
-"engine.io@npm:~6.4.1":
- version: 6.4.2
- resolution: "engine.io@npm:6.4.2"
+"engine.io-parser@npm:~5.2.1":
+ version: 5.2.2
+ resolution: "engine.io-parser@npm:5.2.2"
+ checksum: 470231215f3136a9259efb1268bc9a71f789af4e8c74da8d3b49ceb149fe3cd5c315bf0cd13d2d8d9c8f0f051c6f93b68e8fa9c89a3b612b9217bf33765c943a
+ languageName: node
+ linkType: hard
+
+"engine.io@npm:~6.5.2":
+ version: 6.5.5
+ resolution: "engine.io@npm:6.5.5"
dependencies:
"@types/cookie": ^0.4.1
"@types/cors": ^2.8.12
@@ -18027,9 +18034,9 @@ __metadata:
cookie: ~0.4.1
cors: ~2.8.5
debug: ~4.3.1
- engine.io-parser: ~5.0.3
- ws: ~8.11.0
- checksum: c4ca538c98d251ff00756ed955d924c3fd78e61af0a5825c9fa1d77ebb661ead7971598fb61daf079c2655c7be2d4a26094e446759e3c6786d8ac75ccffe36d5
+ engine.io-parser: ~5.2.1
+ ws: ~8.17.1
+ checksum: 358d337dd007b81cd6d7f39d0161ec8ec3a86097f0fbb0e10240eace51f836741f93c3e6bd69322b9ce0ad0fd89253a41e09335b6eb412d13e5357a054a90c4a
languageName: node
linkType: hard
@@ -31508,7 +31515,7 @@ __metadata:
languageName: node
linkType: hard
-"socket.io-parser@npm:~4.2.1":
+"socket.io-parser@npm:~4.2.1, socket.io-parser@npm:~4.2.4":
version: 4.2.4
resolution: "socket.io-parser@npm:4.2.4"
dependencies:
@@ -31518,17 +31525,18 @@ __metadata:
languageName: node
linkType: hard
-"socket.io@npm:^4.5.4":
- version: 4.6.1
- resolution: "socket.io@npm:4.6.1"
+"socket.io@npm:^4.6.2":
+ version: 4.7.5
+ resolution: "socket.io@npm:4.7.5"
dependencies:
accepts: ~1.3.4
base64id: ~2.0.0
+ cors: ~2.8.5
debug: ~4.3.2
- engine.io: ~6.4.1
+ engine.io: ~6.5.2
socket.io-adapter: ~2.5.2
- socket.io-parser: ~4.2.1
- checksum: 447941727142669b3709c3ae59ed790a2c3ad312d935400e2e25fdf59a95cdc92ebcf6b000ab2042a2a77ae51bb87598b40845a8d3b1f6ea6a0dd1df9c8f8459
+ socket.io-parser: ~4.2.4
+ checksum: b8b57216152cf230bdcb77b5450e124ebe1fee7482eeb50a6ef760b69f2f5a064e9b8640ce9c1efc5c9e081f5d797d3f6ff3f81606e19ddaf5d4114aad9ec7d3
languageName: node
linkType: hard
@@ -35110,9 +35118,9 @@ __metadata:
languageName: node
linkType: hard
-"ws@npm:^8.2.3, ws@npm:^8.4.2, ws@npm:^8.5.0":
- version: 8.12.1
- resolution: "ws@npm:8.12.1"
+"ws@npm:^8.2.3, ws@npm:^8.4.2, ws@npm:^8.5.0, ws@npm:~8.17.1":
+ version: 8.17.1
+ resolution: "ws@npm:8.17.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
@@ -35121,7 +35129,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: 97301c1c4d838fc81bd413f370f75c12aabe44527b31323b761eab3043a9ecb7e32ffd668548382c9a6a5ad3a1c3a9249608e8338e6b939f2f9540f1e21970b5
+ checksum: 442badcce1f1178ec87a0b5372ae2e9771e07c4929a3180321901f226127f252441e8689d765aa5cfba5f50ac60dd830954afc5aeae81609aefa11d3ddf5cecf
languageName: node
linkType: hard
|
47750db727b2d13512a5a2727a485e562abfef86
|
2023-03-16 17:32:32
|
Goutham Pratapa
|
ci: add comments for vercel-deploy-preview (#21349)
| false
|
add comments for vercel-deploy-preview (#21349)
|
ci
|
diff --git a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
index b3f3fe5671fb..8d46016d9b11 100644
--- a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
+++ b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
@@ -22,8 +22,8 @@ jobs:
PR: ${{ github.event.client_payload.pull_request.number }}.
server-build:
- if: github.event.client_payload.slash_command.args.named.env != 'release'
name: server-build
+ if: github.event.client_payload.slash_command.args.named.env != 'release'
uses: ./.github/workflows/server-build.yml
secrets: inherit
with:
@@ -48,8 +48,8 @@ jobs:
pr: ${{ github.event.client_payload.pull_request.number }}
vercel-build:
+ name: vercel-build
if: github.event.client_payload.slash_command.args.named.env == 'release'
- name: vercel-local-build
runs-on: ubuntu-latest
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
@@ -79,12 +79,23 @@ jobs:
run: vercel build --yes --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
- run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
+ id: set-dpurl
+ run: |
+ vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} >> ~/run_result.txt
+ echo "::set-output name=dpurl::$(cat ~/run_result.txt)"
+
+ - name: vercel-notify
+ uses: peter-evans/create-or-update-comment@v2
+ with:
+ issue-number: ${{ github.event.client_payload.pull_request.number }}
+ body: |
+ Deploy-Preview-URL: ${{ steps.set-dpurl.outputs.dpurl }}
+
push-image:
needs: [client-build, rts-build, server-build]
runs-on: ubuntu-latest
- if: success() && github.event.client_payload.slash_command.args.named.env != 'release'
+ if: success()
steps:
- name: Set up Depot CLI
@@ -145,7 +156,7 @@ jobs:
run:
working-directory: "."
- if: success() && github.event.client_payload.slash_command.args.named.env != 'release'
+ if: success()
steps:
- name: Checkout PR
@@ -174,6 +185,9 @@ jobs:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
PULL_REQUEST_NUMBER: ${{ github.event.client_payload.pull_request.number }}
+ DB_USERNAME: ${{ secrets.DB_USERNAME }}
+ DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
+ DB_URL: ${{ secrets.DB_URL }}
run: |
echo "environment variables set to deploy the image" $IMAGE_HASH
/bin/bash ./scripts/deploy_preview.sh
diff --git a/scripts/deploy_preview.sh b/scripts/deploy_preview.sh
index 47b5ad9a56cd..3bdf2149884e 100755
--- a/scripts/deploy_preview.sh
+++ b/scripts/deploy_preview.sh
@@ -31,6 +31,7 @@ export AWS_SESSION_TOKEN=$(echo $sts_output | jq -r '.Credentials''.SessionToken
export NAMESPACE=ce"$PULL_REQUEST_NUMBER"
export CHARTNAME=ce"$PULL_REQUEST_NUMBER"
export SECRET=ce"$PULL_REQUEST_NUMBER"
+export DBNAME=ce"$PULL_REQUEST_NUMBER"
export DOMAINNAME=ce-"$PULL_REQUEST_NUMBER".dp.appsmith.com
export HELMCHART="appsmith"
export HELMCHART_URL="http://helm.appsmith.com"
@@ -64,4 +65,5 @@ helm upgrade -i $CHARTNAME appsmith/appsmith -n $NAMESPACE \
--set "ingress.annotations.service\.beta\.kubernetes\.io/aws-load-balancer-ssl-cert=$AWS_RELEASE_CERT" \
--set "ingress.hosts[0].host=$DOMAINNAME, ingress.hosts[0].paths[0].path=/, ingress.hosts[0].paths[0].pathType=Prefix" \
--set ingress.className="nginx" --set image.pullPolicy="Always" --set autoupdate.enabled="true" --set persistence.size=4Gi \
+ --set applicationConfig.APPSMITH_MONGODB_URI="mongodb+srv://$DB_USERNAME:$DB_PASSWORD@$DB_URL/$DBNAME?retryWrites=true&minPoolSize=1&maxPoolSize=10&maxIdleTimeMS=900000&authSource=admin" \
--version $HELMCHART_VERSION
|
848070439801102e29ee888ea47635a79f8c9e32
|
2024-05-23 18:39:53
|
Shrikant Sharat Kandula
|
ci: Don't mount volume for TED's git repos (#33666)
| false
|
Don't mount volume for TED's git repos (#33666)
|
ci
|
diff --git a/.github/workflows/ci-debugging.yml b/.github/workflows/ci-debugging.yml
index 4fcbc6dbff69..8918c78ce4a4 100644
--- a/.github/workflows/ci-debugging.yml
+++ b/.github/workflows/ci-debugging.yml
@@ -69,10 +69,9 @@ jobs:
run: |
sudo /etc/init.d/ssh stop ;
mkdir -p ~/git-server/keys
- mkdir -p ~/git-server/repos
docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \
- -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
- -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest
+ -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
+ appsmith/test-event-driver:latest
cd cicontainerlocal
docker run -d --name appsmith -p 80:80 \
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml
index f23531681026..566e843e71f7 100644
--- a/.github/workflows/ci-test-custom-script.yml
+++ b/.github/workflows/ci-test-custom-script.yml
@@ -144,11 +144,10 @@ jobs:
run: |
sudo /etc/init.d/ssh stop ;
mkdir -p ~/git-server/keys
- mkdir -p ~/git-server/repos
ted_tag="${{inputs.ted_tag}}"
docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \
- -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
- -v ~/git-server/repos:/git-server/repos "appsmith/test-event-driver:${ted_tag:-latest}"
+ -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
+ "appsmith/test-event-driver:${ted_tag:-latest}"
docker run --name cloud-services -d -p 8000:80 -p 8090:8090 \
--privileged --pid=host --ipc=host --add-host=host.docker.internal:host-gateway\
-e APPSMITH_CLOUD_SERVICES_MONGODB_URI=mongodb://host.docker.internal:27017 \
diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml
index 8d2d7cf91b14..703b9a4c4a6d 100644
--- a/.github/workflows/ci-test-limited.yml
+++ b/.github/workflows/ci-test-limited.yml
@@ -165,10 +165,9 @@ jobs:
run: |
sudo /etc/init.d/ssh stop ;
mkdir -p ~/git-server/keys
- mkdir -p ~/git-server/repos
docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \
- -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
- -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest
+ -p 5432:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
+ appsmith/test-event-driver:latest
docker run --name cloud-services -d -p 8000:80 -p 8090:8090 \
--privileged --pid=host --ipc=host --add-host=host.docker.internal:host-gateway\
-e APPSMITH_CLOUD_SERVICES_MONGODB_URI=mongodb://host.docker.internal:27017 \
|
e9b131d65081474f6f146fc873c74820faa17716
|
2023-11-06 16:32:16
|
dependabot[bot]
|
chore(deps-dev): bump @babel/traverse from 7.19.4 to 7.23.2 in /deploy/docker/fs/opt/appsmith/utils (#28168)
| false
|
bump @babel/traverse from 7.19.4 to 7.23.2 in /deploy/docker/fs/opt/appsmith/utils (#28168)
|
chore
|
diff --git a/deploy/docker/fs/opt/appsmith/utils/package-lock.json b/deploy/docker/fs/opt/appsmith/utils/package-lock.json
index 5c7a1753f79e..8902794c5992 100644
--- a/deploy/docker/fs/opt/appsmith/utils/package-lock.json
+++ b/deploy/docker/fs/opt/appsmith/utils/package-lock.json
@@ -701,17 +701,89 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
- "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "version": "7.22.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.18.6"
+ "@babel/highlight": "^7.22.13",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/compat-data": {
"version": "7.19.4",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz",
@@ -752,13 +824,14 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.19.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.5.tgz",
- "integrity": "sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
+ "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.19.4",
+ "@babel/types": "^7.23.0",
"@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
},
"engines": {
@@ -798,34 +871,34 @@
}
},
"node_modules/@babel/helper-environment-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
- "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
"dev": true,
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-function-name": {
- "version": "7.19.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz",
- "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dev": true,
"dependencies": {
- "@babel/template": "^7.18.10",
- "@babel/types": "^7.19.0"
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-hoist-variables": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz",
- "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.22.5"
},
"engines": {
"node": ">=6.9.0"
@@ -884,30 +957,30 @@
}
},
"node_modules/@babel/helper-split-export-declaration": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz",
- "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==",
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.22.5"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz",
- "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
+ "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
"dev": true,
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.19.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz",
- "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -937,13 +1010,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",
- "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"dev": true,
"dependencies": {
- "@babel/helper-validator-identifier": "^7.18.6",
- "chalk": "^2.0.0",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -1022,9 +1095,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz",
- "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
+ "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -1211,33 +1284,33 @@
}
},
"node_modules/@babel/template": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz",
- "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==",
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"dev": true,
"dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/parser": "^7.18.10",
- "@babel/types": "^7.18.10"
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.4.tgz",
- "integrity": "sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g==",
- "dev": true,
- "dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.19.4",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.19.0",
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.19.4",
- "@babel/types": "^7.19.4",
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
+ "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.0",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.0",
+ "@babel/types": "^7.23.0",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -1246,13 +1319,13 @@
}
},
"node_modules/@babel/types": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz",
- "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
+ "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
"dev": true,
"dependencies": {
- "@babel/helper-string-parser": "^7.19.4",
- "@babel/helper-validator-identifier": "^7.19.1",
+ "@babel/helper-string-parser": "^7.22.5",
+ "@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
},
"engines": {
@@ -1607,13 +1680,13 @@
"dev": true
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.16",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.16.tgz",
- "integrity": "sha512-LCQ+NeThyJ4k1W2d+vIKdxuSt9R3pQSZ4P92m7EakaYuXcVWbHuT5bjNcqLd4Rdgi6xYWYDvBJZJLZSLanjDcA==",
+ "version": "0.3.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
"dev": true,
"dependencies": {
- "@jridgewell/resolve-uri": "3.1.0",
- "@jridgewell/sourcemap-codec": "1.4.14"
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/@mongodb-js/saslprep": {
@@ -5508,12 +5581,71 @@
}
},
"@babel/code-frame": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
- "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "version": "7.22.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"dev": true,
"requires": {
- "@babel/highlight": "^7.18.6"
+ "@babel/highlight": "^7.22.13",
+ "chalk": "^2.4.2"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true
+ },
+ "has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
}
},
"@babel/compat-data": {
@@ -5546,13 +5678,14 @@
}
},
"@babel/generator": {
- "version": "7.19.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.5.tgz",
- "integrity": "sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
+ "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
"dev": true,
"requires": {
- "@babel/types": "^7.19.4",
+ "@babel/types": "^7.23.0",
"@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
},
"dependencies": {
@@ -5582,28 +5715,28 @@
}
},
"@babel/helper-environment-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
- "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
"dev": true
},
"@babel/helper-function-name": {
- "version": "7.19.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz",
- "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dev": true,
"requires": {
- "@babel/template": "^7.18.10",
- "@babel/types": "^7.19.0"
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
}
},
"@babel/helper-hoist-variables": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz",
- "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
"dev": true,
"requires": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.22.5"
}
},
"@babel/helper-module-imports": {
@@ -5647,24 +5780,24 @@
}
},
"@babel/helper-split-export-declaration": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz",
- "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==",
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
"dev": true,
"requires": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.22.5"
}
},
"@babel/helper-string-parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz",
- "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
+ "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
"dev": true
},
"@babel/helper-validator-identifier": {
- "version": "7.19.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz",
- "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"dev": true
},
"@babel/helper-validator-option": {
@@ -5685,13 +5818,13 @@
}
},
"@babel/highlight": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",
- "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"dev": true,
"requires": {
- "@babel/helper-validator-identifier": "^7.18.6",
- "chalk": "^2.0.0",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"dependencies": {
@@ -5754,9 +5887,9 @@
}
},
"@babel/parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz",
- "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
+ "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
"dev": true
},
"@babel/plugin-syntax-async-generators": {
@@ -5886,42 +6019,42 @@
}
},
"@babel/template": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz",
- "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==",
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.18.6",
- "@babel/parser": "^7.18.10",
- "@babel/types": "^7.18.10"
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
}
},
"@babel/traverse": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.4.tgz",
- "integrity": "sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g==",
- "dev": true,
- "requires": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.19.4",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.19.0",
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.19.4",
- "@babel/types": "^7.19.4",
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
+ "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.0",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.0",
+ "@babel/types": "^7.23.0",
"debug": "^4.1.0",
"globals": "^11.1.0"
}
},
"@babel/types": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz",
- "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
+ "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
"dev": true,
"requires": {
- "@babel/helper-string-parser": "^7.19.4",
- "@babel/helper-validator-identifier": "^7.19.1",
+ "@babel/helper-string-parser": "^7.22.5",
+ "@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
}
},
@@ -6200,13 +6333,13 @@
"dev": true
},
"@jridgewell/trace-mapping": {
- "version": "0.3.16",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.16.tgz",
- "integrity": "sha512-LCQ+NeThyJ4k1W2d+vIKdxuSt9R3pQSZ4P92m7EakaYuXcVWbHuT5bjNcqLd4Rdgi6xYWYDvBJZJLZSLanjDcA==",
+ "version": "0.3.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
"dev": true,
"requires": {
- "@jridgewell/resolve-uri": "3.1.0",
- "@jridgewell/sourcemap-codec": "1.4.14"
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"@mongodb-js/saslprep": {
|
9a7a5e06af8722e6ab602416e3b19faacc77aba6
|
2021-12-14 13:01:40
|
Apeksha Bhosale
|
fix: changed conditions for variables as variables were undefined (#9748)
| false
|
changed conditions for variables as variables were undefined (#9748)
|
fix
|
diff --git a/app/client/src/utils/JSPaneUtils.tsx b/app/client/src/utils/JSPaneUtils.tsx
index 235851325b1a..2cd5e2ef8633 100644
--- a/app/client/src/utils/JSPaneUtils.tsx
+++ b/app/client/src/utils/JSPaneUtils.tsx
@@ -133,7 +133,12 @@ export const getDifferenceInJSCollection = (
const existedVar = varList.find((item) => item.name === newVar.name);
if (!!existedVar) {
const existedValue = existedVar.value;
- if (existedValue.toString() !== newVar.value.toString()) {
+ if (
+ (!!existedValue &&
+ existedValue.toString() !==
+ (newVar.value && newVar.value.toString())) ||
+ (!existedValue && !!newVar.value)
+ ) {
changedVariables.push(newVar);
}
} else {
diff --git a/app/client/src/workers/evaluationUtils.ts b/app/client/src/workers/evaluationUtils.ts
index 0679b8114ca2..cf9d7ec827f2 100644
--- a/app/client/src/workers/evaluationUtils.ts
+++ b/app/client/src/workers/evaluationUtils.ts
@@ -629,7 +629,11 @@ export const updateJSCollectionInDataTree = (
const existedVar = varList.indexOf(newVar.name);
if (existedVar > -1) {
const existedVarVal = jsCollection[newVar.name];
- if (existedVarVal.toString() !== newVar.value.toString()) {
+ if (
+ (!!existedVarVal && existedVarVal.toString()) !==
+ (newVar.value && newVar.value.toString()) ||
+ (!existedVarVal && !!newVar)
+ ) {
_.set(
modifiedDataTree,
`${jsCollection.name}.${newVar.name}`,
|
8d9900598b88b272a6a761b2d5d91afd503dea1d
|
2024-06-27 15:30:19
|
Jacques Ikot
|
fix: update newly created queries body with correct widget bindings (#34248)
| false
|
update newly created queries body with correct widget bindings (#34248)
|
fix
|
diff --git a/app/client/src/ce/api/ApplicationApi.tsx b/app/client/src/ce/api/ApplicationApi.tsx
index aac2706a98e4..7ecb602d1824 100644
--- a/app/client/src/ce/api/ApplicationApi.tsx
+++ b/app/client/src/ce/api/ApplicationApi.tsx
@@ -1,20 +1,20 @@
+import type { ApplicationVersion } from "@appsmith/actions/applicationActions";
+import { getSnapShotAPIRoute } from "@appsmith/constants/ApiConstants";
import Api from "api/Api";
import type { ApiResponse } from "api/ApiResponses";
import type { AxiosProgressEvent, AxiosPromise } from "axios";
+import type { NavigationSetting, ThemeSetting } from "constants/AppConstants";
import type { AppColorCode } from "constants/DefaultTheme";
+import type { EvaluationVersion } from "constants/EvalConstants";
import type { IconNames } from "design-system";
-import type { AppLayoutConfig } from "reducers/entityReducers/pageListReducer";
+import type { Action, BaseAction } from "entities/Action";
import type { APP_MODE } from "entities/App";
-import type { ApplicationVersion } from "@appsmith/actions/applicationActions";
import type { Datasource } from "entities/Datasource";
-import type { NavigationSetting, ThemeSetting } from "constants/AppConstants";
-import { getSnapShotAPIRoute } from "@appsmith/constants/ApiConstants";
import type {
LayoutSystemTypeConfig,
LayoutSystemTypes,
} from "layoutSystems/types";
-import type { BaseAction } from "entities/Action";
-import type { EvaluationVersion } from "constants/EvalConstants";
+import type { AppLayoutConfig } from "reducers/entityReducers/pageListReducer";
export interface PublishApplicationRequest {
applicationId: string;
@@ -276,6 +276,8 @@ interface ImportBuildingBlockOnPageActions extends BaseAction {
export interface ImportBuildingBlockToApplicationResponse {
widgetDsl: string;
onPageLoadActions: ImportBuildingBlockOnPageActions[];
+ newActionList: Action[];
+ datasourceList: Datasource[];
}
export class ApplicationApi extends Api {
diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx
index e4fd9283b124..6b8b89c086cc 100644
--- a/app/client/src/ce/constants/ReduxActionConstants.tsx
+++ b/app/client/src/ce/constants/ReduxActionConstants.tsx
@@ -272,6 +272,8 @@ const ActionTypes = {
DELETE_ACTION_INIT: "DELETE_ACTION_INIT",
SET_DATASOURCE_EDITOR_MODE: "SET_DATASOURCE_EDITOR_MODE",
SET_DATASOURCE_EDITOR_MODE_FLAG: "SET_DATASOURCE_EDITOR_MODE_FLAG",
+ APPEND_ACTION_AFTER_BUILDING_BLOCK_DROP:
+ "APPEND_ACTION_AFTER_BUILDING_BLOCK_DROP",
SET_DATASOURCE_COLLAPSIBLE_STATE: "SET_DATASOURCE_COLLAPSIBLE_STATE",
SET_ALL_DATASOURCE_COLLAPSIBLE_STATE: "SET_ALL_DATASOURCE_COLLAPSIBLE_STATE",
DELETE_ACTION_SUCCESS: "DELETE_ACTION_SUCCESS",
diff --git a/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx b/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx
index fc05e0195348..f7363709b5e9 100644
--- a/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx
+++ b/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx
@@ -149,6 +149,12 @@ export const handlers = {
}
});
},
+ [ReduxActionTypes.APPEND_ACTION_AFTER_BUILDING_BLOCK_DROP]: (
+ draftMetaState: ActionDataState,
+ action: ReduxAction<{ data: Action }>,
+ ) => {
+ return [...draftMetaState, action.payload.data];
+ },
[ReduxActionTypes.UPDATE_ACTION_PROPERTY]: (
draftMetaState: ActionDataState,
action: ReduxAction<UpdateActionPropertyActionPayload>,
diff --git a/app/client/src/sagas/ActionSagas.ts b/app/client/src/sagas/ActionSagas.ts
index 23b41bef42be..7aeed302dea6 100644
--- a/app/client/src/sagas/ActionSagas.ts
+++ b/app/client/src/sagas/ActionSagas.ts
@@ -577,6 +577,17 @@ export function* updateActionSaga(actionPayload: ReduxAction<{ id: string }>) {
}
}
+export function* apiCallToSaveAction(action: Action) {
+ const response: ApiResponse<Action> = yield call(updateActionAPICall, action);
+
+ const isValidResponse: boolean = yield validateResponse(response);
+ if (isValidResponse) {
+ yield put(updateActionSuccess({ data: response.data }));
+ checkAndLogErrorsIfCyclicDependency((response.data as Action).errorReports);
+ }
+ return { isValidResponse, response };
+}
+
export function* deleteActionSaga(
actionPayload: ReduxAction<{
id: string;
diff --git a/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts b/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts
index b644223b1e76..b24c645f8993 100644
--- a/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts
+++ b/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts
@@ -69,13 +69,16 @@ import ApplicationApi, {
import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors";
import type { WidgetAddChild } from "actions/pageActions";
import { runAction } from "actions/pluginActionActions";
+import { selectWidgetInitAction } from "actions/widgetSelectionActions";
import type { ApiResponse } from "api/ApiResponses";
import type { Template } from "api/TemplatesApi";
+import type { Action } from "entities/Action";
import { PluginType } from "entities/Action";
import type { JSCollection } from "entities/JSCollection";
import type { WidgetDraggingUpdateParams } from "layoutSystems/common/canvasArenas/ArenaTypes";
import type { DragDetails } from "reducers/uiReducers/dragResizeReducer";
import { race } from "redux-saga/effects";
+import { SelectionRequestType } from "sagas/WidgetSelectUtils";
import { getBuildingBlockDragStartTimestamp } from "selectors/buildingBlocksSelectors";
import {
getCurrentApplicationId,
@@ -83,15 +86,17 @@ import {
} from "selectors/editorSelectors";
import { getTemplatesSelector } from "selectors/templatesSelectors";
import { initiateBuildingBlockDropEvent } from "utils/buildingBlockUtils";
-import { saveBuildingBlockWidgetsToStore } from ".";
+import {
+ addNewlyAddedActionsToRedux,
+ saveBuildingBlockWidgetsToStore,
+ updateWidgetsNameInNewQueries,
+} from ".";
import { addWidgetAndMoveWidgetsSaga } from "../CanvasSagas/DraggingCanvasSagas";
import { validateResponse } from "../ErrorSagas";
import { postPageAdditionSaga } from "../TemplatesSagas";
import { addChildSaga } from "../WidgetAdditionSagas";
import { calculateNewWidgetPosition } from "../WidgetOperationSagas";
import { getDragDetails, getWidgetByName } from "../selectors";
-import { selectWidgetInitAction } from "actions/widgetSelectionActions";
-import { SelectionRequestType } from "sagas/WidgetSelectUtils";
function* addBuildingBlockActionsToApplication(dragDetails: DragDetails) {
const applicationId: string = yield select(getCurrentApplicationId);
@@ -225,6 +230,7 @@ export function* loadBuildingBlocksIntoApplication(
left: leftColumn,
},
buildingBlockWidget.widgetId,
+ response.data.newActionList,
);
const timeTakenToDropWidgetsInSeconds =
@@ -405,6 +411,7 @@ export function* pasteBuildingBlockWidgetsSaga(
left: number;
},
pastingIntoWidgetId: string,
+ newActions: Action[] = [],
) {
const {
flexLayers,
@@ -552,6 +559,13 @@ export function* pasteBuildingBlockWidgetsSaga(
},
);
}
+ if (oldWidgetName !== newWidgetName) {
+ newActions = updateWidgetsNameInNewQueries(
+ oldWidgetName,
+ newWidgetName,
+ newActions,
+ );
+ }
handleSelfWidgetReferencesDuringBuildingBlockPaste(
widget,
@@ -691,6 +705,8 @@ export function* pasteBuildingBlockWidgetsSaga(
),
);
+ yield addNewlyAddedActionsToRedux(newActions);
+
//calculate the new positions of the reflowed widgets
let reflowedWidgets = getReflowedPositions(
widgets,
diff --git a/app/client/src/sagas/BuildingBlockSagas/index.ts b/app/client/src/sagas/BuildingBlockSagas/index.ts
index bd89a6143f5c..30523f35cac7 100644
--- a/app/client/src/sagas/BuildingBlockSagas/index.ts
+++ b/app/client/src/sagas/BuildingBlockSagas/index.ts
@@ -1,13 +1,17 @@
import type { ImportBuildingBlockToApplicationResponse } from "@appsmith/api/ApplicationApi";
+import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
+import { getAction } from "@appsmith/selectors/entitiesSelector";
import { flattenDSL } from "@shared/dsl";
import type { WidgetProps } from "@shared/dsl/src/migrate/types";
import type { FlattenedWidgetProps } from "WidgetProvider/constants";
import type { ApiResponse } from "api/ApiResponses";
import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
+import type { Action } from "entities/Action";
import type { WidgetLayoutPositionInfo } from "layoutSystems/anvil/utils/layouts/widgetPositionUtils";
import type { CopiedWidgetData } from "layoutSystems/anvil/utils/paste/types";
import { getWidgetHierarchy } from "layoutSystems/anvil/utils/paste/utils";
-import { all } from "redux-saga/effects";
+import { all, call, put, select } from "redux-saga/effects";
+import { apiCallToSaveAction } from "sagas/ActionSagas";
import { saveCopiedWidgets } from "utils/storage";
export function* saveBuildingBlockWidgetsToStore(
@@ -44,3 +48,72 @@ export function* saveBuildingBlockWidgetsToStore(
}),
);
}
+
+export function updateWidgetsNameInNewQueries(
+ oldWidgetName: string,
+ newWidgetName: string,
+ queries: Action[],
+) {
+ if (!oldWidgetName || !newWidgetName || !queries) {
+ throw new Error(
+ "Invalid input: oldWidgetName, newWidgetName, or queries are missing or empty",
+ );
+ }
+
+ if (typeof oldWidgetName !== "string" || typeof newWidgetName !== "string") {
+ throw new Error(
+ "Invalid input: oldWidgetName and newWidgetName must be strings",
+ );
+ }
+
+ if (!Array.isArray(queries)) {
+ throw new Error("Invalid input: queries must be an array");
+ }
+
+ return queries
+ .filter((query) => !!query)
+ .map((query) => {
+ if (!query.actionConfiguration.body || !query.jsonPathKeys) {
+ return query;
+ }
+ query.actionConfiguration.body =
+ query.actionConfiguration.body.replaceAll(oldWidgetName, newWidgetName);
+ query.jsonPathKeys = query.jsonPathKeys.map((path: string) =>
+ path.replaceAll(oldWidgetName, newWidgetName),
+ );
+ return query;
+ });
+}
+
+// new actions needed after the drop of a block need to be added to the redux local state
+export function* addNewlyAddedActionsToRedux(actions: Action[]) {
+ for (const action of actions) {
+ if (!action) {
+ continue;
+ }
+
+ const existingAction: Action = yield select(getAction, action.id);
+ if (existingAction) {
+ continue;
+ }
+
+ try {
+ const actionDataPayload = {
+ isLoading: false,
+ config: action,
+ data: undefined,
+ };
+
+ yield put({
+ type: ReduxActionTypes.APPEND_ACTION_AFTER_BUILDING_BLOCK_DROP,
+ payload: {
+ data: actionDataPayload,
+ },
+ });
+
+ yield call(apiCallToSaveAction, action);
+ } catch (error) {
+ throw new Error("Error adding new action to Redux");
+ }
+ }
+}
diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts b/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts
new file mode 100644
index 000000000000..6eb7da7c624d
--- /dev/null
+++ b/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts
@@ -0,0 +1,291 @@
+import {
+ ReduxActionTypes,
+ type ReduxAction,
+} from "@appsmith/constants/ReduxActionConstants";
+import { getAction } from "@appsmith/selectors/entitiesSelector";
+import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors";
+import type { WidgetAddChild } from "actions/pageActions";
+import type { Action } from "entities/Action";
+import type { DragDetails } from "reducers/uiReducers/dragResizeReducer";
+import type { CallEffect, PutEffect, SelectEffect } from "redux-saga/effects";
+import { call, put, select } from "redux-saga/effects";
+import { apiCallToSaveAction } from "sagas/ActionSagas";
+import { addWidgetAndMoveWidgetsSaga } from "sagas/CanvasSagas/DraggingCanvasSagas";
+import { addChildSaga } from "sagas/WidgetAdditionSagas";
+import { getDragDetails, getWidgetByName } from "sagas/selectors";
+import { getCurrentApplicationId } from "selectors/editorSelectors";
+import { initiateBuildingBlockDropEvent } from "utils/buildingBlockUtils";
+import { addNewlyAddedActionsToRedux, updateWidgetsNameInNewQueries } from "..";
+import {
+ addAndMoveBuildingBlockToCanvasSaga,
+ addBuildingBlockToCanvasSaga,
+ loadBuildingBlocksIntoApplication,
+} from "../BuildingBlockAdditionSagas";
+import {
+ actionPayload,
+ addEntityAction,
+ newlyCreatedActions,
+ skeletonWidget,
+} from "./fixtures";
+
+type GeneratorType = Generator<
+ CallEffect | SelectEffect | PutEffect,
+ void,
+ unknown
+>;
+
+describe("addAndMoveBuildingBlockToCanvasSaga", () => {
+ it("1. should add a skeleton widget and move existing widgets appropriately", () => {
+ const generator: GeneratorType =
+ addAndMoveBuildingBlockToCanvasSaga(actionPayload);
+
+ // Step 1: select getCurrentApplicationId
+ let result = generator.next();
+ expect(result.value).toEqual(select(getCurrentApplicationId));
+
+ // Mock return value of getCurrentApplicationId
+ const applicationId = "app1";
+ result = generator.next(applicationId);
+ expect(result.value).toEqual(select(getCurrentWorkspaceId));
+
+ // Step 2: select getCurrentWorkspaceId
+ const workspaceId = "workspace1";
+ result = generator.next(workspaceId);
+ expect(result.value).toEqual(select(getDragDetails));
+
+ // Step 3: select getDragDetails
+ const dragDetails: DragDetails = {
+ newWidget: {
+ displayName: "TestWidget",
+ },
+ };
+ result = generator.next(dragDetails);
+
+ // Generating the skeletonWidgetName
+ const buildingblockName = dragDetails.newWidget.displayName;
+ const skeletonWidgetName = `loading_${buildingblockName.toLowerCase().replace(/ /g, "_")}`;
+
+ const updatedActionPayload = {
+ ...actionPayload,
+ payload: {
+ ...actionPayload.payload,
+ shouldReplay: false,
+ newWidget: {
+ ...actionPayload.payload.newWidget,
+ type: "SKELETON_WIDGET",
+ widgetName: skeletonWidgetName,
+ },
+ },
+ };
+
+ // Step 4: call addWidgetAndMoveWidgetsSaga
+ expect(result.value).toEqual(
+ call(addWidgetAndMoveWidgetsSaga, updatedActionPayload),
+ );
+
+ // Step 5: call initiateBuildingBlockDropEvent
+ result = generator.next();
+ expect(result.value).toEqual(
+ call(initiateBuildingBlockDropEvent, {
+ applicationId,
+ workspaceId,
+ buildingblockName,
+ }),
+ );
+
+ // Step 6: select getWidgetByName
+ result = generator.next();
+ expect(result.value).toEqual(select(getWidgetByName, skeletonWidgetName));
+
+ result = generator.next(skeletonWidget);
+
+ // Step 7: call loadBuildingBlocksIntoApplication
+ expect(result.value).toEqual(
+ call(
+ loadBuildingBlocksIntoApplication,
+ {
+ ...actionPayload.payload.newWidget,
+ widgetId: actionPayload.payload.canvasId,
+ },
+ skeletonWidget.widgetId,
+ ),
+ );
+
+ // Complete the generator
+ result = generator.next();
+ expect(result.done).toBe(true);
+ });
+
+ it("2. should handle add and move errors gracefully", () => {
+ const generator: GeneratorType =
+ addAndMoveBuildingBlockToCanvasSaga(actionPayload);
+
+ generator.next();
+ // Introduce an error by throwing one manually
+ const error = new Error("Something went wrong");
+ try {
+ generator.throw(error);
+ } catch (err) {
+ expect(err).toBe(error);
+ }
+ });
+});
+
+describe("addBuildingBlockToCanvasSaga", () => {
+ it("1. should add a skeleton widget and initiate a building block drop", () => {
+ const generator: GeneratorType =
+ addBuildingBlockToCanvasSaga(addEntityAction);
+
+ // Step 1: select getCurrentApplicationId
+ let result = generator.next();
+ expect(result.value).toEqual(select(getCurrentApplicationId));
+
+ // Mock return value of getCurrentApplicationId
+ const applicationId = "app1";
+ result = generator.next(applicationId);
+ expect(result.value).toEqual(select(getCurrentWorkspaceId));
+
+ // Step 2: select getCurrentWorkspaceId
+ const workspaceId = "workspace1";
+ result = generator.next(workspaceId);
+ expect(result.value).toEqual(select(getDragDetails));
+
+ // Step 3: select getDragDetails
+ const dragDetails = {
+ newWidget: {
+ displayName: "TestWidget",
+ },
+ };
+ result = generator.next(dragDetails);
+
+ // Generating the skeletonWidgetName
+ const buildingblockName = dragDetails.newWidget.displayName;
+ const skeletonWidgetName = `loading_${buildingblockName.toLowerCase().replace(/ /g, "_")}`;
+
+ const addSkeletonWidgetAction: ReduxAction<
+ WidgetAddChild & { shouldReplay: boolean }
+ > = {
+ ...addEntityAction,
+ payload: {
+ ...addEntityAction.payload,
+ type: "SKELETON_WIDGET",
+ widgetName: skeletonWidgetName,
+ shouldReplay: false,
+ },
+ };
+
+ // Step 4: call initiateBuildingBlockDropEvent
+ expect(result.value).toEqual(
+ call(initiateBuildingBlockDropEvent, {
+ applicationId,
+ workspaceId,
+ buildingblockName,
+ }),
+ );
+
+ // Step 5: call addChildSaga
+ result = generator.next();
+ expect(result.value).toEqual(call(addChildSaga, addSkeletonWidgetAction));
+
+ // Step 6: select getWidgetByName
+ result = generator.next();
+ expect(result.value).toEqual(select(getWidgetByName, skeletonWidgetName));
+
+ result = generator.next(skeletonWidget);
+
+ // Step 7: call loadBuildingBlocksIntoApplication
+ expect(result.value).toEqual(
+ call(
+ loadBuildingBlocksIntoApplication,
+ addEntityAction.payload,
+ skeletonWidget.widgetId,
+ ),
+ );
+
+ // Complete the generator
+ result = generator.next();
+ expect(result.done).toBe(true);
+ });
+
+ it("2. should handle add errors gracefully", () => {
+ const generator: GeneratorType =
+ addBuildingBlockToCanvasSaga(addEntityAction);
+
+ generator.next();
+ // Introduce an error by throwing one manually
+ const error = new Error("Something went wrong");
+ try {
+ generator.throw(error);
+ } catch (err) {
+ expect(err).toBe(error);
+ }
+ });
+});
+
+describe("addNewlyAddedActionsToRedux", () => {
+ it("1. should add new actions to Redux if they do not already exist", () => {
+ const existingAction = undefined;
+
+ const generator: any = addNewlyAddedActionsToRedux(newlyCreatedActions);
+
+ for (const action of newlyCreatedActions) {
+ expect(generator.next().value).toEqual(select(getAction, action.id));
+ expect(generator.next(existingAction).value).toEqual(
+ put({
+ type: ReduxActionTypes.APPEND_ACTION_AFTER_BUILDING_BLOCK_DROP,
+ payload: {
+ data: {
+ isLoading: false,
+ config: action,
+ data: undefined,
+ },
+ },
+ }),
+ );
+ expect(generator.next().value).toEqual(call(apiCallToSaveAction, action));
+ }
+
+ expect(generator.next().done).toBe(true);
+ });
+ it("2. should handle empty actions array gracefully", () => {
+ const actions: Action[] = [];
+ const generator = addNewlyAddedActionsToRedux(actions);
+
+ expect(generator.next().done).toBe(true);
+ });
+});
+
+describe("updateWidgetsNameInNewQueries", () => {
+ it("1. should replace oldWidgetName with newWidgetName in actionConfiguration.body", () => {
+ const oldWidgetName = "tbl_usersCopy4";
+ const newWidgetName = "tbl_usersCopy5";
+ const queries: Action[] = newlyCreatedActions;
+
+ const updatedQueries = updateWidgetsNameInNewQueries(
+ oldWidgetName,
+ newWidgetName,
+ queries,
+ );
+
+ expect(updatedQueries[0].actionConfiguration.body).toBe(
+ 'SELECT * FROM user_data WHERE name ILIKE \'{{"%" + (tbl_usersCopy5.searchText || "") + "%"}}',
+ );
+ expect(updatedQueries[0].jsonPathKeys[0]).toBe(
+ "dat_bornAfterCopy4.selectedDate",
+ );
+ });
+
+ it("2. should return an empty array when queries array is empty", () => {
+ const oldWidgetName = "OldWidget";
+ const newWidgetName = "NewWidget";
+ const queries: any[] = [];
+
+ const updatedQueries = updateWidgetsNameInNewQueries(
+ oldWidgetName,
+ newWidgetName,
+ queries,
+ );
+
+ expect(updatedQueries).toEqual([]);
+ });
+});
diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockToCanvasSaga.test.ts b/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockToCanvasSaga.test.ts
deleted file mode 100644
index 2b94e7d1e380..000000000000
--- a/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockToCanvasSaga.test.ts
+++ /dev/null
@@ -1,116 +0,0 @@
-import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors";
-import type { DragDetails } from "reducers/uiReducers/dragResizeReducer";
-import type { CallEffect, PutEffect, SelectEffect } from "redux-saga/effects";
-import { call, select } from "redux-saga/effects";
-import { addWidgetAndMoveWidgetsSaga } from "sagas/CanvasSagas/DraggingCanvasSagas";
-import { getDragDetails, getWidgetByName } from "sagas/selectors";
-import { getCurrentApplicationId } from "selectors/editorSelectors";
-import { initiateBuildingBlockDropEvent } from "utils/buildingBlockUtils";
-import {
- addAndMoveBuildingBlockToCanvasSaga,
- loadBuildingBlocksIntoApplication,
-} from "../BuildingBlockAdditionSagas";
-import { actionPayload, skeletonWidget } from "./fixtures";
-
-type GeneratorType = Generator<
- CallEffect | SelectEffect | PutEffect,
- void,
- unknown
->;
-
-describe("addAndMoveBuildingBlockToCanvasSaga", () => {
- it("1. should add a skeleton widget and move existing widgets appropriately", () => {
- const generator: GeneratorType =
- addAndMoveBuildingBlockToCanvasSaga(actionPayload);
-
- // Step 1: select getCurrentApplicationId
- let result = generator.next();
- expect(result.value).toEqual(select(getCurrentApplicationId));
-
- // Mock return value of getCurrentApplicationId
- const applicationId = "app1";
- result = generator.next(applicationId);
- expect(result.value).toEqual(select(getCurrentWorkspaceId));
-
- // Step 2: select getCurrentWorkspaceId
- const workspaceId = "workspace1";
- result = generator.next(workspaceId);
- expect(result.value).toEqual(select(getDragDetails));
-
- // Step 3: select getDragDetails
- const dragDetails: DragDetails = {
- newWidget: {
- displayName: "TestWidget",
- },
- };
- result = generator.next(dragDetails);
-
- // Generating the skeletonWidgetName
- const buildingblockName = dragDetails.newWidget.displayName;
- const skeletonWidgetName = `loading_${buildingblockName.toLowerCase().replace(/ /g, "_")}`;
-
- const updatedActionPayload = {
- ...actionPayload,
- payload: {
- ...actionPayload.payload,
- shouldReplay: false,
- newWidget: {
- ...actionPayload.payload.newWidget,
- type: "SKELETON_WIDGET",
- widgetName: skeletonWidgetName,
- },
- },
- };
-
- // Step 4: call addWidgetAndMoveWidgetsSaga
- expect(result.value).toEqual(
- call(addWidgetAndMoveWidgetsSaga, updatedActionPayload),
- );
-
- // Step 5: call initiateBuildingBlockDropEvent
- result = generator.next();
- expect(result.value).toEqual(
- call(initiateBuildingBlockDropEvent, {
- applicationId,
- workspaceId,
- buildingblockName,
- }),
- );
-
- // Step 6: select getWidgetByName
- result = generator.next();
- expect(result.value).toEqual(select(getWidgetByName, skeletonWidgetName));
-
- result = generator.next(skeletonWidget);
-
- // Step 7: call loadBuildingBlocksIntoApplication
- expect(result.value).toEqual(
- call(
- loadBuildingBlocksIntoApplication,
- {
- ...actionPayload.payload.newWidget,
- widgetId: actionPayload.payload.canvasId,
- },
- skeletonWidget.widgetId,
- ),
- );
-
- // Complete the generator
- result = generator.next();
- expect(result.done).toBe(true);
- });
-
- it("2. should handle errors gracefully", () => {
- const generator: GeneratorType =
- addAndMoveBuildingBlockToCanvasSaga(actionPayload);
-
- generator.next();
- // Introduce an error by throwing one manually
- const error = new Error("Something went wrong");
- try {
- generator.throw(error);
- } catch (err) {
- expect(err).toBe(error);
- }
- });
-});
diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/AddBuildingBlockToCanvasSaga.test.ts b/app/client/src/sagas/BuildingBlockSagas/tests/AddBuildingBlockToCanvasSaga.test.ts
deleted file mode 100644
index bae92dc1456e..000000000000
--- a/app/client/src/sagas/BuildingBlockSagas/tests/AddBuildingBlockToCanvasSaga.test.ts
+++ /dev/null
@@ -1,111 +0,0 @@
-import type { CallEffect, PutEffect, SelectEffect } from "redux-saga/effects";
-import { call, select } from "redux-saga/effects";
-import {
- addBuildingBlockToCanvasSaga,
- loadBuildingBlocksIntoApplication,
-} from "../BuildingBlockAdditionSagas";
-import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
-import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors";
-import type { WidgetAddChild } from "actions/pageActions";
-import { addChildSaga } from "sagas/WidgetAdditionSagas";
-import { getDragDetails, getWidgetByName } from "sagas/selectors";
-import { getCurrentApplicationId } from "selectors/editorSelectors";
-import { initiateBuildingBlockDropEvent } from "utils/buildingBlockUtils";
-import { addEntityAction, skeletonWidget } from "./fixtures";
-
-type GeneratorType = Generator<
- CallEffect | SelectEffect | PutEffect,
- void,
- unknown
->;
-
-describe("addBuildingBlockToCanvasSaga", () => {
- it("1. should add a skeleton widget and initiate a building block drop", () => {
- const generator: GeneratorType =
- addBuildingBlockToCanvasSaga(addEntityAction);
-
- // Step 1: select getCurrentApplicationId
- let result = generator.next();
- expect(result.value).toEqual(select(getCurrentApplicationId));
-
- // Mock return value of getCurrentApplicationId
- const applicationId = "app1";
- result = generator.next(applicationId);
- expect(result.value).toEqual(select(getCurrentWorkspaceId));
-
- // Step 2: select getCurrentWorkspaceId
- const workspaceId = "workspace1";
- result = generator.next(workspaceId);
- expect(result.value).toEqual(select(getDragDetails));
-
- // Step 3: select getDragDetails
- const dragDetails = {
- newWidget: {
- displayName: "TestWidget",
- },
- };
- result = generator.next(dragDetails);
-
- // Generating the skeletonWidgetName
- const buildingblockName = dragDetails.newWidget.displayName;
- const skeletonWidgetName = `loading_${buildingblockName.toLowerCase().replace(/ /g, "_")}`;
-
- const addSkeletonWidgetAction: ReduxAction<
- WidgetAddChild & { shouldReplay: boolean }
- > = {
- ...addEntityAction,
- payload: {
- ...addEntityAction.payload,
- type: "SKELETON_WIDGET",
- widgetName: skeletonWidgetName,
- shouldReplay: false,
- },
- };
-
- // Step 4: call initiateBuildingBlockDropEvent
- expect(result.value).toEqual(
- call(initiateBuildingBlockDropEvent, {
- applicationId,
- workspaceId,
- buildingblockName,
- }),
- );
-
- // Step 5: call addChildSaga
- result = generator.next();
- expect(result.value).toEqual(call(addChildSaga, addSkeletonWidgetAction));
-
- // Step 6: select getWidgetByName
- result = generator.next();
- expect(result.value).toEqual(select(getWidgetByName, skeletonWidgetName));
-
- result = generator.next(skeletonWidget);
-
- // Step 7: call loadBuildingBlocksIntoApplication
- expect(result.value).toEqual(
- call(
- loadBuildingBlocksIntoApplication,
- addEntityAction.payload,
- skeletonWidget.widgetId,
- ),
- );
-
- // Complete the generator
- result = generator.next();
- expect(result.done).toBe(true);
- });
-
- it("2. should handle errors gracefully", () => {
- const generator: GeneratorType =
- addBuildingBlockToCanvasSaga(addEntityAction);
-
- generator.next();
- // Introduce an error by throwing one manually
- const error = new Error("Something went wrong");
- try {
- generator.throw(error);
- } catch (err) {
- expect(err).toBe(error);
- }
- });
-});
diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/PasteBuildingBlockWidgetSaga.test.ts b/app/client/src/sagas/BuildingBlockSagas/tests/PasteBuildingBlockWidgetSaga.test.ts
index 8f747e22ea0e..354188b52026 100644
--- a/app/client/src/sagas/BuildingBlockSagas/tests/PasteBuildingBlockWidgetSaga.test.ts
+++ b/app/client/src/sagas/BuildingBlockSagas/tests/PasteBuildingBlockWidgetSaga.test.ts
@@ -1,3 +1,6 @@
+import { BlueprintOperationTypes } from "WidgetProvider/constants";
+import type { FlexLayer } from "layoutSystems/autolayout/utils/types";
+import { cloneDeep } from "lodash";
import type {
AllEffect,
CallEffect,
@@ -5,24 +8,21 @@ import type {
SelectEffect,
} from "redux-saga/effects";
import { call, select } from "redux-saga/effects";
-import { pasteBuildingBlockWidgetsSaga } from "../BuildingBlockAdditionSagas";
-import { getCopiedWidgets } from "utils/storage";
-import type { FlexLayer } from "layoutSystems/autolayout/utils/types";
+import { getNewPositions } from "sagas/PasteWidgetUtils";
+import { executeWidgetBlueprintBeforeOperations } from "sagas/WidgetBlueprintSagas";
import { getWidgets } from "sagas/selectors";
import {
getCanvasWidth,
getIsAutoLayoutMobileBreakPoint,
} from "selectors/editorSelectors";
-import { getNewPositions } from "sagas/PasteWidgetUtils";
-import { executeWidgetBlueprintBeforeOperations } from "sagas/WidgetBlueprintSagas";
-import { BlueprintOperationTypes } from "WidgetProvider/constants";
-import { cloneDeep } from "lodash";
+import { getCopiedWidgets } from "utils/storage";
+import { pasteBuildingBlockWidgetsSaga } from "../BuildingBlockAdditionSagas";
import {
copiedWidgets,
leftMostWidget,
topMostWidget,
} from "../pasteWidgetAddition.fixture";
-import type { NewPastePositionVariables } from "sagas/WidgetOperationUtils";
+import { newlyCreatedActions } from "./fixtures";
// Mock data for testing
const gridPosition = { top: 50, left: 500 };
@@ -30,16 +30,17 @@ const parentWidgetId = "parentWidgetId";
const totalWidth = 31;
const flexLayers: FlexLayer[] = [];
-type GeneratorType = Generator<
- | CallEffect<NewPastePositionVariables>
- | SelectEffect
+
+type ValueType =
| Promise<any>
+ | SelectEffect
+ | CallEffect<any>
| CallEffect<void>
| AllEffect<any>
- | PutEffect<any>,
- void,
- unknown
->;
+ | PutEffect<any>
+ | any;
+
+type GeneratorType = Generator<ValueType, void, unknown>;
describe("pasteBuildingBlockWidgetsSaga", () => {
const copiedWidgetsResponse = { widgets: copiedWidgets, flexLayers };
@@ -47,6 +48,7 @@ describe("pasteBuildingBlockWidgetsSaga", () => {
const generator: GeneratorType = pasteBuildingBlockWidgetsSaga(
gridPosition,
parentWidgetId,
+ newlyCreatedActions,
);
// Step 1: call getCopiedWidgets()
diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts b/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts
index 59f838f5237d..ccfb15c5eab3 100644
--- a/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts
+++ b/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts
@@ -2,8 +2,8 @@ import type { WidgetAddChild } from "actions/pageActions";
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
import type { WidgetDraggingUpdateParams } from "layoutSystems/common/canvasArenas/ArenaTypes";
import type { FlattenedWidgetProps } from "reducers/entityReducers/canvasWidgetsReducer";
+import { PaginationType, PluginType, type Action } from "entities/Action";
-// Mock return value of getWidgetByName
export const skeletonWidget: FlattenedWidgetProps = {
needsErrorInfo: false,
mobileBottomRow: 69,
@@ -101,3 +101,53 @@ export const addEntityAction: ReduxAction<WidgetAddChild> = {
tabId: "0",
},
};
+
+export const newlyCreatedActions: Action[] = [
+ {
+ id: "6673f0a0b64fdc719809bf28",
+ workspaceId: "6672debbb64fdc719809bf05",
+ cacheResponse: "",
+ pluginType: PluginType.DB,
+ pluginId: "667115877cb2c839782babdd",
+ name: "fetch_users5",
+ datasource: {
+ id: "6673d7cdb64fdc719809bf19",
+ name: "Sample Database",
+ pluginId: "667115877cb2c839782babdd",
+ },
+ pageId: "6673d78fb64fdc719809bf17",
+ actionConfiguration: {
+ timeoutInMillisecond: 10000,
+ paginationType: PaginationType.NONE,
+ body: 'SELECT * FROM user_data WHERE name ILIKE \'{{"%" + (tbl_usersCopy4.searchText || "") + "%"}}',
+ pluginSpecifiedTemplates: [
+ {
+ value: false,
+ },
+ ],
+ },
+ executeOnLoad: true,
+ dynamicBindingPathList: [
+ {
+ key: "body",
+ },
+ ],
+ isValid: true,
+ invalids: [],
+ messages: [],
+ jsonPathKeys: [
+ "dat_bornAfterCopy4.selectedDate",
+ '"%" + (tbl_usersCopy4.searchText || "") + "%"',
+ "tbl_usersCopy4.pageOffset",
+ 'sel_countryCopy4.selectedOptionValue !== "" ? "AND country = \'" + sel_countryCopy4.selectedOptionValue + "\'" : ""',
+ "tbl_usersCopy4.pageSize - 1",
+ ],
+ confirmBeforeExecute: false,
+ userPermissions: [
+ "read:actions",
+ "delete:actions",
+ "execute:actions",
+ "manage:actions",
+ ],
+ },
+];
|
078cd2921d4edc317ec692ee04161484e20b252f
|
2025-03-13 17:08:56
|
Ashit Rath
|
chore: Enable meta modal widgets to render in canvas (#39652)
| false
|
Enable meta modal widgets to render in canvas (#39652)
|
chore
|
diff --git a/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutEditorCanvas.tsx b/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutEditorCanvas.tsx
index 726e9dcdaf46..5227331e9a42 100644
--- a/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutEditorCanvas.tsx
+++ b/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutEditorCanvas.tsx
@@ -60,30 +60,38 @@ export const FixedLayoutEditorCanvas = (props: BaseWidgetProps) => {
};
// ToDO(#27617): Remove sorting of children on the view, ideally the model should be sorted, coz they are less frequently happening
// operations. leaving it as is for now, coz it multiple cypress tests are dependent on this.
- const canvasChildren = useMemo(
- () =>
- renderChildren(
- props.positioning !== Positioning.Fixed
- ? props.children
- : sortBy(
- compact(props.children),
- (child: WidgetProps) => child.topRow,
- ),
- props.widgetId,
- RenderModes.CANVAS,
- defaultWidgetProps,
- layoutSystemProps,
- !!props.noPad,
- ),
- [
- props.children,
- props.shouldScrollContents,
+ const canvasChildren = useMemo(() => {
+ /**
+ * With UI modules there is a possiblity of the module to have modals and these modals needs to be
+ * rendered as children of the main canvas in order for the modals to be functional. Since all the widgets
+ * of a UI modules are rendered as meta widgets, the Main canvas receives the metaWidgetChildrenStructure
+ * in the props.
+ */
+ const children = [
+ ...(props?.children || []),
+ ...(props?.metaWidgetChildrenStructure || []),
+ ];
+
+ return renderChildren(
+ props.positioning !== Positioning.Fixed
+ ? children
+ : sortBy(compact(children), (child: WidgetProps) => child.topRow),
props.widgetId,
- props.componentHeight,
- props.componentWidth,
- snapColumnSpace,
- ],
- );
+ RenderModes.CANVAS,
+ defaultWidgetProps,
+ layoutSystemProps,
+ !!props.noPad,
+ );
+ }, [
+ props.children,
+ props.positioning,
+ props.shouldScrollContents,
+ props.widgetId,
+ props.componentHeight,
+ props.componentWidth,
+ snapColumnSpace,
+ props.metaWidgetChildrenStructure,
+ ]);
return (
<DropTargetComponentWrapper
diff --git a/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutViewerCanvas.tsx b/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutViewerCanvas.tsx
index d13399af396f..9e1dd6f5809e 100644
--- a/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutViewerCanvas.tsx
+++ b/app/client/src/layoutSystems/fixedlayout/canvas/FixedLayoutViewerCanvas.tsx
@@ -33,30 +33,38 @@ export const FixedLayoutViewerCanvas = (props: BaseWidgetProps) => {
// ToDO(#27617): Remove sorting of children on the view, ideally the model should be sorted, coz they are less frequently happening
// operations. leaving it as is for now, coz it multiple cypress tests are dependent on this.
- const canvasChildren = useMemo(
- () =>
- renderChildren(
- props.positioning !== Positioning.Fixed
- ? props.children
- : sortBy(
- compact(props.children),
- (child: WidgetProps) => child.topRow,
- ),
- props.widgetId,
- RenderModes.PAGE,
- defaultWidgetProps,
- layoutSystemProps,
- !!props.noPad,
- ),
- [
- props.children,
- props.shouldScrollContents,
+ const canvasChildren = useMemo(() => {
+ /**
+ * With UI modules there is a possiblity of the module to have modals and these modals needs to be
+ * rendered as children of the main canvas in order for the modals to be functional. Since all the widgets
+ * of a UI modules are rendered as meta widgets, the Main canvas receives the metaWidgetChildrenStructure
+ * in the props.
+ */
+ const children = [
+ ...(props?.children || []),
+ ...(props?.metaWidgetChildrenStructure || []),
+ ];
+
+ return renderChildren(
+ props.positioning !== Positioning.Fixed
+ ? children
+ : sortBy(compact(children), (child: WidgetProps) => child.topRow),
props.widgetId,
- props.componentHeight,
- props.componentWidth,
- snapColumnSpace,
- ],
- );
+ RenderModes.PAGE,
+ defaultWidgetProps,
+ layoutSystemProps,
+ !!props.noPad,
+ );
+ }, [
+ props.children,
+ props.positioning,
+ props.shouldScrollContents,
+ props.widgetId,
+ props.componentHeight,
+ props.componentWidth,
+ snapColumnSpace,
+ props.metaWidgetChildrenStructure,
+ ]);
const snapRows = getCanvasSnapRows(props.bottomRow);
return (
diff --git a/app/client/src/sagas/ModalSagas.ts b/app/client/src/sagas/ModalSagas.ts
index 5822587e5c86..d072683f043a 100644
--- a/app/client/src/sagas/ModalSagas.ts
+++ b/app/client/src/sagas/ModalSagas.ts
@@ -135,11 +135,9 @@ export function* createModalSaga(action: ReduxAction<{ modalName: string }>) {
export function* showModalByNameSaga(
action: ReduxAction<{ modalName: string }>,
) {
- const widgets: { [widgetId: string]: FlattenedWidgetProps } =
- yield select(getWidgets);
- const modal: FlattenedWidgetProps | undefined = Object.values(widgets).find(
- (widget: FlattenedWidgetProps) =>
- widget.widgetName === action.payload.modalName,
+ const modal: FlattenedWidgetProps | null = yield select(
+ getWidgetByName,
+ action.payload.modalName,
);
if (modal) {
@@ -202,7 +200,7 @@ export function* closeModalSaga(
// If modalName is provided, we just want to close this modal
if (modalName) {
- const widget: FlattenedWidgetProps | undefined = yield select(
+ const widget: FlattenedWidgetProps | null = yield select(
getWidgetByName,
modalName,
);
diff --git a/app/client/src/sagas/selectors.tsx b/app/client/src/sagas/selectors.tsx
index 110da675d4e6..a63601239de1 100644
--- a/app/client/src/sagas/selectors.tsx
+++ b/app/client/src/sagas/selectors.tsx
@@ -73,11 +73,22 @@ export const getWidget = (state: AppState, widgetId: string): WidgetProps => {
return state.entities.canvasWidgets[widgetId];
};
-export const getWidgetIdsByType = (state: AppState, type: WidgetType) => {
- return Object.values(state.entities.canvasWidgets)
- .filter((widget: FlattenedWidgetProps) => widget.type === type)
- .map((widget: FlattenedWidgetProps) => widget.widgetId);
-};
+export const getWidgetIdsByType = createSelector(
+ getWidgets,
+ getMetaWidgets,
+ (_state: AppState, widgetType: WidgetType) => widgetType,
+ (canvasWidgets, metaWidgets, widgetType) => {
+ const canvasWidgetIds = Object.values(canvasWidgets)
+ .filter((widget: FlattenedWidgetProps) => widget.type === widgetType)
+ .map((widget: FlattenedWidgetProps) => widget.widgetId);
+
+ const metaWidgetIds = Object.values(metaWidgets)
+ .filter((widget: FlattenedWidgetProps) => widget.type === widgetType)
+ .map((widget: FlattenedWidgetProps) => widget.widgetId);
+
+ return [...canvasWidgetIds, ...metaWidgetIds];
+ },
+);
export const getAllDetachedWidgetIds = memoize(
(canvasWidgets: CanvasWidgetsReduxState) => {
@@ -188,17 +199,26 @@ export const getExistingPageNames = (state: AppState) => {
return map;
};
-export const getWidgetByName = (
- state: AppState,
- widgetName: string,
-): FlattenedWidgetProps | undefined => {
- const widgets = state.entities.canvasWidgets;
+export const getWidgetByName = createSelector(
+ getWidgets,
+ getMetaWidgets,
+ (state: AppState, widgetName: string) => widgetName,
+ (widgets, metaWidgets, widgetName) => {
+ for (const widget of Object.values(widgets)) {
+ if (widget.widgetName === widgetName) {
+ return widget;
+ }
+ }
- return _.find(
- Object.values(widgets),
- (widget) => widget.widgetName === widgetName,
- );
-};
+ for (const widget of Object.values(metaWidgets)) {
+ if (widget.widgetName === widgetName) {
+ return widget;
+ }
+ }
+
+ return null;
+ },
+);
export const getAllPageIdentities = (state: AppState) => {
return state.entities.pageList.pages.map((page) => ({
diff --git a/app/client/src/widgets/ModalWidget/widget/index.tsx b/app/client/src/widgets/ModalWidget/widget/index.tsx
index 8b3090c42e92..b03818ea3e41 100644
--- a/app/client/src/widgets/ModalWidget/widget/index.tsx
+++ b/app/client/src/widgets/ModalWidget/widget/index.tsx
@@ -525,6 +525,12 @@ export class ModalWidget extends BaseWidget<ModalWidgetProps, WidgetState> {
};
makeModalComponent() {
+ let children = this.props.children || [];
+
+ if (this.props.metaWidgetChildrenStructure?.length) {
+ children = this.props.metaWidgetChildrenStructure as WidgetProps[];
+ }
+
return (
<ModalComponent
alignment={this.props.alignment}
@@ -534,7 +540,7 @@ export class ModalWidget extends BaseWidget<ModalWidgetProps, WidgetState> {
className={`t--modal-widget ${generateClassName(this.props.widgetId)}`}
height={this.props.height}
isOpen={this.getModalVisibility()}
- modalChildrenProps={this.props.children || []}
+ modalChildrenProps={children}
onClose={this.closeModal}
onModalClose={this.onModalClose}
positioning={this.props.positioning}
@@ -571,6 +577,7 @@ export interface ModalWidgetProps extends WidgetProps {
positioning?: Positioning;
alignment: Alignment;
spacing: Spacing;
+ isMetaWidget?: boolean;
}
export default ModalWidget;
diff --git a/app/client/src/widgets/withWidgetProps.tsx b/app/client/src/widgets/withWidgetProps.tsx
index 7781e3131907..6c9d1e72cca3 100644
--- a/app/client/src/widgets/withWidgetProps.tsx
+++ b/app/client/src/widgets/withWidgetProps.tsx
@@ -95,7 +95,20 @@ function withWidgetProps(WrappedWidget: typeof BaseWidget) {
);
const metaWidgetChildrenStructure = useSelector(
- getMetaWidgetChildrenStructure(widgetId, type, hasMetaWidgets),
+ getMetaWidgetChildrenStructure(
+ widgetId,
+ type,
+ /**
+ * With UI modules there is a possiblity of the module to have modals
+ * These modals would be meta widgets and would be added to the metaWidgetsReducer.
+ * These modals needs to be placed in the children of the main container widget.
+ * The main container widget by default does not has the flag hasMetaWidgets set to true.
+ * So we need to check for the widgetId to be the main container widgetId.
+ *
+ * TODO (Ashit) - Make the hasMetaWidgets flag to be set to true for the main container widget and avoid specific check for the widgetId.
+ */
+ hasMetaWidgets || widgetId === MAIN_CONTAINER_WIDGET_ID,
+ ),
equal,
);
|
ab6b3e4e4a4dc226fd6617d8b17e24a9e589a845
|
2023-09-27 22:34:43
|
Rishabh Rathod
|
fix: support dataDerivedPaths for revalidation (#27408)
| false
|
support dataDerivedPaths for revalidation (#27408)
|
fix
|
diff --git a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
index 2a8e0c0d17cf..9b383f343368 100644
--- a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
+++ b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
@@ -252,10 +252,8 @@ describe("2. privateWidgets", () => {
Text3: true,
};
- const actualPrivateWidgetsList = getAllPrivateWidgetsInDataTree(
- testDataTree,
- testConfigTree,
- );
+ const actualPrivateWidgetsList =
+ getAllPrivateWidgetsInDataTree(testConfigTree);
expect(expectedPrivateWidgetsList).toStrictEqual(actualPrivateWidgetsList);
});
@@ -833,7 +831,6 @@ describe("7. Test addErrorToEntityProperty method", () => {
} as EvaluationError;
addErrorToEntityProperty({
errors: [error],
- dataTree: dataTreeEvaluator.evalTree,
evalProps: dataTreeEvaluator.evalProps,
fullPropertyPath: "Api1.data",
configTree: dataTreeEvaluator.oldConfigTree,
diff --git a/app/client/src/ce/workers/Evaluation/evaluationUtils.ts b/app/client/src/ce/workers/Evaluation/evaluationUtils.ts
index 891249ea07e5..55eb84680487 100644
--- a/app/client/src/ce/workers/Evaluation/evaluationUtils.ts
+++ b/app/client/src/ce/workers/Evaluation/evaluationUtils.ts
@@ -579,31 +579,25 @@ export function getSafeToRenderDataTree(
export const addErrorToEntityProperty = ({
configTree,
- dataTree,
errors,
evalProps,
fullPropertyPath,
}: {
errors: EvaluationError[];
- dataTree: DataTree;
fullPropertyPath: string;
evalProps: EvalProps;
configTree: ConfigTree;
}) => {
const { entityName, propertyPath } =
getEntityNameAndPropertyPath(fullPropertyPath);
- const isPrivateEntityPath = getAllPrivateWidgetsInDataTree(
- dataTree,
- configTree,
- )[entityName];
+ const isPrivateEntityPath =
+ getAllPrivateWidgetsInDataTree(configTree)[entityName];
const logBlackList = get(configTree, `${entityName}.logBlackList`, {});
if (propertyPath && !(propertyPath in logBlackList) && !isPrivateEntityPath) {
const errorPath = `${entityName}.${EVAL_ERROR_PATH}['${propertyPath}']`;
const existingErrors = get(evalProps, errorPath, []) as EvaluationError[];
set(evalProps, errorPath, existingErrors.concat(errors));
}
-
- return dataTree;
};
export const resetValidationErrorsForEntityProperty = ({
@@ -712,15 +706,13 @@ export const isPrivateEntityPath = (
};
export const getAllPrivateWidgetsInDataTree = (
- dataTree: DataTree,
configTree: ConfigTree,
): PrivateWidgets => {
let privateWidgets: PrivateWidgets = {};
- Object.keys(dataTree).forEach((entityName) => {
- const entity = dataTree[entityName];
+ Object.keys(configTree).forEach((entityName) => {
const entityConfig = configTree[entityName] as WidgetEntityConfig;
- if (isWidget(entity) && !_.isEmpty(entityConfig.privateWidgets)) {
+ if (isWidget(entityConfig) && !_.isEmpty(entityConfig.privateWidgets)) {
privateWidgets = { ...privateWidgets, ...entityConfig.privateWidgets };
}
});
@@ -732,7 +724,7 @@ export const getDataTreeWithoutPrivateWidgets = (
dataTree: DataTree,
configTree: ConfigTree,
): DataTree => {
- const privateWidgets = getAllPrivateWidgetsInDataTree(dataTree, configTree);
+ const privateWidgets = getAllPrivateWidgetsInDataTree(configTree);
const privateWidgetNames = Object.keys(privateWidgets);
const treeWithoutPrivateWidgets = _.omit(dataTree, privateWidgetNames);
return treeWithoutPrivateWidgets;
diff --git a/app/client/src/workers/common/DataTreeEvaluator/index.ts b/app/client/src/workers/common/DataTreeEvaluator/index.ts
index a87a3fb5da42..3627abd4ce1b 100644
--- a/app/client/src/workers/common/DataTreeEvaluator/index.ts
+++ b/app/client/src/workers/common/DataTreeEvaluator/index.ts
@@ -129,6 +129,7 @@ export type EvalProps = {
[entityName: string]: DataTreeEvaluationProps;
};
+export type EvalPathsIdenticalToState = Record<string, string>;
export default class DataTreeEvaluator {
dependencyMap: DependencyMap = new DependencyMap();
sortedDependencies: SortedDependencies = [];
@@ -158,7 +159,6 @@ export default class DataTreeEvaluator {
*/
validationDependencyMap: DependencyMap = new DependencyMap();
validationDependencies: Record<string, string[]> = {};
- sortedValidationDependencies: SortedDependencies = [];
inverseValidationDependencies: Record<string, string[]> = {};
/**
@@ -167,7 +167,7 @@ export default class DataTreeEvaluator {
evalProps: EvalProps = {};
//when attaching values to __evaluations__ segment of the state there are cases where this value is identical to the widget property
//in those cases do not it to the dataTree and update this map. The main thread can decompress these updates and we can minimise the data transfer
- evalPathsIdenticalToState: any = {};
+ evalPathsIdenticalToState: EvalPathsIdenticalToState = {};
undefinedEvalValuesMap: Record<string, boolean> = {};
prevState = {};
@@ -188,7 +188,7 @@ export default class DataTreeEvaluator {
this.widgetConfigMap = widgetConfigMap;
}
- getEvalPathsIdenticalToState(): Record<string, string> {
+ getEvalPathsIdenticalToState(): EvalPathsIdenticalToState {
return this.evalPathsIdenticalToState || {};
}
getEvalTree() {
@@ -283,9 +283,6 @@ export default class DataTreeEvaluator {
const sortDependenciesStartTime = performance.now();
this.sortedDependencies = this.sortDependencies(this.dependencyMap);
- this.sortedValidationDependencies = this.sortDependencies(
- this.validationDependencyMap,
- );
const sortDependenciesEndTime = performance.now();
const secondCloneStartTime = performance.now();
@@ -349,23 +346,24 @@ export default class DataTreeEvaluator {
undefined,
this.oldConfigTree,
);
+
const evaluationEndTime = performance.now();
const validationStartTime = performance.now();
- // Validate Widgets
- this.setEvalTree(
- getValidatedTree(
- evaluatedTree,
- {
- evalProps: this.evalProps,
- evalPathsIdenticalToState: this.evalPathsIdenticalToState,
- },
- this.oldConfigTree,
- ),
+ const validatedEvalTree = getValidatedTree(
+ evaluatedTree,
+ {
+ evalProps: this.evalProps,
+ evalPathsIdenticalToState: this.evalPathsIdenticalToState,
+ pathsValidated: evaluationOrder,
+ },
+ this.oldConfigTree,
);
const validationEndTime = performance.now();
+ this.setEvalTree(validatedEvalTree);
+
const timeTakenForEvalAndValidateFirstTree = {
evaluation: getFixedTimeDifference(
evaluationEndTime,
@@ -468,13 +466,13 @@ export default class DataTreeEvaluator {
configTree,
);
- const oldUnEvalTreeWithStrigifiedJSFunctions = Object.assign(
+ const oldUnEvalTreeWithStringifiedJSFunctions = Object.assign(
{},
this.oldUnEvalTree,
stringifiedOldUnEvalTreeJSCollections,
);
- const localUnEvalTreeWithStrigifiedJSFunctions = Object.assign(
+ const localUnEvalTreeWithStringifiedJSFunctions = Object.assign(
{},
localUnEvalTree,
stringifiedLocalUnEvalTreeJSCollection,
@@ -482,8 +480,8 @@ export default class DataTreeEvaluator {
const differences: Diff<DataTree, DataTree>[] =
diff(
- oldUnEvalTreeWithStrigifiedJSFunctions,
- localUnEvalTreeWithStrigifiedJSFunctions,
+ oldUnEvalTreeWithStringifiedJSFunctions,
+ localUnEvalTreeWithStringifiedJSFunctions,
) || [];
// Since eval tree is listening to possible events that don't cause differences
// We want to check if no diffs are present and bail out early
@@ -524,7 +522,7 @@ export default class DataTreeEvaluator {
const updateDependencyStartTime = performance.now();
// TODO => Optimize using dataTree diff
- this.allKeys = getAllPaths(localUnEvalTreeWithStrigifiedJSFunctions);
+ this.allKeys = getAllPaths(localUnEvalTreeWithStringifiedJSFunctions);
// Find all the paths that have changed as part of the difference and update the
// global dependency map if an existing dynamic binding has now become legal
const {
@@ -795,15 +793,14 @@ export default class DataTreeEvaluator {
this.setEvalTree(newEvalTree);
const reValidateStartTime = performance.now();
- const validationOrder = new Set([
+
+ const pathsChanged = new Set([
...evaluationOrder,
...nonDynamicFieldValidationOrder,
]);
- const reValidatedPaths = this.reValidateTree(
- [...validationOrder],
- newEvalTree,
- configTree,
- );
+ const pathsToValidate = this.getPathsToValidate([...pathsChanged]);
+ this.validateEvalDependentPaths(pathsToValidate);
+
const reValidateEndTime = performance.now();
const timeTakenForEvalAndValidateSubTree = {
@@ -820,7 +817,7 @@ export default class DataTreeEvaluator {
return {
evalMetaUpdates,
staleMetaIds,
- reValidatedPaths,
+ reValidatedPaths: pathsToValidate,
};
}
@@ -1039,7 +1036,6 @@ export default class DataTreeEvaluator {
const parsedValue = validateAndParseWidgetProperty({
fullPropertyPath,
widget: widgetEntity,
- currentTree,
configTree: oldConfigTree,
evalPropertyValue,
unEvalPropertyValue,
@@ -1055,10 +1051,16 @@ export default class DataTreeEvaluator {
fullPropertyPath,
parsedValue,
propertyPath,
- evalPropertyValue,
isNewWidget,
});
+ // setting evalPropertyValue in unParsedEvalTree
+ set(
+ this.getUnParsedEvalTree(),
+ fullPropertyPath,
+ evalPropertyValue,
+ );
+
staleMetaIds = staleMetaIds.concat(
getStaleMetaStateIds({
entity: widgetEntity,
@@ -1103,7 +1105,7 @@ export default class DataTreeEvaluator {
evalPathsIdenticalToState: this.evalPathsIdenticalToState,
evalProps: this.evalProps,
isParsedValueTheSame: true,
- statePath: fullPropertyPath,
+ fullPropertyPath,
value: evalPropertyValue,
});
@@ -1148,7 +1150,7 @@ export default class DataTreeEvaluator {
evalPathsIdenticalToState: this.evalPathsIdenticalToState,
evalProps: this.evalProps,
isParsedValueTheSame: true,
- statePath: fullPropertyPath,
+ fullPropertyPath,
value: evalValue,
});
@@ -1313,7 +1315,6 @@ export default class DataTreeEvaluator {
),
evalProps: this.evalProps,
fullPropertyPath,
- dataTree: data,
configTree,
});
}
@@ -1355,7 +1356,6 @@ export default class DataTreeEvaluator {
],
evalProps: this.evalProps,
fullPropertyPath,
- dataTree: data,
configTree,
});
}
@@ -1439,7 +1439,6 @@ export default class DataTreeEvaluator {
currentTree,
entity,
evalMetaUpdates,
- evalPropertyValue,
fullPropertyPath,
isNewWidget,
parsedValue,
@@ -1453,7 +1452,6 @@ export default class DataTreeEvaluator {
isNewWidget: boolean;
parsedValue: unknown;
propertyPath: string;
- evalPropertyValue: unknown;
}) {
const overwriteObj = overrideWidgetProperties({
entity,
@@ -1471,69 +1469,51 @@ export default class DataTreeEvaluator {
}
// setting parseValue in dataTree
set(currentTree, fullPropertyPath, parsedValue);
- // setting evalPropertyValue in unParsedEvalTree
- set(this.getUnParsedEvalTree(), fullPropertyPath, evalPropertyValue);
}
- reValidateWidgetDependentProperty({
- configTree,
- currentTree,
+ validateEntityDependentProperty({
fullPropertyPath,
- widget,
}: {
fullPropertyPath: string;
- widget: WidgetEntity;
- currentTree: DataTree;
- configTree: ConfigTree;
- }): string[] {
- const reValidatedPaths: string[] = [];
- if (this.inverseValidationDependencies[fullPropertyPath]) {
- const pathsToRevalidate =
- this.inverseValidationDependencies[fullPropertyPath];
-
- reValidatedPaths.push(...pathsToRevalidate);
-
- pathsToRevalidate.forEach((fullPath) => {
- validateAndParseWidgetProperty({
- fullPropertyPath: fullPath,
- widget,
- currentTree,
- configTree,
- // we supply non-transformed evaluated value
- evalPropertyValue: get(this.getUnParsedEvalTree(), fullPath),
- unEvalPropertyValue: get(
- this.oldUnEvalTree,
- fullPath,
- ) as unknown as string,
- evalProps: this.evalProps,
- evalPathsIdenticalToState: this.evalPathsIdenticalToState,
- });
- });
- }
- return reValidatedPaths;
+ }) {
+ const evalTree = this.getEvalTree();
+ const configTree = this.getConfigTree();
+ const { entityName } = getEntityNameAndPropertyPath(fullPropertyPath);
+ const entity = evalTree[entityName];
+
+ validateAndParseWidgetProperty({
+ fullPropertyPath,
+ widget: entity as WidgetEntity,
+ configTree,
+ // we supply non-transformed evaluated value
+ evalPropertyValue: get(this.getUnParsedEvalTree(), fullPropertyPath),
+ unEvalPropertyValue: get(
+ this.oldUnEvalTree,
+ fullPropertyPath,
+ ) as unknown as string,
+ evalProps: this.evalProps,
+ evalPathsIdenticalToState: this.evalPathsIdenticalToState,
+ });
}
- reValidateTree(
- validationOrder: string[],
- currentTree: DataTree,
- configTree: ConfigTree,
- ) {
- const reValidatedPaths: string[] = [];
- validationOrder.forEach((fullPropertyPath) => {
- const { entityName, propertyPath } =
- getEntityNameAndPropertyPath(fullPropertyPath);
- const entity = currentTree[entityName];
- if (isWidget(entity) && !isPathDynamicTrigger(entity, propertyPath)) {
- const pathsValidated = this.reValidateWidgetDependentProperty({
- widget: entity,
- fullPropertyPath,
- currentTree,
- configTree,
- });
- reValidatedPaths.push(...pathsValidated);
+ getPathsToValidate(pathsEvaluated: string[]) {
+ const pathsToValidate = new Set<string>();
+ pathsEvaluated.forEach((fullPropertyPath) => {
+ if (this.inverseValidationDependencies[fullPropertyPath]) {
+ const pathsToRevalidate =
+ this.inverseValidationDependencies[fullPropertyPath];
+ pathsToRevalidate.forEach((path) => pathsToValidate.add(path));
}
});
- return reValidatedPaths;
+ return [...pathsToValidate];
+ }
+
+ validateEvalDependentPaths(pathsToValidate: string[]) {
+ pathsToValidate.forEach((fullPropertyPath) => {
+ this.validateEntityDependentProperty({
+ fullPropertyPath,
+ });
+ });
}
// validates the user input saved as action property based on a validationConfig
@@ -1572,7 +1552,6 @@ export default class DataTreeEvaluator {
errors: evalErrors,
evalProps: this.evalProps,
fullPropertyPath,
- dataTree: currentTree,
configTree,
});
}
diff --git a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
index 4dc2aa1df876..81c3955e2f45 100644
--- a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
+++ b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
@@ -6,7 +6,7 @@ import type {
WidgetEntity,
WidgetEntityConfig,
} from "entities/DataTree/dataTreeFactory";
-import { get, isObject, isUndefined, set } from "lodash";
+import { isObject, isUndefined, set, get } from "lodash";
import type { EvaluationError } from "utils/DynamicBindingUtils";
import {
getEvalValuePath,
@@ -20,7 +20,7 @@ import {
resetValidationErrorsForEntityProperty,
} from "@appsmith/workers/Evaluation/evaluationUtils";
import { validate } from "workers/Evaluation/validations";
-import type { EvalProps } from ".";
+import type { EvalPathsIdenticalToState, EvalProps } from ".";
import type { ValidationResponse } from "constants/WidgetValidation";
const LARGE_COLLECTION_SIZE = 100;
@@ -37,14 +37,21 @@ export function setToEvalPathsIdenticalToState({
evalPath,
evalPathsIdenticalToState,
evalProps,
+ fullPropertyPath,
isParsedValueTheSame,
- statePath,
value,
-}: any) {
+}: {
+ evalPath: string;
+ evalPathsIdenticalToState: EvalPathsIdenticalToState;
+ evalProps: EvalProps;
+ isParsedValueTheSame: boolean;
+ fullPropertyPath: string;
+ value: unknown;
+}) {
const isLargeCollection = getIsLargeCollection(value);
if (isParsedValueTheSame && isLargeCollection) {
- evalPathsIdenticalToState[evalPath] = statePath;
+ evalPathsIdenticalToState[evalPath] = fullPropertyPath;
} else {
delete evalPathsIdenticalToState[evalPath];
@@ -53,7 +60,6 @@ export function setToEvalPathsIdenticalToState({
}
export function validateAndParseWidgetProperty({
configTree,
- currentTree,
evalPathsIdenticalToState,
evalPropertyValue,
evalProps,
@@ -63,12 +69,11 @@ export function validateAndParseWidgetProperty({
}: {
fullPropertyPath: string;
widget: WidgetEntity;
- currentTree: DataTree;
configTree: ConfigTree;
evalPropertyValue: unknown;
unEvalPropertyValue: string;
evalProps: EvalProps;
- evalPathsIdenticalToState: any;
+ evalPathsIdenticalToState: EvalPathsIdenticalToState;
}): unknown {
const { propertyPath } = getEntityNameAndPropertyPath(fullPropertyPath);
if (isPathDynamicTrigger(widget, propertyPath)) {
@@ -112,7 +117,6 @@ export function validateAndParseWidgetProperty({
errors: evalErrors,
evalProps,
fullPropertyPath,
- dataTree: currentTree,
configTree,
});
}
@@ -128,7 +132,7 @@ export function validateAndParseWidgetProperty({
evalPathsIdenticalToState,
evalProps,
isParsedValueTheSame,
- statePath: fullPropertyPath,
+ fullPropertyPath,
value: evaluatedValue,
});
@@ -162,74 +166,93 @@ export function validateActionProperty(
}
return validate(config, value, {}, "");
}
-
+/**
+ * Validates all the nodes of the tree to make sure all the values are as expected according to the validation config
+ *
+ * For example :- If Button.isDisabled is set to false in propertyPane then it would be passed as "false" in unEvalTree and validateTree method makes sure to convert it to boolean.
+ * @param tree
+ * @param option
+ * @param configTree
+ * @returns
+ */
export function getValidatedTree(
- tree: DataTree,
- option: { evalProps: EvalProps; evalPathsIdenticalToState: any },
+ dataTree: DataTree,
+ option: {
+ evalProps: EvalProps;
+ evalPathsIdenticalToState: EvalPathsIdenticalToState;
+ pathsValidated: string[];
+ },
configTree: ConfigTree,
) {
- const { evalPathsIdenticalToState, evalProps } = option;
- return Object.keys(tree).reduce((tree, entityKey: string) => {
- const entity = tree[entityKey];
+ const { evalPathsIdenticalToState, evalProps, pathsValidated } = option;
+ for (const [entityName, entity] of Object.entries(dataTree)) {
if (!isWidget(entity)) {
- return tree;
+ continue;
}
- const entityConfig = configTree[entityKey] as WidgetEntityConfig;
-
- Object.entries(entityConfig.validationPaths).forEach(
- ([property, validation]) => {
- const value = get(entity, property);
- // const value = get(parsedEntity, property);
- // Pass it through parse
- const { isValid, messages, parsed, transformed } =
- validateWidgetProperty(validation, value, entity, property);
- set(entity, property, parsed);
- const evaluatedValue = isValid
- ? parsed
- : isUndefined(transformed)
- ? value
- : transformed;
-
- const isParsedValueTheSame = parsed === evaluatedValue;
- const fullPropertyPath = `${entityKey}.${property}`;
- const evalPath = getEvalValuePath(fullPropertyPath, {
- isPopulated: false,
- fullPath: true,
- });
+ const entityConfig = configTree[entityName] as WidgetEntityConfig;
- setToEvalPathsIdenticalToState({
- evalPath,
- evalPathsIdenticalToState,
- evalProps,
- isParsedValueTheSame,
- statePath: fullPropertyPath,
- value: evaluatedValue,
- });
+ const validationPathsMap = Object.entries(entityConfig.validationPaths);
+
+ for (const [propertyPath, validationConfig] of validationPathsMap) {
+ const fullPropertyPath = `${entityName}.${propertyPath}`;
+
+ if (pathsValidated.includes(fullPropertyPath)) continue;
- resetValidationErrorsForEntityProperty({
+ const value = get(entity, propertyPath);
+ // Pass it through parse
+ const { isValid, messages, parsed, transformed } = validateWidgetProperty(
+ validationConfig,
+ value,
+ entity,
+ propertyPath,
+ );
+
+ set(entity, propertyPath, parsed);
+
+ const evaluatedValue = isValid
+ ? parsed
+ : isUndefined(transformed)
+ ? value
+ : transformed;
+
+ const isParsedValueTheSame = parsed === evaluatedValue;
+
+ const evalPath = getEvalValuePath(fullPropertyPath, {
+ isPopulated: false,
+ fullPath: true,
+ });
+
+ setToEvalPathsIdenticalToState({
+ evalPath,
+ evalPathsIdenticalToState,
+ evalProps,
+ isParsedValueTheSame,
+ fullPropertyPath,
+ value: evaluatedValue,
+ });
+
+ resetValidationErrorsForEntityProperty({
+ evalProps,
+ fullPropertyPath,
+ });
+
+ if (!isValid) {
+ const evalErrors: EvaluationError[] =
+ messages?.map((message) => ({
+ errorType: PropertyEvaluationErrorType.VALIDATION,
+ errorMessage: message,
+ severity: Severity.ERROR,
+ raw: value,
+ })) ?? [];
+
+ addErrorToEntityProperty({
+ errors: evalErrors,
evalProps,
fullPropertyPath,
+ configTree,
});
-
- if (!isValid) {
- const evalErrors: EvaluationError[] =
- messages?.map((message) => ({
- errorType: PropertyEvaluationErrorType.VALIDATION,
- errorMessage: message,
- severity: Severity.ERROR,
- raw: value,
- })) ?? [];
-
- addErrorToEntityProperty({
- errors: evalErrors,
- evalProps,
- fullPropertyPath,
- dataTree: tree,
- configTree,
- });
- }
- },
- );
- return { ...tree, [entityKey]: entity };
- }, tree);
+ }
+ }
+ }
+ return dataTree;
}
diff --git a/app/client/src/workers/common/DependencyMap/index.ts b/app/client/src/workers/common/DependencyMap/index.ts
index 4ea60b891489..439bc1eb62a6 100644
--- a/app/client/src/workers/common/DependencyMap/index.ts
+++ b/app/client/src/workers/common/DependencyMap/index.ts
@@ -119,7 +119,6 @@ export const updateDependencyMap = ({
const dependenciesOfRemovedPaths: Array<string> = [];
const removedPaths: Array<{ entityId: string; fullpath: string }> = [];
let didUpdateDependencyMap = false;
- let didUpdateValidationDependencyMap = false;
const {
allKeys,
dependencyMap,
@@ -161,10 +160,10 @@ export const updateDependencyMap = ({
}
const didUpdateDep = dependencyMap.addNodes(allAddedPaths, false);
- const didUpdateValidationDep =
- validationDependencyMap.addNodes(allAddedPaths);
+ validationDependencyMap.addNodes(allAddedPaths);
+
if (didUpdateDep) didUpdateDependencyMap = true;
- if (didUpdateValidationDep) didUpdateValidationDependencyMap = true;
+
if (isWidgetActionOrJsObject(entity)) {
if (!isDynamicLeaf(unEvalDataTree, fullPropertyPath, configTree)) {
const entityDependencyMap = getEntityDependencies(
@@ -200,7 +199,6 @@ export const updateDependencyMap = ({
path,
validationDependencies[path],
);
- didUpdateValidationDependencyMap = true;
}
}
} else {
@@ -229,7 +227,6 @@ export const updateDependencyMap = ({
path,
validationDependencies[path],
);
- didUpdateValidationDependencyMap = true;
}
}
}
@@ -255,10 +252,9 @@ export const updateDependencyMap = ({
}
const didUpdateDeps = dependencyMap.removeNodes(allDeletedPaths);
- const didUpdateValidationDeps =
- validationDependencyMap.removeNodes(allDeletedPaths);
+ validationDependencyMap.removeNodes(allDeletedPaths);
+
if (didUpdateDeps) didUpdateDependencyMap = true;
- if (didUpdateValidationDeps) didUpdateValidationDependencyMap = true;
if (isWidgetActionOrJsObject(entity)) {
const entityId = getEntityId(entity);
@@ -314,10 +310,6 @@ export const updateDependencyMap = ({
translatedDiffs,
);
}
- if (didUpdateValidationDependencyMap) {
- dataTreeEvalRef.sortedValidationDependencies =
- dataTreeEvalRef.sortDependencies(validationDependencyMap);
- }
/** We need this in order clear out the paths that could have errors when a property is deleted */
if (removedPaths.length) {
diff --git a/app/client/src/workers/common/DependencyMap/utils.ts b/app/client/src/workers/common/DependencyMap/utils.ts
index 33335dfbd9f4..ae380d28256c 100644
--- a/app/client/src/workers/common/DependencyMap/utils.ts
+++ b/app/client/src/workers/common/DependencyMap/utils.ts
@@ -1,5 +1,5 @@
import { find, toPath, union } from "lodash";
-import type { EvalError, DependencyMap } from "utils/DynamicBindingUtils";
+import type { EvalError } from "utils/DynamicBindingUtils";
import { EvalErrorTypes } from "utils/DynamicBindingUtils";
import { extractIdentifierInfoFromCode } from "@shared/ast";
import {
@@ -12,7 +12,6 @@ import {
import type {
ConfigTree,
DataTreeEntity,
- WidgetEntity,
WidgetEntityConfig,
} from "entities/DataTree/dataTreeFactory";
import {
@@ -111,30 +110,6 @@ export const extractInfoFromBindings = (
);
};
-export function listValidationDependencies(
- entity: WidgetEntity,
- entityName: string,
- entityConfig: WidgetEntityConfig,
-): DependencyMap {
- const validationDependency: DependencyMap = {};
- if (isWidget(entity)) {
- const { validationPaths } = entityConfig;
-
- Object.entries(validationPaths).forEach(
- ([propertyPath, validationConfig]) => {
- if (validationConfig.dependentPaths) {
- const dependencyArray = validationConfig.dependentPaths.map(
- (path) => `${entityName}.${path}`,
- );
- validationDependency[`${entityName}.${propertyPath}`] =
- dependencyArray;
- }
- },
- );
- }
- return validationDependency;
-}
-
/**This function returns a unique array containing a merge of both arrays
* @param currentArr
* @param updateArr
diff --git a/app/client/src/workers/common/DependencyMap/utils/getValidationDependencies.ts b/app/client/src/workers/common/DependencyMap/utils/getValidationDependencies.ts
index 690f5872d3aa..dcb7efe06427 100644
--- a/app/client/src/workers/common/DependencyMap/utils/getValidationDependencies.ts
+++ b/app/client/src/workers/common/DependencyMap/utils/getValidationDependencies.ts
@@ -6,6 +6,8 @@ import type {
} from "entities/DataTree/dataTreeFactory";
import type { DependencyMap } from "utils/DynamicBindingUtils";
+const DATA_DERIVED_PROPERTY_PLACEHOLDER = "*";
+
export function getValidationDependencies(
entity: DataTreeEntity,
entityName: string,
@@ -19,9 +21,29 @@ export function getValidationDependencies(
Object.entries(validationPaths).forEach(
([propertyPath, validationConfig]) => {
if (validationConfig.dependentPaths) {
- const dependencyArray = validationConfig.dependentPaths.map(
- (path) => `${entityName}.${path}`,
- );
+ const propertyPathsSplitArray = propertyPath.split(".");
+ const dependencyArray = validationConfig.dependentPaths.map((path) => {
+ const pathSplitArray = path.split(".");
+ /**
+ * Below logic add support for data derived paths in validation dependencies
+ * dependentPaths: ["primaryColumns.*.computedValue"]
+ *
+ * Here, items.*.value is a data derived path and we need to replace * with the actual value resulting in "primaryColumns.columnName.computedValue" as dependency.
+ */
+ const index = pathSplitArray.indexOf(
+ DATA_DERIVED_PROPERTY_PLACEHOLDER,
+ );
+ if (index > -1) {
+ // replace * in pathSplitArray with same position value in propertyPathsSplitArray
+ for (let i = 0; i < pathSplitArray.length; i++) {
+ if (pathSplitArray[i] === DATA_DERIVED_PROPERTY_PLACEHOLDER) {
+ pathSplitArray[i] = propertyPathsSplitArray[i];
+ }
+ }
+ return `${entityName}.${pathSplitArray.join(".")}`;
+ }
+ return `${entityName}.${path}`;
+ });
validationDependency[`${entityName}.${propertyPath}`] = dependencyArray;
}
},
|
57675010604a8b2df81b6c0ebf72d8a37bc57e7e
|
2024-04-03 13:08:29
|
Shrikant Sharat Kandula
|
chore: Refactor API for hiding logs (#32358)
| false
|
Refactor API for hiding logs (#32358)
|
chore
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/BaseException.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/BaseException.java
index d344b31f6ec0..92fbe857b2c5 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/BaseException.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/BaseException.java
@@ -11,7 +11,7 @@ public abstract class BaseException extends RuntimeException {
private Map<String, String> contextMap;
- private boolean hideStackTraceInLogs = false;
+ protected boolean hideStackTraceInLogs = false;
public BaseException(String message) {
super(message);
@@ -38,14 +38,4 @@ public String getMessage() {
public abstract String getDownstreamErrorCode();
public abstract String getErrorType();
-
- @SuppressWarnings("unchecked")
- public <T extends BaseException> T hideStackTraceInLogs() {
- hideStackTraceInLogs = true;
- return (T) this;
- }
-
- public boolean shouldHideStackTraceInLogs() {
- return hideStackTraceInLogs;
- }
}
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginException.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginException.java
index c4d564f3c7a1..0d2989df2f90 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginException.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginException.java
@@ -60,4 +60,9 @@ public String getAppErrorCode() {
? AppsmithPluginErrorCode.GENERIC_PLUGIN_ERROR.getCode()
: this.error.getAppErrorCode();
}
+
+ public AppsmithPluginException hideStackTraceInLogs() {
+ hideStackTraceInLogs = true;
+ return this;
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithException.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithException.java
index fcd26ffe407a..195c891a3f34 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithException.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithException.java
@@ -63,4 +63,9 @@ public String getErrorType() {
public String getReferenceDoc() {
return this.error.getReferenceDoc();
}
+
+ public AppsmithException hideStackTraceInLogs() {
+ hideStackTraceInLogs = true;
+ return this;
+ }
}
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 e421a5d1e529..e261121174ff 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
@@ -67,7 +67,7 @@ public GlobalExceptionHandler(
}
private void doLog(Throwable error) {
- if (error instanceof BaseException baseException && baseException.shouldHideStackTraceInLogs()) {
+ if (error instanceof BaseException baseException && baseException.isHideStackTraceInLogs()) {
log.error(baseException.getClass().getSimpleName() + ": " + baseException.getMessage());
} else {
log.error("", error);
|
20c5290c572a8f58ba114dfaa9be87dd7a3219fb
|
2023-10-05 10:38:48
|
Saroj
|
ci: Fix ci-test workflows (#27583)
| false
|
Fix ci-test workflows (#27583)
|
ci
|
diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml
index fe782a48e5c8..baf8389f2311 100644
--- a/.github/workflows/ci-test-custom-script.yml
+++ b/.github/workflows/ci-test-custom-script.yml
@@ -86,48 +86,17 @@ jobs:
run: |
run_result_env=$(cat ~/run_result)
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
+ if [[ "$run_result_env" == "failedtest" ]]; then
+ echo "rerun=true" >> $GITHUB_OUTPUT
+ else
+ echo "rerun=false" >> $GITHUB_OUTPUT
+ fi
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- # In case this is second attempt try restoring failed tests
- - if: steps.run_result.outputs.run_result == 'failedtest'
- run: echo "failed_spec_artifact=failed-spec-ci-$((${{github.run_attempt}}-1))" >> $GITHUB_ENV
- - name: Restore the previous failed combine result
- if: steps.run_result.outputs.run_result == 'failedtest'
- uses: actions/download-artifact@v3
- with:
- name: ${{ env.failed_spec_artifact }}
- path: ~/failed_spec_ci
-
- # failed_spec_env will contain list of all failed specs
- # We are using environment variable instead of regular to support multiline
- - name: Get failed_spec
- id: failed_spec
- if: steps.run_result.outputs.run_result == 'failedtest'
- working-directory: app/client
- run: |
- failed_spec_env=""
- while IFS= read -r line || [ -n "$line" ]; do
- file_path=$(echo "$line" | awk -F'/' '{print $(NF-1)"/"$NF}')
- spec_name=$(echo "$file_path" | awk -F'/' '{print $NF}')
- failed_spec=$(find . -name "$spec_name" | sed 's|./||')
- if [ "$(echo "$failed_spec" | wc -l)" -eq 1 ]; then
- failed_spec_env="$failed_spec_env,$failed_spec"
- else
- for file in $failed_spec; do
- new_file_path=$(echo "$file" | awk -F'/' '{print $(NF-1)"/"$NF}')
- if [ "$new_file_path" == "$file_path" ]; then
- failed_spec_env="$failed_spec_env,$file"
- fi
- done
- fi
- done < ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }}
- failed_spec_env=${failed_spec_env#,}
- echo "failed_spec_env=$failed_spec_env" >> $GITHUB_ENV
-
- if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
run: echo "Starting full run" && exit 0
@@ -331,8 +300,6 @@ jobs:
fi
- name: Run the cypress test
- if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
- id: cypress_test
uses: cypress-io/github-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -378,9 +345,9 @@ jobs:
CYPRESS_AIRGAPPED: false
APPSMITH_DISABLE_TELEMETRY: true
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
+ POSTGRES_PASSWORD: postgres
CYPRESS_VERIFY_TIMEOUT: 100000
COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
- TOTAL_RUNNERS: ${{ strategy.job-total }}
THIS_RUNNER: ${{ strategy.job-index }}
RUNID: ${{ github.run_id }}
ATTEMPT_NUMBER: ${{ github.run_attempt }}
@@ -388,77 +355,7 @@ jobs:
COMMITTER: ${{ env.COMMIT_INFO_AUTHOR }}
TAG: ${{ github.event_name }}
BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
- CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
- CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
- CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
- CYPRESS_DB_PWD: ${{ secrets.CYPRESS_DB_PWD }}
- CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }}
- CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }}
- with:
- browser: ${{ env.BROWSER_PATH }}
- install: false
- config-file: cypress_ci_custom.config.ts
- working-directory: app/client
- env: "NODE_ENV=development"
-
- # In case of second attempt only run failed specs
- - name: Run the cypress test with failed tests
- if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
- id: cypress_test_failedtest
- uses: cypress-io/github-action@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
- CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
- CYPRESS_TESTUSERNAME1: ${{ secrets.CYPRESS_TESTUSERNAME1 }}
- CYPRESS_TESTPASSWORD1: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME2: ${{ secrets.CYPRESS_TESTUSERNAME2 }}
- CYPRESS_TESTPASSWORD2: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME3: ${{ secrets.CYPRESS_TESTUSERNAME3 }}
- CYPRESS_TESTPASSWORD3: ${{ secrets.CYPRESS_TESTPASSWORD3 }}
- CYPRESS_TESTUSERNAME4: ${{ secrets.CYPRESS_TESTUSERNAME4 }}
- CYPRESS_TESTPASSWORD4: ${{ secrets.CYPRESS_TESTPASSWORD4 }}
- CYPRESS_S3_ACCESS_KEY: ${{ secrets.CYPRESS_S3_ACCESS_KEY }}
- CYPRESS_S3_SECRET_KEY: ${{ secrets.CYPRESS_S3_SECRET_KEY }}
- CYPRESS_GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
- CYPRESS_AIRTABLE_BEARER: ${{ secrets.AIRTABLE_BEARER }}
- CYPRESS_ORACLE_HOST: ${{ secrets.ORACLE_HOST }}
- CYPRESS_ORACLE_SERVICE: ${{ secrets.ORACLE_SERVICE }}
- CYPRESS_ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
- CYPRESS_ORACLE_PASSWORD: ${{ secrets.ORACLE_PASSWORD }}
- CYPRESS_FIRESTORE_PRIVATE_KEY: ${{ secrets.FIRESTORE_PRIVATE_KEY }}
- CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN }}
- CYPRESS_TEST_GITHUB_USER_NAME: ${{ secrets.CYPRESS_TEST_GITHUB_USER_NAME }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET }}
- CYPRESS_OAUTH_SAML_EMAIL: ${{ secrets.CYPRESS_OAUTH_SAML_EMAIL }}
- CYPRESS_OAUTH_SAML_ENTITY_ID: ${{ secrets.CYPRESS_OAUTH_SAML_ENTITY_ID }}
- CYPRESS_OAUTH_SAML_METADATA_URL: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_URL }}
- CYPRESS_OAUTH_SAML_METADATA_XML: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_XML }}
- CYPRESS_OAUTH_SAML_PUB_CERT: ${{ secrets.CYPRESS_OAUTH_SAML_PUB_CERT }}
- CYPRESS_OAUTH_SAML_SSO_URL: ${{ secrets.CYPRESS_OAUTH_SAML_SSO_URL }}
- CYPRESS_OAUTH_SAML_REDIRECT_URL: ${{ secrets.CYPRESS_OAUTH_SAML_REDIRECT_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
- CYPRESS_EXCLUDE_TAGS: "airgap"
- CYPRESS_AIRGAPPED: false
- APPSMITH_DISABLE_TELEMETRY: true
- APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
- COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
- CYPRESS_SPECS: ${{ env.failed_spec_env }}
- RUNID: ${{ github.run_id }}
- ATTEMPT_NUMBER: ${{ github.run_attempt }}
- REPOSITORY: ${{ github.repository }}
- COMMITTER: ${{ env.COMMIT_INFO_AUTHOR }}
- TAG: ${{ github.event_name }}
- BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
- THIS_RUNNER: ${{ strategy.job-index }}
+ CYPRESS_RERUN: ${{steps.run_result.outputs.rerun}}
CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
@@ -488,13 +385,13 @@ jobs:
path: ~/dockerlogs
- name: Rename reports
- if: failure() && env.failed_spec_env != ''
+ if: failure()
run: |
mkdir -p ~/results
mv ${{ github.workspace }}/app/client/results ~/results/${{ matrix.job }}
- name: Upload cypress report
- if: failure() && env.failed_spec_env != ''
+ if: failure()
uses: actions/upload-artifact@v3
with:
name: results-${{github.run_attempt}}
@@ -507,28 +404,6 @@ jobs:
echo "run_result=failedtest" >> $GITHUB_OUTPUT
echo "failedtest" > ~/run_result
- # Create a directory ~/failed_spec_ci and add a dummy file
- # This will ensure upload and download steps are successful
- - name: Create directory for failed tests
- if: always()
- run: |
- mkdir -p ~/failed_spec_ci-${{github.run_attempt}}
-
- # add list failed tests to a file
- - name: In case of test failures copy them to a file
- if: failure()
- run: |
- cd ${{ github.workspace }}/app/client/cypress/
- find screenshots -type f \( -iname "*\(attempt 2\).png" -o -iname "*before all hook*" -o -iname "*after all hook*" \) | sed 's/screenshots/cypress\/e2e/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci-${{github.run_attempt}}/failed_spec_ci-${{ matrix.job }}
-
- # Upload failed test list using common path for all matrix job
- - name: Upload failed test list artifact
- if: failure()
- uses: actions/upload-artifact@v3
- with:
- name: failed-spec-ci-${{github.run_attempt}}
- path: ~/failed_spec_ci-${{github.run_attempt}}
-
# Force store previous run result to cache
- name: Store the previous run result
if: failure()
@@ -538,16 +413,6 @@ jobs:
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
- # - name: get cypress url dashboard url
- # id: dashboard_url
- # if: always()
- # run: |
- # if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # fi
-
# Force store previous run result to cache
- name: Store the previous run result
if: success()
diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml
index d25e7cdf15e1..10e48a2fe42c 100644
--- a/.github/workflows/ci-test-hosted.yml
+++ b/.github/workflows/ci-test-hosted.yml
@@ -86,46 +86,17 @@ jobs:
run: |
run_result_env=$(cat ~/run_result)
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
+ if [[ "$run_result_env" == "failedtest" ]]; then
+ echo "rerun=true" >> $GITHUB_OUTPUT
+ else
+ echo "rerun=false" >> $GITHUB_OUTPUT
+ fi
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- # In case this is second attempt try restoring failed tests
- - name: Restore the previous failed combine result
- if: steps.run_result.outputs.run_result == 'failedtest'
- uses: actions/download-artifact@v3
- with:
- name: failed_spec_ci
- path: ~/failed_specs
-
- # failed_spec_env will contain list of all failed specs
- # We are using environment variable instead of regular to support multiline
- - name: Get failed_spec
- id: failed_spec
- if: steps.run_result.outputs.run_result == 'failedtest'
- working-directory: app/client
- run: |
- failed_spec_env=""
- while IFS= read -r line || [ -n "$line" ]; do
- file_path=$(echo "$line" | awk -F'/' '{print $(NF-1)"/"$NF}')
- spec_name=$(echo "$file_path" | awk -F'/' '{print $NF}')
- failed_spec=$(find . -name "$spec_name" | sed 's|./||')
- if [ "$(echo "$failed_spec" | wc -l)" -eq 1 ]; then
- failed_spec_env="$failed_spec_env,$failed_spec"
- else
- for file in $failed_spec; do
- new_file_path=$(echo "$file" | awk -F'/' '{print $(NF-1)"/"$NF}')
- if [ "$new_file_path" == "$file_path" ]; then
- failed_spec_env="$failed_spec_env,$file"
- fi
- done
- fi
- done < ~/failed_specs/failed_spec_ci
- failed_spec_env=${failed_spec_env#,}
- echo "failed_spec_env=$failed_spec_env" >> $GITHUB_ENV
-
- if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
run: echo "Starting full run" && exit 0
@@ -221,13 +192,6 @@ jobs:
chrome-version: stable
- run: |
echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV
- echo "${{env.BROWSER_PATH}}"
-
- # - name: Set Pull Request Title
- # env:
- # EVENT_COMMITS: ${{ toJson(github.event.commits[0].message) }}
- # run: |
- # echo "${{ env.EVENT_COMMITS }}" | awk -F '\\\\n' '{print $1}'
- name: Save Git values
# pass env variables from this step to other steps
@@ -266,8 +230,6 @@ jobs:
fi
- name: Run the cypress test
- if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
- id: cypress_test
uses: cypress-io/github-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -323,76 +285,7 @@ jobs:
BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
THIS_RUNNER: ${{ strategy.job-index }}
TOTAL_RUNNERS: ${{ strategy.job-total }}
- CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
- CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
- CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
- CYPRESS_DB_PWD: ${{ secrets.CYPRESS_DB_PWD }}
- CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }}
- CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }}
- with:
- install: false
- config-file: cypress_ci_hosted.config.ts
- working-directory: app/client
- env: "NODE_ENV=development"
-
- # In case of second attempt only run failed specs
- - name: Run the cypress test with failed tests
- if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
- id: cypress_test_failedtest
- uses: cypress-io/github-action@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
- CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
- CYPRESS_TESTUSERNAME1: ${{ secrets.CYPRESS_TESTUSERNAME1 }}
- CYPRESS_TESTPASSWORD1: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME2: ${{ secrets.CYPRESS_TESTUSERNAME2 }}
- CYPRESS_TESTPASSWORD2: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME3: ${{ secrets.CYPRESS_TESTUSERNAME3 }}
- CYPRESS_TESTPASSWORD3: ${{ secrets.CYPRESS_TESTPASSWORD3 }}
- CYPRESS_TESTUSERNAME4: ${{ secrets.CYPRESS_TESTUSERNAME4 }}
- CYPRESS_TESTPASSWORD4: ${{ secrets.CYPRESS_TESTPASSWORD4 }}
- CYPRESS_S3_ACCESS_KEY: ${{ secrets.CYPRESS_S3_ACCESS_KEY }}
- CYPRESS_S3_SECRET_KEY: ${{ secrets.CYPRESS_S3_SECRET_KEY }}
- CYPRESS_GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
- CYPRESS_AIRTABLE_BEARER: ${{ secrets.AIRTABLE_BEARER }}
- CYPRESS_ORACLE_HOST: ${{ secrets.ORACLE_HOST }}
- CYPRESS_ORACLE_SERVICE: ${{ secrets.ORACLE_SERVICE }}
- CYPRESS_ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
- CYPRESS_ORACLE_PASSWORD: ${{ secrets.ORACLE_PASSWORD }}
- CYPRESS_FIRESTORE_PRIVATE_KEY: ${{ secrets.FIRESTORE_PRIVATE_KEY }}
- CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN }}
- CYPRESS_TEST_GITHUB_USER_NAME: ${{ secrets.CYPRESS_TEST_GITHUB_USER_NAME }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET }}
- CYPRESS_OAUTH_SAML_EMAIL: ${{ secrets.CYPRESS_OAUTH_SAML_EMAIL }}
- CYPRESS_OAUTH_SAML_ENTITY_ID: ${{ secrets.CYPRESS_OAUTH_SAML_ENTITY_ID }}
- CYPRESS_OAUTH_SAML_METADATA_URL: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_URL }}
- CYPRESS_OAUTH_SAML_METADATA_XML: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_XML }}
- CYPRESS_OAUTH_SAML_PUB_CERT: ${{ secrets.CYPRESS_OAUTH_SAML_PUB_CERT }}
- CYPRESS_OAUTH_SAML_SSO_URL: ${{ secrets.CYPRESS_OAUTH_SAML_SSO_URL }}
- CYPRESS_OAUTH_SAML_REDIRECT_URL: ${{ secrets.CYPRESS_OAUTH_SAML_REDIRECT_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
- CYPRESS_EXCLUDE_TAGS: "airgap"
- CYPRESS_AIRGAPPED: false
- APPSMITH_DISABLE_TELEMETRY: true
- APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
- COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
- RUNID: ${{ github.run_id }}
- ATTEMPT_NUMBER: ${{ github.run_attempt }}
- REPOSITORY: ${{ github.repository }}
- COMMITTER: ${{ env.COMMIT_INFO_AUTHOR }}
- TAG: ${{ github.event_name }}
- BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
- THIS_RUNNER: ${{ strategy.job-index }}
- CYPRESS_SPECS: ${{ env.failed_spec_env }}
+ CYPRESS_RERUN: ${{steps.run_result.outputs.rerun}}
CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
@@ -406,13 +299,13 @@ jobs:
env: "NODE_ENV=development"
- name: Rename reports
- if: failure() && env.failed_spec_env != ''
+ if: failure()
run: |
mkdir -p ~/results
mv ${{ github.workspace }}/app/client/results ~/results/${{ matrix.job }}
- name: Upload cypress report
- if: failure() && env.failed_spec_env != ''
+ if: failure()
uses: actions/upload-artifact@v3
with:
name: results-${{github.run_attempt}}
@@ -426,27 +319,6 @@ jobs:
echo "run_result=failedtest" >> $GITHUB_OUTPUT
echo "failedtest" > ~/run_result
- # add list failed tests to a file
- - name: In case of test failures copy them to a file
- if: failure()
- run: |
- cd ${{ github.workspace }}/app/client/cypress/
- find screenshots -type f \( -iname "*\(attempt 2\).png" -o -iname "*before all hook*" -o -iname "*after all hook*" \) | sed 's/screenshots/cypress\/e2e/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci
-
- # reset the failed_spec_ci file in case of success
- - name: In case of test success reset the failed_spec_ci file
- if: success()
- run: |
- touch ~/failed_spec_ci
-
- # Upload failed test list using common path for all matrix job
- - name: Upload failed test list artifact
- if: always()
- uses: actions/upload-artifact@v3
- with:
- name: failed_spec_ci
- path: ~/failed_spec_ci
-
# Force store previous run result to cache
- name: Store the previous run result
if: failure()
@@ -486,14 +358,6 @@ jobs:
MSG_MINIMAL: Ref,Event,Commit
SLACK_FOOTER: "Hosted run"
- # Upload the log artifact so that it can be used by the test & deploy job in the workflow
- - name: Upload server logs bundle on failure
- uses: actions/upload-artifact@v3
- if: failure()
- with:
- name: server-logs-${{ matrix.job }}
- path: app/server/server-logs.log
-
# Set status = success
- name: Save the status of the run
run: |
diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml
index 870b88b4cc30..1222bd503b41 100644
--- a/.github/workflows/ci-test-limited.yml
+++ b/.github/workflows/ci-test-limited.yml
@@ -112,47 +112,16 @@ jobs:
id: run_result
run: |
run_result_env=$(cat ~/run_result)
- echo "::set-output name=run_result::$run_result_env"
-
- # In case this is second attempt try restoring failed tests
- - if: steps.run_result.outputs.run_result == 'failedtest'
- run: echo "failed_spec_artifact=failed-spec-ci-$((${{github.run_attempt}}-1))" >> $GITHUB_ENV
- - name: Restore the previous failed combine result
- if: steps.run_result.outputs.run_result == 'failedtest'
- uses: actions/download-artifact@v3
- with:
- name: ${{ env.failed_spec_artifact }}
- path: ~/failed_spec_ci
-
- # failed_spec_env will contain list of all failed specs
- # We are using environment variable instead of regular to support multiline
- - name: Get failed_spec
- id: failed_spec
- if: steps.run_result.outputs.run_result == 'failedtest'
- working-directory: app/client
- run: |
- failed_spec_env=""
- while IFS= read -r line || [ -n "$line" ]; do
- file_path=$(echo "$line" | awk -F'/' '{print $(NF-1)"/"$NF}')
- spec_name=$(echo "$file_path" | awk -F'/' '{print $NF}')
- failed_spec=$(find . -name "$spec_name" | sed 's|./||')
- if [ "$(echo "$failed_spec" | wc -l)" -eq 1 ]; then
- failed_spec_env="$failed_spec_env,$failed_spec"
- else
- for file in $failed_spec; do
- new_file_path=$(echo "$file" | awk -F'/' '{print $(NF-1)"/"$NF}')
- if [ "$new_file_path" == "$file_path" ]; then
- failed_spec_env="$failed_spec_env,$file"
- fi
- done
- fi
- done < ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }}
- failed_spec_env=${failed_spec_env#,}
- echo "failed_spec_env=$failed_spec_env" >> $GITHUB_ENV
+ echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
+ if [[ "$run_result_env" == "failedtest" ]]; then
+ echo "rerun=true" >> $GITHUB_OUTPUT
+ else
+ echo "rerun=false" >> $GITHUB_OUTPUT
+ fi
# Get specs to run
- name: Get specs to run
- if: steps.run_result.outputs.run_result != 'success'
+ if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
run: |
specs_to_run=""
while IFS= read -r line
@@ -270,7 +239,6 @@ jobs:
env:
APPSMITH_SSL_CERTIFICATE: ${{ secrets.APPSMITH_SSL_CERTIFICATE }}
APPSMITH_SSL_KEY: ${{ secrets.APPSMITH_SSL_KEY }}
- CYPRESS_URL: ${{ secrets.CYPRESS_URL }}
CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
CYPRESS_TESTUSERNAME1: ${{ secrets.CYPRESS_TESTUSERNAME1 }}
@@ -326,12 +294,6 @@ jobs:
- run: |
echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV
- # - name: Set Pull Request Title
- # env:
- # EVENT_COMMITS: ${{ toJson(github.event.commits[0].message) }}
- # run: |
- # echo "test: Cypress (#24586)\n\n## Description\r\n- This PR adds the No Error toast to NavigateBacktoEditor() which\r\nsometimes results in Edit page not being load in CI runs" | awk -F '\\\\n' '{sub(/.*#/, "#", $1); sub(/).*/, "", $1); print $1}'
-
- name: Save Git values
# pass env variables from this step to other steps
# using GitHub Actions environment file
@@ -374,13 +336,9 @@ jobs:
fi
- name: Run the cypress test
- id: cypress_test
- if: steps.run_result.outputs.run_result != 'success' && steps.run_result.outputs.run_result != 'failedtest'
uses: cypress-io/github-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
CYPRESS_TESTUSERNAME1: ${{ secrets.CYPRESS_TESTUSERNAME1 }}
@@ -423,17 +381,18 @@ jobs:
CYPRESS_AIRGAPPED: false
APPSMITH_DISABLE_TELEMETRY: true
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
- COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
+ POSTGRES_PASSWORD: postgres
CYPRESS_VERIFY_TIMEOUT: 100000
+ COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
RUNID: ${{ github.run_id }}
ATTEMPT_NUMBER: ${{ github.run_attempt }}
REPOSITORY: ${{ github.repository }}
COMMITTER: ${{ env.COMMIT_INFO_AUTHOR }}
TAG: ${{ github.event_name }}
BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
- TOTAL_RUNNERS: ${{ strategy.job-total }}
THIS_RUNNER: ${{ strategy.job-index }}
CYPRESS_SPECS: ${{ env.specs_to_run }}
+ CYPRESS_RERUN: ${{steps.run_result.outputs.rerun}}
CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
@@ -448,80 +407,6 @@ jobs:
working-directory: app/client
env: "NODE_ENV=development"
- # In case of second attempt only run failed specs
- - name: Run the cypress test with failed tests
- id: cypress_test_failedtest
- if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
- uses: cypress-io/github-action@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
- CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
- CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
- CYPRESS_TESTUSERNAME1: ${{ secrets.CYPRESS_TESTUSERNAME1 }}
- CYPRESS_TESTPASSWORD1: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME2: ${{ secrets.CYPRESS_TESTUSERNAME2 }}
- CYPRESS_TESTPASSWORD2: ${{ secrets.CYPRESS_TESTPASSWORD1 }}
- CYPRESS_TESTUSERNAME3: ${{ secrets.CYPRESS_TESTUSERNAME3 }}
- CYPRESS_TESTPASSWORD3: ${{ secrets.CYPRESS_TESTPASSWORD3 }}
- CYPRESS_TESTUSERNAME4: ${{ secrets.CYPRESS_TESTUSERNAME4 }}
- CYPRESS_TESTPASSWORD4: ${{ secrets.CYPRESS_TESTPASSWORD4 }}
- CYPRESS_S3_ACCESS_KEY: ${{ secrets.CYPRESS_S3_ACCESS_KEY }}
- CYPRESS_S3_SECRET_KEY: ${{ secrets.CYPRESS_S3_SECRET_KEY }}
- CYPRESS_GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
- CYPRESS_AIRTABLE_BEARER: ${{ secrets.AIRTABLE_BEARER }}
- CYPRESS_ORACLE_HOST: ${{ secrets.ORACLE_HOST }}
- CYPRESS_ORACLE_SERVICE: ${{ secrets.ORACLE_SERVICE }}
- CYPRESS_ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
- CYPRESS_ORACLE_PASSWORD: ${{ secrets.ORACLE_PASSWORD }}
- CYPRESS_FIRESTORE_PRIVATE_KEY: ${{ secrets.FIRESTORE_PRIVATE_KEY }}
- CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.CYPRESS_GITHUB_PERSONAL_ACCESS_TOKEN }}
- CYPRESS_TEST_GITHUB_USER_NAME: ${{ secrets.CYPRESS_TEST_GITHUB_USER_NAME }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET }}
- CYPRESS_OAUTH_SAML_EMAIL: ${{ secrets.CYPRESS_OAUTH_SAML_EMAIL }}
- CYPRESS_OAUTH_SAML_ENTITY_ID: ${{ secrets.CYPRESS_OAUTH_SAML_ENTITY_ID }}
- CYPRESS_OAUTH_SAML_METADATA_URL: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_URL }}
- CYPRESS_OAUTH_SAML_METADATA_XML: ${{ secrets.CYPRESS_OAUTH_SAML_METADATA_XML }}
- CYPRESS_OAUTH_SAML_PUB_CERT: ${{ secrets.CYPRESS_OAUTH_SAML_PUB_CERT }}
- CYPRESS_OAUTH_SAML_SSO_URL: ${{ secrets.CYPRESS_OAUTH_SAML_SSO_URL }}
- CYPRESS_OAUTH_SAML_REDIRECT_URL: ${{ secrets.CYPRESS_OAUTH_SAML_REDIRECT_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_ID }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_CLIENT_SECRET }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_AUTH_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
- CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
- CYPRESS_EXCLUDE_TAGS: "airgap"
- CYPRESS_AIRGAPPED: false
- APPSMITH_DISABLE_TELEMETRY: true
- APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
- COMMIT_INFO_MESSAGE: ${{ env.COMMIT_INFO_MESSAGE }}
- CYPRESS_VERIFY_TIMEOUT: 100000
- RUNID: ${{ github.run_id }}
- ATTEMPT_NUMBER: ${{ github.run_attempt }}
- REPOSITORY: ${{ github.repository }}
- COMMITTER: ${{ env.COMMIT_INFO_AUTHOR }}
- TAG: ${{ github.event_name }}
- BRANCH: ${{ env.COMMIT_INFO_BRANCH }}
- THIS_RUNNER: ${{ strategy.job-index }}
- CYPRESS_SPECS: ${{ env.failed_spec_env }}
- CYPRESS_DB_USER: ${{ secrets.CYPRESS_DB_USER }}
- CYPRESS_DB_HOST: ${{ secrets.CYPRESS_DB_HOST }}
- CYPRESS_DB_NAME: ${{ secrets.CYPRESS_DB_NAME }}
- CYPRESS_DB_PWD: ${{ secrets.CYPRESS_DB_PWD }}
- CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }}
- CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }}
- with:
- browser: ${{ env.BROWSER_PATH }}
- install: false
- config-file: cypress_ci_custom.config.ts
- working-directory: app/client
- env: "NODE_ENV=development"
-
- name: Collect CI container logs
if: failure()
working-directory: "."
@@ -538,13 +423,13 @@ jobs:
path: ~/dockerlogs
- name: Rename reports
- if: failure() && env.failed_spec_env != ''
+ if: failure()
run: |
mkdir -p ~/results
mv ${{ github.workspace }}/app/client/results ~/results/${{ matrix.job }}
- name: Upload cypress report
- if: failure() && env.failed_spec_env != ''
+ if: failure()
uses: actions/upload-artifact@v3
with:
name: results-${{github.run_attempt}}
@@ -554,31 +439,8 @@ jobs:
- name: Set fail if there are test failures
if: failure()
run: |
- echo "::set-output name=run_result::failedtest"
echo "failedtest" > ~/run_result
- # Create a directory ~/failed_spec_ci and add a dummy file
- # This will ensure upload and download steps are successful
- - name: Create directory for failed tests
- if: always()
- run: |
- mkdir -p ~/failed_spec_ci-${{github.run_attempt}}
-
- # add list failed tests to a file
- - name: In case of test failures copy them to a file
- if: failure()
- run: |
- cd ${{ github.workspace }}/app/client/cypress/
- find screenshots -type f \( -iname "*\(attempt 2\).png" -o -iname "*before all hook*" -o -iname "*after all hook*" \) | sed 's/screenshots/cypress\/e2e/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci-${{github.run_attempt}}/failed_spec_ci-${{ matrix.job }}
-
- # Upload failed test list using common path for all matrix job
- - name: Upload failed test list artifact
- if: failure()
- uses: actions/upload-artifact@v3
- with:
- name: failed-spec-ci-${{github.run_attempt}}
- path: ~/failed_spec_ci-${{github.run_attempt}}
-
# Force store previous run result to cache
- name: Store the previous run result
if: failure()
@@ -598,25 +460,6 @@ jobs:
name: server-logs-${{ matrix.job }}
path: app/server/server-logs.log
- # - name: get cypress url dashboard url
- # id: dashboard_url
- # if: always()
- # run: |
- # if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # fi
-
- # Force store previous run result to cache
- - name: Store the previous run result
- if: success()
- uses: actions/cache/save@v3
- with:
- path: |
- ~/cypress_url
- key: ${{ github.run_id }}-dashboard-url-${{ github.run_attempt }}
-
# Set status = success
- name: Save the status of the run
run: |
|
4b1ef9801423a73bc5f444e0e4d209f2394c01a7
|
2024-04-29 11:32:08
|
Ashok Kumar M
|
feat: Anvil DnD Polish(Refactor) (#32839)
| false
|
Anvil DnD Polish(Refactor) (#32839)
|
feat
|
diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts
index f43e9febed46..66ad6e752b29 100644
--- a/app/client/cypress/support/Objects/CommonLocators.ts
+++ b/app/client/cypress/support/Objects/CommonLocators.ts
@@ -84,7 +84,8 @@ export class CommonLocators {
_visibleTextSpan = (spanText: string, isCss = false) =>
isCss ? `span:contains("${spanText}")` : `//span[text()="${spanText}"]`;
_dropHere = ".t--drop-target";
- _canvasSlider = "[data-type=canvas-slider]";
+ _anvilDnDListener = "[data-type=anvil-dnd-listener]";
+ _anvilDnDHighlight = "[data-type=anvil-dnd-highlight]";
_editPage = "[data-testid=onboarding-tasks-datasource-text], .t--drop-target";
_crossBtn = "span.cancel-icon";
_createNew = ".t--add-item";
diff --git a/app/client/cypress/support/Pages/AnvilLayout.ts b/app/client/cypress/support/Pages/AnvilLayout.ts
index 9940822a8ba4..3666678480f8 100644
--- a/app/client/cypress/support/Pages/AnvilLayout.ts
+++ b/app/client/cypress/support/Pages/AnvilLayout.ts
@@ -32,11 +32,11 @@ export class AnvilLayout {
}
if (dropTarget.name) {
return `${getWidgetSelector(dropTarget.name.toLowerCase() as any)} ${
- this.locator._canvasSlider
+ this.locator._anvilDnDListener
}`;
}
}
- return this.locator._canvasSlider;
+ return this.locator._anvilDnDListener;
};
private performDnDInAnvil(
@@ -47,33 +47,30 @@ export class AnvilLayout {
const dropAreaSelector = this.getAnvilDropTargetSelectorFromOptions(
options.dropTargetDetails,
);
- cy.get(dropAreaSelector)
- .first()
- .then((dropAreaDom) => {
- const { left, top } = dropAreaDom[0].getBoundingClientRect();
- cy.document()
- // to activate ANVIL canvas
- .trigger("mousemove", left + xPos, top + yPos, {
- eventConstructor: "MouseEvent",
- force: true,
- });
- this.agHelper.Sleep(200);
- cy.get(dropAreaSelector).first().trigger("mousemove", xPos, yPos, {
- eventConstructor: "MouseEvent",
- force: true,
- });
- this.agHelper.Sleep(200);
- cy.get(dropAreaSelector).first().trigger("mousemove", xPos, yPos, {
- eventConstructor: "MouseEvent",
- force: true,
- });
- cy.get(this.locator._canvasSlider)
- .first()
- .trigger("mouseup", xPos, yPos, {
- eventConstructor: "MouseEvent",
- force: true,
- });
+ cy.document()
+ // to activate ANVIL canvas
+ .trigger("mousemove", xPos, yPos, {
+ eventConstructor: "MouseEvent",
+ force: true,
});
+ this.agHelper.Sleep(200);
+ cy.get(dropAreaSelector).first().trigger("mouseover", xPos, yPos, {
+ eventConstructor: "MouseEvent",
+ force: true,
+ });
+ cy.get(dropAreaSelector).first().trigger("mousemove", xPos, yPos, {
+ eventConstructor: "MouseEvent",
+ force: true,
+ });
+ cy.get(dropAreaSelector).first().trigger("mousemove", xPos, yPos, {
+ eventConstructor: "MouseEvent",
+ force: true,
+ });
+ cy.get(this.locator._anvilDnDHighlight);
+ cy.get(dropAreaSelector).first().trigger("mouseup", xPos, yPos, {
+ eventConstructor: "MouseEvent",
+ force: true,
+ });
}
private startDraggingWidgetFromPane(widgetType: string) {
diff --git a/app/client/src/constants/WidgetConstants.tsx b/app/client/src/constants/WidgetConstants.tsx
index 89ee7deda6ea..3fc5d66d48d3 100644
--- a/app/client/src/constants/WidgetConstants.tsx
+++ b/app/client/src/constants/WidgetConstants.tsx
@@ -178,6 +178,7 @@ export const WIDGET_DSL_STRUCTURE_PROPS = {
topRow: true,
type: true,
widgetId: true,
+ layout: true,
};
export type TextSize = keyof typeof TextSizes;
diff --git a/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilErrorBoundary.tsx b/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilErrorBoundary.tsx
new file mode 100644
index 000000000000..423602ecb68b
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilErrorBoundary.tsx
@@ -0,0 +1,24 @@
+import styled from "styled-components";
+import ErrorBoundary from "components/editorComponents/ErrorBoundry";
+import React from "react";
+
+const RetryLink = styled.span`
+ color: ${(props) => props.theme.colors.primaryDarkest};
+ cursor: pointer;
+`;
+
+export class AnvilErrorBoundary extends ErrorBoundary {
+ render() {
+ return this.state.hasError ? (
+ <p>
+ Something went wrong.
+ <br />
+ <RetryLink onClick={() => this.setState({ hasError: false })}>
+ Click here to retry
+ </RetryLink>
+ </p>
+ ) : (
+ (this.props.children as any)
+ );
+ }
+}
diff --git a/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilWidgetComponent.tsx b/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilWidgetComponent.tsx
index 7bb702df196f..281694998a48 100644
--- a/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilWidgetComponent.tsx
+++ b/app/client/src/layoutSystems/anvil/common/widgetComponent/AnvilWidgetComponent.tsx
@@ -1,11 +1,10 @@
-import ErrorBoundary from "components/editorComponents/ErrorBoundry";
-import WidgetComponentBoundary from "layoutSystems/common/widgetComponent/WidgetComponentBoundary";
import React from "react";
import type { BaseWidgetProps } from "widgets/BaseWidgetHOC/withBaseWidgetHOC";
import Skeleton from "widgets/Skeleton";
+import { AnvilErrorBoundary } from "./AnvilErrorBoundary";
export const AnvilWidgetComponent = (props: BaseWidgetProps) => {
- const { deferRender, detachFromLayout, type } = props;
+ const { children, deferRender, type } = props;
/**
* The widget mount calls the withWidgetProps with the widgetId and type to fetch the
* widget props. During the computation of the props (in withWidgetProps) if the evaluated
@@ -19,14 +18,5 @@ export const AnvilWidgetComponent = (props: BaseWidgetProps) => {
return <Skeleton />;
}
- if (!detachFromLayout) return props.children;
-
- return (
- // delete style as soon as we switch to Anvil layout completely
- <ErrorBoundary style={{ height: "auto", width: "auto" }}>
- <WidgetComponentBoundary widgetType={type}>
- {props.children}
- </WidgetComponentBoundary>
- </ErrorBoundary>
- );
+ return <AnvilErrorBoundary>{children}</AnvilErrorBoundary>;
};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvas/AnvilEditorCanvas.tsx b/app/client/src/layoutSystems/anvil/editor/canvas/AnvilEditorCanvas.tsx
index 4109def1cec4..88d10b4f33a9 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvas/AnvilEditorCanvas.tsx
+++ b/app/client/src/layoutSystems/anvil/editor/canvas/AnvilEditorCanvas.tsx
@@ -1,10 +1,18 @@
import type { BaseWidgetProps } from "widgets/BaseWidgetHOC/withBaseWidgetHOC";
import { AnvilViewerCanvas } from "layoutSystems/anvil/viewer/canvas/AnvilViewerCanvas";
import React, { useCallback, useEffect, useRef } from "react";
-import { useCanvasActivation } from "./hooks/useCanvasActivation";
import { useSelectWidgetListener } from "./hooks/useSelectWidgetListener";
import { useClickToClearSelections } from "./hooks/useClickToClearSelections";
import "./styles/anvilEditorVariables.css";
+import {
+ useAnvilGlobalDnDStates,
+ type AnvilGlobalDnDStates,
+} from "./hooks/useAnvilGlobalDnDStates";
+
+export const AnvilDnDStatesContext = React.createContext<
+ AnvilGlobalDnDStates | undefined
+>(undefined);
+
/**
* Anvil Main Canvas is just a wrapper around AnvilCanvas.
* Why do we need this?
@@ -45,7 +53,13 @@ export const AnvilEditorCanvas = (props: BaseWidgetProps) => {
}, []);
/* End of click event listener */
- useCanvasActivation();
useSelectWidgetListener();
- return <AnvilViewerCanvas {...props} ref={canvasRef} />;
+ // Fetching all states used in Anvil DnD using the useAnvilGlobalDnDStates hook
+ // using AnvilDnDStatesContext to provide the states to the child AnvilDraggingArena
+ const anvilGlobalDnDStates = useAnvilGlobalDnDStates();
+ return (
+ <AnvilDnDStatesContext.Provider value={anvilGlobalDnDStates}>
+ <AnvilViewerCanvas {...props} ref={canvasRef} />
+ </AnvilDnDStatesContext.Provider>
+ );
};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilDnDDeactivation.ts b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilDnDDeactivation.ts
new file mode 100644
index 000000000000..9c764f0eea7a
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilDnDDeactivation.ts
@@ -0,0 +1,41 @@
+import { useEffect } from "react";
+import { useWidgetDragResize } from "utils/hooks/dragResizeHooks";
+
+/**
+ * This hook handles the deactivation of the DnD Listeners while dragging.
+ */
+
+export const useAnvilDnDDeactivation = (
+ isDragging: boolean,
+ isNewWidget: boolean,
+) => {
+ // Destructuring hook functions for dragging new widgets and setting dragging state
+ const { setDraggingNewWidget, setDraggingState } = useWidgetDragResize();
+
+ // Callback function to handle mouse up events and reset dragging state
+ const onMouseUp = () => {
+ if (isDragging) {
+ if (isNewWidget) {
+ setDraggingNewWidget(false, undefined);
+ } else {
+ setDraggingState({
+ isDragging: false,
+ });
+ }
+ }
+ };
+
+ useEffect(() => {
+ if (isDragging) {
+ // Adding event listeners for mouse move and mouse up events
+ document.body.addEventListener("mouseup", onMouseUp, false);
+ window.addEventListener("mouseup", onMouseUp, false);
+
+ // Removing event listeners when the component unmounts or when dragging ends
+ return () => {
+ document.body.removeEventListener("mouseup", onMouseUp);
+ window.removeEventListener("mouseup", onMouseUp);
+ };
+ }
+ }, [isDragging, onMouseUp]);
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasActivationStates.ts b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts
similarity index 62%
rename from app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasActivationStates.ts
rename to app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts
index d50d011d523e..fa606273c585 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasActivationStates.ts
+++ b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts
@@ -12,45 +12,62 @@ import {
getDraggedBlocks,
getDraggedWidgetHierarchy,
getDraggedWidgetTypes,
-} from "./utils";
-import type { AnvilDraggedWidgetTypes } from "../types";
+} from "../../canvasArenas/utils/utils";
+import type { DraggedWidget } from "layoutSystems/anvil/utils/anvilTypes";
+import type { AnvilDraggedWidgetTypesEnum } from "../../canvasArenas/types";
+import { useAnvilDnDDeactivation } from "./useAnvilDnDDeactivation";
-export interface AnvilCanvasActivationStates {
+export interface AnvilGlobalDnDStates {
activateOverlayWidgetDrop: boolean;
+ draggedBlocks: DraggedWidget[];
dragDetails: DragDetails;
draggedWidgetHierarchy: number;
- draggedWidgetTypes: AnvilDraggedWidgetTypes;
+ draggedWidgetTypes: AnvilDraggedWidgetTypesEnum;
isDragging: boolean;
isNewWidget: boolean;
layoutElementPositions: LayoutElementPositions;
mainCanvasLayoutId: string;
- selectedWidgets: string[];
}
-export const useCanvasActivationStates = (): AnvilCanvasActivationStates => {
+/**
+ * This hook is used to get the global states of the canvas while dragging.
+ * It also is responsible for deactivating the canvas while dragging.
+ * @returns AnvilGlobalDnDStates
+ */
+export const useAnvilGlobalDnDStates = (): AnvilGlobalDnDStates => {
const mainCanvasLayoutId: string = useSelector((state) =>
getDropTargetLayoutId(state, MAIN_CONTAINER_WIDGET_ID),
);
const layoutElementPositions = useSelector(getLayoutElementPositions);
const allWidgets = useSelector(getWidgets);
const selectedWidgets = useSelector(getSelectedWidgets);
- // dragDetails contains of info needed for a container jump:
- // which parent the dragging widget belongs,
- // which canvas is active(being dragged on),
- // which widget is grabbed while dragging started,
- // relative position of mouse pointer wrt to the last grabbed widget.
+
+ /**
+ * dragDetails is the state that holds the details of the widget being dragged.
+ */
const dragDetails: DragDetails = useSelector(getDragDetails);
+
+ /**
+ * isDragging is a boolean that indicates if a widget is being dragged.
+ */
const isDragging = useSelector(
(state: AppState) => state.ui.widgetDragResize.isDragging,
);
+ /**
+ * dragParent is the parent of the widget being dragged.
+ */
const { dragGroupActualParent: dragParent, newWidget } = dragDetails;
+
/**
* boolean to indicate if the widget being dragged is a new widget
*/
const isNewWidget = !!newWidget && !dragParent;
- // process drag blocks only once and per first render
- // this is by taking advantage of the fact that isNewWidget and dragDetails are unchanged states during the dragging action.
+
+ /**
+ * compute drag blocks only once and per first render
+ * this is by taking advantage of the fact that isNewWidget and dragDetails are unchanged states during the dragging action.
+ */
const draggedBlocks = useMemo(
() =>
isDragging
@@ -63,25 +80,40 @@ export const useCanvasActivationStates = (): AnvilCanvasActivationStates => {
: [],
[isDragging, selectedWidgets],
);
+
+ /**
+ * boolean to indicate if the widget is being dragged on this particular canvas.
+ */
+ const draggedWidgetHierarchy = getDraggedWidgetHierarchy(draggedBlocks);
+
/**
* boolean that indicates if the widget being dragged in an overlay widget like the Modal widget.
*/
- const activateOverlayWidgetDrop = isNewWidget && !!newWidget.detachFromLayout;
+ const activateOverlayWidgetDrop =
+ isNewWidget && newWidget.detachFromLayout === true;
+
+ /**
+ * get the dragged widget types to assess if the widget can be dropped on the canvas.
+ */
const draggedWidgetTypes = useMemo(
() => getDraggedWidgetTypes(draggedBlocks),
[draggedBlocks],
);
- const draggedWidgetHierarchy = getDraggedWidgetHierarchy(draggedBlocks);
+
+ /**
+ * This hook handles the deactivation of the canvas(Drop targets) while dragging.
+ */
+ useAnvilDnDDeactivation(isDragging, isNewWidget);
return {
activateOverlayWidgetDrop,
- dragDetails,
+ draggedBlocks,
draggedWidgetHierarchy,
+ dragDetails,
draggedWidgetTypes,
isDragging,
isNewWidget,
- layoutElementPositions,
mainCanvasLayoutId,
- selectedWidgets,
+ layoutElementPositions,
};
};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useCanvasActivation.ts b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useCanvasActivation.ts
deleted file mode 100644
index 89836812145c..000000000000
--- a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useCanvasActivation.ts
+++ /dev/null
@@ -1,237 +0,0 @@
-import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants";
-import { Indices } from "constants/Layers";
-import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
-import type { LayoutElementPosition } from "layoutSystems/common/types";
-import { positionObserver } from "layoutSystems/common/utils/LayoutElementPositionsObserver";
-import { getAnvilLayoutDOMId } from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils";
-import { debounce, uniq } from "lodash";
-import { useEffect, useRef } from "react";
-import { useWidgetDragResize } from "utils/hooks/dragResizeHooks";
-import { LayoutComponentTypes } from "layoutSystems/anvil/utils/anvilTypes";
-import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
-import { useSelector } from "react-redux";
-import { getWidgets } from "sagas/selectors";
-import type { FlattenedWidgetProps } from "WidgetProvider/constants";
-import { useCanvasActivationStates } from "layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasActivationStates";
-import { canActivateCanvasForDraggedWidget } from "layoutSystems/anvil/editor/canvasArenas/hooks/utils";
-
-// Z-Index values for activated and deactivated states
-export const AnvilCanvasZIndex = {
- // we can decrease the z-index once we are able to provide fix for the issue #28471
- activated: Indices.Layer10.toString(),
- deactivated: "",
-};
-
-// Function to check if mouse position is inside a block
-const checkIfMousePositionIsInsideBlock = (
- e: MouseEvent,
- mainCanvasRect: DOMRect,
- layoutElementPosition: LayoutElementPosition,
-) => {
- return (
- layoutElementPosition.left <= e.clientX - mainCanvasRect.left &&
- e.clientX - mainCanvasRect.left <=
- layoutElementPosition.left + layoutElementPosition.width &&
- layoutElementPosition.top <= e.clientY - mainCanvasRect.top &&
- e.clientY - mainCanvasRect.top <=
- layoutElementPosition.top + layoutElementPosition.height
- );
-};
-
-// Buffer value for the main canvas
-// This buffer will make sure main canvas is not deactivated
-// until its about the below pixel distance from the main canvas border.
-const MAIN_CANVAS_BUFFER = 20;
-const SECTION_BUFFER = 20;
-
-/**
- * This hook handles the activation and deactivation of the canvas(Drop targets) while dragging.
- */
-
-export const useCanvasActivation = () => {
- const {
- activateOverlayWidgetDrop,
- dragDetails,
- draggedWidgetHierarchy,
- isDragging,
- isNewWidget,
- layoutElementPositions,
- mainCanvasLayoutId,
- selectedWidgets,
- } = useCanvasActivationStates();
- const allWidgets: CanvasWidgetsReduxState = useSelector(getWidgets);
- // Getting the main canvas DOM node
- const mainContainerDOMNode = document.getElementById(CANVAS_ART_BOARD);
-
- // Destructuring hook functions for drag and resize functionality
- const { setDraggingCanvas, setDraggingNewWidget, setDraggingState } =
- useWidgetDragResize();
-
- // Mapping selected widget positions
- const draggedWidgetPositions = selectedWidgets.map((each) => {
- return layoutElementPositions[each];
- });
- /**
- * boolean ref that indicates if the mouse position is outside of main canvas while dragging
- * this is being tracked in order to activate/deactivate canvas.
- */
- const isMouseOutOfMainCanvas = useRef(false);
-
- // Function to handle mouse leaving the canvas while dragging
- const mouseOutOfCanvasArtBoard = () => {
- isMouseOutOfMainCanvas.current = true;
- setDraggingCanvas();
- };
-
- // Debouncing functions for smoother transitions
- const debouncedSetDraggingCanvas = debounce(setDraggingCanvas);
- const debouncedMouseOutOfCanvasArtBoard = debounce(mouseOutOfCanvasArtBoard);
-
- // All layouts registered on the position observer
- const allLayouts: any = isDragging
- ? positionObserver.getRegisteredLayouts()
- : {};
-
- // All layout IDs on the page
- const allLayoutIds = Object.keys(allLayouts);
-
- // DOM ID of the main canvas layout
- const mainCanvasLayoutDomId = getAnvilLayoutDOMId(
- MAIN_CONTAINER_WIDGET_ID,
- mainCanvasLayoutId,
- );
-
- /**
- * layoutIds that are supported to drop while dragging.
- * when dragging an AnvilOverlayWidgetTypes widget only the main canvas is supported for dropping.
- */
- const filteredLayoutIds: string[] = activateOverlayWidgetDrop
- ? allLayoutIds.filter((each) => each === mainCanvasLayoutDomId)
- : allLayoutIds;
- // All droppable layout IDs
- const allDroppableLayoutIds = uniq(
- filteredLayoutIds
- .filter((each) => {
- const layoutInfo = allLayouts[each];
- const currentPositions = layoutElementPositions[layoutInfo.layoutId];
- const widget: FlattenedWidgetProps = allWidgets[layoutInfo.canvasId];
- const canActivate = canActivateCanvasForDraggedWidget(
- draggedWidgetHierarchy,
- widget?.widgetId,
- widget?.type,
- );
- return canActivate && currentPositions && !!layoutInfo.isDropTarget;
- })
- .map((each) => allLayouts[each].layoutId),
- );
- /**
- * Droppable layout IDs sorted by area in ascending order
- * This is done because a point can be inside multiple canvas areas, but only the smallest of them is the immediate parent.
- */
- const smallToLargeSortedDroppableLayoutIds = allDroppableLayoutIds.sort(
- (droppableLayout1Id: string, droppableLayout2Id: string) => {
- const droppableLayout1 = layoutElementPositions[droppableLayout1Id];
- const droppableLayout2 = layoutElementPositions[droppableLayout2Id];
- return (
- droppableLayout1.height * droppableLayout1.width -
- droppableLayout2.height * droppableLayout2.width
- );
- },
- );
- /**
- * Callback function to handle mouse move events while dragging state is set.
- * The function uses the mouse position and checks through smallToLargeSortedDroppableLayoutIds
- * to find under which layout the point is positioned and activates that layout canvas.
- *
- * Canvas activation means that the layout's canvas is raised up in z-index to register and process mouse events
- * and draw highlights appropriately.
- */
- const onMouseMoveWhileDragging = (e: MouseEvent) => {
- if (
- isDragging &&
- mainContainerDOMNode &&
- smallToLargeSortedDroppableLayoutIds.length > 0
- ) {
- // Getting the main canvas bounding rect
- const mainCanvasRect = mainContainerDOMNode.getBoundingClientRect();
-
- // Checking if the mouse position is outside of dragging widgets
- const isMousePositionOutsideOfDraggingWidgets =
- !isNewWidget &&
- draggedWidgetPositions.find((each) => {
- return checkIfMousePositionIsInsideBlock(e, mainCanvasRect, each);
- });
-
- // Finding the layout under the mouse position
- const hoveredCanvas = isMousePositionOutsideOfDraggingWidgets
- ? dragDetails.dragGroupActualParent
- : smallToLargeSortedDroppableLayoutIds.find((each) => {
- const currentCanvasPositions = { ...layoutElementPositions[each] };
- if (each === mainCanvasLayoutId) {
- currentCanvasPositions.left -= MAIN_CANVAS_BUFFER;
- currentCanvasPositions.top -= MAIN_CANVAS_BUFFER;
- currentCanvasPositions.width += 2 * MAIN_CANVAS_BUFFER;
- currentCanvasPositions.height += 2 * MAIN_CANVAS_BUFFER;
- }
- const layoutInfo = allLayouts[each];
- if (layoutInfo.layoutType === LayoutComponentTypes.SECTION) {
- currentCanvasPositions.top += SECTION_BUFFER;
- currentCanvasPositions.height -= 2 * SECTION_BUFFER;
- currentCanvasPositions.width += 2 * SECTION_BUFFER;
- currentCanvasPositions.left -= SECTION_BUFFER;
- }
- if (currentCanvasPositions) {
- return checkIfMousePositionIsInsideBlock(
- e,
- mainCanvasRect,
- currentCanvasPositions,
- );
- }
- });
-
- // Handling canvas activation and deactivation
- if (dragDetails.draggedOn !== hoveredCanvas) {
- if (hoveredCanvas) {
- isMouseOutOfMainCanvas.current = false;
- debouncedSetDraggingCanvas(hoveredCanvas);
- } else {
- debouncedMouseOutOfCanvasArtBoard();
- }
- }
- }
- };
-
- // Callback function to handle mouse up events and reset dragging state
- const onMouseUp = () => {
- if (isDragging) {
- if (isNewWidget) {
- setDraggingNewWidget(false, undefined);
- } else {
- setDraggingState({
- isDragging: false,
- });
- }
- }
- };
-
- useEffect(() => {
- if (isDragging) {
- // Adding event listeners for mouse move and mouse up events
- document?.addEventListener("mousemove", onMouseMoveWhileDragging);
- document.body.addEventListener("mouseup", onMouseUp, false);
- window.addEventListener("mouseup", onMouseUp, false);
-
- // Removing event listeners when the component unmounts or when dragging ends
- return () => {
- document?.removeEventListener("mousemove", onMouseMoveWhileDragging);
- document.body.removeEventListener("mouseup", onMouseUp);
- window.removeEventListener("mouseup", onMouseUp);
- };
- }
- }, [
- isDragging,
- onMouseMoveWhileDragging,
- onMouseUp,
- debouncedMouseOutOfCanvasArtBoard,
- ]);
-};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilCanvasDraggingArena.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilCanvasDraggingArena.tsx
deleted file mode 100644
index 86a6bdfd9d99..000000000000
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilCanvasDraggingArena.tsx
+++ /dev/null
@@ -1,67 +0,0 @@
-import type { LayoutElementPositions } from "layoutSystems/common/types";
-import React from "react";
-import type {
- DraggedWidget,
- HighlightPayload,
- LayoutComponentTypes,
-} from "layoutSystems/anvil/utils/anvilTypes";
-import { AnvilHighlightingCanvas } from "./AnvilHighlightingCanvas";
-import { useAnvilDnDStates } from "./hooks/useAnvilDnDStates";
-import { useAnvilWidgetDrop } from "./hooks/useAnvilWidgetDrop";
-import { DetachedWidgetsDropArena } from "./DetachedWidgetsDropArena";
-import { useSelector } from "react-redux";
-import { isEditOnlyModeSelector } from "selectors/editorSelectors";
-
-// Props interface for AnvilCanvasDraggingArena component
-interface AnvilCanvasDraggingArenaProps {
- canvasId: string;
- layoutId: string;
- layoutType: LayoutComponentTypes;
- allowedWidgetTypes: string[];
- deriveAllHighlightsFn: (
- layoutElementPositions: LayoutElementPositions,
- draggedWidgets: DraggedWidget[],
- ) => HighlightPayload;
-}
-
-export const AnvilCanvasDraggingArena = (
- props: AnvilCanvasDraggingArenaProps,
-) => {
- const isEditOnlyMode = useSelector(isEditOnlyModeSelector);
- const {
- allowedWidgetTypes,
- canvasId,
- deriveAllHighlightsFn,
- layoutId,
- layoutType,
- } = props;
-
- // Fetching all states used in Anvil DnD using the useAnvilDnDStates hook
- const anvilDragStates = useAnvilDnDStates({
- allowedWidgetTypes,
- canvasId,
- layoutId,
- layoutType,
- });
-
- // Using the useAnvilWidgetDrop hook to handle widget dropping
- const onDrop = useAnvilWidgetDrop(canvasId, anvilDragStates);
- const isMainCanvasDropArena =
- anvilDragStates.mainCanvasLayoutId === props.layoutId;
- return isEditOnlyMode ? (
- <>
- <AnvilHighlightingCanvas
- anvilDragStates={anvilDragStates}
- deriveAllHighlightsFn={deriveAllHighlightsFn}
- layoutId={layoutId}
- onDrop={onDrop}
- />
- {isMainCanvasDropArena && (
- <DetachedWidgetsDropArena
- anvilDragStates={anvilDragStates}
- onDrop={onDrop}
- />
- )}
- </>
- ) : null;
-};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDHighlight.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDHighlight.tsx
new file mode 100644
index 000000000000..ed5945e5af80
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDHighlight.tsx
@@ -0,0 +1,66 @@
+import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
+import { PADDING_FOR_HORIZONTAL_HIGHLIGHT } from "layoutSystems/anvil/utils/constants";
+import React, { useMemo } from "react";
+import styled from "styled-components";
+
+// Styled component for the highlight element
+const AnvilStyledHighlight = styled.div<{ zIndex: number }>`
+ background-color: var(--anvil-drop-indicator);
+ border-radius: 2px;
+ position: absolute;
+ z-index: ${(props) => props.zIndex};
+ pointer-events: none;
+`;
+
+export const AnvilDnDHighlight = ({
+ compensatorValues = {
+ left: 0,
+ top: 0,
+ },
+ highlightShown,
+ zIndex = 0,
+}: {
+ compensatorValues?: {
+ left: number;
+ top: number;
+ };
+ highlightShown: AnvilHighlightInfo | null;
+ zIndex?: number;
+}) => {
+ // Memoized calculation of highlight dimensions styles
+ const highlightDimensionStyles = useMemo(() => {
+ if (!highlightShown) {
+ // If no highlight info is provided, return default dimensions
+ return {
+ height: 0,
+ left: 0,
+ top: 0,
+ width: 0,
+ };
+ }
+ // Calculate padding based on highlight orientation
+ const horizontalPadding = highlightShown.isVertical
+ ? 0
+ : PADDING_FOR_HORIZONTAL_HIGHLIGHT;
+ const verticalPadding = highlightShown.isVertical
+ ? PADDING_FOR_HORIZONTAL_HIGHLIGHT
+ : 0;
+
+ // Calculate dimension styles based on highlight info
+ return {
+ height: highlightShown.height - verticalPadding * 2,
+ left: highlightShown.posX + horizontalPadding - compensatorValues.left,
+ top: highlightShown.posY + verticalPadding - compensatorValues.top,
+ width: highlightShown.width - horizontalPadding * 2,
+ };
+ }, [highlightShown]);
+
+ // Render the highlight element if highlight info is provided
+ return highlightShown ? (
+ <AnvilStyledHighlight
+ data-type="anvil-dnd-highlight"
+ style={highlightDimensionStyles}
+ zIndex={zIndex}
+ />
+ ) : null; // Otherwise, return null
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDListener.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDListener.tsx
new file mode 100644
index 000000000000..33fff138f6b2
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDnDListener.tsx
@@ -0,0 +1,51 @@
+import type { Ref, RefObject } from "react";
+import React, { forwardRef } from "react";
+import styled from "styled-components";
+
+interface AnvilDnDListenerProps {
+ compensatorValues: {
+ left: number;
+ top: number;
+ };
+ ref: RefObject<HTMLDivElement>;
+ zIndex: number;
+}
+
+const StyledDnDListener = styled.div<{
+ paddingLeft: number;
+ paddingTop: number;
+ zIndex: number;
+}>`
+ &.disallow-dropping {
+ background-color: #eb714d;
+ color: white;
+ text-align: center;
+ opacity: 0.8;
+ }
+ position: absolute;
+ pointer-events: all;
+ top: ${(props) => -props.paddingTop}px;
+ left: ${(props) => -props.paddingLeft}px;
+ height: calc(100% + ${(props) => 2 * props.paddingTop}px);
+ width: calc(100% + ${(props) => 2 * props.paddingLeft}px);
+ padding-inline: ${(props) => props.paddingLeft}px;
+ padding-block: ${(props) => props.paddingTop}px;
+ z-index: ${(props) => props.zIndex};
+`;
+
+export const AnvilDnDListener = forwardRef(
+ (props: AnvilDnDListenerProps, ref: Ref<HTMLDivElement>) => {
+ // Refer to useAnvilDnDCompensators to understand zIndex and compensatorValues
+ const { compensatorValues, zIndex } = props;
+
+ return (
+ <StyledDnDListener
+ data-type="anvil-dnd-listener"
+ paddingLeft={compensatorValues.left}
+ paddingTop={compensatorValues.top}
+ ref={ref}
+ zIndex={zIndex}
+ />
+ );
+ },
+);
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDraggingArena.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDraggingArena.tsx
new file mode 100644
index 000000000000..a6eae2e2630d
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDraggingArena.tsx
@@ -0,0 +1,90 @@
+import type { LayoutElementPositions } from "layoutSystems/common/types";
+import React, { useContext } from "react";
+import type {
+ DraggedWidget,
+ HighlightPayload,
+ LayoutComponentTypes,
+} from "layoutSystems/anvil/utils/anvilTypes";
+import { AnvilHighlightingCanvas } from "./AnvilHighlightingCanvas";
+import { useAnvilWidgetDrop } from "./hooks/useAnvilWidgetDrop";
+import { DetachedWidgetsDropArena } from "./DetachedWidgetsDropArena";
+import { useSelector } from "react-redux";
+import { isEditOnlyModeSelector } from "selectors/editorSelectors";
+import { useAnvilDnDListenerStates } from "./hooks/useAnvilDnDListenerStates";
+import { AnvilDnDStatesContext } from "../canvas/AnvilEditorCanvas";
+import type { AnvilGlobalDnDStates } from "../canvas/hooks/useAnvilGlobalDnDStates";
+
+interface AnvilCanvasDraggingArenaProps {
+ widgetId: string;
+ layoutId: string;
+ layoutType: LayoutComponentTypes;
+ allowedWidgetTypes: string[];
+ deriveAllHighlightsFn: (
+ layoutElementPositions: LayoutElementPositions,
+ draggedWidgets: DraggedWidget[],
+ ) => HighlightPayload;
+}
+
+/**
+ * AnvilDraggingArenaComponent is the main component that renders the AnvilHighlightingCanvas and DetachedWidgetsDropArena.
+ * It also uses the useAnvilWidgetDrop hook to handle widget dropping.
+ * It also makes sure that the DetachedWidgetsDropArena is rendered only when the main canvas is the drop arena.
+ */
+const AnvilDraggingArenaComponent = ({
+ anvilGlobalDragStates,
+ dragArenaProps,
+}: {
+ dragArenaProps: AnvilCanvasDraggingArenaProps;
+ anvilGlobalDragStates: AnvilGlobalDnDStates;
+}) => {
+ const isEditOnlyMode = useSelector(isEditOnlyModeSelector);
+ const {
+ allowedWidgetTypes,
+ deriveAllHighlightsFn,
+ layoutId,
+ layoutType,
+ widgetId,
+ } = dragArenaProps;
+ // Fetching all states used in Anvil DnD Listener using the useAnvilDnDListenerStates hook
+ const anvilDragStates = useAnvilDnDListenerStates({
+ allowedWidgetTypes,
+ anvilGlobalDragStates,
+ widgetId,
+ layoutId,
+ layoutType,
+ });
+ // Using the useAnvilWidgetDrop hook to handle widget dropping
+ const onDrop = useAnvilWidgetDrop(widgetId, anvilDragStates);
+ const isMainCanvasDropArena =
+ anvilGlobalDragStates.mainCanvasLayoutId === layoutId;
+ return isEditOnlyMode ? (
+ <>
+ <AnvilHighlightingCanvas
+ anvilDragStates={anvilDragStates}
+ deriveAllHighlightsFn={deriveAllHighlightsFn}
+ layoutId={layoutId}
+ onDrop={onDrop}
+ widgetId={widgetId}
+ />
+ {isMainCanvasDropArena && (
+ <DetachedWidgetsDropArena
+ anvilGlobalDragStates={anvilGlobalDragStates}
+ onDrop={onDrop}
+ />
+ )}
+ </>
+ ) : null;
+};
+
+/**
+ * AnvilDraggingArena is a wrapper component for AnvilHighlightingCanvas and DetachedWidgetsDropArena.
+ */
+export const AnvilDraggingArena = (props: AnvilCanvasDraggingArenaProps) => {
+ const anvilGlobalDragStates = useContext(AnvilDnDStatesContext);
+ return anvilGlobalDragStates ? (
+ <AnvilDraggingArenaComponent
+ anvilGlobalDragStates={anvilGlobalDragStates}
+ dragArenaProps={props}
+ />
+ ) : null;
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas.tsx
index 12e590fbf2fc..53b88eff56ef 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas.tsx
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas.tsx
@@ -1,17 +1,18 @@
-import { getNearestParentCanvas } from "utils/generators";
-import { useCanvasDragging } from "./hooks/useCanvasDragging";
-import { StickyCanvasArena } from "layoutSystems/common/canvasArenas/StickyCanvasArena";
+import { useAnvilDnDEvents } from "./hooks/useAnvilDnDEvents";
import React from "react";
import type {
AnvilHighlightInfo,
DraggedWidget,
HighlightPayload,
} from "layoutSystems/anvil/utils/anvilTypes";
-import type { AnvilDnDStates } from "./hooks/useAnvilDnDStates";
import type { LayoutElementPositions } from "layoutSystems/common/types";
+import { AnvilDnDListener } from "./AnvilDnDListener";
+import { AnvilDnDHighlight } from "./AnvilDnDHighlight";
+import type { AnvilDnDListenerStates } from "./hooks/useAnvilDnDListenerStates";
export interface AnvilHighlightingCanvasProps {
- anvilDragStates: AnvilDnDStates;
+ anvilDragStates: AnvilDnDListenerStates;
+ widgetId: string;
layoutId: string;
deriveAllHighlightsFn: (
layoutElementPositions: LayoutElementPositions,
@@ -25,35 +26,38 @@ export function AnvilHighlightingCanvas({
deriveAllHighlightsFn,
layoutId,
onDrop,
+ widgetId,
}: AnvilHighlightingCanvasProps) {
- const slidingArenaRef = React.useRef<HTMLDivElement>(null);
- const stickyCanvasRef = React.useRef<HTMLCanvasElement>(null);
- // showDraggingCanvas indicates if the current dragging canvas i.e. the html canvas renders
- const { showCanvas: showDraggingCanvas } = useCanvasDragging(
- slidingArenaRef,
- stickyCanvasRef,
+ const anvilDnDListenerRef = React.useRef<HTMLDivElement>(null);
+ const [highlightShown, setHighlightShown] =
+ React.useState<AnvilHighlightInfo | null>(null);
+
+ const { isCurrentDraggedCanvas } = anvilDragStates;
+ const { showDnDListener } = useAnvilDnDEvents(
+ anvilDnDListenerRef,
{
anvilDragStates,
+ widgetId,
deriveAllHighlightsFn,
layoutId,
onDrop,
},
+ setHighlightShown,
);
- const canvasRef = React.useRef({
- stickyCanvasRef,
- slidingArenaRef,
- });
- return showDraggingCanvas ? (
- <StickyCanvasArena
- canvasId={`canvas-dragging-${layoutId}`}
- canvasPadding={0}
- getRelativeScrollingParent={getNearestParentCanvas}
- ref={canvasRef}
- // increases pixel density of the canvas
- scaleFactor={2}
- shouldObserveIntersection={anvilDragStates.isDragging}
- showCanvas={showDraggingCanvas}
- sliderId={`div-dragarena-${layoutId}`}
- />
+ return showDnDListener ? (
+ <>
+ {isCurrentDraggedCanvas && (
+ <AnvilDnDHighlight
+ compensatorValues={anvilDragStates.widgetCompensatorValues}
+ highlightShown={highlightShown}
+ zIndex={anvilDragStates.zIndex + 1}
+ />
+ )}
+ <AnvilDnDListener
+ compensatorValues={anvilDragStates.widgetCompensatorValues}
+ ref={anvilDnDListenerRef}
+ zIndex={anvilDragStates.zIndex}
+ />
+ </>
) : null;
}
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilModalDropArena.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilModalDropArena.tsx
index 21c500a5c705..b7e8742c5a05 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilModalDropArena.tsx
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilModalDropArena.tsx
@@ -5,13 +5,15 @@ import styled from "styled-components";
import type { DragDetails } from "reducers/uiReducers/dragResizeReducer";
import { DropWidgetsHereMessage } from "layoutSystems/anvil/common/messages";
+export const EMPTY_MODAL_PADDING = 4;
+
const StyledEmptyModalDropArenaWrapper = styled.div<{ isModalEmpty: boolean }>`
+ position: relative;
${(props) =>
props.isModalEmpty &&
`
- position: relative;
height: 100% !important;
- padding: 4px;
+ padding: ${EMPTY_MODAL_PADDING}px;
`}
`;
const StyledEmptyModalDropArena = styled.div<{
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/DetachedWidgetsDropArena.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/DetachedWidgetsDropArena.tsx
index e4bc393251ee..e3d5031695a7 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/DetachedWidgetsDropArena.tsx
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/DetachedWidgetsDropArena.tsx
@@ -1,5 +1,4 @@
import React from "react";
-import type { AnvilDnDStates } from "./hooks/useAnvilDnDStates";
import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
import { FlexLayerAlignment } from "layoutSystems/common/utils/constants";
import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
@@ -7,6 +6,7 @@ import styled from "styled-components";
import { Popover, PopoverModalContent } from "@design-system/headless";
import { DropModalHereMessage } from "layoutSystems/anvil/common/messages";
import styles from "./styles.module.css";
+import type { AnvilGlobalDnDStates } from "../canvas/hooks/useAnvilGlobalDnDStates";
/**
* Default highlight passed for AnvilOverlayWidgetTypes widgets
*/
@@ -21,6 +21,12 @@ const overlayWidgetHighlight: AnvilHighlightInfo = {
posY: 0,
rowIndex: 0,
width: 0,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
const DetachedWidgetsDropArenaWrapper = styled.span`
@@ -30,16 +36,16 @@ const DetachedWidgetsDropArenaWrapper = styled.span`
`;
export const DetachedWidgetsDropArena = (props: {
- anvilDragStates: AnvilDnDStates;
+ anvilGlobalDragStates: AnvilGlobalDnDStates;
onDrop: (renderedBlock: AnvilHighlightInfo) => void;
}) => {
const onMouseUp = () => {
props.onDrop({
...overlayWidgetHighlight,
- layoutOrder: [props.anvilDragStates.mainCanvasLayoutId],
+ layoutOrder: [props.anvilGlobalDragStates.mainCanvasLayoutId],
});
};
- return props.anvilDragStates.activateOverlayWidgetDrop ? (
+ return props.anvilGlobalDragStates.activateOverlayWidgetDrop ? (
<DetachedWidgetsDropArenaWrapper onMouseUp={onMouseUp}>
<Popover isOpen modal>
<PopoverModalContent
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDCompensators.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDCompensators.ts
new file mode 100644
index 000000000000..d53b85bab944
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDCompensators.ts
@@ -0,0 +1,40 @@
+import type { FlattenedWidgetProps } from "WidgetProvider/constants";
+import { getCompensatorsForHierarchy } from "../utils/dndCompensatorUtils";
+import { useTheme } from "@design-system/theming";
+
+export const useAnvilDnDCompensators = (
+ canActivate: boolean,
+ draggedWidgetHierarchy: number,
+ currentWidgetHierarchy: number,
+ isEmptyLayout: boolean,
+ widgetProps: FlattenedWidgetProps,
+) => {
+ const { theme } = useTheme();
+ const isElevatedWidget = !!widgetProps.elevatedBackground;
+ const {
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ widgetCompensatorValues,
+ } = getCompensatorsForHierarchy(
+ currentWidgetHierarchy,
+ isEmptyLayout,
+ isElevatedWidget,
+ theme.outerSpacing,
+ );
+ // to make sure main canvas and modal are both treated alike
+ const currentHierarchy = Math.max(currentWidgetHierarchy, 1);
+
+ // zIndex is set in a way that drag layers with least hierarchy(as per the constant widgetHierarchy) are below so that all layers of different hierarchy are accessible for mouse events.
+ // also setting zIndex only for layers below the dragged widget to restrict being dropped from lower to upper hierarchy.
+ // ex: when a zone is being dragged other zones DnD is not activated,
+ // because a zone cannot be dropped into another zone as they are both of same hierarchy.
+ // same zIndex with an increment of 1 is set for the highlight(AnvilDnDHighlight) to make sure it is always on top of the dnd listener(AnvilDnDListener).
+ const zIndex =
+ canActivate && currentHierarchy < draggedWidgetHierarchy - 1 ? 0 : 1;
+ return {
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ widgetCompensatorValues,
+ zIndex,
+ };
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEventCallbacks.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEventCallbacks.ts
new file mode 100644
index 000000000000..21ad6707e616
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEventCallbacks.ts
@@ -0,0 +1,219 @@
+import { setHighlightsDrawnAction } from "layoutSystems/anvil/integrations/actions/draggingActions";
+import type {
+ AnvilHighlightInfo,
+ DraggedWidget,
+ HighlightPayload,
+} from "layoutSystems/anvil/utils/anvilTypes";
+import { throttle } from "lodash";
+import { useCallback, useRef } from "react";
+import { getPositionCompensatedHighlight } from "../utils/dndCompensatorUtils";
+import { useDispatch } from "react-redux";
+import {
+ getClosestHighlight,
+ removeDisallowDroppingsUI,
+ renderDisallowDroppingUI,
+} from "../utils/utils";
+import { useWidgetDragResize } from "utils/hooks/dragResizeHooks";
+import type { AnvilDnDListenerStates } from "./useAnvilDnDListenerStates";
+import type { LayoutElementPositions } from "layoutSystems/common/types";
+
+export const useAnvilDnDEventCallbacks = ({
+ anvilDnDListenerRef,
+ anvilDragStates,
+ canvasIsDragging,
+ deriveAllHighlightsFn,
+ layoutId,
+ onDrop,
+ setHighlightShown,
+}: {
+ anvilDragStates: AnvilDnDListenerStates;
+ anvilDnDListenerRef: React.RefObject<HTMLDivElement>;
+ canvasIsDragging: React.MutableRefObject<boolean>;
+ deriveAllHighlightsFn: (
+ layoutElementPositions: LayoutElementPositions,
+ draggedWidgets: DraggedWidget[],
+ ) => HighlightPayload;
+ layoutId: string;
+ onDrop: (renderedBlock: AnvilHighlightInfo) => void;
+ setHighlightShown: (highlight: AnvilHighlightInfo | null) => void;
+}) => {
+ const {
+ activateOverlayWidgetDrop,
+ allowToDrop,
+ canActivate,
+ draggedBlocks,
+ edgeCompensatorValues,
+ isCurrentDraggedCanvas,
+ isDragging,
+ layoutCompensatorValues,
+ layoutElementPositions,
+ } = anvilDragStates;
+ const allHighlightsRef = useRef([] as AnvilHighlightInfo[]);
+ const currentSelectedHighlight = useRef<AnvilHighlightInfo | null>(null);
+ const dispatch = useDispatch();
+ const { setDraggingCanvas } = useWidgetDragResize();
+ const calculateHighlights = useCallback(() => {
+ if (activateOverlayWidgetDrop) {
+ allHighlightsRef.current = [];
+ } else {
+ allHighlightsRef.current = deriveAllHighlightsFn(
+ layoutElementPositions,
+ draggedBlocks,
+ )?.highlights;
+ }
+ }, [
+ activateOverlayWidgetDrop,
+ deriveAllHighlightsFn,
+ draggedBlocks,
+ layoutElementPositions,
+ ]);
+ const resetCanvasState = useCallback(() => {
+ // Resetting the dnd listener state when necessary
+ if (anvilDnDListenerRef.current) {
+ removeDisallowDroppingsUI(anvilDnDListenerRef.current);
+ canvasIsDragging.current = false;
+ dispatch(setHighlightsDrawnAction());
+ setHighlightShown(null);
+ }
+ }, [dispatch, setHighlightShown]);
+ const onMouseUp = useCallback(() => {
+ if (
+ isDragging &&
+ isCurrentDraggedCanvas &&
+ canvasIsDragging.current &&
+ currentSelectedHighlight.current &&
+ !currentSelectedHighlight.current.existingPositionHighlight &&
+ allowToDrop
+ ) {
+ // Invoke onDrop callback with the appropriate highlight info
+ onDrop(currentSelectedHighlight.current);
+ }
+ resetCanvasState();
+ }, [
+ allowToDrop,
+ isDragging,
+ isCurrentDraggedCanvas,
+ onDrop,
+ resetCanvasState,
+ ]);
+
+ const getHighlightCompensator = useCallback(
+ (highlight: AnvilHighlightInfo) =>
+ getPositionCompensatedHighlight(
+ highlight,
+ layoutCompensatorValues,
+ edgeCompensatorValues,
+ ),
+ [layoutCompensatorValues, edgeCompensatorValues],
+ );
+ // make sure rendering highlights on dnd listener and highlighting cell happens once every 50ms
+ const throttledSetHighlight = useCallback(
+ throttle(
+ () => {
+ if (
+ canvasIsDragging.current &&
+ isCurrentDraggedCanvas &&
+ currentSelectedHighlight.current
+ ) {
+ const compensatedHighlight = getHighlightCompensator(
+ currentSelectedHighlight.current,
+ );
+ dispatch(setHighlightsDrawnAction(compensatedHighlight));
+ setHighlightShown(compensatedHighlight);
+ }
+ },
+ 50,
+ {
+ leading: true,
+ trailing: true,
+ },
+ ),
+ [
+ dispatch,
+ getHighlightCompensator,
+ isCurrentDraggedCanvas,
+ setHighlightShown,
+ ],
+ );
+
+ const onMouseOver = useCallback(
+ (e: any) => {
+ if (canActivate) {
+ setDraggingCanvas(layoutId);
+ e.stopPropagation();
+ }
+ },
+ [canActivate, layoutId, setDraggingCanvas],
+ );
+
+ const checkForHighlights = useCallback(
+ (e: MouseEvent) => {
+ if (canvasIsDragging.current) {
+ {
+ if (anvilDnDListenerRef.current && !allowToDrop) {
+ // Render disallow message if dropping is not allowed
+ renderDisallowDroppingUI(anvilDnDListenerRef.current);
+ return;
+ }
+ // Get the closest highlight based on the mouse position
+ const processedHighlight = getClosestHighlight(
+ {
+ x: e.offsetX - layoutCompensatorValues.left,
+ y: e.offsetY - layoutCompensatorValues.top,
+ },
+ allHighlightsRef.current,
+ );
+ if (processedHighlight) {
+ currentSelectedHighlight.current = processedHighlight;
+ throttledSetHighlight();
+ }
+ }
+ }
+ },
+ [allowToDrop, layoutCompensatorValues, throttledSetHighlight],
+ );
+
+ const onMouseMove = useCallback(
+ (e: any) => {
+ if (!canActivate) {
+ return;
+ }
+ if (isCurrentDraggedCanvas) {
+ // dragging state is set and the canvas is already being used to drag
+ if (canvasIsDragging.current) {
+ checkForHighlights(e);
+ } else {
+ // first move after dragging state is set
+ calculateHighlights();
+ canvasIsDragging.current = true;
+ requestAnimationFrame(() => onMouseMove(e));
+ }
+ } else {
+ // first move to set the dragging state
+ onMouseOver(e);
+ }
+ },
+ [
+ activateOverlayWidgetDrop,
+ allowToDrop,
+ calculateHighlights,
+ canActivate,
+ isCurrentDraggedCanvas,
+ isDragging,
+ layoutCompensatorValues,
+ onMouseOver,
+ throttledSetHighlight,
+ ],
+ );
+
+ const onMouseOut = useCallback(() => {
+ setDraggingCanvas("");
+ }, [setDraggingCanvas]);
+ return {
+ onMouseMove,
+ onMouseOver,
+ onMouseOut,
+ onMouseUp,
+ resetCanvasState,
+ };
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEvents.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEvents.ts
new file mode 100644
index 000000000000..e6d47cd6bd9a
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDEvents.ts
@@ -0,0 +1,111 @@
+import type React from "react";
+import { useEffect, useRef } from "react";
+import type { AnvilHighlightingCanvasProps } from "layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas";
+import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
+import { useAnvilDnDEventCallbacks } from "./useAnvilDnDEventCallbacks";
+import { removeDisallowDroppingsUI } from "../utils/utils";
+
+/**
+ * Hook to handle Anvil DnD events
+ */
+export const useAnvilDnDEvents = (
+ anvilDnDListenerRef: React.RefObject<HTMLDivElement>,
+ props: AnvilHighlightingCanvasProps,
+ setHighlightShown: (highlight: AnvilHighlightInfo | null) => void,
+) => {
+ const { anvilDragStates, deriveAllHighlightsFn, layoutId, onDrop } = props;
+ const {
+ activateOverlayWidgetDrop,
+ canActivate,
+ isCurrentDraggedCanvas,
+ isDragging,
+ } = anvilDragStates;
+
+ /**
+ * Ref to store highlights derived in real time once dragging starts
+ */
+ const canvasIsDragging = useRef(false);
+
+ useEffect(() => {
+ // Effect to handle changes in isCurrentDraggedCanvas
+ if (anvilDnDListenerRef.current) {
+ if (!isCurrentDraggedCanvas) {
+ removeDisallowDroppingsUI(anvilDnDListenerRef.current);
+ canvasIsDragging.current = false;
+ setHighlightShown(null);
+ }
+ }
+ }, [isCurrentDraggedCanvas]);
+ const { onMouseMove, onMouseOut, onMouseOver, onMouseUp, resetCanvasState } =
+ useAnvilDnDEventCallbacks({
+ anvilDragStates,
+ anvilDnDListenerRef,
+ canvasIsDragging,
+ deriveAllHighlightsFn,
+ layoutId,
+ onDrop,
+ setHighlightShown,
+ });
+ useEffect(() => {
+ if (anvilDnDListenerRef.current && isDragging) {
+ // Initialize listeners
+ anvilDnDListenerRef.current?.addEventListener("mouseenter", onMouseOver);
+ anvilDnDListenerRef.current.addEventListener("mouseover", onMouseOver);
+ anvilDnDListenerRef.current.addEventListener("mouseleave", onMouseOut);
+ anvilDnDListenerRef.current.addEventListener("mouseout", onMouseOut);
+ anvilDnDListenerRef.current?.addEventListener(
+ "mousemove",
+ onMouseMove,
+ false,
+ );
+ anvilDnDListenerRef.current?.addEventListener(
+ "mouseup",
+ onMouseUp,
+ false,
+ );
+ // To make sure drops on the main canvas boundary buffer are processed in the capturing phase.
+ document.addEventListener("mouseup", onMouseUp, true);
+
+ return () => {
+ anvilDnDListenerRef.current?.removeEventListener(
+ "mouseover",
+ onMouseOver,
+ );
+ anvilDnDListenerRef.current?.removeEventListener(
+ "mouseenter",
+ onMouseOver,
+ );
+ anvilDnDListenerRef.current?.removeEventListener(
+ "mouseleave",
+ onMouseOut,
+ );
+ anvilDnDListenerRef.current?.removeEventListener(
+ "mouseout",
+ onMouseOut,
+ );
+ // Cleanup listeners on component unmount
+ anvilDnDListenerRef.current?.removeEventListener(
+ "mousemove",
+ onMouseMove,
+ );
+ anvilDnDListenerRef.current?.removeEventListener("mouseup", onMouseUp);
+ document.removeEventListener("mouseup", onMouseUp, true);
+ };
+ } else {
+ canvasIsDragging.current = false;
+ // Reset canvas state if not dragging
+ resetCanvasState();
+ }
+ }, [
+ isDragging,
+ onMouseMove,
+ onMouseOut,
+ onMouseOver,
+ onMouseUp,
+ resetCanvasState,
+ ]);
+
+ return {
+ showDnDListener: isDragging && !activateOverlayWidgetDrop && canActivate,
+ };
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDStates.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDListenerStates.ts
similarity index 58%
rename from app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDStates.ts
rename to app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDListenerStates.ts
index 4b221107dad5..ae6199cbfe30 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDStates.ts
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilDnDListenerStates.ts
@@ -1,32 +1,31 @@
-import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
-import type { AppState } from "@appsmith/reducers";
-import { getDragDetails, getWidgets } from "sagas/selectors";
import { useSelector } from "react-redux";
import type { DragDetails } from "reducers/uiReducers/dragResizeReducer";
-import { useMemo } from "react";
import { getSelectedWidgets } from "selectors/ui";
import {
type DraggedWidget,
LayoutComponentTypes,
} from "layoutSystems/anvil/utils/anvilTypes";
-import { getDropTargetLayoutId } from "layoutSystems/anvil/integrations/selectors";
import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
-import { getLayoutElementPositions } from "layoutSystems/common/selectors";
import type { LayoutElementPositions } from "layoutSystems/common/types";
import { areWidgetsWhitelisted } from "layoutSystems/anvil/utils/layouts/whitelistUtils";
import { AnvilDropTargetTypesEnum, type AnvilDragMeta } from "../types";
-import { getDraggedBlocks, getDraggedWidgetTypes } from "./utils";
+import { canActivateCanvasForDraggedWidget } from "../utils/utils";
+import { useAnvilDnDCompensators } from "./useAnvilDnDCompensators";
+import { getWidgetHierarchy } from "layoutSystems/anvil/utils/paste/utils";
+import type { AnvilGlobalDnDStates } from "../../canvas/hooks/useAnvilGlobalDnDStates";
+import { getWidgets } from "sagas/selectors";
-interface AnvilDnDStatesProps {
+interface AnvilDnDListenerStatesProps {
+ anvilGlobalDragStates: AnvilGlobalDnDStates;
allowedWidgetTypes: string[];
- canvasId: string;
+ widgetId: string;
layoutId: string;
layoutType: LayoutComponentTypes;
}
-
-export interface AnvilDnDStates {
+export interface AnvilDnDListenerStates {
activateOverlayWidgetDrop: boolean;
allowToDrop: boolean;
+ canActivate: boolean;
draggedBlocks: DraggedWidget[];
dragDetails: DragDetails;
isCurrentDraggedCanvas: boolean;
@@ -35,6 +34,19 @@ export interface AnvilDnDStates {
layoutElementPositions: LayoutElementPositions;
dragMeta: AnvilDragMeta;
mainCanvasLayoutId: string;
+ widgetCompensatorValues: {
+ left: number;
+ top: number;
+ };
+ edgeCompensatorValues: {
+ left: number;
+ top: number;
+ };
+ layoutCompensatorValues: {
+ left: number;
+ top: number;
+ };
+ zIndex: number;
}
/**
@@ -63,35 +75,36 @@ const checkIfWidgetTypeDraggedIsAllowedToDrop = (
return areWidgetsWhitelisted(draggedWidgetTypes, allowedWidgetTypes);
};
-export const useAnvilDnDStates = ({
+export const useAnvilDnDListenerStates = ({
allowedWidgetTypes,
+ anvilGlobalDragStates,
layoutId,
layoutType,
-}: AnvilDnDStatesProps): AnvilDnDStates => {
- const mainCanvasLayoutId: string = useSelector((state) =>
- getDropTargetLayoutId(state, MAIN_CONTAINER_WIDGET_ID),
- );
- const layoutElementPositions = useSelector(getLayoutElementPositions);
+ widgetId,
+}: AnvilDnDListenerStatesProps): AnvilDnDListenerStates => {
+ const {
+ activateOverlayWidgetDrop,
+ dragDetails,
+ draggedBlocks,
+ draggedWidgetHierarchy,
+ draggedWidgetTypes,
+ isDragging,
+ isNewWidget,
+ layoutElementPositions,
+ mainCanvasLayoutId,
+ } = anvilGlobalDragStates;
const allWidgets = useSelector(getWidgets);
+ const widgetProps = allWidgets[widgetId];
const selectedWidgets = useSelector(getSelectedWidgets);
- // dragDetails contains of info needed for a container jump:
- // which parent the dragging widget belongs,
- // which canvas is active(being dragged on),
- // which widget is grabbed while dragging started,
- // relative position of mouse pointer wrt to the last grabbed widget.
- const dragDetails: DragDetails = useSelector(getDragDetails);
- const isDragging = useSelector(
- (state: AppState) => state.ui.widgetDragResize.isDragging,
- );
-
- const { dragGroupActualParent: dragParent, newWidget } = dragDetails;
- /**
- * boolean to indicate if the widget being dragged is a new widget
- */
- const isNewWidget = !!newWidget && !dragParent;
/**
* boolean to indicate if the widget is being dragged on this particular canvas.
*/
+ const currentWidgetHierarchy = getWidgetHierarchy(widgetProps.type, widgetId);
+ const canActivate = canActivateCanvasForDraggedWidget(
+ draggedWidgetHierarchy,
+ widgetProps.widgetId,
+ widgetProps.type,
+ );
const isCurrentDraggedCanvas = dragDetails.draggedOn === layoutId;
/**
* boolean to indicate if the widgets being dragged are all allowed to drop in this particular canvas.
@@ -106,40 +119,34 @@ export const useAnvilDnDStates = ({
selectedWidgets,
allWidgets,
);
- // process drag blocks only once and per first render
- // this is by taking advantage of the fact that isNewWidget and dragDetails are unchanged states during the dragging action.
- const draggedBlocks = useMemo(
- () =>
- isDragging
- ? getDraggedBlocks(
- isNewWidget,
- dragDetails,
- selectedWidgets,
- allWidgets,
- )
- : [],
- [isDragging, selectedWidgets],
- );
- /**
- * boolean that indicates if the widget being dragged in an overlay widget like the Modal widget.
- */
- const activateOverlayWidgetDrop =
- isNewWidget && newWidget.detachFromLayout === true;
const isMainCanvas: boolean = layoutId === mainCanvasLayoutId;
const isSection: boolean = layoutType === LayoutComponentTypes.SECTION;
- const draggedWidgetTypes = useMemo(
- () => getDraggedWidgetTypes(draggedBlocks),
- [draggedBlocks],
- );
const draggedOn = isMainCanvas
? AnvilDropTargetTypesEnum.MAIN_CANVAS
: isSection
? AnvilDropTargetTypesEnum.SECTION
: AnvilDropTargetTypesEnum.ZONE;
+ const isEmptyLayout =
+ (widgetProps.children || []).filter(
+ (each) => !allWidgets[each].detachFromLayout,
+ ).length === 0;
+ const {
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ widgetCompensatorValues,
+ zIndex,
+ } = useAnvilDnDCompensators(
+ canActivate,
+ draggedWidgetHierarchy,
+ currentWidgetHierarchy,
+ isEmptyLayout,
+ widgetProps,
+ );
return {
activateOverlayWidgetDrop,
allowToDrop,
+ canActivate,
draggedBlocks,
dragDetails,
dragMeta: {
@@ -151,5 +158,9 @@ export const useAnvilDnDStates = ({
isNewWidget,
mainCanvasLayoutId,
layoutElementPositions,
+ widgetCompensatorValues,
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ zIndex,
};
};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilWidgetDrop.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilWidgetDrop.ts
index 806e29dc972a..46cf0d2a6f56 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilWidgetDrop.ts
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useAnvilWidgetDrop.ts
@@ -6,16 +6,21 @@ import {
import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
import { useCallback } from "react";
import { useDispatch } from "react-redux";
-import type { AnvilDnDStates } from "./useAnvilDnDStates";
+import type { AnvilDnDListenerStates } from "./useAnvilDnDListenerStates";
import { anvilWidgets } from "widgets/anvil/constants";
export const useAnvilWidgetDrop = (
canvasId: string,
- anvilDragStates: AnvilDnDStates,
+ anvilDragStates: AnvilDnDListenerStates,
) => {
const dispatch = useDispatch();
- const { dragDetails, dragMeta, isNewWidget, layoutElementPositions } =
- anvilDragStates;
+ const {
+ dragDetails,
+ draggedBlocks,
+ dragMeta,
+ isNewWidget,
+ layoutElementPositions,
+ } = anvilDragStates;
const generateNewWidgetBlock = useCallback(() => {
const { newWidget } = dragDetails;
const isSectionWidget = newWidget.type === anvilWidgets.SECTION_WIDGET;
@@ -36,17 +41,15 @@ export const useAnvilWidgetDrop = (
addNewAnvilWidgetAction(newWidgetBlock, renderedBlock, dragMeta),
);
} else {
- const sortDraggedBlocksByPosition = anvilDragStates.draggedBlocks.sort(
- (a, b) => {
- const aPos = layoutElementPositions[a.widgetId];
- const bPos = layoutElementPositions[b.widgetId];
- // sort by left then top
- if (aPos.left === bPos.left) {
- return aPos.top - bPos.top;
- }
- return aPos.left - bPos.left;
- },
- );
+ const sortDraggedBlocksByPosition = draggedBlocks.sort((a, b) => {
+ const aPos = layoutElementPositions[a.widgetId];
+ const bPos = layoutElementPositions[b.widgetId];
+ // sort by left then top
+ if (aPos.left === bPos.left) {
+ return aPos.top - bPos.top;
+ }
+ return aPos.left - bPos.left;
+ });
dispatch(
moveAnvilWidgets(renderedBlock, sortDraggedBlocksByPosition, dragMeta),
);
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasDragging.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasDragging.ts
deleted file mode 100644
index 50f553c432f9..000000000000
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/useCanvasDragging.ts
+++ /dev/null
@@ -1,356 +0,0 @@
-import type React from "react";
-import { useEffect, useRef } from "react";
-import type { AnvilHighlightingCanvasProps } from "layoutSystems/anvil/editor/canvasArenas/AnvilHighlightingCanvas";
-import { useCanvasDragToScroll } from "layoutSystems/common/canvasArenas/useCanvasDragToScroll";
-import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
-import { getAbsolutePixels } from "utils/helpers";
-import { getNearestParentCanvas } from "utils/generators";
-import { getClosestHighlight } from "./utils";
-import { AnvilCanvasZIndex } from "layoutSystems/anvil/editor/canvas/hooks/useCanvasActivation";
-import { AnvilReduxActionTypes } from "layoutSystems/anvil/integrations/actions/actionTypes";
-import { useDispatch } from "react-redux";
-import { throttle } from "lodash";
-import { PADDING_FOR_HORIZONTAL_HIGHLIGHT } from "layoutSystems/anvil/utils/constants";
-import memoize from "micro-memoize";
-
-const setHighlightsDrawn = (highlight?: AnvilHighlightInfo) => {
- return {
- type: AnvilReduxActionTypes.ANVIL_SET_HIGHLIGHT_SHOWN,
- payload: {
- highlight,
- },
- };
-};
-
-/**
- * Function to render UX to denote that the widget type cannot be dropped in the layout
- */
-const renderDisallowOnCanvas = (slidingArena: HTMLDivElement) => {
- slidingArena.style.backgroundColor = "#EB714D";
- slidingArena.style.color = "white";
- slidingArena.innerText = "This Layout doesn't support the widget";
-
- slidingArena.style.textAlign = "center";
- slidingArena.style.opacity = "0.8";
-};
-
-const getDropIndicatorColor = memoize(() => {
- const rootStyles = getComputedStyle(document.documentElement);
- return rootStyles.getPropertyValue("--anvil-drop-indicator");
-});
-
-/**
- * Function to stroke a rectangle on the canvas that looks like a highlight/drop area.
- */
-const renderBlocksOnCanvas = (
- stickyCanvas: HTMLCanvasElement,
- blockToRender: AnvilHighlightInfo,
- shouldDraw: boolean,
-) => {
- if (!shouldDraw) {
- return;
- }
- // Calculating offset based on the position of the canvas
- const topOffset = getAbsolutePixels(stickyCanvas.style.top);
- const leftOffset = getAbsolutePixels(stickyCanvas.style.left);
- const dropIndicatorColor = getDropIndicatorColor();
- const canvasCtx = stickyCanvas.getContext("2d") as CanvasRenderingContext2D;
-
- // Clearing previous drawings on the canvas
- canvasCtx.clearRect(0, 0, stickyCanvas.width, stickyCanvas.height);
- canvasCtx.beginPath();
- // Extracting dimensions of the block to render
- const { height, posX, posY, width } = blockToRender;
- // using custom function to draw a rounded rectangle to achieve more sharper rounder corners
- const horizontalPadding = blockToRender.isVertical
- ? 0
- : PADDING_FOR_HORIZONTAL_HIGHLIGHT;
- const verticalPadding = blockToRender.isVertical
- ? PADDING_FOR_HORIZONTAL_HIGHLIGHT / 2
- : 0;
- canvasCtx.roundRect(
- posX - leftOffset + horizontalPadding,
- posY - topOffset + verticalPadding,
- width - horizontalPadding * 2,
- height - verticalPadding * 2,
- 2,
- );
- canvasCtx.fillStyle = dropIndicatorColor;
- canvasCtx.fill();
- canvasCtx.closePath();
-};
-
-/**
- *
- * This hook is written to accumulate all logic that is needed to
- * - initialize event listeners for canvas
- * - adjust z-index of canvas
- * - track mouse position on canvas
- * - render highlights on the canvas
- * - render warning to denote that a particular widget type is not allowed to drop on canvas
- * - auto scroll canvas when needed.
- * - invoke onDrop callback as per the anvilDragStates
- */
-export const useCanvasDragging = (
- slidingArenaRef: React.RefObject<HTMLDivElement>,
- stickyCanvasRef: React.RefObject<HTMLCanvasElement>,
- props: AnvilHighlightingCanvasProps,
-) => {
- const { anvilDragStates, deriveAllHighlightsFn, onDrop } = props;
- const {
- activateOverlayWidgetDrop,
- allowToDrop,
- draggedBlocks,
- isCurrentDraggedCanvas,
- isDragging,
- layoutElementPositions,
- mainCanvasLayoutId,
- } = anvilDragStates;
- const dispatch = useDispatch();
- /**
- * Provides auto-scroll functionality
- */
- const canScroll = useCanvasDragToScroll(
- slidingArenaRef,
- isCurrentDraggedCanvas && !activateOverlayWidgetDrop,
- isDragging,
- );
-
- /**
- * Ref to store highlights derived in real time once dragging starts
- */
- const allHighlightsRef = useRef([] as AnvilHighlightInfo[]);
-
- /**
- * Function to calculate and store highlights
- */
- const calculateHighlights = () => {
- if (activateOverlayWidgetDrop) {
- allHighlightsRef.current = [];
- } else {
- allHighlightsRef.current = deriveAllHighlightsFn(
- layoutElementPositions,
- draggedBlocks,
- )?.highlights;
- }
- };
- const canvasIsDragging = useRef(false);
-
- useEffect(() => {
- // Effect to handle changes in isCurrentDraggedCanvas
- if (stickyCanvasRef.current && slidingArenaRef.current) {
- if (!isCurrentDraggedCanvas) {
- // If not currently dragged, reset the canvas and styles
- const canvasCtx = stickyCanvasRef.current.getContext(
- "2d",
- ) as CanvasRenderingContext2D;
- canvasCtx.clearRect(
- 0,
- 0,
- stickyCanvasRef.current.width,
- stickyCanvasRef.current.height,
- );
- slidingArenaRef.current.style.zIndex = AnvilCanvasZIndex.deactivated;
- stickyCanvasRef.current.style.zIndex = AnvilCanvasZIndex.deactivated;
- slidingArenaRef.current.style.backgroundColor = "unset";
- slidingArenaRef.current.style.color = "unset";
- slidingArenaRef.current.innerText = "";
- canvasIsDragging.current = false;
- } else {
- // If currently dragged, set the z-index to activate the canvas
- slidingArenaRef.current.style.zIndex = AnvilCanvasZIndex.activated;
- stickyCanvasRef.current.style.zIndex = AnvilCanvasZIndex.activated;
- }
- }
- }, [isCurrentDraggedCanvas]);
-
- useEffect(() => {
- if (slidingArenaRef.current && isDragging) {
- const scrollParent: Element | null = getNearestParentCanvas(
- slidingArenaRef.current,
- );
-
- let currentRectanglesToDraw: AnvilHighlightInfo;
- const scrollObj: any = {};
- const resetCanvasState = () => {
- // Resetting the canvas state when necessary
- if (stickyCanvasRef.current && slidingArenaRef.current) {
- const canvasCtx = stickyCanvasRef.current.getContext(
- "2d",
- ) as CanvasRenderingContext2D;
- canvasCtx.clearRect(
- 0,
- 0,
- stickyCanvasRef.current.width,
- stickyCanvasRef.current.height,
- );
- slidingArenaRef.current.style.zIndex = AnvilCanvasZIndex.deactivated;
- slidingArenaRef.current.style.backgroundColor = "unset";
- slidingArenaRef.current.style.color = "unset";
- slidingArenaRef.current.innerText = "";
- canvasIsDragging.current = false;
- dispatch(setHighlightsDrawn());
- }
- };
-
- if (isDragging) {
- const onMouseUp = () => {
- if (
- isDragging &&
- canvasIsDragging.current &&
- currentRectanglesToDraw &&
- !currentRectanglesToDraw.existingPositionHighlight &&
- allowToDrop
- ) {
- // Invoke onDrop callback with the appropriate highlight info
- onDrop(currentRectanglesToDraw);
- }
- resetCanvasState();
- };
-
- const onFirstMoveOnCanvas = (e: MouseEvent) => {
- if (
- isCurrentDraggedCanvas &&
- isDragging &&
- !canvasIsDragging.current &&
- slidingArenaRef.current
- ) {
- // Calculate highlights when the mouse enters the canvas
- calculateHighlights();
- canvasIsDragging.current = true;
- onMouseMove(e);
- }
- };
- // make sure rendering highlights on canvas and highlighting cell happens once every 50ms
- const throttledRenderOnCanvas = throttle(
- () => {
- if (
- stickyCanvasRef.current &&
- canvasIsDragging.current &&
- isCurrentDraggedCanvas
- ) {
- dispatch(setHighlightsDrawn(currentRectanglesToDraw));
- // Render blocks on the canvas based on the highlight
- renderBlocksOnCanvas(
- stickyCanvasRef.current,
- currentRectanglesToDraw,
- canvasIsDragging.current,
- );
- }
- },
- 50,
- {
- leading: true,
- trailing: true,
- },
- );
-
- const onMouseMove = (e: any) => {
- if (
- isCurrentDraggedCanvas &&
- canvasIsDragging.current &&
- slidingArenaRef.current &&
- stickyCanvasRef.current
- ) {
- if (!allowToDrop) {
- // Render disallow message if dropping is not allowed
- renderDisallowOnCanvas(slidingArenaRef.current);
- return;
- }
- // Get the closest highlight based on the mouse position
- const processedHighlight = getClosestHighlight(
- e,
- allHighlightsRef.current,
- );
- if (processedHighlight) {
- currentRectanglesToDraw = processedHighlight;
- throttledRenderOnCanvas();
- // Store information for auto-scroll functionality
- scrollObj.lastMouseMoveEvent = {
- offsetX: e.offsetX,
- offsetY: e.offsetY,
- };
- scrollObj.lastScrollTop = scrollParent?.scrollTop;
- scrollObj.lastScrollHeight = scrollParent?.scrollHeight;
- }
- } else {
- // Call onFirstMoveOnCanvas for the initial move on the canvas
- onFirstMoveOnCanvas(e);
- }
- };
-
- // Adding setTimeout to make sure this gets called after
- // the onscroll that resets intersectionObserver in StickyCanvasArena.tsx
- const onScroll = () =>
- setTimeout(() => {
- const { lastMouseMoveEvent, lastScrollHeight, lastScrollTop } =
- scrollObj;
- if (
- lastMouseMoveEvent &&
- lastScrollHeight &&
- lastScrollTop &&
- scrollParent &&
- canScroll.current
- ) {
- // Adjusting mouse position based on scrolling for auto-scroll
- const delta =
- scrollParent?.scrollHeight +
- scrollParent?.scrollTop -
- (lastScrollHeight + lastScrollTop);
- onMouseMove({
- offsetX: lastMouseMoveEvent.offsetX,
- offsetY: lastMouseMoveEvent.offsetY + delta,
- });
- }
- }, 0);
-
- if (
- slidingArenaRef.current &&
- stickyCanvasRef.current &&
- scrollParent
- ) {
- // Initialize listeners
- slidingArenaRef.current?.addEventListener(
- "mousemove",
- onMouseMove,
- false,
- );
- slidingArenaRef.current?.addEventListener(
- "mouseup",
- onMouseUp,
- false,
- );
- // To make sure drops on the main canvas boundary buffer are processed in the capturing phase.
- document.addEventListener("mouseup", onMouseUp, true);
- scrollParent?.addEventListener("scroll", onScroll, false);
- }
-
- return () => {
- // Cleanup listeners on component unmount
- slidingArenaRef.current?.removeEventListener(
- "mousemove",
- onMouseMove,
- );
- slidingArenaRef.current?.removeEventListener("mouseup", onMouseUp);
- document.removeEventListener("mouseup", onMouseUp, true);
- scrollParent?.removeEventListener("scroll", onScroll);
- };
- } else {
- // Reset canvas state if not dragging
- resetCanvasState();
- }
- }
- }, [
- isDragging,
- allowToDrop,
- draggedBlocks,
- isCurrentDraggedCanvas,
- isDragging,
- layoutElementPositions,
- mainCanvasLayoutId,
- ]);
-
- return {
- showCanvas: isDragging && !activateOverlayWidgetDrop,
- };
-};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndCompensatorUtils.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndCompensatorUtils.ts
new file mode 100644
index 000000000000..93df83465e93
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndCompensatorUtils.ts
@@ -0,0 +1,325 @@
+import type { Token } from "@design-system/theming";
+import type { AnvilHighlightInfo } from "layoutSystems/anvil/utils/anvilTypes";
+import { HIGHLIGHT_SIZE } from "layoutSystems/anvil/utils/constants";
+import { EMPTY_MODAL_PADDING } from "../AnvilModalDropArena";
+
+/**
+ * DnD Compensation spacing tokens
+ *
+ * main canvas (Aligned Column layout component) using the value spacing-4 which is set via dsl transformer
+ * section widget (WDS widget) - no tokens currently, however we extend the DnD layer on both sides of the section inorder to be able to show highlights and catch mouse movements.
+ * zone widget spacing when elevated (WDS widget) - uses the --outer-spacing-3 value which is set on the widget from the container component.
+ * modal component body top spacing (WDS component) - uses the --outer-spacing-2 value which is set on the WDS component
+ * modal component body left spacing (WDS component) - uses the --outer-spacing-4 value which is set on the WDS component
+ *
+ * ToDo(#32983): These values are hardcoded here for now.
+ *
+ * Ideally they should be coming from a constant or from the entity it-selves as a property to the drag and drop layer.
+ * But we have DnD rendering on the layout component and each of these entities are defining there spacing in different places.
+ */
+const CompensationSpacingTokens = {
+ MAIN_CANVAS: "4",
+ ZONE: "3",
+ MODAL_TOP: "2",
+ MODAL_LEFT: "4",
+};
+
+const extractFloatValuesOutOfToken = (token: Token) => {
+ if (token) {
+ return parseFloat(token.value + "");
+ }
+ return 0;
+};
+
+/**
+ * Get widget spacing CSS variable values
+ */
+const getWidgetSpacingCSSVariableValues = (outerSpacingTokens: {
+ [key: string]: Token;
+}) => {
+ return {
+ mainCanvasSpacing: extractFloatValuesOutOfToken(
+ outerSpacingTokens[CompensationSpacingTokens.MAIN_CANVAS],
+ ),
+ modalSpacing: {
+ top: extractFloatValuesOutOfToken(
+ outerSpacingTokens[CompensationSpacingTokens.MODAL_TOP],
+ ),
+ left: extractFloatValuesOutOfToken(
+ outerSpacingTokens[CompensationSpacingTokens.MODAL_LEFT],
+ ),
+ },
+ zoneSpacing: extractFloatValuesOutOfToken(
+ outerSpacingTokens[CompensationSpacingTokens.ZONE],
+ ),
+ };
+};
+
+/**
+ * Get compensators for the main canvas widget
+ */
+const getMainCanvasCompensators = (
+ isEmptyLayout: boolean,
+ mainCanvasSpacing: number,
+) => {
+ const widgetCompensatorValues = {
+ left: 0,
+ top: 0,
+ };
+ const edgeCompensatorValues = {
+ left: isEmptyLayout ? -mainCanvasSpacing : 0,
+ top: isEmptyLayout ? -mainCanvasSpacing : mainCanvasSpacing,
+ };
+ const layoutCompensatorValues = {
+ left: 0,
+ top: 0,
+ };
+ return {
+ widgetCompensatorValues,
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ };
+};
+
+/**
+ * Get compensators for the section widget
+ */
+const getSectionCompensators = (mainCanvasSpacing: number) => {
+ const widgetCompensatorValues = {
+ left: mainCanvasSpacing,
+ top: 0,
+ };
+ const edgeCompensatorValues = {
+ left: HIGHLIGHT_SIZE * 2,
+ top: 0,
+ };
+ return {
+ widgetCompensatorValues,
+ edgeCompensatorValues,
+ layoutCompensatorValues: widgetCompensatorValues,
+ };
+};
+/**
+ * Get compensators for the modal widget
+ */
+const getModalCompensators = (
+ isEmptyLayout: boolean,
+ modalSpacing: {
+ top: number;
+ left: number;
+ },
+) => {
+ const widgetCompensatorValues = {
+ left: 0,
+ top: isEmptyLayout ? 0 : modalSpacing.top,
+ };
+ const layoutCompensatorValues = {
+ left: isEmptyLayout ? EMPTY_MODAL_PADDING : 0,
+ top: isEmptyLayout ? EMPTY_MODAL_PADDING : modalSpacing.top,
+ };
+ return {
+ widgetCompensatorValues,
+ edgeCompensatorValues: widgetCompensatorValues,
+ layoutCompensatorValues,
+ };
+};
+
+/**
+ * Get compensators for the zone widget
+ */
+const getZoneCompensators = (
+ zoneSpacing: number,
+ isElevatedWidget: boolean,
+) => {
+ const widgetCompensatorValues = {
+ left: 0,
+ top: 0,
+ };
+ const edgeCompensatorValues = isElevatedWidget
+ ? {
+ left: zoneSpacing,
+ top: zoneSpacing,
+ }
+ : {
+ left: HIGHLIGHT_SIZE / 2,
+ top: HIGHLIGHT_SIZE / 2,
+ };
+ const layoutCompensatorValues = isElevatedWidget
+ ? {
+ left: zoneSpacing,
+ top: zoneSpacing,
+ }
+ : {
+ left: 0,
+ top: 0,
+ };
+ return {
+ widgetCompensatorValues,
+ edgeCompensatorValues,
+ layoutCompensatorValues,
+ };
+};
+
+/**
+ * Get compensators for the widget based on the hierarchy
+ */
+export const getCompensatorsForHierarchy = (
+ hierarchy: number,
+ isEmptyLayout: boolean,
+ isElevatedWidget: boolean,
+ outerSpacingTokens:
+ | {
+ [key: string]: Token;
+ }
+ | undefined,
+) => {
+ if (!outerSpacingTokens) {
+ return {
+ widgetCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ edgeCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ layoutCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ };
+ }
+ const { mainCanvasSpacing, modalSpacing, zoneSpacing } =
+ getWidgetSpacingCSSVariableValues(outerSpacingTokens);
+ /**
+ * Get compensators based on hierarchy
+ * widgetCompensatorValues - compensates for the widget's additional dragging space outside widget and its layout ( Section Widget)
+ * edgeCompensatorValues - compensates for the highlights at the edges of the layout of the widget (Zone Widget)
+ * layoutCompensatorValues - compensates for the layout's additional dragging space inside widget (Modal Widget)
+ */
+ switch (true) {
+ case hierarchy === 0:
+ return getMainCanvasCompensators(isEmptyLayout, mainCanvasSpacing);
+ case hierarchy === 1:
+ return getModalCompensators(isEmptyLayout, modalSpacing);
+ case hierarchy === 2:
+ return getSectionCompensators(mainCanvasSpacing);
+ case hierarchy === 3:
+ return getZoneCompensators(zoneSpacing, isElevatedWidget);
+ default:
+ return {
+ widgetCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ edgeCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ layoutCompensatorValues: {
+ left: 0,
+ top: 0,
+ },
+ };
+ }
+};
+
+/**
+ * Calculate the top offset based on the edge details
+ */
+const calculateEdgeTopOffset = (
+ isVertical: boolean,
+ isTopEdge: boolean,
+ isBottomEdge: boolean,
+ topGap: number,
+) => {
+ return !isVertical ? (isTopEdge ? -topGap : isBottomEdge ? topGap : 0) : 0;
+};
+
+/**
+ * Calculate the left offset based on the edge details
+ */
+const calculateEdgeLeftOffset = (
+ isVertical: boolean,
+ isLeftEdge: boolean,
+ isRightEdge: boolean,
+ leftGap: number,
+) => {
+ return isVertical ? (isLeftEdge ? -leftGap : isRightEdge ? leftGap : 0) : 0;
+};
+
+/**
+ * Get the edge compensating offset values
+ */
+const getEdgeCompensatingOffsetValues = (
+ highlight: AnvilHighlightInfo,
+ highlightCompensatorValues: {
+ top: number;
+ left: number;
+ },
+) => {
+ const {
+ edgeDetails,
+ height: highlightHeight,
+ isVertical,
+ width: highlightWidth,
+ } = highlight;
+ const compensatorTop = highlightCompensatorValues.top;
+ const compensatorLeft = highlightCompensatorValues.left;
+ const {
+ bottom: isBottomEdge,
+ left: isLeftEdge,
+ right: isRightEdge,
+ top: isTopEdge,
+ } = edgeDetails;
+ const topGap = (compensatorTop + highlightHeight) * 0.5;
+ const leftGap = (compensatorLeft + highlightWidth) * 0.5;
+ const topOffset = calculateEdgeTopOffset(
+ isVertical,
+ isTopEdge,
+ isBottomEdge,
+ topGap,
+ );
+ const leftOffset = calculateEdgeLeftOffset(
+ isVertical,
+ isLeftEdge,
+ isRightEdge,
+ leftGap,
+ );
+ return {
+ topOffset,
+ leftOffset,
+ };
+};
+
+/**
+ * Get the position compensated highlight
+ */
+export const getPositionCompensatedHighlight = (
+ highlight: AnvilHighlightInfo,
+ layoutCompensatorValues: {
+ top: number;
+ left: number;
+ },
+ edgeCompensatorValues: {
+ top: number;
+ left: number;
+ },
+): AnvilHighlightInfo => {
+ const layoutCompensatedHighlight = {
+ ...highlight,
+ posX: highlight.posX + layoutCompensatorValues.left,
+ posY: highlight.posY + layoutCompensatorValues.top,
+ };
+ const { posX: left, posY: top } = layoutCompensatedHighlight;
+ const compensatingOffsetValues = getEdgeCompensatingOffsetValues(
+ highlight,
+ edgeCompensatorValues,
+ );
+ const positionUpdatedHighlightInfo = {
+ ...layoutCompensatedHighlight,
+ posX: left + compensatingOffsetValues.leftOffset,
+ posY: top + compensatingOffsetValues.topOffset,
+ };
+ return positionUpdatedHighlightInfo;
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndEventUtils.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndEventUtils.ts
new file mode 100644
index 000000000000..c2c834e13cb1
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/dndEventUtils.ts
@@ -0,0 +1,9 @@
+export const resetAnvilDnDListener = (
+ anvilDnDListener: HTMLDivElement | null,
+) => {
+ if (anvilDnDListener) {
+ anvilDnDListener.style.backgroundColor = "unset";
+ anvilDnDListener.style.color = "unset";
+ anvilDnDListener.innerText = "";
+ }
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.test.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.test.ts
similarity index 85%
rename from app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.test.ts
rename to app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.test.ts
index 7595c1266564..82ad152ad8c1 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.test.ts
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.test.ts
@@ -17,6 +17,12 @@ describe("Highlight selection algos", () => {
canvasId: "canvasId",
rowIndex: 0,
layoutOrder: [],
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
},
{
layoutId: "",
@@ -29,6 +35,12 @@ describe("Highlight selection algos", () => {
canvasId: "canvasId",
rowIndex: 1,
layoutOrder: [],
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
},
{
layoutId: "",
@@ -41,6 +53,12 @@ describe("Highlight selection algos", () => {
canvasId: "canvasId",
rowIndex: 0,
layoutOrder: [],
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
},
// Add other highlights as needed...
];
diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.ts b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.ts
similarity index 96%
rename from app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.ts
rename to app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.ts
index 69328834cee9..6b5db412e6b5 100644
--- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/hooks/utils.ts
+++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/utils/utils.ts
@@ -122,16 +122,11 @@ export const getDraggedBlocks = (
};
export const getClosestHighlight = (
- e: MouseEvent,
+ pos: XYCord,
highlights: AnvilHighlightInfo[],
) => {
if (!highlights || !highlights.length) return;
- // Current mouse coordinates.
- const pos: XYCord = {
- x: e.offsetX,
- y: e.offsetY,
- };
/**
* Filter highlights that span the current mouse position.
*/
@@ -330,3 +325,16 @@ function calculateDistance(a: AnvilHighlightInfo, b: XYCord): number {
}
return Math.hypot(distX, distY);
}
+
+/**
+ * Function to render UX to denote that the widget type cannot be dropped in the layout
+ */
+export const renderDisallowDroppingUI = (slidingArena: HTMLDivElement) => {
+ slidingArena.classList.add("disallow-dropping");
+ slidingArena.innerText = "This Layout doesn't support the widget";
+};
+
+export const removeDisallowDroppingsUI = (slidingArena: HTMLDivElement) => {
+ slidingArena.classList.remove("disallow-dropping");
+ slidingArena.innerText = "";
+};
diff --git a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts
index 268d4f92d1dc..678839987d4d 100644
--- a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts
+++ b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts
@@ -1,3 +1,4 @@
+import type { AppState } from "@appsmith/reducers";
import { getAnvilSpaceDistributionStatus } from "layoutSystems/anvil/integrations/selectors";
import { useCallback, useEffect } from "react";
import { useSelector } from "react-redux";
@@ -13,7 +14,9 @@ export const useAnvilWidgetHover = (
const isFocused = useSelector(isCurrentWidgetFocused(widgetId));
const isPreviewMode = useSelector(combinedPreviewModeSelector);
const isDistributingSpace = useSelector(getAnvilSpaceDistributionStatus);
-
+ const isDragging = useSelector(
+ (state: AppState) => state.ui.widgetDragResize.isDragging,
+ );
// Access the focusWidget function from the useWidgetSelection hook
const { focusWidget } = useWidgetSelection();
@@ -24,13 +27,21 @@ export const useAnvilWidgetHover = (
focusWidget &&
!isFocused &&
!isDistributingSpace &&
+ !isDragging &&
!isPreviewMode &&
focusWidget(widgetId);
// Prevent the event from propagating further
e.stopPropagation();
},
- [focusWidget, isFocused, isDistributingSpace, isPreviewMode, widgetId],
+ [
+ focusWidget,
+ isFocused,
+ isDistributingSpace,
+ isPreviewMode,
+ widgetId,
+ isDragging,
+ ],
);
// Callback function for handling mouseleave events
diff --git a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts
index 102d33bd6b11..ab3b5db0beb9 100644
--- a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts
+++ b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts
@@ -3,6 +3,7 @@ import { isWidgetSelected } from "selectors/widgetSelectors";
import { useSelector } from "react-redux";
import { useWidgetBorderStyles } from "layoutSystems/anvil/common/hooks/useWidgetBorderStyles";
import type { AppState } from "@appsmith/reducers";
+import { getIsNewWidgetBeingDragged } from "sagas/selectors";
export const useAnvilWidgetStyles = (
widgetId: string,
@@ -35,9 +36,10 @@ export const useAnvilWidgetStyles = (
ref.current.setAttribute("data-testid", isSelected ? "t--selected" : "");
}
}, [widgetName, isSelected]);
-
+ const isNewWidgetDrag = useSelector(getIsNewWidgetBeingDragged);
// Calculate whether the widget should fade based on dragging, selection, and visibility
- const shouldFadeWidget = (isDragging && isSelected) || !isVisible;
+ const shouldFadeWidget =
+ (isDragging && !isNewWidgetDrag && isSelected) || !isVisible;
// Calculate opacity factor based on whether the widget should fade
const opacityFactor = useMemo(() => {
diff --git a/app/client/src/layoutSystems/anvil/integrations/actions/draggingActions.ts b/app/client/src/layoutSystems/anvil/integrations/actions/draggingActions.ts
index 1547a8478f43..06c172e86909 100644
--- a/app/client/src/layoutSystems/anvil/integrations/actions/draggingActions.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/actions/draggingActions.ts
@@ -10,6 +10,14 @@ import type {
} from "./actionTypes";
import { AnvilReduxActionTypes } from "./actionTypes";
+export const setHighlightsDrawnAction = (highlight?: AnvilHighlightInfo) => {
+ return {
+ type: AnvilReduxActionTypes.ANVIL_SET_HIGHLIGHT_SHOWN,
+ payload: {
+ highlight,
+ },
+ };
+};
/**
* Add new anvil widget to canvas.
*/
diff --git a/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts
new file mode 100644
index 000000000000..8b04d4c27c71
--- /dev/null
+++ b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts
@@ -0,0 +1,16 @@
+import type { AppState } from "@appsmith/reducers";
+import { getWidgetIdsByType, getWidgetsMeta } from "sagas/selectors";
+import { WDSModalWidget } from "widgets/wds/WDSModalWidget";
+
+export const getCurrentlyOpenAnvilModal = (state: AppState) => {
+ const allExistingModals = getWidgetIdsByType(state, WDSModalWidget.type);
+ if (allExistingModals.length === 0) {
+ return;
+ }
+ const metaWidgets = getWidgetsMeta(state);
+ const currentlyOpenModal = allExistingModals.find((modalId) => {
+ const modal = metaWidgets[modalId];
+ return modal && modal.isVisible;
+ });
+ return currentlyOpenModal;
+};
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/BaseLayoutComponent.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/BaseLayoutComponent.tsx
index a21f9a3050ce..41097191ed8c 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/BaseLayoutComponent.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/BaseLayoutComponent.tsx
@@ -16,7 +16,7 @@ import {
} from "../utils/layouts/layoutUtils";
import { RenderModes } from "constants/WidgetConstants";
import LayoutFactory from "./LayoutFactory";
-import { AnvilCanvasDraggingArena } from "../editor/canvasArenas/AnvilCanvasDraggingArena";
+import { AnvilDraggingArena } from "../editor/canvasArenas/AnvilDraggingArena";
import { FlexLayout, type FlexLayoutProps } from "./components/FlexLayout";
import { defaultHighlightPayload } from "../utils/constants";
@@ -111,9 +111,8 @@ abstract class BaseLayoutComponent extends PureComponent<
this.props;
if (!isDropTarget) return null;
return (
- <AnvilCanvasDraggingArena
+ <AnvilDraggingArena
allowedWidgetTypes={this.props.allowedWidgetTypes || []}
- canvasId={canvasId}
deriveAllHighlightsFn={LayoutFactory.getDeriveHighlightsFn(layoutType)(
this.props,
canvasId,
@@ -122,6 +121,7 @@ abstract class BaseLayoutComponent extends PureComponent<
)}
layoutId={layoutId}
layoutType={layoutType}
+ widgetId={canvasId}
/>
);
}
@@ -130,11 +130,7 @@ abstract class BaseLayoutComponent extends PureComponent<
static rendersWidgets: boolean = false;
render(): JSX.Element | null {
- return (
- <FlexLayout {...this.getFlexLayoutProps()}>
- {this.renderContent()}
- </FlexLayout>
- );
+ return <>{this.renderContent()}</>;
}
protected renderContent(): React.ReactNode {
@@ -146,14 +142,18 @@ abstract class BaseLayoutComponent extends PureComponent<
renderEditMode(): JSX.Element {
return (
<>
+ {this.renderViewMode()}
{this.renderDraggingArena()}
- {this.renderChildren()}
</>
);
}
renderViewMode(): React.ReactNode {
- return <>{this.renderChildren()}</>;
+ return (
+ <FlexLayout {...this.getFlexLayoutProps()}>
+ {this.renderChildren()}
+ </FlexLayout>
+ );
}
renderChildren(): React.ReactNode {
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/section/index.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/section/index.tsx
index cb95a626863d..3f053c587ec2 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/section/index.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/section/index.tsx
@@ -39,19 +39,28 @@ class Section extends WidgetRow {
/>
);
}
- renderDraggingArena(): React.ReactNode {
+
+ renderEditMode(): JSX.Element {
return (
<>
- {super.renderDraggingArena()}
- {this.renderSectionSpaceDistributor()}
+ {this.renderDraggingArena()}
+ {this.renderSpaceDistributedSection()}
</>
);
}
+ renderSpaceDistributedSection(): JSX.Element {
+ return (
+ <SectionRow {...this.getFlexLayoutProps()}>
+ {this.renderSectionSpaceDistributor()}
+ {super.renderChildren()}
+ </SectionRow>
+ );
+ }
- render(): JSX.Element {
+ renderViewMode(): JSX.Element {
return (
<SectionRow {...this.getFlexLayoutProps()}>
- {this.renderContent()}
+ {super.renderChildren()}
</SectionRow>
);
}
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/zone/index.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/zone/index.tsx
index fcd01117cb5e..45557c2d709b 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/zone/index.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/zone/index.tsx
@@ -45,10 +45,10 @@ class Zone extends AlignedLayoutColumn {
};
}
- render() {
+ renderViewMode() {
return (
<ZoneColumn {...this.getFlexLayoutProps()}>
- {this.renderContent()}
+ {this.renderChildren()}
</ZoneColumn>
);
}
diff --git a/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/SectionSpaceDistributor.tsx b/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/SectionSpaceDistributor.tsx
index bafe7cc5115b..20bf0491646b 100644
--- a/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/SectionSpaceDistributor.tsx
+++ b/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/SectionSpaceDistributor.tsx
@@ -2,12 +2,13 @@ import { getLayoutElementPositions } from "layoutSystems/common/selectors";
import type { LayoutElementPosition } from "layoutSystems/common/types";
import React, { useMemo } from "react";
import { useSelector } from "react-redux";
-import { previewModeSelector } from "selectors/editorSelectors";
+import { combinedPreviewModeSelector } from "selectors/editorSelectors";
import type { WidgetLayoutProps } from "../utils/anvilTypes";
import { getWidgetByID } from "sagas/selectors";
import { getDefaultSpaceDistributed } from "./utils/spaceRedistributionSagaUtils";
import { SpaceDistributionHandle } from "./SpaceDistributionHandle";
import { getAnvilZoneBoundaryOffset } from "./utils/spaceDistributionEditorUtils";
+import { getWidgetSelectionBlock } from "selectors/ui";
interface SectionSpaceDistributorProps {
sectionWidgetId: string;
@@ -110,7 +111,8 @@ export const SectionSpaceDistributor = (
props: SectionSpaceDistributorProps,
) => {
const { zones } = props;
- const isPreviewMode = useSelector(previewModeSelector);
+ const isPreviewMode = useSelector(combinedPreviewModeSelector);
+ const isWidgetSelectionBlocked = useSelector(getWidgetSelectionBlock);
const isDragging = useSelector(
(state) => state.ui.widgetDragResize.isDragging,
);
@@ -123,6 +125,7 @@ export const SectionSpaceDistributor = (
const canRedistributeSpace =
!isPreviewMode &&
!isDragging &&
+ !isWidgetSelectionBlocked &&
allZonePositionsAreAvailable &&
zones.length > 1;
return canRedistributeSpace ? (
diff --git a/app/client/src/layoutSystems/anvil/utils/anvilTypes.ts b/app/client/src/layoutSystems/anvil/utils/anvilTypes.ts
index d8f5b77a0c43..741fb80cf62a 100644
--- a/app/client/src/layoutSystems/anvil/utils/anvilTypes.ts
+++ b/app/client/src/layoutSystems/anvil/utils/anvilTypes.ts
@@ -112,6 +112,12 @@ export interface HighlightRenderInfo {
width: number; // width of the highlight.
posX: number; // x position of the highlight.
posY: number; // y position of the highlight.
+ edgeDetails: {
+ top: boolean; // Whether the highlight is at the top edge of the layout.
+ bottom: boolean; // Whether the highlight is at the bottom edge of the layout.
+ left: boolean; // Whether the highlight is at the left edge of the layout.
+ right: boolean; // Whether the highlight is at the right edge of the layout.
+ };
}
export interface HighlightDropInfo {
diff --git a/app/client/src/layoutSystems/anvil/utils/constants.ts b/app/client/src/layoutSystems/anvil/utils/constants.ts
index f5331cccda50..5e0be9284b8a 100644
--- a/app/client/src/layoutSystems/anvil/utils/constants.ts
+++ b/app/client/src/layoutSystems/anvil/utils/constants.ts
@@ -4,8 +4,8 @@ import { anvilWidgets } from "widgets/anvil/constants";
export const MOBILE_BREAKPOINT = 480;
-export const HIGHLIGHT_SIZE = 4;
-export const PADDING_FOR_HORIZONTAL_HIGHLIGHT = 4;
+export const HIGHLIGHT_SIZE = 2;
+export const PADDING_FOR_HORIZONTAL_HIGHLIGHT = 2;
export const DEFAULT_VERTICAL_HIGHLIGHT_HEIGHT = 60;
export const AlignmentIndexMap: { [key: string]: number } = {
[FlexLayerAlignment.Start]: 0,
@@ -24,6 +24,12 @@ export const defaultHighlightRenderInfo: HighlightRenderInfo = {
posX: 0,
posY: 0,
width: 0,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
// Constants for the minimum and maximum zone count
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.ts
index 19bcc0bd43e7..10063cc2f8d3 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.ts
@@ -53,6 +53,12 @@ export const deriveAlignedColumnHighlights =
posY: HIGHLIGHT_SIZE / 2,
rowIndex: 0,
width: 0,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
const hasFillWidget: boolean = draggedWidgets.some(
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 0864df4ce55e..68ca5277a02d 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts
@@ -66,6 +66,12 @@ export const deriveAlignedRowHighlights =
posY: HIGHLIGHT_SIZE / 2,
rowIndex: 0,
width: HIGHLIGHT_SIZE,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
/**
@@ -376,15 +382,24 @@ function generateHighlight(
layoutDimension.left,
);
}
-
+ const posY = tallestWidget ? tallestWidget.top : layoutDimension.top;
+ const edgeDetails = {
+ top: posY === layoutDimension.top,
+ bottom:
+ posY + HIGHLIGHT_SIZE === layoutDimension.top + layoutDimension.height,
+ left: posX === layoutDimension.left,
+ right:
+ posX + HIGHLIGHT_SIZE === layoutDimension.left + layoutDimension.width,
+ };
return {
...baseHighlight,
layoutId,
alignment,
height: tallestWidget?.height ?? layoutDimension.height,
posX,
- posY: tallestWidget ? tallestWidget?.top : layoutDimension.top,
+ posY,
rowIndex: childCount,
+ edgeDetails,
};
}
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.ts
index cf75a14643aa..cbb49a340183 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.ts
@@ -50,6 +50,12 @@ export const deriveColumnHighlights =
posY: HIGHLIGHT_SIZE / 2,
rowIndex: 0,
width: 0,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
return deriveHighlights(
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/horizontalHighlights.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/horizontalHighlights.ts
index 46f78eabcfb0..98664018b486 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/horizontalHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/horizontalHighlights.ts
@@ -426,7 +426,6 @@ export function generateHighlights(
const width: number = layoutDimension.width / arr.length;
const isFirstHighlight: boolean = rowIndex === 0;
-
let posY = 0;
const emptyLayout = isFirstHighlight && isLastHighlight;
let gap = 0;
@@ -468,6 +467,12 @@ export function generateHighlights(
posY,
rowIndex,
width,
+ edgeDetails: {
+ top: isFirstHighlight,
+ bottom: isLastHighlight,
+ left: width * index === 0,
+ right: width * (index + 1) === layoutDimension.width,
+ },
...(isCurrentLayoutEmpty && !hasFillWidget
? {
isVertical: true,
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 1aee4db1c36e..99d091cdb5aa 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
@@ -295,6 +295,12 @@ describe("rowHighlights tests", () => {
posY: 0,
rowIndex: 0,
width: HIGHLIGHT_SIZE,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
};
it("should derive highlights for a row", () => {
const data: WidgetLayoutProps[] = [
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 034f86e0f933..134d3eb8cb4e 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts
@@ -83,6 +83,12 @@ export const deriveRowHighlights =
posY: HIGHLIGHT_SIZE / 2,
rowIndex: 0,
width: HIGHLIGHT_SIZE,
+ edgeDetails: {
+ top: false,
+ bottom: false,
+ left: false,
+ right: false,
+ },
};
// If layout is empty, add an initial highlight.
@@ -520,13 +526,20 @@ export function generateHighlights(
layoutDimension.left,
);
}
-
+ const posY = tallestDimension?.top ?? layoutDimension.top;
return {
...baseHighlight,
height: tallestDimension?.height ?? layoutDimension.height,
posX,
- posY: tallestDimension?.top ?? layoutDimension.top,
+ posY,
rowIndex,
+ edgeDetails: {
+ top: posY === layoutDimension.top,
+ bottom: posY === layoutDimension.top + layoutDimension.height,
+ left: posX === layoutDimension.left,
+ right:
+ posX + HIGHLIGHT_SIZE === layoutDimension.left + layoutDimension.width,
+ },
};
}
diff --git a/app/client/src/mocks/mockHighlightInfo.ts b/app/client/src/mocks/mockHighlightInfo.ts
index 9b276e3600a2..93149399d76f 100644
--- a/app/client/src/mocks/mockHighlightInfo.ts
+++ b/app/client/src/mocks/mockHighlightInfo.ts
@@ -36,6 +36,12 @@ export function mockAnvilHighlightInfo(
posX: 0,
posY: 0,
width: 4,
+ edgeDetails: {
+ bottom: false,
+ left: false,
+ right: false,
+ top: false,
+ },
...data,
};
}
diff --git a/app/client/src/sagas/selectors.tsx b/app/client/src/sagas/selectors.tsx
index d54ab1c0dea4..38caf303e2c3 100644
--- a/app/client/src/sagas/selectors.tsx
+++ b/app/client/src/sagas/selectors.tsx
@@ -191,6 +191,15 @@ export const getPluginIdOfPackageName = (
export const getDragDetails = (state: AppState) => {
return state.ui.widgetDragResize.dragDetails;
};
+
+export const getIsNewWidgetBeingDragged = (state: AppState) => {
+ const { isDragging } = state.ui.widgetDragResize;
+ if (!isDragging) return false;
+ const dragDetails: DragDetails = getDragDetails(state);
+ const { dragGroupActualParent: dragParent, newWidget } = dragDetails;
+ return !!newWidget && !dragParent;
+};
+
export const isCurrentCanvasDragging = createSelector(
(state: AppState) => state.ui.widgetDragResize.isDragging,
getDragDetails,
diff --git a/app/client/src/widgets/wds/WDSModalWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSModalWidget/widget/index.tsx
index c08b07b66aba..1705b20a012e 100644
--- a/app/client/src/widgets/wds/WDSModalWidget/widget/index.tsx
+++ b/app/client/src/widgets/wds/WDSModalWidget/widget/index.tsx
@@ -122,7 +122,7 @@ class WDSModalWidget extends BaseWidget<ModalWidgetProps, WidgetState> {
? this.props.submitButtonText || "Submit"
: undefined;
const contentClassName = `${this.props.className} ${
- this.props.allowWidgetInteraction ? styles.disableModalInteraction : ""
+ this.props.allowWidgetInteraction ? "" : styles.disableModalInteraction
}`;
return (
<Modal
diff --git a/app/client/src/widgets/wds/WDSModalWidget/widget/styles.module.css b/app/client/src/widgets/wds/WDSModalWidget/widget/styles.module.css
index 5524b0591706..6210e888c091 100644
--- a/app/client/src/widgets/wds/WDSModalWidget/widget/styles.module.css
+++ b/app/client/src/widgets/wds/WDSModalWidget/widget/styles.module.css
@@ -1,4 +1,6 @@
.disableModalInteraction {
user-select: none;
- pointer-events: none;
+ & > * {
+ pointer-events: none;
+ }
}
|
73962885a54dd5b717e0fa212507622170348909
|
2023-12-07 19:54:48
|
Manish Kumar
|
fix: Revert "fix: added changes for mustache binding (#29264)" (#29444)
| false
|
Revert "fix: added changes for mustache binding (#29264)" (#29444)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCE.java
index 909bbdb88ef7..3de343153287 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCE.java
@@ -36,7 +36,7 @@ public interface DatasourceServiceCE {
Mono<Datasource> findById(String id);
- Mono<Set<MustacheBindingToken>> extractKeysFromDatasource(Datasource datasource);
+ Set<MustacheBindingToken> extractKeysFromDatasource(Datasource datasource);
Mono<Datasource> save(Datasource datasource);
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 b277fcc92b71..a91a1c69b7af 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
@@ -1,13 +1,13 @@
package com.appsmith.server.datasources.base;
import com.appsmith.external.constants.AnalyticsEvents;
+import com.appsmith.external.helpers.MustacheHelper;
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.DatasourceConfiguration;
import com.appsmith.external.models.DatasourceStorage;
import com.appsmith.external.models.DatasourceStorageDTO;
import com.appsmith.external.models.DatasourceTestResult;
import com.appsmith.external.models.MustacheBindingToken;
-import com.appsmith.external.models.PluginType;
import com.appsmith.external.models.Policy;
import com.appsmith.external.models.QDatasource;
import com.appsmith.external.plugins.PluginExecutor;
@@ -722,39 +722,12 @@ public Mono<Datasource> findById(String id) {
}
@Override
- public Mono<Set<MustacheBindingToken>> extractKeysFromDatasource(Datasource datasource) {
-
- if (datasource == null) {
- return Mono.just(new HashSet<>());
- }
-
- if (!StringUtils.hasText(datasource.getId())
- || !StringUtils.hasText(datasource.getPluginId())
- || !StringUtils.hasText(datasource.getWorkspaceId())) {
- return Mono.just(new HashSet<>());
+ public Set<MustacheBindingToken> extractKeysFromDatasource(Datasource datasource) {
+ if (datasource == null || datasource.getDatasourceConfiguration() == null) {
+ return new HashSet<>();
}
- // for RestAPI and Graphql plugin Type, there is a use case where custom header is required to be
- // a moustache binding, Datasource binding evaluation has been enabled only to satisfy that use case.
- return pluginService.findById(datasource.getPluginId()).flatMap(plugin -> {
- if (plugin.getType() != PluginType.API) {
- return Mono.just(new HashSet<>());
- }
-
- return datasourceStorageService
- .getBindingTokensForDatasourceStorages(datasource)
- .collectList()
- .map(mustacheBindingTokensList -> {
- Set<MustacheBindingToken> bindingTokens = new HashSet<>();
- mustacheBindingTokensList.forEach(mustacheBindingTokens -> {
- if (mustacheBindingTokens != null) {
- bindingTokens.addAll(mustacheBindingTokens);
- }
- });
-
- return bindingTokens;
- });
- });
+ return MustacheHelper.extractMustacheKeysFromFields(datasource.getDatasourceConfiguration());
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCE.java
index 0d115dc5b9a6..80a778d6007f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCE.java
@@ -3,12 +3,10 @@
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.DatasourceStorage;
import com.appsmith.external.models.DatasourceStorageDTO;
-import com.appsmith.external.models.MustacheBindingToken;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import java.util.Map;
-import java.util.Set;
public interface DatasourceStorageServiceCE {
@@ -52,6 +50,4 @@ Mono<DatasourceStorage> updateDatasourceStorage(
DatasourceStorageDTO createDatasourceStorageDTOFromDatasourceStorage(DatasourceStorage datasourceStorage);
DatasourceStorage createDatasourceStorageFromDatasource(Datasource datasource, String environmentId);
-
- Flux<Set<MustacheBindingToken>> getBindingTokensForDatasourceStorages(Datasource datasource);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java
index 6bdf061b1a0d..1d91c7d45110 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java
@@ -1,12 +1,10 @@
package com.appsmith.server.datasourcestorages.base;
-import com.appsmith.external.helpers.MustacheHelper;
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.DatasourceConfiguration;
import com.appsmith.external.models.DatasourceStorage;
import com.appsmith.external.models.DatasourceStorageDTO;
import com.appsmith.external.models.Endpoint;
-import com.appsmith.external.models.MustacheBindingToken;
import com.appsmith.external.models.OAuth2;
import com.appsmith.external.plugins.PluginExecutor;
import com.appsmith.server.constants.FieldName;
@@ -394,19 +392,4 @@ protected Mono<DatasourceStorage> errorMonoWhenDatasourceStorageNotFound(
return Mono.error(
new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.DATASOURCE, datasource.getName()));
}
-
- @Override
- public Flux<Set<MustacheBindingToken>> getBindingTokensForDatasourceStorages(Datasource datasource) {
- // this find by datasource is 1 click compatible hence it would only give the datasource storages to
- // allowed environments.
- return findByDatasource(datasource).map(datasourceStorage -> {
- // We are only enabling this for headers of API type plugins.
- DatasourceConfiguration datasourceConfiguration = datasourceStorage.getDatasourceConfiguration();
- if (datasourceConfiguration == null || CollectionUtils.isEmpty(datasourceConfiguration.getHeaders())) {
- return new HashSet<>();
- }
-
- return MustacheHelper.extractMustacheKeysFromFields(datasourceConfiguration.getHeaders());
- });
- }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCE.java
index 2f14ea1f3f85..99f609eafb81 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCE.java
@@ -36,7 +36,7 @@ public interface NewActionServiceCE extends CrudService<NewAction, String> {
Mono<ActionDTO> validateAndSaveActionToRepository(NewAction newAction);
- Mono<NewAction> extractAndSetJsonPathKeys(NewAction newAction);
+ NewAction extractAndSetJsonPathKeys(NewAction newAction);
Mono<ActionDTO> updateUnpublishedAction(String id, ActionDTO action);
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 efa6de08ef95..7938ade9514a 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
@@ -408,7 +408,7 @@ public Mono<ActionDTO> validateAndSaveActionToRepository(NewAction newAction) {
return newAction;
})
.flatMap(this::sanitizeAction)
- .flatMap(this::extractAndSetJsonPathKeys)
+ .map(this::extractAndSetJsonPathKeys)
.map(updatedAction -> {
// In case of external datasource (not embedded) instead of storing the entire datasource
// again inside the action, instead replace it with just the datasource ID. This is so that
@@ -498,33 +498,23 @@ private Set<MustacheBindingToken> extractKeysFromAction(ActionDTO actionDTO) {
* @return
*/
@Override
- public Mono<NewAction> extractAndSetJsonPathKeys(NewAction newAction) {
+ public NewAction extractAndSetJsonPathKeys(NewAction newAction) {
ActionDTO action = newAction.getUnpublishedAction();
+ Set<String> actionKeys = extractKeysFromAction(action).stream()
+ .map(token -> token.getValue())
+ .collect(Collectors.toSet());
+ Set<String> datasourceKeys = datasourceService.extractKeysFromDatasource(action.getDatasource()).stream()
+ .map(token -> token.getValue())
+ .collect(Collectors.toSet());
+ Set<String> keys = new HashSet<>() {
+ {
+ addAll(actionKeys);
+ addAll(datasourceKeys);
+ }
+ };
+ action.setJsonPathKeys(keys);
- // The execute action payload consists of the parameter map which has the required key-value pair being
- // consumed on backend in binding process. These parameter maps are filled via
- // action's JsonPathKeys attribute which holds the reference to client side objects e.g. : "input1.Text", e.t.c,
- // JsonPath keys are modified when the action is updated.
- return datasourceService
- .extractKeysFromDatasource(action.getDatasource())
- .map(datasourceBindings -> {
- Set<String> actionKeys = extractKeysFromAction(action).stream()
- .map(token -> token.getValue())
- .collect(Collectors.toSet());
-
- Set<String> datasourceKeys = datasourceBindings.stream()
- .map(token -> token.getValue())
- .collect(Collectors.toSet());
- Set<String> keys = new HashSet<>() {
- {
- addAll(actionKeys);
- addAll(datasourceKeys);
- }
- };
-
- action.setJsonPathKeys(keys);
- return newAction;
- });
+ return newAction;
}
private Mono<ActionDTO> setTransientFieldsInUnpublishedAction(NewAction newAction) {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/refactors/NewActionRefactoringServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/refactors/NewActionRefactoringServiceCEImpl.java
index fe862ffe50d2..7e780053706a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/refactors/NewActionRefactoringServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/refactors/NewActionRefactoringServiceCEImpl.java
@@ -98,10 +98,8 @@ public Mono<Void> refactorReferencesInExistingEntities(
if (StringUtils.hasLength(action.getCollectionId())) {
updatableCollectionIds.add(action.getCollectionId());
}
-
- return newActionService
- .extractAndSetJsonPathKeys(newAction)
- .then(newActionService.save(newAction));
+ newActionService.extractAndSetJsonPathKeys(newAction);
+ return newActionService.save(newAction);
});
});
})
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 c05d571a706d..38ac7ccd1f9d 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
@@ -862,136 +862,6 @@ public void updateShouldNotResetUserSetOnLoad() {
.verifyComplete();
}
- @Test
- @WithUserDetails(value = "api_user")
- public void testActionWithGraphQLDatasourceMoustacheBinding() {
- Mockito.when(pluginExecutorHelper.getPluginExecutor(Mockito.any()))
- .thenReturn(Mono.just(new MockPluginExecutor()));
-
- Datasource externalDatasource = new Datasource();
- externalDatasource.setName("moustacheDatasource");
- externalDatasource.setWorkspaceId(workspaceId);
- Plugin installed_plugin =
- pluginRepository.findByPackageName("graphql-plugin").block();
- externalDatasource.setPluginId(installed_plugin.getId());
- DatasourceConfiguration datasourceConfiguration = new DatasourceConfiguration();
- datasourceConfiguration.setUrl("some url here");
- datasourceConfiguration.setHeaders(List.of(new Property("key", "{{one.text}}")));
-
- HashMap<String, DatasourceStorageDTO> storages = new HashMap<>();
- storages.put(
- defaultEnvironmentId, new DatasourceStorageDTO(null, defaultEnvironmentId, datasourceConfiguration));
- externalDatasource.setDatasourceStorages(storages);
- Datasource savedDs = datasourceService.create(externalDatasource).block();
-
- ActionDTO action = new ActionDTO();
- action.setName("actionOne");
- action.setPageId(testPage.getId());
- ActionConfiguration actionConfiguration = new ActionConfiguration();
- actionConfiguration.setHttpMethod(HttpMethod.GET);
- action.setActionConfiguration(actionConfiguration);
- action.setDatasource(savedDs);
-
- Mono<ActionDTO> newActionMono =
- layoutActionService.createSingleAction(action, Boolean.FALSE).cache();
-
- StepVerifier.create(newActionMono)
- .assertNext(actionDTO -> {
- assertThat(actionDTO).isNotNull();
- assertThat(actionDTO.getJsonPathKeys().size()).isEqualTo(1);
- assertThat(actionDTO.getJsonPathKeys()).isEqualTo(Set.of("one.text"));
- })
- .verifyComplete();
- }
-
- @Test
- @WithUserDetails(value = "api_user")
- public void testActionHasPathKeyEntryWhenActionIsUpdated() {
- Mockito.when(pluginExecutorHelper.getPluginExecutor(Mockito.any()))
- .thenReturn(Mono.just(new MockPluginExecutor()));
-
- Datasource externalDatasource = new Datasource();
- externalDatasource.setName("moustacheDatasource");
- externalDatasource.setWorkspaceId(workspaceId);
- Plugin installed_plugin =
- pluginRepository.findByPackageName("restapi-plugin").block();
- externalDatasource.setPluginId(installed_plugin.getId());
- DatasourceConfiguration datasourceConfiguration = new DatasourceConfiguration();
- datasourceConfiguration.setUrl("some url here");
- datasourceConfiguration.setHeaders(List.of(new Property("key", "{{two.text}}")));
-
- HashMap<String, DatasourceStorageDTO> storages = new HashMap<>();
- storages.put(
- defaultEnvironmentId, new DatasourceStorageDTO(null, defaultEnvironmentId, datasourceConfiguration));
- externalDatasource.setDatasourceStorages(storages);
- Datasource savedDs = datasourceService.create(externalDatasource).block();
-
- ActionDTO action = new ActionDTO();
- action.setName("actionOne");
- action.setPageId(testPage.getId());
- ActionConfiguration actionConfiguration = new ActionConfiguration();
- actionConfiguration.setHttpMethod(HttpMethod.GET);
- action.setActionConfiguration(actionConfiguration);
- action.setDatasource(savedDs);
-
- Mono<ActionDTO> newActionMono =
- layoutActionService.createSingleAction(action, Boolean.FALSE).cache();
-
- Mono<ActionDTO> updatedActionMono = newActionMono.flatMap(createdAction -> {
- action.getActionConfiguration().setBody("New Body");
- return layoutActionService.updateSingleAction(createdAction.getId(), action);
- });
-
- StepVerifier.create(updatedActionMono)
- .assertNext(actionDTO -> {
- assertThat(actionDTO).isNotNull();
- assertThat(actionDTO.getActionConfiguration().getBody()).isEqualTo("New Body");
- assertThat(actionDTO.getJsonPathKeys().size()).isEqualTo(1);
- assertThat(actionDTO.getJsonPathKeys()).isEqualTo(Set.of("two.text"));
- })
- .verifyComplete();
- }
-
- @Test
- @WithUserDetails(value = "api_user")
- public void testActionWithNonAPITypeDatasourceMoustacheBinding() {
- Mockito.when(pluginExecutorHelper.getPluginExecutor(Mockito.any()))
- .thenReturn(Mono.just(new MockPluginExecutor()));
-
- Datasource externalDatasource = new Datasource();
- externalDatasource.setName("moustacheDatasource");
- externalDatasource.setWorkspaceId(workspaceId);
- Plugin installed_plugin =
- pluginRepository.findByPackageName("postgres-plugin").block();
- externalDatasource.setPluginId(installed_plugin.getId());
- DatasourceConfiguration datasourceConfiguration = new DatasourceConfiguration();
- datasourceConfiguration.setHeaders(List.of(new Property("key", "{{one.text}}")));
-
- HashMap<String, DatasourceStorageDTO> storages = new HashMap<>();
- storages.put(
- defaultEnvironmentId, new DatasourceStorageDTO(null, defaultEnvironmentId, datasourceConfiguration));
- externalDatasource.setDatasourceStorages(storages);
- Datasource savedDs = datasourceService.create(externalDatasource).block();
-
- ActionDTO action = new ActionDTO();
- action.setName("actionOne");
- action.setPageId(testPage.getId());
- ActionConfiguration actionConfiguration = new ActionConfiguration();
- actionConfiguration.setHttpMethod(HttpMethod.GET);
- action.setActionConfiguration(actionConfiguration);
- action.setDatasource(savedDs);
-
- Mono<ActionDTO> newActionMono =
- layoutActionService.createSingleAction(action, Boolean.FALSE).cache();
-
- StepVerifier.create(newActionMono)
- .assertNext(actionDTO -> {
- assertThat(actionDTO).isNotNull();
- assertThat(actionDTO.getJsonPathKeys().size()).isEqualTo(0);
- })
- .verifyComplete();
- }
-
@Test
@WithUserDetails(value = "api_user")
public void checkNewActionAndNewDatasourceAnonymousPermissionInPublicApp() {
|
c108a31a3821b2c3b94e40c9bf0c8619e3519413
|
2023-08-14 12:43:25
|
codesee-maps[bot]
|
chore: Install the CodeSee workflow. (#26315)
| false
|
Install the CodeSee workflow. (#26315)
|
chore
|
diff --git a/.github/workflows/codesee-arch-diagram.yml b/.github/workflows/codesee-arch-diagram.yml
new file mode 100644
index 000000000000..cd328eb4c4e2
--- /dev/null
+++ b/.github/workflows/codesee-arch-diagram.yml
@@ -0,0 +1,23 @@
+# This workflow was added by CodeSee. Learn more at https://codesee.io/
+# This is v2.0 of this workflow file
+on:
+ push:
+ branches:
+ - release
+ pull_request_target:
+ types: [opened, synchronize, reopened]
+
+name: CodeSee
+
+permissions: read-all
+
+jobs:
+ codesee:
+ runs-on: ubuntu-latest
+ continue-on-error: true
+ name: Analyze the repo with CodeSee
+ steps:
+ - uses: Codesee-io/codesee-action@v2
+ with:
+ codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
+ codesee-url: https://app.codesee.io
|
4f1eee48cc04db83aae1930ea421d757e9208194
|
2023-09-21 06:34:29
|
Nayan
|
fix: Git import fails when pages directory contains a file (#27467)
| false
|
Git import fails when pages directory contains a file (#27467)
|
fix
|
diff --git a/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/FileUtilsImpl.java b/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/FileUtilsImpl.java
index 66dcdad5c311..c4321e15f8d6 100644
--- a/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/FileUtilsImpl.java
+++ b/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/FileUtilsImpl.java
@@ -960,25 +960,28 @@ private void updateGitApplicationReferenceV2(
// Loop through all the directories and nested directories inside the pages directory to extract
// pages, actions and actionCollections from the JSON files
for (File page : Objects.requireNonNull(directory.listFiles())) {
- pageMap.put(page.getName(), readPageMetadata(page.toPath(), gson));
-
- JSONObject mainContainer = getMainContainer(pageMap.get(page.getName()), gson);
-
- // Read widgets data recursively from the widgets directory
- Map<String, JSONObject> widgetsData = readWidgetsData(
- page.toPath().resolve(CommonConstants.WIDGETS).toString());
- // Construct the nested DSL from the widgets data
- Map<String, List<String>> parentDirectories = DSLTransformerHelper.calculateParentDirectories(
- widgetsData.keySet().stream().toList());
- JSONObject nestedDSL = DSLTransformerHelper.getNestedDSL(widgetsData, parentDirectories, mainContainer);
- pageDsl.put(page.getName(), nestedDSL.toString());
- actionMap.putAll(
- readAction(page.toPath().resolve(ACTION_DIRECTORY), gson, page.getName(), actionBodyMap));
- actionCollectionMap.putAll(readActionCollection(
- page.toPath().resolve(ACTION_COLLECTION_DIRECTORY),
- gson,
- page.getName(),
- actionCollectionBodyMap));
+ if (page.isDirectory()) {
+ pageMap.put(page.getName(), readPageMetadata(page.toPath(), gson));
+
+ JSONObject mainContainer = getMainContainer(pageMap.get(page.getName()), gson);
+
+ // Read widgets data recursively from the widgets directory
+ Map<String, JSONObject> widgetsData = readWidgetsData(
+ page.toPath().resolve(CommonConstants.WIDGETS).toString());
+ // Construct the nested DSL from the widgets data
+ Map<String, List<String>> parentDirectories = DSLTransformerHelper.calculateParentDirectories(
+ widgetsData.keySet().stream().toList());
+ JSONObject nestedDSL =
+ DSLTransformerHelper.getNestedDSL(widgetsData, parentDirectories, mainContainer);
+ pageDsl.put(page.getName(), nestedDSL.toString());
+ actionMap.putAll(
+ readAction(page.toPath().resolve(ACTION_DIRECTORY), gson, page.getName(), actionBodyMap));
+ actionCollectionMap.putAll(readActionCollection(
+ page.toPath().resolve(ACTION_COLLECTION_DIRECTORY),
+ gson,
+ page.getName(),
+ actionCollectionBodyMap));
+ }
}
}
applicationGitReference.setActions(actionMap);
|
8108fd1345020ee49471a90593e6bd8fc59a28e0
|
2023-09-14 19:52:45
|
NandanAnantharamu
|
test: cypress - updating listv2 tests for regression (#27181)
| false
|
cypress - updating listv2 tests for regression (#27181)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_NestedList_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_NestedList_spec.ts
new file mode 100644
index 000000000000..6376199bb189
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_NestedList_spec.ts
@@ -0,0 +1,145 @@
+import {
+ agHelper,
+ entityExplorer,
+ deployMode,
+ propPane,
+ appSettings,
+ locators,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe("Nested List widget V2 ", () => {
+ before(() => {
+ agHelper.AddDsl("listV2NestedDsl");
+ });
+
+ it("1. Verify only 3 levels of nesting is allowed", () => {
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ entityExplorer.SelectEntityByName("Container1", "List1");
+ entityExplorer.SelectEntityByName("List2", "Container1");
+ entityExplorer.SelectEntityByName("Container2", "List2");
+ entityExplorer.SelectEntityByName("List3", "Container2");
+ agHelper.GetElement("body").type(`{${agHelper._modifierKey}}{c}`);
+ agHelper.Sleep(1000);
+ agHelper.WaitUntilAllToastsDisappear();
+ entityExplorer.SelectEntityByName("Container3", "List3");
+ agHelper.GetElement("body").type(`{${agHelper._modifierKey}}{v}`);
+ agHelper.ValidateToastMessage(
+ "Cannot have more than 3 levels of nesting in the list widget",
+ );
+ });
+
+ it("2. Verify nested List has same property as parent", () => {
+ const dataProperties = ["items", "dataidentifier"];
+
+ const paginationProperties = ["serversidepagination"];
+
+ const itemSelectionProperties = ["defaultselecteditem", "onitemclick"];
+
+ const generalProperties = ["visible", "animateloading"];
+
+ // Parent List
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(paginationProperties, "pagination");
+ propPane.AssertPropertyVisibility(itemSelectionProperties, "itemselection");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+
+ // First Child, List2
+ entityExplorer.SelectEntityByName("List2", "Widgets");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(paginationProperties, "pagination");
+ propPane.AssertPropertyVisibility(itemSelectionProperties, "itemselection");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+
+ // Second Child, List3
+ entityExplorer.SelectEntityByName("List3", "Widgets");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(paginationProperties, "pagination");
+ propPane.AssertPropertyVisibility(itemSelectionProperties, "itemselection");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+ });
+
+ it("3. Verify auto suggestions and {{currentView}} displays all widgets added in that List ", () => {
+ // Verify level_1 and level_2 are available
+ entityExplorer.SelectEntityByName("Text5", "Container3");
+ propPane.TypeTextIntoField("Text", "{{level");
+ agHelper.Sleep(500);
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "level_1",
+ "contain.text",
+ );
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "level_2",
+ "contain.text",
+ );
+
+ propPane.TypeTextIntoField("Text", "{{level1.currentView.");
+ agHelper.Sleep(500);
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "Image1",
+ "contain.text",
+ );
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "Text1",
+ "contain.text",
+ );
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "Text2",
+ "contain.text",
+ );
+ agHelper.GetNAssertElementText(
+ locators._hintsList,
+ "List2",
+ "contain.text",
+ );
+
+ propPane.UpdatePropertyFieldValue(
+ "Text",
+ "{{level_1.currentView.Text1.text}}",
+ );
+ agHelper.AssertText(
+ `${locators._widgetInDeployed("text5")} .bp3-ui-text`,
+ "text",
+ "Blue",
+ );
+ });
+
+ it("4. Verify making child widget invisble should not break the app", () => {
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ entityExplorer.SelectEntityByName("Container1", "List1");
+ entityExplorer.SelectEntityByName("List2", "Container1");
+ entityExplorer.SelectEntityByName("Container2", "List2");
+ entityExplorer.SelectEntityByName("List3", "Container2");
+
+ propPane.TogglePropertyState("visible", "Off");
+ deployMode.DeployApp();
+ agHelper.AssertElementAbsence(locators._widgetInDeployed("list3"));
+ deployMode.NavigateBacktoEditor();
+ });
+
+ it("5. Verify Theme change", () => {
+ [0, 1, 2].forEach((index) => {
+ agHelper.AssertAttribute(
+ locators._listText,
+ "font-family",
+ "Nunito Sans",
+ index,
+ );
+ });
+ agHelper.PressEscape();
+ appSettings.OpenPaneAndChangeTheme("Pacific");
+ [0, 1, 2].forEach((index) => {
+ agHelper.AssertAttribute(
+ locators._listText,
+ "font-family",
+ "Open Sans",
+ index,
+ );
+ });
+ });
+});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_WithOtherWidget_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_WithOtherWidget_spec.ts
new file mode 100644
index 000000000000..53bb19eb1b86
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_WithOtherWidget_spec.ts
@@ -0,0 +1,106 @@
+import {
+ agHelper,
+ locators,
+ entityExplorer,
+ propPane,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe("List widget V2 functionality with audio and video widgets", () => {
+ before(() => {
+ agHelper.AddDsl("listV2AudioVideoDsl");
+ entityExplorer.DragDropWidgetNVerify("audiowidget", 700, 500);
+ entityExplorer.DragDropWidgetNVerify("audiorecorderwidget", 700, 600);
+ entityExplorer.DragDropWidgetNVerify("videowidget", 400, 700);
+ entityExplorer.DragDropWidgetNVerify("textwidget", 700, 700);
+ });
+
+ after(() => {
+ agHelper.SelectAllWidgets();
+ agHelper.PressDelete();
+ });
+
+ it("1. Verify property visibility", () => {
+ const dataProperties = ["url"];
+
+ const generalProperties = ["autoplay", "visible", "animateloading"];
+
+ const eventsProperties = ["onplay", "onpause", "onend"];
+
+ const audioRecorderGeneralProperties = [
+ "visible",
+ "disabled",
+ "animateloading",
+ ];
+
+ const audioRecorderEventsProperties = [
+ "onrecordingstart",
+ "onrecordingcomplete",
+ ];
+
+ entityExplorer.SelectEntityByName("Audio2", "Widgets");
+ // Audio widget outside List
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+ propPane.AssertPropertyVisibility(eventsProperties, "events");
+
+ // Audio widget inside List
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ entityExplorer.SelectEntityByName("Container1", "List1");
+ entityExplorer.SelectEntityByName("Audio1", "Container1");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+ propPane.AssertPropertyVisibility(eventsProperties, "events");
+
+ // Audio recorder widget outside List
+ entityExplorer.SelectEntityByName("AudioRecorder2", "Widgets");
+ propPane.AssertPropertyVisibility(
+ audioRecorderGeneralProperties,
+ "general",
+ );
+ propPane.AssertPropertyVisibility(audioRecorderEventsProperties, "events");
+
+ // Audio recorder widget inside List
+ entityExplorer.SelectEntityByName("AudioRecorder1", "Widgets");
+ propPane.AssertPropertyVisibility(
+ audioRecorderGeneralProperties,
+ "general",
+ );
+ propPane.AssertPropertyVisibility(audioRecorderEventsProperties, "events");
+
+ // Video widget outside List
+ entityExplorer.SelectEntityByName("Video2", "Widgets");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+ propPane.AssertPropertyVisibility(eventsProperties, "events");
+
+ // Video widget inside List
+ entityExplorer.SelectEntityByName("Video1", "Widgets");
+ propPane.AssertPropertyVisibility(dataProperties, "data");
+ propPane.AssertPropertyVisibility(generalProperties, "general");
+ propPane.AssertPropertyVisibility(eventsProperties, "events");
+ });
+
+ it("2. Verify auto play", function () {
+ entityExplorer.SelectEntityByName("Audio1", "Widgets");
+ propPane.TogglePropertyState("autoplay", "On");
+ agHelper.AssertAttribute("audio", "autoplay", "autoplay");
+
+ entityExplorer.SelectEntityByName("Video1", "Widgets");
+ propPane.TogglePropertyState("autoplay", "On");
+ agHelper.AssertAttribute("video", "autoplay", "autoplay");
+ });
+
+ it("3. Verify Binding", function () {
+ entityExplorer.SelectEntityByName("Text3", "Widgets");
+ propPane.UpdatePropertyFieldValue("Text", "{{Audio1.autoPlay}}");
+ agHelper.AssertText(locators._textWidgetStyleInDeployed, "text", "true", 2);
+ entityExplorer.SelectEntityByName("Audio1", "Widgets");
+ propPane.TogglePropertyState("autoplay", "Off");
+ agHelper.AssertText(
+ locators._textWidgetStyleInDeployed,
+ "text",
+ "false",
+ 2,
+ );
+ });
+});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_WithButtonGroupIconWidget_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_WithButtonGroupIconWidget_spec.ts
new file mode 100644
index 000000000000..c4377b9c03af
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_WithButtonGroupIconWidget_spec.ts
@@ -0,0 +1,134 @@
+import {
+ agHelper,
+ locators,
+ entityExplorer,
+ draggableWidgets,
+ deployMode,
+ propPane,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe("List widget V2 functionality with button, button group and icon button widgets", () => {
+ before(() => {
+ agHelper.AddDsl("listV2ButtonsDsl", locators._buttonByText("Submit"));
+ entityExplorer.DragDropWidgetNVerify("buttonwidget", 500, 500);
+ entityExplorer.DragDropWidgetNVerify("buttongroupwidget", 500, 600);
+ entityExplorer.DragDropWidgetNVerify("iconbuttonwidget", 500, 700);
+ });
+
+ it("1. Verify property visibility", () => {
+ const basicProperties = ["label", "onclick"];
+
+ const generalProperties1 = ["visible", "disabled", "animateloading"];
+
+ const formSettingsProperties = [
+ "disabledinvalidforms",
+ "resetformonsuccess",
+ ];
+
+ const buttonGroupDataProperties = ["buttons"];
+
+ const buttonGroupGeneralProperties = [
+ "visible",
+ "disabled",
+ "animateloading",
+ ];
+
+ const iconButtonbasicProperties = ["icon", "onclick"];
+
+ // Button widget outside List
+ entityExplorer.SelectEntityByName("Button2", "Widgets");
+ propPane.AssertPropertyVisibility(basicProperties, "basic");
+ propPane.AssertPropertyVisibility(generalProperties1, "general");
+ propPane.AssertPropertyVisibility(formSettingsProperties, "formsettings");
+
+ // Button widget inside List
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ entityExplorer.SelectEntityByName("Container1", "List1");
+ entityExplorer.SelectEntityByName("Button1", "Container1");
+ propPane.AssertPropertyVisibility(basicProperties, "basic");
+ propPane.AssertPropertyVisibility(generalProperties1, "general");
+ propPane.AssertPropertyVisibility(formSettingsProperties, "formsettings");
+
+ entityExplorer.SelectEntityByName("ButtonGroup2", "Widgets");
+ // Button group widget outside List
+ propPane.AssertPropertyVisibility(buttonGroupDataProperties, "data");
+ propPane.AssertPropertyVisibility(buttonGroupGeneralProperties, "general");
+
+ // Button group widget inside List
+ entityExplorer.SelectEntityByName("ButtonGroup1", "Widgets");
+ propPane.AssertPropertyVisibility(buttonGroupDataProperties, "data");
+ propPane.AssertPropertyVisibility(buttonGroupGeneralProperties, "general");
+
+ // Icon Button widget outside List
+ entityExplorer.SelectEntityByName("IconButton2", "Widgets");
+ propPane.AssertPropertyVisibility(iconButtonbasicProperties, "basic");
+ propPane.AssertPropertyVisibility(buttonGroupGeneralProperties, "general");
+
+ // Icon Button widget inside List
+ entityExplorer.SelectEntityByName("IconButton1", "Widgets");
+ propPane.AssertPropertyVisibility(iconButtonbasicProperties, "basic");
+ propPane.AssertPropertyVisibility(buttonGroupGeneralProperties, "general");
+ });
+
+ it("2. Verify onClick functionality", () => {
+ // Button
+ entityExplorer.SelectEntityByName("Button1", "Widgets");
+ propPane.SelectPlatformFunction("onClick", "Show alert");
+ agHelper.TypeText(
+ propPane._actionSelectorFieldByLabel("Message"),
+ "Button Clicked",
+ );
+ agHelper.GetNClick(propPane._actionSelectorPopupClose);
+ agHelper.GetNClick(locators._widgetInDeployed("buttonwidget"));
+ agHelper.ValidateToastMessage("Button Clicked");
+
+ // Icon Button
+ entityExplorer.SelectEntityByName("IconButton1", "Widgets");
+ propPane.SelectPlatformFunction("onClick", "Show alert");
+ agHelper.TypeText(
+ propPane._actionSelectorFieldByLabel("Message"),
+ "Icon Button Clicked",
+ );
+ agHelper.GetNClick(propPane._actionSelectorPopupClose);
+ agHelper.GetNClick(locators._widgetInDeployed("iconbuttonwidget"));
+ agHelper.ValidateToastMessage("Icon Button Clicked");
+
+ // Preview mode
+ agHelper.GetNClick(locators._enterPreviewMode);
+ agHelper.GetNClick(locators._widgetInDeployed("buttonwidget"));
+ agHelper.WaitUntilToastDisappear("Button Clicked");
+ agHelper.GetNClick(locators._widgetInDeployed("iconbuttonwidget"));
+ agHelper.ValidateToastMessage("Icon Button Clicked");
+ agHelper.GetNClick(locators._exitPreviewMode);
+
+ // Deploy mode
+ deployMode.DeployApp();
+ agHelper.GetNClick(locators._widgetInDeployed("buttonwidget"));
+ agHelper.WaitUntilToastDisappear("Button Clicked");
+ agHelper.GetNClick(locators._widgetInDeployed("iconbuttonwidget"));
+ agHelper.ValidateToastMessage("Icon Button Clicked");
+ deployMode.NavigateBacktoEditor();
+ });
+
+ it("3. Verify Styles should be configured individually", () => {
+ entityExplorer.SelectEntityByName("List1", "Widgets");
+ entityExplorer.SelectEntityByName("Container1", "List1");
+ entityExplorer.SelectEntityByName("Button1", "Container1");
+ propPane.MoveToTab("Style");
+ agHelper.AssertAttribute("[data-value='PRIMARY']", "data-selected", "true");
+ agHelper.GetNClick("[data-value='SECONDARY']");
+ agHelper.AssertAttribute(
+ "[data-value='PRIMARY']",
+ "data-selected",
+ "false",
+ );
+
+ entityExplorer.SelectEntityByName("IconButton1", "Widgets");
+ propPane.MoveToTab("Style");
+ agHelper.AssertAttribute("[data-value='PRIMARY']", "data-selected", "true");
+
+ entityExplorer.SelectEntityByName("ButtonGroup1", "Widgets");
+ propPane.MoveToTab("Style");
+ agHelper.AssertAttribute("[data-value='PRIMARY']", "data-selected", "true");
+ });
+});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TreeSelect/Tree_Select_2_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TreeSelect/Tree_Select_2_spec.ts
index 380253fe6e14..797b3b9e2ed5 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TreeSelect/Tree_Select_2_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TreeSelect/Tree_Select_2_spec.ts
@@ -194,10 +194,10 @@ describe("Tree Select widget Tests", function () {
);
agHelper.GetNClick(locators._dropDownMultiTreeValue("Green"));
agHelper.ValidateToastMessage("Success");
- deployMode.NavigateBacktoEditor();
});
it("7. Verify onOptionChange with Navigate To", () => {
+ deployMode.NavigateBacktoEditor();
// Navigate To
entityExplorer.SelectEntityByName("Form1", "Widgets");
entityExplorer.SelectEntityByName("TreeSelect1", "Form1");
@@ -213,10 +213,10 @@ describe("Tree Select widget Tests", function () {
agHelper.GetNClick(locators._dropDownMultiTreeValue("Red"));
agHelper.AssertURL("yahoo.com");
agHelper.BrowserNavigation(-1);
- deployMode.NavigateBacktoEditor();
});
it("8. Verify onOptionChange with Alert", () => {
+ deployMode.NavigateBacktoEditor();
// Alert
entityExplorer.SelectEntityByName("Form1", "Widgets");
entityExplorer.SelectEntityByName("TreeSelect1", "Form1");
@@ -230,10 +230,10 @@ describe("Tree Select widget Tests", function () {
);
agHelper.GetNClick(locators._dropDownMultiTreeValue("Green"));
agHelper.ValidateToastMessage("Option Changed");
- deployMode.NavigateBacktoEditor();
});
it("9. Verify onOptionChange with download", () => {
+ deployMode.NavigateBacktoEditor();
// Download
entityExplorer.SelectEntityByName("Form1", "Widgets");
entityExplorer.SelectEntityByName("TreeSelect1", "Form1");
@@ -269,10 +269,10 @@ describe("Tree Select widget Tests", function () {
);
agHelper.GetNClick(locators._dropDownMultiTreeValue("Green"));
agHelper.AssertExistingCheckedState(locators._checkboxInDeployedMode);
- deployMode.NavigateBacktoEditor();
});
it("11. Verify onOptionChange with Modal", () => {
+ deployMode.NavigateBacktoEditor();
// Modal
entityExplorer.SelectEntityByName("Form1", "Widgets");
entityExplorer.SelectEntityByName("TreeSelect1", "Form1");
@@ -291,10 +291,10 @@ describe("Tree Select widget Tests", function () {
agHelper.GetNClick(locators._closeModal, 0, true);
agHelper.Sleep(3000);
agHelper.AssertElementAbsence(locators._modal);
- deployMode.NavigateBacktoEditor();
});
it("12. Verify onOptionChange with iframe", () => {
+ deployMode.NavigateBacktoEditor();
// Postmessage on iframe
entityExplorer.SelectEntityByName("Iframe1", "Widgets");
propPane.UpdatePropertyFieldValue(
@@ -326,6 +326,5 @@ describe("Tree Select widget Tests", function () {
cy.wrap(iframe).find("#target").should("have.text", "Test");
});
- deployMode.NavigateBacktoEditor();
});
});
diff --git a/app/client/cypress/fixtures/listV2AudioVideoDsl.json b/app/client/cypress/fixtures/listV2AudioVideoDsl.json
new file mode 100644
index 000000000000..76b5182b98c2
--- /dev/null
+++ b/app/client/cypress/fixtures/listV2AudioVideoDsl.json
@@ -0,0 +1,575 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 86,
+ "minHeight": 1292,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "requiresFlatWidgetChildren": true,
+ "isCanvas": true,
+ "iconSVG": "/static/media/icon.5c9511142b3624c7491c5442e8ccd0ef.svg",
+ "topRow": 6,
+ "pageSize": 1,
+ "type": "LIST_WIDGET_V2",
+ "itemSpacing": 8,
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "currentItemsView"
+ },
+ {
+ "key": "selectedItemView"
+ },
+ {
+ "key": "triggeredItemView"
+ },
+ {
+ "key": "primaryKeys"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 6,
+ "enhancements": true,
+ "children": [
+ {
+ "mobileBottomRow": 400,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 310,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "dropDisabled": true,
+ "openParentPropertyPane": true,
+ "minHeight": 400,
+ "mobileRightColumn": 129.375,
+ "noPad": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 12,
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "disallowCopy": true,
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 25,
+ "dragDisabled": true,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "isDeletable": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 250,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "useAutoLayout": false,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.69b0f0dd810281fbd6e34fc2c3f39344.svg",
+ "topRow": 0,
+ "bottomRow": 8,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "leftColumn": 0,
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "25ukodbr6c",
+ "image": "{{currentItem.img}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "cover",
+ "widgetId": "em3jvrn5am",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.name}}",
+ "key": "9jmg2z05f9",
+ "isDeprecated": false,
+ "rightColumn": 28,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "3j2sl88xb8",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "HEADING",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 4,
+ "bottomRow": 8,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 24,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.id}}",
+ "key": "9jmg2z05f9",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "jva2x1emu9",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 4,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "BODY",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 9,
+ "widgetName": "AudioRecorder1",
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.c7fb58d71a30a6fbe9c922faae21e621.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 12,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 54,
+ "animateLoading": true,
+ "parentColumnSpace": 8.06591796875,
+ "leftColumn": 35,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "b2l6u93gjl",
+ "isDeprecated": false,
+ "rightColumn": 59,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1z847p7y12",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "External"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 38,
+ "iconColor": "white"
+ },
+ {
+ "mobileBottomRow": 7,
+ "widgetName": "Audio1",
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.90965be2578a5c1c8e2996b65e5b6988.svg",
+ "searchTags": [
+ "mp3",
+ "sound",
+ "wave",
+ "player"
+ ],
+ "topRow": 3,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 61,
+ "animateLoading": true,
+ "parentColumnSpace": 8.06591796875,
+ "leftColumn": 33,
+ "dynamicBindingPathList": [],
+ "key": "vtr3jxeug0",
+ "isDeprecated": false,
+ "rightColumn": 61,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tq2w2qwe8o",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 3,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 33,
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 40,
+ "widgetName": "Video1",
+ "displayName": "Video",
+ "iconSVG": "/static/media/icon.e3e5dfc92ff10e68a8a2b3c94ab4a4a4.svg",
+ "searchTags": [
+ "youtube"
+ ],
+ "topRow": 10,
+ "bottomRow": 21,
+ "parentRowSpace": 10,
+ "type": "VIDEO_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "parentColumnSpace": 8.06591796875,
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "key": "e4bzeq4760",
+ "backgroundColor": "#000",
+ "isDeprecated": false,
+ "rightColumn": 23,
+ "dynamicHeight": "FIXED",
+ "widgetId": "91brup20hv",
+ "isVisible": true,
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/bird.mp4",
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 12,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 4,
+ "autoPlay": false
+ }
+ ],
+ "key": "hzwclegot4",
+ "isDeprecated": false,
+ "detachFromLayout": true,
+ "widgetId": "5gw7cd9vgs",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "k2be0wkm71",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "borderWidth": "1",
+ "positioning": "fixed",
+ "flexVerticalAlignment": "start",
+ "key": "80p0p01sv9",
+ "backgroundColor": "white",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "k2be0wkm71",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "isListItemContainer": true,
+ "parentId": "mmnmpsy0uj",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "noContainerOffset": true,
+ "disabledWidgetFeatures": [
+ "dynamicHeight"
+ ],
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ],
+ "key": "hzwclegot4",
+ "isDeprecated": false,
+ "rightColumn": 129.375,
+ "detachFromLayout": true,
+ "widgetId": "mmnmpsy0uj",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "rf79rl326i",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "itemBackgroundColor": "#FFFFFF",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "hasMetaWidgets": true,
+ "isLoading": false,
+ "mainCanvasId": "mmnmpsy0uj",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "additionalStaticProps": [
+ "level",
+ "levelData",
+ "prefixMetaWidgetId",
+ "metaWidgetId"
+ ],
+ "mobileBottomRow": 46,
+ "currentItemsView": "{{[]}}",
+ "triggeredItemView": "{{{}}}",
+ "widgetName": "List1",
+ "listData": [
+ {
+ "id": "001",
+ "name": "Blue",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "002",
+ "name": "Green",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "003",
+ "name": "Red",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ }
+ ],
+ "displayName": "List",
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "templateBottomRow": 16,
+ "mobileRightColumn": 41,
+ "mainContainerId": "k2be0wkm71",
+ "primaryKeys": "{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}",
+ "parentColumnSpace": 5.390625,
+ "dynamicTriggerPathList": [],
+ "gridType": "vertical",
+ "key": "idsqgrps32",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "widgetId": "rf79rl326i",
+ "minWidth": 450,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 6,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 17,
+ "selectedItemView": "{{{}}}"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/app/client/cypress/fixtures/listV2ButtonsDsl.json b/app/client/cypress/fixtures/listV2ButtonsDsl.json
new file mode 100644
index 000000000000..08fde5810967
--- /dev/null
+++ b/app/client/cypress/fixtures/listV2ButtonsDsl.json
@@ -0,0 +1,744 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 460,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 86,
+ "minHeight": 1292,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "requiresFlatWidgetChildren": true,
+ "isCanvas": true,
+ "iconSVG": "/static/media/icon.5c9511142b3624c7491c5442e8ccd0ef.svg",
+ "topRow": 6,
+ "pageSize": 1,
+ "type": "LIST_WIDGET_V2",
+ "itemSpacing": 8,
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "currentItemsView"
+ },
+ {
+ "key": "selectedItemView"
+ },
+ {
+ "key": "triggeredItemView"
+ },
+ {
+ "key": "primaryKeys"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 6,
+ "enhancements": true,
+ "children": [
+ {
+ "mobileBottomRow": 400,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 310,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "dropDisabled": true,
+ "openParentPropertyPane": true,
+ "minHeight": 400,
+ "mobileRightColumn": 129.375,
+ "noPad": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 12,
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "disallowCopy": true,
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 25,
+ "dragDisabled": true,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "isDeletable": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 250,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "useAutoLayout": false,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.69b0f0dd810281fbd6e34fc2c3f39344.svg",
+ "topRow": 0,
+ "bottomRow": 8,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "leftColumn": 0,
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "25ukodbr6c",
+ "image": "{{currentItem.img}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "cover",
+ "widgetId": "em3jvrn5am",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.name}}",
+ "key": "9jmg2z05f9",
+ "isDeprecated": false,
+ "rightColumn": 28,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "3j2sl88xb8",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "HEADING",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 4,
+ "bottomRow": 8,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 24,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.id}}",
+ "key": "9jmg2z05f9",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "jva2x1emu9",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 4,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "BODY",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 13,
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.bb8db4853027d74a78963c3375841e4b.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 9,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Favorite",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "groupButton2": {
+ "label": "Add",
+ "iconName": "add",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "groupButton3": {
+ "label": "More",
+ "iconName": "more",
+ "id": "groupButton3",
+ "buttonType": "MENU",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2,
+ "menuItems": {
+ "menuItem1": {
+ "label": "First Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem1",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0
+ },
+ "menuItem2": {
+ "label": "Second Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem2",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1
+ },
+ "menuItem3": {
+ "label": "Delete",
+ "iconName": "trash",
+ "iconColor": "#FFFFFF",
+ "iconAlign": "right",
+ "textColor": "#FFFFFF",
+ "backgroundColor": "#DD4B34",
+ "id": "menuItem3",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2
+ }
+ },
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 54,
+ "animateLoading": true,
+ "parentColumnSpace": 4.4140625,
+ "leftColumn": 29,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton3.buttonColor"
+ }
+ ],
+ "key": "7r7px2hmgm",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "dynamicHeight": "FIXED",
+ "widgetId": "zu0qwe3wls",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 9,
+ "responsiveBehavior": "fill",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 30,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 20,
+ "widgetName": "IconButton1",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 15,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 32,
+ "animateLoading": true,
+ "parentColumnSpace": 4.4140625,
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "qs1re01jva",
+ "isDeprecated": false,
+ "rightColumn": 48,
+ "iconName": "plus",
+ "dynamicHeight": "FIXED",
+ "widgetId": "mugp61q9le",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 16,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 28,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 6,
+ "widgetName": "Button1",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 2,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 54,
+ "animateLoading": true,
+ "parentColumnSpace": 8.06591796875,
+ "leftColumn": 38,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "rolryyfj5e",
+ "isDeprecated": false,
+ "rightColumn": 54,
+ "isDefaultClickDisabled": true,
+ "dynamicHeight": "FIXED",
+ "widgetId": "8nrnhbbekm",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "5gw7cd9vgs",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 38,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "key": "hzwclegot4",
+ "isDeprecated": false,
+ "detachFromLayout": true,
+ "widgetId": "5gw7cd9vgs",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "k2be0wkm71",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "borderWidth": "1",
+ "positioning": "fixed",
+ "flexVerticalAlignment": "start",
+ "key": "80p0p01sv9",
+ "backgroundColor": "white",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "k2be0wkm71",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "isListItemContainer": true,
+ "parentId": "mmnmpsy0uj",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "noContainerOffset": true,
+ "disabledWidgetFeatures": [
+ "dynamicHeight"
+ ],
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ],
+ "key": "hzwclegot4",
+ "isDeprecated": false,
+ "rightColumn": 129.375,
+ "detachFromLayout": true,
+ "widgetId": "mmnmpsy0uj",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "rf79rl326i",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "itemBackgroundColor": "#FFFFFF",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "hasMetaWidgets": true,
+ "isLoading": false,
+ "mainCanvasId": "mmnmpsy0uj",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "additionalStaticProps": [
+ "level",
+ "levelData",
+ "prefixMetaWidgetId",
+ "metaWidgetId"
+ ],
+ "mobileBottomRow": 46,
+ "currentItemsView": "{{[]}}",
+ "triggeredItemView": "{{{}}}",
+ "widgetName": "List1",
+ "listData": [
+ {
+ "id": "001",
+ "name": "Blue",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "002",
+ "name": "Green",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "003",
+ "name": "Red",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ }
+ ],
+ "displayName": "List",
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "templateBottomRow": 16,
+ "mobileRightColumn": 41,
+ "mainContainerId": "k2be0wkm71",
+ "primaryKeys": "{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}",
+ "parentColumnSpace": 5.390625,
+ "dynamicTriggerPathList": [],
+ "gridType": "vertical",
+ "key": "idsqgrps32",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "widgetId": "rf79rl326i",
+ "minWidth": 450,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 6,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 17,
+ "selectedItemView": "{{{}}}"
+ },
+ {
+ "mobileBottomRow": 46,
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 42,
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 7,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{Audio1.autoPlay}}",
+ "key": "9jmg2z05f9",
+ "isDeprecated": false,
+ "rightColumn": 28,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "he7knga5hk",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 42,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 12,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/app/client/cypress/fixtures/listV2NestedDsl.json b/app/client/cypress/fixtures/listV2NestedDsl.json
new file mode 100644
index 000000000000..8d8948cea54a
--- /dev/null
+++ b/app/client/cypress/fixtures/listV2NestedDsl.json
@@ -0,0 +1,1266 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 480,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 86,
+ "minHeight": 1292,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "requiresFlatWidgetChildren": true,
+ "isCanvas": true,
+ "iconSVG": "/static/media/icon.5c9511142b3624c7491c5442e8ccd0ef.svg",
+ "topRow": 8,
+ "pageSize": 1,
+ "type": "LIST_WIDGET_V2",
+ "itemSpacing": 8,
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "currentItemsView"
+ },
+ {
+ "key": "selectedItemView"
+ },
+ {
+ "key": "triggeredItemView"
+ },
+ {
+ "key": "primaryKeys"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 3,
+ "enhancements": true,
+ "children": [
+ {
+ "mobileBottomRow": 400,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 400,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "dropDisabled": true,
+ "openParentPropertyPane": true,
+ "minHeight": 400,
+ "mobileRightColumn": 241.875,
+ "noPad": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 12,
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "disallowCopy": true,
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 30,
+ "dragDisabled": true,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "isDeletable": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 410,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "useAutoLayout": false,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.69b0f0dd810281fbd6e34fc2c3f39344.svg",
+ "topRow": 0,
+ "bottomRow": 8,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "leftColumn": 0,
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "crx5qmd37r",
+ "image": "{{currentItem.img}}",
+ "isDeprecated": false,
+ "rightColumn": 6,
+ "objectFit": "cover",
+ "widgetId": "7jtknqp637",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ol98v0nauw",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 6,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.name}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 13,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "y9bu3znw9w",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ol98v0nauw",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "HEADING",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 4,
+ "bottomRow": 8,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 24,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 6,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.id}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 14,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "xq7ogky1ek",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ol98v0nauw",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 4,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "BODY",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "requiresFlatWidgetChildren": true,
+ "isCanvas": true,
+ "iconSVG": "/static/media/icon.5c9511142b3624c7491c5442e8ccd0ef.svg",
+ "topRow": 1,
+ "pageSize": 1,
+ "type": "LIST_WIDGET_V2",
+ "itemSpacing": 8,
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "currentItemsView"
+ },
+ {
+ "key": "selectedItemView"
+ },
+ {
+ "key": "triggeredItemView"
+ },
+ {
+ "key": "primaryKeys"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 15,
+ "enhancements": true,
+ "children": [
+ {
+ "mobileBottomRow": 400,
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 400,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "dropDisabled": true,
+ "openParentPropertyPane": true,
+ "minHeight": 400,
+ "mobileRightColumn": 212.478515625,
+ "noPad": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 12,
+ "widgetName": "Container2",
+ "borderColor": "#E0DEDE",
+ "disallowCopy": true,
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 21,
+ "dragDisabled": true,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "isDeletable": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas4",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 420,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "useAutoLayout": false,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Image2",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.69b0f0dd810281fbd6e34fc2c3f39344.svg",
+ "topRow": 0,
+ "bottomRow": 8,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "leftColumn": 0,
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "crx5qmd37r",
+ "image": "{{currentItem.img}}",
+ "isDeprecated": false,
+ "rightColumn": 10,
+ "objectFit": "cover",
+ "widgetId": "ppxsqo3xi3",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "nr21lirg0s",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 10,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.name}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "qi0kgfr7y9",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "nr21lirg0s",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "HEADING",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 4,
+ "bottomRow": 8,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 24,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 10,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.id}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "sd9wakjd2z",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "nr21lirg0s",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 4,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "BODY",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "requiresFlatWidgetChildren": true,
+ "isCanvas": true,
+ "iconSVG": "/static/media/icon.5c9511142b3624c7491c5442e8ccd0ef.svg",
+ "topRow": 1,
+ "pageSize": 2,
+ "type": "LIST_WIDGET_V2",
+ "itemSpacing": 8,
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "currentItemsView"
+ },
+ {
+ "key": "selectedItemView"
+ },
+ {
+ "key": "triggeredItemView"
+ },
+ {
+ "key": "primaryKeys"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 19,
+ "enhancements": true,
+ "children": [
+ {
+ "mobileBottomRow": 400,
+ "widgetName": "Canvas5",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 410,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "dropDisabled": true,
+ "openParentPropertyPane": true,
+ "minHeight": 400,
+ "mobileRightColumn": 125.61904907226562,
+ "noPad": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 12,
+ "widgetName": "Container3",
+ "borderColor": "#E0DEDE",
+ "disallowCopy": true,
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 16,
+ "dragDisabled": true,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "isDeletable": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas6",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "useAutoLayout": false,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Image3",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.69b0f0dd810281fbd6e34fc2c3f39344.svg",
+ "topRow": 0,
+ "bottomRow": 8,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "leftColumn": 0,
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "crx5qmd37r",
+ "image": "{{currentItem.img}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "cover",
+ "widgetId": "9upugl3s6w",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2pouri974m",
+ "tags": [
+ "Media"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "Text5",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 28,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.name}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 28,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "2nszqy55yh",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "2pouri974m",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "HEADING",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 8,
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 4,
+ "bottomRow": 8,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 24,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "dynamicTriggerPathList": [],
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "leftColumn": 16,
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{currentItem.id}}",
+ "key": "yuohbv56yb",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "i9yku1ea41",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "2pouri974m",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 4,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 16,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "textStyle": "BODY",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "detachFromLayout": true,
+ "widgetId": "2pouri974m",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "9jex51m7on",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "borderWidth": "1",
+ "positioning": "fixed",
+ "flexVerticalAlignment": "start",
+ "key": "53b9m5q19s",
+ "backgroundColor": "white",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "9jex51m7on",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "isListItemContainer": true,
+ "parentId": "4xoxmbu604",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "noContainerOffset": true,
+ "disabledWidgetFeatures": [
+ "dynamicHeight"
+ ],
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "rightColumn": 125.61904907226562,
+ "detachFromLayout": true,
+ "widgetId": "4xoxmbu604",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "eh9e166oin",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "itemBackgroundColor": "#FFFFFF",
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "hasMetaWidgets": true,
+ "isLoading": false,
+ "mainCanvasId": "4xoxmbu604",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "additionalStaticProps": [
+ "level",
+ "levelData",
+ "prefixMetaWidgetId",
+ "metaWidgetId"
+ ],
+ "mobileBottomRow": 42,
+ "currentItemsView": "{{[]}}",
+ "triggeredItemView": "{{{}}}",
+ "widgetName": "List3",
+ "listData": [
+ {
+ "id": "001",
+ "name": "Blue",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "002",
+ "name": "Green",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "003",
+ "name": "Red",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ }
+ ],
+ "displayName": "List",
+ "bottomRow": 42,
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "templateBottomRow": 16,
+ "mobileRightColumn": 60,
+ "mainContainerId": "9jex51m7on",
+ "primaryKeys": "{{List3.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}",
+ "parentColumnSpace": 5.234127044677734,
+ "dynamicTriggerPathList": [],
+ "gridType": "vertical",
+ "key": "49evlgkqy4",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "widgetId": "eh9e166oin",
+ "minWidth": 450,
+ "parentId": "nr21lirg0s",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 2,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 36,
+ "selectedItemView": "{{{}}}"
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "detachFromLayout": true,
+ "widgetId": "nr21lirg0s",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "6saon21lgg",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "borderWidth": "1",
+ "positioning": "fixed",
+ "flexVerticalAlignment": "start",
+ "key": "53b9m5q19s",
+ "backgroundColor": "white",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "6saon21lgg",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "isListItemContainer": true,
+ "parentId": "qdhuogthdu",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "noContainerOffset": true,
+ "disabledWidgetFeatures": [
+ "dynamicHeight"
+ ],
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "rightColumn": 212.478515625,
+ "detachFromLayout": true,
+ "widgetId": "qdhuogthdu",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "htol7qtxpg",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "itemBackgroundColor": "#FFFFFF",
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "hasMetaWidgets": true,
+ "isLoading": false,
+ "mainCanvasId": "qdhuogthdu",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "additionalStaticProps": [
+ "level",
+ "levelData",
+ "prefixMetaWidgetId",
+ "metaWidgetId"
+ ],
+ "mobileBottomRow": 41,
+ "currentItemsView": "{{[]}}",
+ "triggeredItemView": "{{{}}}",
+ "widgetName": "List2",
+ "listData": [
+ {
+ "id": "001",
+ "name": "Blue",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "002",
+ "name": "Green",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "003",
+ "name": "Red",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ }
+ ],
+ "displayName": "List",
+ "bottomRow": 41,
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "templateBottomRow": 16,
+ "mobileRightColumn": 56,
+ "mainContainerId": "6saon21lgg",
+ "primaryKeys": "{{List2.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}",
+ "parentColumnSpace": 8.853271484375,
+ "dynamicTriggerPathList": [],
+ "gridType": "vertical",
+ "key": "49evlgkqy4",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "htol7qtxpg",
+ "minWidth": 450,
+ "parentId": "ol98v0nauw",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 1,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 32,
+ "selectedItemView": "{{{}}}"
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "detachFromLayout": true,
+ "widgetId": "ol98v0nauw",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zgrylvxsat",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "borderWidth": "1",
+ "positioning": "fixed",
+ "flexVerticalAlignment": "start",
+ "key": "53b9m5q19s",
+ "backgroundColor": "white",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "zgrylvxsat",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "isListItemContainer": true,
+ "parentId": "lyr1fx5jgn",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "noContainerOffset": true,
+ "disabledWidgetFeatures": [
+ "dynamicHeight"
+ ],
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ],
+ "key": "teo0eoo7v5",
+ "isDeprecated": false,
+ "rightColumn": 241.875,
+ "detachFromLayout": true,
+ "widgetId": "lyr1fx5jgn",
+ "containerStyle": "none",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "u9ykpts75q",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "itemBackgroundColor": "#FFFFFF",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "tags": [
+ "Suggested",
+ "Display"
+ ],
+ "hasMetaWidgets": true,
+ "isLoading": false,
+ "mainCanvasId": "lyr1fx5jgn",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "additionalStaticProps": [
+ "level",
+ "levelData",
+ "prefixMetaWidgetId",
+ "metaWidgetId"
+ ],
+ "mobileBottomRow": 48,
+ "currentItemsView": "{{[]}}",
+ "triggeredItemView": "{{{}}}",
+ "widgetName": "List1",
+ "listData": [
+ {
+ "id": "001",
+ "name": "Blue",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "002",
+ "name": "Green",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ },
+ {
+ "id": "003",
+ "name": "Red",
+ "img": "https://assets.appsmith.com/widgets/default.png"
+ }
+ ],
+ "displayName": "List",
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "templateBottomRow": 16,
+ "mobileRightColumn": 41,
+ "mainContainerId": "zgrylvxsat",
+ "primaryKeys": "{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}",
+ "parentColumnSpace": 10.078125,
+ "dynamicTriggerPathList": [],
+ "gridType": "vertical",
+ "key": "49evlgkqy4",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "u9ykpts75q",
+ "minWidth": 450,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "mobileTopRow": 8,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 17,
+ "selectedItemView": "{{{}}}"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts
index 0ac49461a265..0d905af3b38c 100644
--- a/app/client/cypress/support/Objects/CommonLocators.ts
+++ b/app/client/cypress/support/Objects/CommonLocators.ts
@@ -293,10 +293,13 @@ export class CommonLocators {
_alignment = (value: string) => `//*[@data-value='${value}']`;
_borderRadius = (value: string) => `//*[@data-value='${value}']`;
_textInside = ".bp3-ui-text span";
+ _listActivePage = ".t--widget-listwidgetv2 .rc-pagination-item-active";
+ _hintsList = "ul.CodeMirror-hints";
_buttonInDeployedMode = ".bp3-button";
_treeSelectPlaceholder = ".rc-tree-select-selection-placeholder";
_treeSelectTitle = ".rc-tree-select-tree-title";
_newDataSourceBtn = ".datasources .t--entity-add-btn";
_callbackAddBtn = ".action-callback-add .ads-v2-button";
_checkboxInDeployedMode = "//label[contains(@class, 'bp3-checkbox')]//input";
+ _listText = "//span[text()='Blue']/../..";
}
diff --git a/app/client/cypress/support/Pages/PropertyPane.ts b/app/client/cypress/support/Pages/PropertyPane.ts
index fb59e2a7ccc1..028bc1eb5399 100644
--- a/app/client/cypress/support/Pages/PropertyPane.ts
+++ b/app/client/cypress/support/Pages/PropertyPane.ts
@@ -621,4 +621,12 @@ export class PropertyPane {
this.agHelper.GetNClick(this._propertyControlColorPicker(property));
this.agHelper.GetNClick(this._colorPickerV2Color, colorOffset, true);
}
+
+ public AssertPropertyVisibility(properties: string[], sectionTitle: string) {
+ properties.forEach((property: string) => {
+ this.agHelper.AssertElementVisibility(
+ this._propertyPanePropertyControl(sectionTitle, property),
+ );
+ });
+ }
}
|
4f3645b47e87b15e0ff97ff6b9571d5bc9111382
|
2024-10-25 23:12:28
|
sneha122
|
fix: avoiding unnecessary update page layouts in js action update (#37062)
| false
|
avoiding unnecessary update page layouts in js action update (#37062)
|
fix
|
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 45fe4a882efc..c3468404b723 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
@@ -5,6 +5,7 @@
import com.appsmith.external.models.ActionDTO;
import com.appsmith.external.models.CreatorContextType;
import com.appsmith.external.models.Datasource;
+import com.appsmith.external.models.PluginType;
import com.appsmith.server.acl.AclPermission;
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.datasources.base.DatasourceService;
@@ -246,11 +247,20 @@ protected Mono<ActionDTO> updateActionBasedOnContextType(NewAction newAction, Ac
return updateSingleAction(newAction.getId(), action)
.name(UPDATE_SINGLE_ACTION)
.tap(Micrometer.observation(observationRegistry))
- .flatMap(updatedAction -> updateLayoutService
- .updatePageLayoutsByPageId(pageId)
- .name(UPDATE_PAGE_LAYOUT_BY_PAGE_ID)
- .tap(Micrometer.observation(observationRegistry))
- .thenReturn(updatedAction))
+ .flatMap(updatedAction -> {
+ // Update page layout is skipped for JS actions here because when JSobject is updated, we first
+ // update all actions, action
+ // collection and then we update the page layout, hence updating page layout with each action update
+ // is not required here
+ if (action.getPluginType() != PluginType.JS) {
+ return updateLayoutService
+ .updatePageLayoutsByPageId(pageId)
+ .name(UPDATE_PAGE_LAYOUT_BY_PAGE_ID)
+ .tap(Micrometer.observation(observationRegistry))
+ .thenReturn(updatedAction);
+ }
+ return Mono.just(updatedAction);
+ })
.zipWhen(actionDTO -> newPageService.findPageById(pageId, pagePermission.getEditPermission(), false))
.map(tuple2 -> {
ActionDTO actionDTO = tuple2.getT1();
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 b13dd94a39c1..f201b0a3bff4 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
@@ -28,6 +28,7 @@
import com.appsmith.server.dtos.WorkspacePluginStatus;
import com.appsmith.server.helpers.MockPluginExecutor;
import com.appsmith.server.helpers.PluginExecutorHelper;
+import com.appsmith.server.layouts.UpdateLayoutService;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.newpages.base.NewPageService;
import com.appsmith.server.plugins.base.PluginService;
@@ -47,6 +48,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.boot.test.mock.mockito.SpyBean;
import org.springframework.security.test.context.support.WithUserDetails;
import org.springframework.test.annotation.DirtiesContext;
import reactor.core.publisher.Mono;
@@ -134,6 +136,9 @@ public class ActionCollectionServiceTest {
@MockBean
PluginExecutor pluginExecutor;
+ @SpyBean
+ UpdateLayoutService updateLayoutService;
+
Application testApp = null;
PageDTO testPage = null;
@@ -700,4 +705,68 @@ public void testDeleteActionCollection_afterApplicationPublish_clearsActionColle
})
.verifyComplete();
}
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void testUpdateUnpublishedActionCollection_withValidCollection_callsPageLayoutOnlyOnce() {
+ Mockito.when(pluginExecutorHelper.getPluginExecutor(Mockito.any())).thenReturn(Mono.just(pluginExecutor));
+ Mockito.when(pluginExecutor.getHintMessages(Mockito.any(), Mockito.any()))
+ .thenReturn(Mono.zip(Mono.just(new HashSet<>()), Mono.just(new HashSet<>())));
+
+ ActionCollectionDTO actionCollectionDTO = new ActionCollectionDTO();
+ actionCollectionDTO.setName("testCollection1");
+ actionCollectionDTO.setPageId(testPage.getId());
+ actionCollectionDTO.setApplicationId(testApp.getId());
+ actionCollectionDTO.setWorkspaceId(workspaceId);
+ actionCollectionDTO.setPluginId(datasource.getPluginId());
+ actionCollectionDTO.setVariables(List.of(new JSValue("test", "String", "test", true)));
+ actionCollectionDTO.setBody("collectionBody");
+ actionCollectionDTO.setPluginType(PluginType.JS);
+
+ // Create actions
+ ActionDTO action1 = new ActionDTO();
+ action1.setName("testAction1");
+ action1.setActionConfiguration(new ActionConfiguration());
+ action1.getActionConfiguration().setBody("mockBody");
+ action1.getActionConfiguration().setIsValid(false);
+
+ ActionDTO action2 = new ActionDTO();
+ action2.setName("testAction2");
+ action2.setActionConfiguration(new ActionConfiguration());
+ action2.getActionConfiguration().setBody("mockBody");
+ action2.getActionConfiguration().setIsValid(false);
+
+ ActionDTO action3 = new ActionDTO();
+ action3.setName("testAction3");
+ action3.setActionConfiguration(new ActionConfiguration());
+ action3.getActionConfiguration().setBody("mockBody");
+ action3.getActionConfiguration().setIsValid(false);
+
+ actionCollectionDTO.setActions(List.of(action1, action2, action3));
+
+ ActionCollectionDTO createdActionCollectionDTO =
+ layoutCollectionService.createCollection(actionCollectionDTO).block();
+ assert createdActionCollectionDTO != null;
+ assert createdActionCollectionDTO.getId() != null;
+ String createdActionCollectionId = createdActionCollectionDTO.getId();
+
+ applicationPageService.publish(testApp.getId(), true).block();
+
+ actionCollectionDTO.getActions().get(0).getActionConfiguration().setBody("updatedBody");
+
+ final Mono<ActionCollectionDTO> updatedActionCollectionDTO =
+ layoutCollectionService.updateUnpublishedActionCollection(
+ createdActionCollectionId, actionCollectionDTO);
+
+ StepVerifier.create(updatedActionCollectionDTO)
+ .assertNext(actionCollectionDTO1 -> {
+ assertEquals(createdActionCollectionId, actionCollectionDTO1.getId());
+
+ // This invocation will happen here twice, once during create collection and once during update
+ // collection as expected
+ Mockito.verify(updateLayoutService, Mockito.times(2))
+ .updatePageLayoutsByPageId(Mockito.anyString());
+ })
+ .verifyComplete();
+ }
}
|
23a89b9a136cfd809a9fcd9ad4ce16b9f16a9ebb
|
2022-12-30 18:01:08
|
Favour Ohanekwu
|
fix: Save JS Execution data on trigger (#18940)
| false
|
Save JS Execution data on trigger (#18940)
|
fix
|
diff --git a/app/client/cypress/fixtures/jsFunctionTriggerDsl.json b/app/client/cypress/fixtures/jsFunctionTriggerDsl.json
new file mode 100644
index 000000000000..2cd12f27f575
--- /dev/null
+++ b/app/client/cypress/fixtures/jsFunctionTriggerDsl.json
@@ -0,0 +1,146 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896.0,
+ "snapColumns": 64.0,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0.0,
+ "bottomRow": 1292.0,
+ "containerStyle": "none",
+ "snapRows": 125.0,
+ "parentRowSpace": 1.0,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 74.0,
+ "minHeight": 1292.0,
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1.0,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0.0,
+ "children": [
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": ["click", "submit"],
+ "topRow": 8.0,
+ "bottomRow": 12.0,
+ "parentRowSpace": 10.0,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 10.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 7.0,
+ "dynamicBindingPathList": [
+ { "key": "buttonColor" },
+ { "key": "borderRadius" },
+ { "key": "text" }
+ ],
+ "text": "{{JSObject1.myFun1.data}}",
+ "isDisabled": false,
+ "key": "a1lbivvht8",
+ "isDeprecated": false,
+ "rightColumn": 23.0,
+ "isDefaultClickDisabled": true,
+ "widgetId": "wxkz5y9ypf",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1.0,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": ["click", "submit"],
+ "topRow": 8.0,
+ "bottomRow": 12.0,
+ "parentRowSpace": 10.0,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 10.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 39.0,
+ "dynamicBindingPathList": [
+ { "key": "buttonColor" },
+ { "key": "borderRadius" },
+ { "key": "text" }
+ ],
+ "text": "{{JSObject1.myFun2.data}}",
+ "isDisabled": false,
+ "key": "a1lbivvht8",
+ "isDeprecated": false,
+ "rightColumn": 55.0,
+ "isDefaultClickDisabled": true,
+ "widgetId": "ih110zq4c4",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1.0,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{JSObject1.myFun2()\n}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [{ "key": "onClick" }],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": ["click", "submit"],
+ "topRow": 23.0,
+ "bottomRow": 27.0,
+ "parentRowSpace": 10.0,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 10.0625,
+ "dynamicTriggerPathList": [{ "key": "onClick" }],
+ "leftColumn": 24.0,
+ "dynamicBindingPathList": [
+ { "key": "buttonColor" },
+ { "key": "borderRadius" }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "a1lbivvht8",
+ "isDeprecated": false,
+ "rightColumn": 40.0,
+ "isDefaultClickDisabled": true,
+ "widgetId": "irxds8yzxq",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1.0,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/BugTests/Bug15056_Spec.ts b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/BugTests/Bug15056_Spec.ts
new file mode 100644
index 000000000000..a0098ebdcfa7
--- /dev/null
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/BugTests/Bug15056_Spec.ts
@@ -0,0 +1,46 @@
+const dsl = require("../../../../fixtures/jsFunctionTriggerDsl.json");
+import { ObjectsRegistry } from "../../../../support/Objects/Registry";
+
+const agHelper = ObjectsRegistry.AggregateHelper;
+const jsEditor = ObjectsRegistry.JSEditor;
+const apiPage = ObjectsRegistry.ApiPage;
+const ee = ObjectsRegistry.EntityExplorer;
+
+describe("JS data update on button click", function() {
+ before(() => {
+ agHelper.AddDsl(dsl);
+ });
+
+ it("Populates js function data when triggered via button click", function() {
+ apiPage.CreateAndFillApi(
+ "https://jsonplaceholder.typicode.com/posts",
+ "Api1",
+ );
+
+ const jsObjectString = `export default {
+ myVar1: [],
+ myVar2: {},
+ myFun1: async () => {
+ //write code here
+ const data = await Api1.run()
+ return "myFun1 Data"
+ },
+ myFun2: async () => {
+ //use async-await or promises
+ await this.myFun1()
+ return "myFun2 Data"
+ }
+ }`;
+
+ jsEditor.CreateJSObject(jsObjectString, {
+ paste: true,
+ completeReplace: true,
+ toRun: false,
+ shouldCreateNewJSObj: true,
+ });
+ ee.SelectEntityByName("Button2", "Widgets");
+ agHelper.ClickButton("Submit");
+ agHelper.AssertContains("myFun1 Data", "exist");
+ agHelper.AssertContains("myFun2 Data", "exist");
+ });
+});
diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts
index 891561992d15..5f1cf8502da3 100644
--- a/app/client/cypress/support/Pages/AggregateHelper.ts
+++ b/app/client/cypress/support/Pages/AggregateHelper.ts
@@ -579,8 +579,8 @@ export class AggregateHelper {
cy.get(selector)
.contains(containsText)
.eq(index)
- .click()
- .wait(200);
+ .click({ force: true })
+ .wait(500);
}
public CheckUncheck(selector: string, check = true) {
diff --git a/app/client/src/actions/evaluationActions.ts b/app/client/src/actions/evaluationActions.ts
index dd402e2cd977..aca42ec15bfe 100644
--- a/app/client/src/actions/evaluationActions.ts
+++ b/app/client/src/actions/evaluationActions.ts
@@ -61,7 +61,7 @@ export const EVALUATE_REDUX_ACTIONS = [
ReduxActionTypes.FETCH_JS_ACTIONS_VIEW_MODE_SUCCESS,
ReduxActionErrorTypes.FETCH_JS_ACTIONS_VIEW_MODE_ERROR,
ReduxActionTypes.UPDATE_JS_ACTION_BODY_SUCCESS,
- ReduxActionTypes.EXECUTE_JS_FUNCTION_SUCCESS,
+ ReduxActionTypes.SET_JS_FUNCTION_EXECUTION_DATA,
// App Data
ReduxActionTypes.SET_APP_MODE,
ReduxActionTypes.FETCH_USER_DETAILS_SUCCESS,
diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx
index 841f0b97a962..e16881ac51ef 100644
--- a/app/client/src/ce/constants/ReduxActionConstants.tsx
+++ b/app/client/src/ce/constants/ReduxActionConstants.tsx
@@ -557,6 +557,7 @@ export const ReduxActionTypes = {
FETCH_JS_ACTIONS_VIEW_MODE_SUCCESS: "FETCH_JS_ACTIONS_VIEW_MODE_SUCCESS",
EXECUTE_JS_FUNCTION_INIT: "EXECUTE_JS_FUNCTION_INIT",
EXECUTE_JS_FUNCTION_SUCCESS: "EXECUTE_JS_FUNCTION_SUCCESS",
+ SET_JS_FUNCTION_EXECUTION_DATA: "SET_JS_FUNCTION_EXECUTION_DATA",
GET_PLUGIN_FORM_CONFIG_INIT: "GET_PLUGIN_FORM_CONFIG_INIT",
EXECUTE_DATASOURCE_QUERY_INIT: "EXECUTE_DATASOURCE_QUERY_INIT",
EXECUTE_DATASOURCE_QUERY_SUCCESS: "EXECUTE_DATASOURCE_QUERY_SUCCESS",
diff --git a/app/client/src/reducers/entityReducers/jsActionsReducer.tsx b/app/client/src/reducers/entityReducers/jsActionsReducer.tsx
index 8c863dcfa16e..acb48e2d395b 100644
--- a/app/client/src/reducers/entityReducers/jsActionsReducer.tsx
+++ b/app/client/src/reducers/entityReducers/jsActionsReducer.tsx
@@ -26,6 +26,15 @@ export interface PartialActionData {
isExecuting: Record<string, boolean>;
}
+interface JSExecutionData {
+ data: unknown;
+ collectionId: string;
+ actionId: string;
+}
+
+// Object of collectionIds to JSExecutionData[]
+export type BatchedJSExecutionData = Record<string, JSExecutionData[]>;
+
const jsActionsReducer = createReducer(initialState, {
[ReduxActionTypes.FETCH_JS_ACTIONS_SUCCESS]: (
state: JSCollectionDataState,
@@ -292,7 +301,6 @@ const jsActionsReducer = createReducer(initialState, {
[ReduxActionTypes.EXECUTE_JS_FUNCTION_SUCCESS]: (
state: JSCollectionDataState,
action: ReduxAction<{
- results: any;
collectionId: string;
actionId: string;
isDirty: boolean;
@@ -302,10 +310,6 @@ const jsActionsReducer = createReducer(initialState, {
if (a.config.id === action.payload.collectionId) {
return {
...a,
- data: {
- ...a.data,
- [action.payload.actionId]: action.payload.results,
- },
isExecuting: {
...a.isExecuting,
[action.payload.actionId]: false,
@@ -318,6 +322,26 @@ const jsActionsReducer = createReducer(initialState, {
}
return a;
}),
+ [ReduxActionTypes.SET_JS_FUNCTION_EXECUTION_DATA]: (
+ state: JSCollectionDataState,
+ action: ReduxAction<BatchedJSExecutionData>,
+ ): JSCollectionDataState =>
+ state.map((jsCollectionData) => {
+ const collectionId = jsCollectionData.config.id;
+ if (collectionId in action.payload) {
+ let data = {
+ ...jsCollectionData.data,
+ };
+ action.payload[collectionId].forEach((item) => {
+ data = { ...data, [item.actionId]: item.data };
+ });
+ return {
+ ...jsCollectionData,
+ data,
+ };
+ }
+ return jsCollectionData;
+ }),
[ReduxActionTypes.UPDATE_JS_FUNCTION_PROPERTY_SUCCESS]: (
state: JSCollectionDataState,
action: ReduxAction<{ collection: JSCollection }>,
diff --git a/app/client/src/sagas/EvaluationsSaga.ts b/app/client/src/sagas/EvaluationsSaga.ts
index 34da0cda6dfd..458d95704465 100644
--- a/app/client/src/sagas/EvaluationsSaga.ts
+++ b/app/client/src/sagas/EvaluationsSaga.ts
@@ -111,6 +111,8 @@ import {
EvalTreeRequestData,
EvalTreeResponseData,
} from "workers/Evaluation/types";
+import { BatchedJSExecutionData } from "reducers/entityReducers/jsActionsReducer";
+import { sortJSExecutionDataByCollectionId } from "workers/Evaluation/JSObject/utils";
import { MessageType, TMessage } from "utils/MessageUtil";
const evalWorker = new GracefulWorkerService(
@@ -365,6 +367,16 @@ export function* handleEvalWorkerMessage(message: TMessage<any>) {
);
break;
}
+ case MAIN_THREAD_ACTION.PROCESS_JS_FUNCTION_EXECUTION: {
+ const sortedData: BatchedJSExecutionData = yield sortJSExecutionDataByCollectionId(
+ data.JSData as Record<string, unknown>,
+ );
+ yield put({
+ type: ReduxActionTypes.SET_JS_FUNCTION_EXECUTION_DATA,
+ payload: sortedData,
+ });
+ break;
+ }
case MAIN_THREAD_ACTION.PROCESS_TRIGGER: {
const { eventType, trigger, triggerMeta } = data;
log.debug({ trigger: data.trigger });
diff --git a/app/client/src/sagas/JSPaneSagas.ts b/app/client/src/sagas/JSPaneSagas.ts
index 2018fb657bbf..127b5137d8d0 100644
--- a/app/client/src/sagas/JSPaneSagas.ts
+++ b/app/client/src/sagas/JSPaneSagas.ts
@@ -379,7 +379,6 @@ export function* handleExecuteJSFunctionSaga(data: {
yield put({
type: ReduxActionTypes.EXECUTE_JS_FUNCTION_SUCCESS,
payload: {
- results: result,
collectionId,
actionId,
isDirty,
@@ -394,6 +393,20 @@ export function* handleExecuteJSFunctionSaga(data: {
},
state: { response: result },
});
+ if (!action.actionConfiguration.isAsync) {
+ yield put({
+ type: ReduxActionTypes.SET_JS_FUNCTION_EXECUTION_DATA,
+ payload: {
+ [collectionId]: [
+ {
+ data: result,
+ collectionId,
+ actionId,
+ },
+ ],
+ },
+ });
+ }
appMode === APP_MODE.EDIT &&
!isDirty &&
Toaster.show({
diff --git a/app/client/src/selectors/entitiesSelector.ts b/app/client/src/selectors/entitiesSelector.ts
index 11ff753f3894..e5be36dd8b6f 100644
--- a/app/client/src/selectors/entitiesSelector.ts
+++ b/app/client/src/selectors/entitiesSelector.ts
@@ -29,9 +29,11 @@ import {
EVAL_ERROR_PATH,
PropertyEvaluationErrorType,
} from "utils/DynamicBindingUtils";
+
import { InstallState } from "reducers/uiReducers/libraryReducer";
import recommendedLibraries from "pages/Editor/Explorer/Libraries/recommendedLibraries";
import { TJSLibrary } from "workers/common/JSLibrary";
+import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils";
export const getEntities = (state: AppState): AppState["entities"] =>
state.entities;
@@ -415,6 +417,21 @@ export const getJSCollection = (
return jsaction ? jsaction.config : undefined;
};
+export const getJSFunctionFromName = (state: AppState, name: string) => {
+ const {
+ entityName: collectionName,
+ propertyPath: functionName,
+ } = getEntityNameAndPropertyPath(name);
+ const jsCollection = find(
+ state.entities.jsActions,
+ (a) => a.config.name === collectionName,
+ );
+ if (jsCollection) {
+ return find(jsCollection.config.actions, (a) => a.name === functionName);
+ }
+ return undefined;
+};
+
export function getCurrentPageNameByActionId(
state: AppState,
actionId: string,
diff --git a/app/client/src/workers/Evaluation/JSObject/JSProxy.ts b/app/client/src/workers/Evaluation/JSObject/JSProxy.ts
new file mode 100644
index 000000000000..7f168f56c55c
--- /dev/null
+++ b/app/client/src/workers/Evaluation/JSObject/JSProxy.ts
@@ -0,0 +1,123 @@
+import { isEmpty, set } from "lodash";
+import { MessageType, sendMessage } from "utils/MessageUtil";
+import { MAIN_THREAD_ACTION } from "../evalWorkerActions";
+import { isPromise } from "./utils";
+
+export interface JSExecutionData {
+ data: unknown;
+ funcName: string;
+}
+
+export type JSFunctionProxy = (
+ JSFunction: (...args: unknown[]) => unknown,
+ fullName: string,
+) => unknown;
+
+export const JSFunctionProxyHandler = (
+ fullName: string,
+ funcExecutionStart: () => void,
+ funcExecutionEnd: (data: JSExecutionData) => void,
+) => ({
+ apply: function(target: any, thisArg: unknown, argumentsList: any) {
+ funcExecutionStart();
+ let returnValue;
+ try {
+ returnValue = Reflect.apply(target, thisArg, argumentsList);
+ } catch (e) {
+ funcExecutionEnd({
+ data: undefined,
+ funcName: fullName,
+ });
+ throw e;
+ }
+
+ if (isPromise(returnValue)) {
+ returnValue
+ .then((result) => {
+ funcExecutionEnd({
+ data: result,
+ funcName: fullName,
+ });
+ })
+ .catch(() => {
+ funcExecutionEnd({
+ data: undefined,
+ funcName: fullName,
+ });
+ });
+ return returnValue;
+ }
+ funcExecutionEnd({
+ data: returnValue,
+ funcName: fullName,
+ });
+ return returnValue;
+ },
+});
+
+export class JSProxy {
+ // Holds list of all js execution data during an eval cycle
+ private dataStore: Record<string, unknown> = {};
+ // The number of functions called, which have not completed.
+ private pendingExecutionCount = 0;
+ // Has eval completed?
+ private evaluationEnded = false;
+
+ constructor() {
+ this.JSFunctionProxy = this.JSFunctionProxy.bind(this);
+ this.postData = this.postData.bind(this);
+ this.functionExecutionStart = this.functionExecutionStart.bind(this);
+ this.functionExecutionEnd = this.functionExecutionEnd.bind(this);
+ this.setEvaluationEnd = this.setEvaluationEnd.bind(this);
+ }
+
+ public setEvaluationEnd(val: boolean) {
+ this.evaluationEnded = val;
+ this.postData();
+ }
+
+ // When a function is called, increase number of pending functions;
+ private functionExecutionStart() {
+ this.pendingExecutionCount += 1;
+ this.postData();
+ }
+
+ // When a function has completed, decrease number of pending functions;
+ private functionExecutionEnd({ data, funcName }: JSExecutionData) {
+ set(this.dataStore, [funcName], data);
+ this.pendingExecutionCount -= 1;
+ this.postData();
+ }
+
+ private postData() {
+ // This method determines the right time to post message to the main thread
+ // We ensure that all function executions have completed.
+ const { dataStore, evaluationEnded, pendingExecutionCount } = this;
+ if (evaluationEnded && pendingExecutionCount === 0 && !isEmpty(dataStore)) {
+ sendMessage.call(self, {
+ messageType: MessageType.DEFAULT,
+ body: {
+ data: {
+ JSData: dataStore,
+ },
+ method: MAIN_THREAD_ACTION.PROCESS_JS_FUNCTION_EXECUTION,
+ },
+ });
+ }
+ }
+
+ // Wrapper around JS Functions
+ public JSFunctionProxy(
+ JSFunction: (...args: unknown[]) => unknown,
+ jsFunctionFullName: string,
+ ) {
+ return new Proxy(
+ JSFunction,
+ JSFunctionProxyHandler(
+ jsFunctionFullName,
+ this.functionExecutionStart,
+ this.functionExecutionEnd,
+ ),
+ );
+ }
+}
diff --git a/app/client/src/workers/Evaluation/JSObject/utils.ts b/app/client/src/workers/Evaluation/JSObject/utils.ts
index 0dcb27a601ee..1db35c0abf09 100644
--- a/app/client/src/workers/Evaluation/JSObject/utils.ts
+++ b/app/client/src/workers/Evaluation/JSObject/utils.ts
@@ -1,11 +1,18 @@
import {
DataTree,
+ DataTreeAppsmith,
DataTreeJSAction,
EvaluationSubstitutionType,
} from "entities/DataTree/dataTreeFactory";
import { ParsedBody, ParsedJSSubAction } from "utils/JSPaneUtils";
import { unset, set, get } from "lodash";
+import { BatchedJSExecutionData } from "reducers/entityReducers/jsActionsReducer";
+import { select } from "redux-saga/effects";
+import { AppState } from "ce/reducers";
+import { JSAction } from "entities/JSCollection";
+import { getJSFunctionFromName } from "selectors/entitiesSelector";
import { isJSAction } from "@appsmith/workers/Evaluation/evaluationUtils";
+import { APP_MODE } from "entities/App";
/**
* here we add/remove the properties (variables and actions) which got added/removed from the JSObject parsedBody.
@@ -238,3 +245,43 @@ export function isJSObjectFunction(
}
return false;
}
+
+export function getAppMode(dataTree: DataTree) {
+ const appsmithObj = dataTree.appsmith as DataTreeAppsmith;
+ return appsmithObj.mode as APP_MODE;
+}
+
+export function isPromise(value: any): value is Promise<unknown> {
+ return Boolean(value && typeof value.then === "function");
+}
+
+export function* sortJSExecutionDataByCollectionId(
+ data: Record<string, unknown>,
+) {
+ // Sorted data by collectionId
+ const sortedData: BatchedJSExecutionData = {};
+ for (const jsfuncFullName of Object.keys(data)) {
+ const jsAction: JSAction | undefined = yield select((state: AppState) =>
+ getJSFunctionFromName(state, jsfuncFullName),
+ );
+ if (jsAction && jsAction.collectionId) {
+ if (sortedData[jsAction.collectionId]) {
+ sortedData[jsAction.collectionId].push({
+ data: get(data, jsfuncFullName),
+ collectionId: jsAction.collectionId,
+ actionId: jsAction.id,
+ });
+ } else {
+ sortedData[jsAction.collectionId] = [
+ {
+ data: get(data, jsfuncFullName),
+ collectionId: jsAction.collectionId,
+ actionId: jsAction.id,
+ },
+ ];
+ }
+ }
+ }
+
+ return sortedData;
+}
diff --git a/app/client/src/workers/Evaluation/evalWorkerActions.ts b/app/client/src/workers/Evaluation/evalWorkerActions.ts
index 3cd1aafc2aae..248400e34f73 100644
--- a/app/client/src/workers/Evaluation/evalWorkerActions.ts
+++ b/app/client/src/workers/Evaluation/evalWorkerActions.ts
@@ -30,4 +30,5 @@ export const MAIN_THREAD_ACTION = {
PROCESS_TRIGGER: "PROCESS_TRIGGER",
PROCESS_LOGS: "PROCESS_LOGS",
LINT_TREE: "LINT_TREE",
+ PROCESS_JS_FUNCTION_EXECUTION: "PROCESS_JS_FUNCTION_EXECUTION",
};
diff --git a/app/client/src/workers/Evaluation/evaluate.ts b/app/client/src/workers/Evaluation/evaluate.ts
index 6487e9d7bd2e..a3b575b851a0 100644
--- a/app/client/src/workers/Evaluation/evaluate.ts
+++ b/app/client/src/workers/Evaluation/evaluate.ts
@@ -11,6 +11,7 @@ import userLogs from "./UserLog";
import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
import { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas";
import indirectEval from "./indirectEval";
+import { JSFunctionProxy, JSProxy } from "./JSObject/JSProxy";
import { DOM_APIS } from "./SetupDOM";
import { JSLibraries, libraryReservedIdentifiers } from "../common/JSLibrary";
import { errorModifier, FoundPromiseInSyncEvalError } from "./errorModifier";
@@ -130,6 +131,7 @@ export interface createEvaluationContextArgs {
evalArguments?: Array<unknown>;
// Whether not to add functions like "run", "clear" to entity in global data
skipEntityFunctions?: boolean;
+ JSFunctionProxy?: JSFunctionProxy;
}
/**
* This method created an object with dataTree and appsmith's framework actions that needs to be added to worker global scope for the JS code evaluation to then consume it.
@@ -143,6 +145,7 @@ export const createEvaluationContext = (args: createEvaluationContextArgs) => {
dataTree,
evalArguments,
isTriggerBased,
+ JSFunctionProxy,
resolvedFunctions,
skipEntityFunctions,
} = args;
@@ -165,7 +168,7 @@ export const createEvaluationContext = (args: createEvaluationContextArgs) => {
isTriggerBased,
});
- assignJSFunctionsToContext(EVAL_CONTEXT, resolvedFunctions);
+ assignJSFunctionsToContext(EVAL_CONTEXT, resolvedFunctions, JSFunctionProxy);
return EVAL_CONTEXT;
};
@@ -173,6 +176,7 @@ export const createEvaluationContext = (args: createEvaluationContextArgs) => {
export const assignJSFunctionsToContext = (
EVAL_CONTEXT: EvalContext,
resolvedFunctions: ResolvedFunctions,
+ JSFunctionProxy?: JSFunctionProxy,
) => {
const jsObjectNames = Object.keys(resolvedFunctions || {});
for (const jsObjectName of jsObjectNames) {
@@ -187,7 +191,9 @@ export const assignJSFunctionsToContext = (
// Task: https://github.com/appsmithorg/appsmith/issues/13289
// Previous implementation commented code: https://github.com/appsmithorg/appsmith/pull/18471
const data = jsObject[fnName]?.data;
- jsObjectFunction[fnName] = fn;
+ jsObjectFunction[fnName] = JSFunctionProxy
+ ? JSFunctionProxy(fn, jsObjectName + "." + fnName)
+ : fn;
if (!!data) {
jsObjectFunction[fnName]["data"] = data;
}
@@ -311,7 +317,6 @@ export default function evaluateSync(
}
}
}
-
return { result, errors, logs };
})();
}
@@ -328,6 +333,7 @@ export async function evaluateAsync(
const errors: EvaluationError[] = [];
let result;
let logs;
+ const { JSFunctionProxy, setEvaluationEnd } = new JSProxy();
/**** Setting the eval context ****/
userLogs.resetLogs();
userLogs.setCurrentRequestInfo({
@@ -339,6 +345,7 @@ export async function evaluateAsync(
resolvedFunctions,
context,
evalArguments,
+ JSFunctionProxy,
isTriggerBased: true,
});
const { script } = getUserScriptToEvaluate(userScript, true, evalArguments);
@@ -365,6 +372,7 @@ export async function evaluateAsync(
});
logs = userLogs.flushLogs();
} finally {
+ setEvaluationEnd(true);
// Adding this extra try catch because there are cases when logs have child objects
// like functions or promises that cause issue in complete promise action, thus
// leading the app into a bad state.
|
6a31cacba5556ba29275bad12dcaffb7b474baac
|
2024-11-28 13:05:31
|
Shrikant Sharat Kandula
|
chore: Modular backup implementation (#37715)
| false
|
Modular backup implementation (#37715)
|
chore
|
diff --git a/app/client/packages/rts/src/ctl/backup/BackupState.ts b/app/client/packages/rts/src/ctl/backup/BackupState.ts
new file mode 100644
index 000000000000..182756ab298f
--- /dev/null
+++ b/app/client/packages/rts/src/ctl/backup/BackupState.ts
@@ -0,0 +1,25 @@
+import { getTimeStampInISO } from "./index";
+
+export class BackupState {
+ readonly args: string[];
+ readonly initAt: string = getTimeStampInISO();
+ readonly errors: string[] = [];
+
+ backupRootPath: string = "";
+ archivePath: string = "";
+
+ encryptionPassword: string = "";
+
+ constructor(args: string[]) {
+ this.args = args;
+
+ // We seal `this` so that no link in the chain can "add" new properties to the state. This is intentional. If any
+ // link wants to save data in the `BackupState`, which shouldn't even be needed in most cases, it should do so by
+ // explicitly declaring a property in this class. No surprises.
+ Object.seal(this);
+ }
+
+ isEncryptionEnabled() {
+ return !!this.encryptionPassword;
+ }
+}
diff --git a/app/client/packages/rts/src/ctl/backup.test.ts b/app/client/packages/rts/src/ctl/backup/backup.test.ts
similarity index 79%
rename from app/client/packages/rts/src/ctl/backup.test.ts
rename to app/client/packages/rts/src/ctl/backup/backup.test.ts
index 4dddd337b53c..fd4d12b73091 100644
--- a/app/client/packages/rts/src/ctl/backup.test.ts
+++ b/app/client/packages/rts/src/ctl/backup/backup.test.ts
@@ -1,15 +1,14 @@
-jest.mock("./utils", () => ({
- ...jest.requireActual("./utils"),
- execCommand: jest.fn().mockImplementation(async (a) => a.join(" ")),
-}));
-
-import * as backup from "./backup";
-import * as Constants from "./constants";
-import os from "os";
import fsPromises from "fs/promises";
-import * as utils from "./utils";
+import * as backup from ".";
+import * as Constants from "../constants";
+import * as utils from "../utils";
import readlineSync from "readline-sync";
+jest.mock("../utils", () => ({
+ ...jest.requireActual("../utils"),
+ execCommand: jest.fn().mockImplementation(async (a) => a.join(" ")),
+}));
+
describe("Backup Tests", () => {
test("Timestamp string in ISO format", () => {
console.log(backup.getTimeStampInISO());
@@ -46,14 +45,6 @@ describe("Backup Tests", () => {
);
});
- it("Generates t", async () => {
- os.tmpdir = jest.fn().mockReturnValue("temp/dir");
- fsPromises.mkdtemp = jest.fn().mockImplementation((a) => a);
- const res = await backup.generateBackupRootPath();
-
- expect(res).toBe("temp/dir/appsmithctl-backup-");
- });
-
test("Test backup contents path generation", () => {
const root = "/rootDir";
const timestamp = "0000-00-0T00-00-00.00Z";
@@ -136,67 +127,60 @@ describe("Backup Tests", () => {
});
test("Cleanup Backups when limit is 4 and there are 5 files", async () => {
- const backupArchivesLimit = 4;
-
- fsPromises.rm = jest.fn().mockImplementation(async (a) => console.log(a));
+ fsPromises.rm = jest.fn().mockImplementation();
const backupFiles = ["file1", "file2", "file3", "file4", "file5"];
- const expectedBackupFiles = ["file2", "file3", "file4", "file5"];
- const res = await backup.removeOldBackups(backupFiles, backupArchivesLimit);
- console.log(res);
+ await backup.removeOldBackups(backupFiles, 4);
- expect(res).toEqual(expectedBackupFiles);
+ expect(fsPromises.rm).toHaveBeenCalledTimes(1);
+ expect(fsPromises.rm).toHaveBeenCalledWith(
+ Constants.BACKUP_PATH + "/file1",
+ );
});
test("Cleanup Backups when limit is 2 and there are 5 files", async () => {
- const backupArchivesLimit = 2;
+ fsPromises.rm = jest.fn().mockImplementation();
+ const backupFiles = ["file1", "file4", "file3", "file2", "file5"];
- fsPromises.rm = jest.fn().mockImplementation(async (a) => console.log(a));
- const backupFiles = ["file1", "file2", "file3", "file4", "file5"];
- const expectedBackupFiles = ["file4", "file5"];
- const res = await backup.removeOldBackups(backupFiles, backupArchivesLimit);
+ await backup.removeOldBackups(backupFiles, 2);
- console.log(res);
-
- expect(res).toEqual(expectedBackupFiles);
+ expect(fsPromises.rm).toHaveBeenCalledTimes(3);
+ expect(fsPromises.rm).toHaveBeenCalledWith(
+ Constants.BACKUP_PATH + "/file1",
+ );
+ expect(fsPromises.rm).toHaveBeenCalledWith(
+ Constants.BACKUP_PATH + "/file2",
+ );
+ expect(fsPromises.rm).toHaveBeenCalledWith(
+ Constants.BACKUP_PATH + "/file3",
+ );
});
test("Cleanup Backups when limit is 4 and there are 4 files", async () => {
- const backupArchivesLimit = 4;
-
- fsPromises.rm = jest.fn().mockImplementation(async (a) => console.log(a));
+ fsPromises.rm = jest.fn().mockImplementation();
const backupFiles = ["file1", "file2", "file3", "file4"];
- const expectedBackupFiles = ["file1", "file2", "file3", "file4"];
- const res = await backup.removeOldBackups(backupFiles, backupArchivesLimit);
- console.log(res);
+ await backup.removeOldBackups(backupFiles, 4);
- expect(res).toEqual(expectedBackupFiles);
+ expect(fsPromises.rm).not.toHaveBeenCalled();
});
test("Cleanup Backups when limit is 4 and there are 2 files", async () => {
- const backupArchivesLimit = 4;
-
- fsPromises.rm = jest.fn().mockImplementation(async (a) => console.log(a));
+ fsPromises.rm = jest.fn().mockImplementation();
const backupFiles = ["file1", "file2"];
- const expectedBackupFiles = ["file1", "file2"];
- const res = await backup.removeOldBackups(backupFiles, backupArchivesLimit);
- console.log(res);
+ await backup.removeOldBackups(backupFiles, 4);
- expect(res).toEqual(expectedBackupFiles);
+ expect(fsPromises.rm).not.toHaveBeenCalled();
});
test("Cleanup Backups when limit is 2 and there is 1 file", async () => {
- const backupArchivesLimit = 4;
-
- fsPromises.rm = jest.fn().mockImplementation(async (a) => console.log(a));
+ fsPromises.rm = jest.fn().mockImplementation();
const backupFiles = ["file1"];
- const expectedBackupFiles = ["file1"];
- const res = await backup.removeOldBackups(backupFiles, backupArchivesLimit);
- console.log(res);
- expect(res).toEqual(expectedBackupFiles);
+ await backup.removeOldBackups(backupFiles, 4);
+
+ expect(fsPromises.rm).not.toHaveBeenCalled();
});
test("Cleanup Backups when limit is 2 and there is no file", async () => {
diff --git a/app/client/packages/rts/src/ctl/backup.ts b/app/client/packages/rts/src/ctl/backup/index.ts
similarity index 70%
rename from app/client/packages/rts/src/ctl/backup.ts
rename to app/client/packages/rts/src/ctl/backup/index.ts
index 1ae5661eb12b..8fa2c353583f 100644
--- a/app/client/packages/rts/src/ctl/backup.ts
+++ b/app/client/packages/rts/src/ctl/backup/index.ts
@@ -1,64 +1,50 @@
import fsPromises from "fs/promises";
import path from "path";
import os from "os";
-import * as utils from "./utils";
-import * as Constants from "./constants";
-import * as logger from "./logger";
-import * as mailer from "./mailer";
-import tty from "tty";
+import * as utils from "../utils";
+import * as Constants from "../constants";
+import * as logger from "../logger";
+import * as mailer from "../mailer";
import readlineSync from "readline-sync";
+import { DiskSpaceLink } from "./links/DiskSpaceLink";
+import type { Link } from "./links";
+import { EncryptionLink, ManifestLink } from "./links";
+import { BackupState } from "./BackupState";
-const command_args = process.argv.slice(3);
-
-class BackupState {
- readonly initAt: string = getTimeStampInISO();
- readonly errors: string[] = [];
-
- backupRootPath: string = "";
- archivePath: string = "";
-
- encryptionPassword: string = "";
-
- isEncryptionEnabled() {
- return !!this.encryptionPassword;
- }
-}
-
-export async function run() {
+export async function run(args: string[]) {
await utils.ensureSupervisorIsRunning();
- const state: BackupState = new BackupState();
+ const state: BackupState = new BackupState(args);
+
+ const chain: Link[] = [
+ new DiskSpaceLink(),
+ new ManifestLink(state),
+ new EncryptionLink(state),
+ ];
try {
// PRE-BACKUP
- const availSpaceInBytes: number =
- await getAvailableBackupSpaceInBytes("/appsmith-stacks");
-
- checkAvailableBackupSpace(availSpaceInBytes);
-
- if (
- !command_args.includes("--non-interactive") &&
- tty.isatty((process.stdout as any).fd)
- ) {
- state.encryptionPassword = getEncryptionPasswordFromUser();
+ for (const link of chain) {
+ await link.preBackup?.();
}
- state.backupRootPath = await generateBackupRootPath();
- const backupContentsPath: string = getBackupContentsPath(
- state.backupRootPath,
- state.initAt,
- );
-
// BACKUP
- await fsPromises.mkdir(backupContentsPath);
+ state.backupRootPath = await fsPromises.mkdtemp(
+ path.join(os.tmpdir(), "appsmithctl-backup-"),
+ );
- await exportDatabase(backupContentsPath);
+ await exportDatabase(state.backupRootPath);
- await createGitStorageArchive(backupContentsPath);
+ await createGitStorageArchive(state.backupRootPath);
- await createManifestFile(backupContentsPath);
+ await exportDockerEnvFile(
+ state.backupRootPath,
+ state.isEncryptionEnabled(),
+ );
- await exportDockerEnvFile(backupContentsPath, state.isEncryptionEnabled());
+ for (const link of chain) {
+ await link.doBackup?.();
+ }
state.archivePath = await createFinalArchive(
state.backupRootPath,
@@ -66,27 +52,13 @@ export async function run() {
);
// POST-BACKUP
- if (state.isEncryptionEnabled()) {
- const encryptedArchivePath = await encryptBackupArchive(
- state.archivePath,
- state.encryptionPassword,
- );
+ for (const link of chain) {
+ await link.postBackup?.();
+ }
- await logger.backup_info(
- "Finished creating an encrypted a backup archive at " +
- encryptedArchivePath,
- );
+ console.log("Post-backup done. Final archive at", state.archivePath);
- if (state.archivePath != null) {
- await fsPromises.rm(state.archivePath, {
- recursive: true,
- force: true,
- });
- }
- } else {
- await logger.backup_info(
- "Finished creating a backup archive at " + state.archivePath,
- );
+ if (!state.isEncryptionEnabled()) {
console.log(
"********************************************************* IMPORTANT!!! *************************************************************",
);
@@ -110,7 +82,7 @@ export async function run() {
process.exitCode = 1;
await logger.backup_error(err.stack);
- if (command_args.includes("--error-mail")) {
+ if (state.args.includes("--error-mail")) {
const currentTS = new Date().getTime();
const lastMailTS = await utils.getLastBackupErrorMailSentInMilliSec();
@@ -123,6 +95,14 @@ export async function run() {
await utils.updateLastBackupErrorMailSentInMilliSec(currentTS);
}
}
+
+ // Delete the archive, if exists, since its existence may mislead the user.
+ if (state.archivePath != null) {
+ await fsPromises.rm(state.archivePath, {
+ recursive: true,
+ force: true,
+ });
+ }
} finally {
if (state.backupRootPath != null) {
await fsPromises.rm(state.backupRootPath, {
@@ -131,15 +111,6 @@ export async function run() {
});
}
- if (state.isEncryptionEnabled()) {
- if (state.archivePath != null) {
- await fsPromises.rm(state.archivePath, {
- recursive: true,
- force: true,
- });
- }
- }
-
await postBackupCleanup();
process.exit();
}
@@ -222,19 +193,6 @@ async function createGitStorageArchive(destFolder: string) {
console.log("Created git-storage archive");
}
-async function createManifestFile(path: string) {
- const version = await utils.getCurrentAppsmithVersion();
- const manifest_data = {
- appsmithVersion: version,
- dbName: utils.getDatabaseNameFromMongoURI(utils.getDburl()),
- };
-
- await fsPromises.writeFile(
- path + "/manifest.json",
- JSON.stringify(manifest_data),
- );
-}
-
async function exportDockerEnvFile(
destFolder: string,
encryptArchive: boolean,
@@ -291,19 +249,15 @@ async function createFinalArchive(destFolder: string, timestamp: string) {
}
async function postBackupCleanup() {
- console.log("Starting the cleanup task after taking a backup.");
+ console.log("Starting cleanup.");
const backupArchivesLimit = getBackupArchiveLimit(
parseInt(process.env.APPSMITH_BACKUP_ARCHIVE_LIMIT, 10),
);
const backupFiles = await utils.listLocalBackupFiles();
- while (backupFiles.length > backupArchivesLimit) {
- const fileName = backupFiles.shift();
+ await removeOldBackups(backupFiles, backupArchivesLimit);
- await fsPromises.rm(Constants.BACKUP_PATH + "/" + fileName);
- }
-
- console.log("Cleanup task completed.");
+ console.log("Cleanup completed.");
}
export async function executeCopyCMD(srcFolder: string, destFolder: string) {
@@ -323,10 +277,6 @@ export function getGitRoot(gitRoot?: string | undefined) {
return gitRoot;
}
-export async function generateBackupRootPath() {
- return fsPromises.mkdtemp(path.join(os.tmpdir(), "appsmithctl-backup-"));
-}
-
export function getBackupContentsPath(
backupRootPath: string,
timestamp: string,
@@ -359,13 +309,14 @@ export async function removeOldBackups(
backupFiles: string[],
backupArchivesLimit: number,
) {
- while (backupFiles.length > backupArchivesLimit) {
- const fileName = backupFiles.shift();
-
- await fsPromises.rm(Constants.BACKUP_PATH + "/" + fileName);
- }
-
- return backupFiles;
+ return Promise.all(
+ backupFiles
+ .sort()
+ .reverse()
+ .slice(backupArchivesLimit)
+ .map((file) => Constants.BACKUP_PATH + "/" + file)
+ .map(async (file) => fsPromises.rm(file)),
+ );
}
export function getTimeStampInISO() {
diff --git a/app/client/packages/rts/src/ctl/backup/links/DiskSpaceLink.ts b/app/client/packages/rts/src/ctl/backup/links/DiskSpaceLink.ts
new file mode 100644
index 000000000000..8ab16efe7eaf
--- /dev/null
+++ b/app/client/packages/rts/src/ctl/backup/links/DiskSpaceLink.ts
@@ -0,0 +1,11 @@
+import { checkAvailableBackupSpace, getAvailableBackupSpaceInBytes } from "..";
+import type { Link } from ".";
+
+export class DiskSpaceLink implements Link {
+ async preBackup() {
+ const availSpaceInBytes: number =
+ await getAvailableBackupSpaceInBytes("/appsmith-stacks");
+
+ checkAvailableBackupSpace(availSpaceInBytes);
+ }
+}
diff --git a/app/client/packages/rts/src/ctl/backup/links/EncryptionLink.ts b/app/client/packages/rts/src/ctl/backup/links/EncryptionLink.ts
new file mode 100644
index 000000000000..086c7fc0c8e3
--- /dev/null
+++ b/app/client/packages/rts/src/ctl/backup/links/EncryptionLink.ts
@@ -0,0 +1,36 @@
+import type { Link } from "./index";
+import tty from "tty";
+import fsPromises from "fs/promises";
+import { encryptBackupArchive, getEncryptionPasswordFromUser } from "../index";
+import type { BackupState } from "../BackupState";
+
+export class EncryptionLink implements Link {
+ constructor(private readonly state: BackupState) {}
+
+ async preBackup() {
+ if (
+ !this.state.args.includes("--non-interactive") &&
+ tty.isatty((process.stdout as any).fd)
+ ) {
+ this.state.encryptionPassword = getEncryptionPasswordFromUser();
+ }
+ }
+
+ async postBackup() {
+ if (!this.state.isEncryptionEnabled()) {
+ return;
+ }
+
+ const unencryptedArchivePath = this.state.archivePath;
+
+ this.state.archivePath = await encryptBackupArchive(
+ unencryptedArchivePath,
+ this.state.encryptionPassword,
+ );
+
+ await fsPromises.rm(unencryptedArchivePath, {
+ recursive: true,
+ force: true,
+ });
+ }
+}
diff --git a/app/client/packages/rts/src/ctl/backup/links/ManifestLink.ts b/app/client/packages/rts/src/ctl/backup/links/ManifestLink.ts
new file mode 100644
index 000000000000..16998203ac1b
--- /dev/null
+++ b/app/client/packages/rts/src/ctl/backup/links/ManifestLink.ts
@@ -0,0 +1,22 @@
+import type { Link } from "./index";
+import type { BackupState } from "../BackupState";
+import * as utils from "../../utils";
+import fsPromises from "fs/promises";
+import path from "path";
+
+export class ManifestLink implements Link {
+ constructor(private readonly state: BackupState) {}
+
+ async doBackup() {
+ const version = await utils.getCurrentAppsmithVersion();
+ const manifestData = {
+ appsmithVersion: version,
+ dbName: utils.getDatabaseNameFromMongoURI(utils.getDburl()),
+ };
+
+ await fsPromises.writeFile(
+ path.join(this.state.backupRootPath, "/manifest.json"),
+ JSON.stringify(manifestData, null, 2),
+ );
+ }
+}
diff --git a/app/client/packages/rts/src/ctl/backup/links/index.ts b/app/client/packages/rts/src/ctl/backup/links/index.ts
new file mode 100644
index 000000000000..eea6f31bcd55
--- /dev/null
+++ b/app/client/packages/rts/src/ctl/backup/links/index.ts
@@ -0,0 +1,13 @@
+export interface Link {
+ // Called before the backup folder is created.
+ preBackup?(): Promise<void>;
+
+ // Called after backup folder is created. Expected to copy/create any backup files in the backup folder.
+ doBackup?(): Promise<void>;
+
+ // Called after backup archive is created. The archive location is available now.
+ postBackup?(): Promise<void>;
+}
+
+export { EncryptionLink } from "./EncryptionLink";
+export { ManifestLink } from "./ManifestLink";
diff --git a/app/client/packages/rts/src/ctl/index.ts b/app/client/packages/rts/src/ctl/index.ts
index 9d25417aacd7..b333d27cdc77 100755
--- a/app/client/packages/rts/src/ctl/index.ts
+++ b/app/client/packages/rts/src/ctl/index.ts
@@ -51,7 +51,7 @@ if (["export-db", "export_db", "ex"].includes(command)) {
) {
check_replica_set.exec();
} else if (["backup"].includes(command)) {
- backup.run();
+ backup.run(process.argv.slice(3));
} else if (["restore"].includes(command)) {
restore.run();
} else if (
diff --git a/app/client/packages/rts/src/ctl/restore.ts b/app/client/packages/rts/src/ctl/restore.ts
index 22e386b7838e..a32d27564c30 100644
--- a/app/client/packages/rts/src/ctl/restore.ts
+++ b/app/client/packages/rts/src/ctl/restore.ts
@@ -61,14 +61,15 @@ async function decryptArchive(
encryptedFilePath: string,
backupFilePath: string,
) {
- console.log("Enter the password to decrypt the backup archive:");
-
for (const attempt of [1, 2, 3]) {
if (attempt > 1) {
console.log("Retry attempt", attempt);
}
- const decryptionPwd = readlineSync.question("", { hideEchoBack: true });
+ const decryptionPwd = readlineSync.question(
+ "Enter the password to decrypt the backup archive: ",
+ { hideEchoBack: true },
+ );
try {
await utils.execCommandSilent([
@@ -150,15 +151,15 @@ async function restoreDockerEnvFile(
let encryptionSalt = process.env.APPSMITH_ENCRYPTION_SALT;
await utils.execCommand([
- "mv",
+ "cp",
dockerEnvFile,
dockerEnvFile + "." + backupName,
]);
- await utils.execCommand([
- "cp",
+
+ let dockerEnvContent = await fsPromises.readFile(
restoreContentsPath + "/docker.env",
- dockerEnvFile,
- ]);
+ "utf8",
+ );
if (overwriteEncryptionKeys) {
if (encryptionPwd && encryptionSalt) {
@@ -202,31 +203,29 @@ async function restoreDockerEnvFile(
);
}
- await fsPromises.appendFile(
- dockerEnvFile,
+ dockerEnvContent +=
"\nAPPSMITH_ENCRYPTION_PASSWORD=" +
- encryptionPwd +
- "\nAPPSMITH_ENCRYPTION_SALT=" +
- encryptionSalt +
- "\nAPPSMITH_DB_URL=" +
- utils.getDburl() +
- "\nAPPSMITH_MONGODB_USER=" +
- process.env.APPSMITH_MONGODB_USER +
- "\nAPPSMITH_MONGODB_PASSWORD=" +
- process.env.APPSMITH_MONGODB_PASSWORD,
- );
+ encryptionPwd +
+ "\nAPPSMITH_ENCRYPTION_SALT=" +
+ encryptionSalt +
+ "\nAPPSMITH_DB_URL=" +
+ utils.getDburl() +
+ "\nAPPSMITH_MONGODB_USER=" +
+ process.env.APPSMITH_MONGODB_USER +
+ "\nAPPSMITH_MONGODB_PASSWORD=" +
+ process.env.APPSMITH_MONGODB_PASSWORD;
} else {
- await fsPromises.appendFile(
- dockerEnvFile,
+ dockerEnvContent +=
"\nAPPSMITH_DB_URL=" +
- updatedbUrl +
- "\nAPPSMITH_MONGODB_USER=" +
- process.env.APPSMITH_MONGODB_USER +
- "\nAPPSMITH_MONGODB_PASSWORD=" +
- process.env.APPSMITH_MONGODB_PASSWORD,
- );
+ updatedbUrl +
+ "\nAPPSMITH_MONGODB_USER=" +
+ process.env.APPSMITH_MONGODB_USER +
+ "\nAPPSMITH_MONGODB_PASSWORD=" +
+ process.env.APPSMITH_MONGODB_PASSWORD;
}
+ await fsPromises.writeFile(dockerEnvFile, dockerEnvContent, "utf8");
+
console.log("Restoring docker environment file completed");
}
diff --git a/deploy/docker/fs/opt/bin/ctl b/deploy/docker/fs/opt/bin/ctl
index a6ba5037d442..1d1f3fc83d7b 100644
--- a/deploy/docker/fs/opt/bin/ctl
+++ b/deploy/docker/fs/opt/bin/ctl
@@ -3,4 +3,7 @@
# Do NOT change working directory with `cd`, so that the command being run has access to the working directory where
# the command was invoked by the user.
-exec node /opt/appsmith/rts/bundle/ctl/index.js "$@"
+exec node \
+ --enable-source-maps \
+ /opt/appsmith/rts/bundle/ctl/index.js \
+ "$@"
|
d9442d2a7bf0808b9322562acd1d0042ae2cd127
|
2023-04-07 00:00:03
|
Sumit Kumar
|
feat: Oracle Integration: Add support for Prepared Statements (#21744)
| false
|
Oracle Integration: Add support for Prepared Statements (#21744)
|
feat
|
diff --git a/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/OraclePlugin.java b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/OraclePlugin.java
index 720fe223f46e..e0558904bc9d 100644
--- a/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/OraclePlugin.java
+++ b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/OraclePlugin.java
@@ -1,9 +1,11 @@
package com.external.plugins;
+import com.appsmith.external.constants.DataType;
import com.appsmith.external.dtos.ExecuteActionDTO;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginError;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginException;
import com.appsmith.external.exceptions.pluginExceptions.StaleConnectionException;
+import com.appsmith.external.helpers.DataTypeServiceUtils;
import com.appsmith.external.helpers.MustacheHelper;
import com.appsmith.external.models.ActionConfiguration;
import com.appsmith.external.models.ActionExecutionRequest;
@@ -11,15 +13,20 @@
import com.appsmith.external.models.DatasourceConfiguration;
import com.appsmith.external.models.DatasourceStructure;
import com.appsmith.external.models.MustacheBindingToken;
+import com.appsmith.external.models.Param;
import com.appsmith.external.models.PsParameterDTO;
import com.appsmith.external.models.RequestParamDTO;
import com.appsmith.external.plugins.BasePlugin;
import com.appsmith.external.plugins.PluginExecutor;
import com.appsmith.external.plugins.SmartSubstitutionInterface;
import com.external.plugins.utils.OracleDatasourceUtils;
+import com.external.plugins.utils.OracleSpecificDataTypes;
import com.zaxxer.hikari.HikariDataSource;
import com.zaxxer.hikari.HikariPoolMXBean;
+import com.zaxxer.hikari.pool.HikariProxyConnection;
import lombok.extern.slf4j.Slf4j;
+import oracle.jdbc.OraclePreparedStatement;
+import org.apache.commons.io.IOUtils;
import org.pf4j.Extension;
import org.pf4j.PluginWrapper;
import org.springframework.util.CollectionUtils;
@@ -27,12 +34,19 @@
import reactor.core.scheduler.Scheduler;
import reactor.core.scheduler.Schedulers;
+import java.io.IOException;
+import java.math.BigDecimal;
import java.sql.Connection;
+import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.sql.Types;
import java.time.Duration;
+import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
@@ -56,6 +70,7 @@
import static com.external.plugins.utils.OracleDatasourceUtils.createConnectionPool;
import static com.external.plugins.utils.OracleDatasourceUtils.getConnectionFromConnectionPool;
import static com.external.plugins.utils.OracleExecuteUtils.closeConnectionPostExecution;
+import static com.external.plugins.utils.OracleExecuteUtils.isPLSQL;
import static com.external.plugins.utils.OracleExecuteUtils.populateRowsAndColumns;
import static com.external.plugins.utils.OracleExecuteUtils.removeSemicolonFromQuery;
import static java.lang.Boolean.FALSE;
@@ -135,7 +150,16 @@ public Mono<ActionExecutionResult> executeParameterized(HikariDataSource connect
List<MustacheBindingToken> mustacheKeysInOrder = MustacheHelper.extractMustacheKeysInOrder(query);
// Replace all the bindings with a ? as expected in a prepared statement.
String updatedQuery = MustacheHelper.replaceMustacheWithQuestionMark(query, mustacheKeysInOrder);
- updatedQuery = removeSemicolonFromQuery(updatedQuery);
+ /**
+ * PL/SQL cmds have a block structure of the following format: DECLARE...BEGIN...EXCEPTION...END
+ * Ref: https://blogs.oracle.com/connect/post/building-with-blocks
+ *
+ * Oracle supports semicolon as a delimiter with PL/SQL syntax but not with normal SQL.
+ * Ref: https://forums.oracle.com/ords/apexds/post/why-semicolon-not-allowed-in-jdbc-oracle-0099
+ */
+ if (!isPLSQL(updatedQuery)) {
+ updatedQuery = removeSemicolonFromQuery(updatedQuery);
+ }
setDataValueSafelyInFormData(formData, BODY, updatedQuery);
return executeCommon(connection, datasourceConfiguration, actionConfiguration, TRUE,
mustacheKeysInOrder, executeActionDTO);
@@ -208,8 +232,7 @@ private Mono<ActionExecutionResult> executeCommon(HikariDataSource connection,
preparedQuery = (PreparedStatement) smartSubstitutionOfBindings(preparedQuery,
mustacheValuesInOrder,
executeActionDTO.getParams(),
- parameters,
- connectionFromPool);
+ parameters);
IntStream.range(0, parameters.size())
.forEachOrdered(i ->
@@ -268,9 +291,7 @@ private Mono<ActionExecutionResult> executeCommon(HikariDataSource connection,
result.setRequest(request);
return result;
})
- .timeout(Duration.ofMillis(actionConfiguration.getTimeoutInMillisecond()))
.subscribeOn(scheduler);
-
}
@Override
@@ -290,5 +311,89 @@ private Set<String> populateHintMessages(List<String> columnNames) {
return messages;
}
+
+ @Override
+ public Object substituteValueInInput(int index,
+ String binding,
+ String value,
+ Object input,
+ List<Map.Entry<String, String>> insertedParams,
+ Object... args) throws AppsmithPluginException {
+
+ PreparedStatement preparedStatement = (PreparedStatement) input;
+ Param param = (Param) args[0];
+ DataType valueType;
+ valueType = DataTypeServiceUtils.getAppsmithType(param.getClientDataType(), value,
+ OracleSpecificDataTypes.pluginSpecificTypes).type();
+ Map.Entry<String, String> parameter = new AbstractMap.SimpleEntry<>(value, valueType.toString());
+ insertedParams.add(parameter);
+
+ try {
+ switch (valueType) {
+ case NULL: {
+ preparedStatement.setNull(index, Types.NULL);
+ break;
+ }
+ case BINARY: {
+ preparedStatement.setBinaryStream(index, IOUtils.toInputStream(value));
+ break;
+ }
+ case BYTES: {
+ preparedStatement.setBytes(index, value.getBytes("UTF-8"));
+ break;
+ }
+ case INTEGER: {
+ preparedStatement.setInt(index, Integer.parseInt(value));
+ break;
+ }
+ case LONG: {
+ preparedStatement.setLong(index, Long.parseLong(value));
+ break;
+ }
+ case FLOAT:
+ case DOUBLE: {
+ preparedStatement.setBigDecimal(index, new BigDecimal(String.valueOf(value)));
+ break;
+ }
+ case BOOLEAN: {
+ preparedStatement.setBoolean(index, Boolean.parseBoolean(value));
+ break;
+ }
+ case DATE: {
+ preparedStatement.setDate(index, Date.valueOf(value));
+ break;
+ }
+ case TIME: {
+ preparedStatement.setTime(index, Time.valueOf(value));
+ break;
+ }
+ case TIMESTAMP: {
+ preparedStatement.setTimestamp(index, Timestamp.valueOf(value));
+ break;
+ }
+ case STRING: {
+ /* same as the next case */
+ }
+ case JSON_OBJECT: {
+ preparedStatement.setString(index, value);
+ break;
+ }
+ default:
+ break;
+ }
+
+ } catch (SQLException | IllegalArgumentException | IOException e) {
+ if ((e instanceof SQLException) && e.getMessage().contains("The column index is out of range:")) {
+ // In case the parameter being set is out of range, then this must be getting
+ // set in the commented part of
+ // the query. Ignore the exception
+ } else {
+ throw new AppsmithPluginException(AppsmithPluginError.PLUGIN_EXECUTE_ARGUMENT_ERROR,
+ e.getMessage());
+ }
+ }
+
+ return preparedStatement;
+ }
}
}
diff --git a/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java
index 1cedc44b0ae4..aa6c22663fd5 100644
--- a/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java
+++ b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java
@@ -1,6 +1,8 @@
package com.external.plugins.utils;
+import com.appsmith.external.constants.DataType;
import com.appsmith.external.plugins.SmartSubstitutionInterface;
+import oracle.jdbc.OracleArray;
import oracle.sql.Datum;
import org.apache.commons.lang.ObjectUtils;
@@ -16,6 +18,7 @@
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
+import java.util.regex.Pattern;
import static com.appsmith.external.helpers.PluginUtils.getColumnsListForJdbcPlugin;
import static java.lang.Boolean.FALSE;
@@ -26,6 +29,30 @@ public class OracleExecuteUtils implements SmartSubstitutionInterface {
public static final String TIMESTAMPTZ_TYPE_NAME = "TIMESTAMP WITH TIME ZONE";
public static final String INTERVAL_TYPE_NAME = "interval";
public static final String AFFECTED_ROWS_KEY = "affectedRows";
+ public static final String INT8 = "int8";
+ public static final String INT4 = "int4";
+ public static final String DECIMAL = "decimal";
+ public static final String VARCHAR = "varchar";
+ public static final String BOOL = "bool";
+ public static final String DATE = "date";
+ public static final String TIME = "time";
+ public static final String FLOAT8 = "float8";
+
+ /**
+ * Every PL/SQL block must have `BEGIN` and `END` keywords to define the block. Apart from these they could also
+ * have the following two optional keywords: `DECLARE` and `EXCEPTION`. The following regex is meant to check for
+ * the presence of any one of these keywords to indicate the usage of PL/SQL block.
+ * Please note that we convert the query into lowercase before regex match. Also, this regex would not match any
+ * of the keywords enclosed within single or double quotes e.g. 'declare' or "declare"
+ *
+ * Quoting from official Oracle documentation:
+ * " A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords partition the
+ * block into a declarative part, an executable part, and an exception-handling part. Only the executable part is
+ * required. "
+ * Ref: https://docs.oracle.com/cd/B14117_01/appdev.101/b10807/13_elems003.htm#:~:text=A%20PL%2FSQL%20block%20is,the%20executable%20part%20is%20required.
+ */
+ private static final String PLSQL_MATCH_REGEX = "(\\bdeclare\\b(\\s))|(\\bbegin\\b(\\s))|(\\bend\\b(\\s|;))|(\\bexception\\b(\\s))";
+ private static final Pattern PL_SQL_MATCH_PATTERN = Pattern.compile(PLSQL_MATCH_REGEX);
public static void closeConnectionPostExecution(ResultSet resultSet, Statement statement,
PreparedStatement preparedQuery, Connection connectionFromPool) {
@@ -75,6 +102,23 @@ public static String removeSemicolonFromQuery(String query) {
return query.replaceAll(";", "");
}
+ /**
+ * PL/SQL cmds have a block structure of the following format: DECLARE...BEGIN...EXCEPTION...END
+ * Ref: https://blogs.oracle.com/connect/post/building-with-blocks
+ *
+ * Oracle supports semicolon as a delimiter with PL/SQL syntax but not with normal SQL.
+ * Ref: https://forums.oracle.com/ords/apexds/post/why-semicolon-not-allowed-in-jdbc-oracle-0099
+ */
+ public static boolean isPLSQL(String query) {
+ /**
+ * Please don't use Java's String.matches(...) function here because it doesn't behave like normal regex
+ * match. It returns true only if the entire string matches the regex as opposed to finding a substring
+ * matching the pattern.
+ * Ref: https://stackoverflow.com/questions/8923398/regex-doesnt-work-in-string-matches
+ */
+ return PL_SQL_MATCH_PATTERN.matcher(query.toLowerCase()).find();
+ }
+
public static void populateRowsAndColumns(List<Map<String, Object>> rowsList, List<String> columnsList,
ResultSet resultSet, Boolean isResultSet, Boolean preparedStatement,
Statement statement, PreparedStatement preparedQuery) throws SQLException {
@@ -119,16 +163,15 @@ public static void populateRowsAndColumns(List<Map<String, Object>> rowsList, Li
} else if (INTERVAL_TYPE_NAME.equalsIgnoreCase(typeName)) {
value = resultSet.getObject(i).toString();
- } else {
+ } else if (resultSet.getObject(i) instanceof OracleArray) {
+ value = ((OracleArray)resultSet.getObject(i)).getArray();
+ }
+ else {
value = resultSet.getObject(i);
/**
- * Any type that JDBC does not understand gets mapped to PGobject. PGobject has
- * two attributes: type and value. Hence, when PGobject gets serialized, it gets
- * converted into a JSON like {"type":"citext", "value":"someText"}. Since we are
- * only interested in the value and not the type, it makes sense to extract out
- * the value as a string.
- * Reference: https://jdbc.postgresql.org/documentation/publicapi/org/oracleql/util/PGobject.html
+ * 'Datum' class is the root of Oracle native datatype hierarchy.
+ * Ref: https://docs.oracle.com/cd/A97329_03/web.902/q20224/oracle/sql/Datum.html
*/
if (value instanceof Datum) {
value = new String(((Datum) value).getBytes());
@@ -142,4 +185,30 @@ public static void populateRowsAndColumns(List<Map<String, Object>> rowsList, Li
}
}
}
+
+ public static String toOraclePrimitiveTypeName(DataType type) {
+ switch (type) {
+ case LONG:
+ return INT8;
+ case INTEGER:
+ return INT4;
+ case FLOAT:
+ return DECIMAL;
+ case STRING:
+ return VARCHAR;
+ case BOOLEAN:
+ return BOOL;
+ case DATE:
+ return DATE;
+ case TIME:
+ return TIME;
+ case DOUBLE:
+ return FLOAT8;
+ case ARRAY:
+ throw new IllegalArgumentException("Array of Array datatype is not supported.");
+ default:
+ throw new IllegalArgumentException(
+ "Unable to map the computed data type to primitive Postgresql type");
+ }
+ }
}
diff --git a/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleSpecificDataTypes.java b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleSpecificDataTypes.java
new file mode 100644
index 000000000000..6cbd3798660f
--- /dev/null
+++ b/app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleSpecificDataTypes.java
@@ -0,0 +1,53 @@
+package com.external.plugins.utils;
+
+import com.appsmith.external.datatypes.AppsmithType;
+import com.appsmith.external.datatypes.ArrayType;
+import com.appsmith.external.datatypes.BigDecimalType;
+import com.appsmith.external.datatypes.BooleanType;
+import com.appsmith.external.datatypes.ClientDataType;
+import com.appsmith.external.datatypes.DateType;
+import com.appsmith.external.datatypes.DoubleType;
+import com.appsmith.external.datatypes.IntegerType;
+import com.appsmith.external.datatypes.JsonObjectType;
+import com.appsmith.external.datatypes.LongType;
+import com.appsmith.external.datatypes.NullArrayType;
+import com.appsmith.external.datatypes.NullType;
+import com.appsmith.external.datatypes.StringType;
+import com.appsmith.external.datatypes.TimeType;
+import com.appsmith.external.datatypes.TimestampType;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class OracleSpecificDataTypes {
+ public final static Map<ClientDataType, List<AppsmithType>> pluginSpecificTypes = new HashMap<>();
+
+ static {
+ pluginSpecificTypes.put(ClientDataType.NULL, List.of(new NullType()));
+
+ pluginSpecificTypes.put(ClientDataType.ARRAY, List.of(new NullArrayType(), new ArrayType()));
+
+ pluginSpecificTypes.put(ClientDataType.BOOLEAN, List.of(new BooleanType()));
+
+ pluginSpecificTypes.put(ClientDataType.NUMBER, List.of(
+ new IntegerType(),
+ new LongType(),
+ new DoubleType(),
+ new BigDecimalType()
+ ));
+
+ /*
+ JsonObjectType is the preferred server-side data type when the client-side data type is of type OBJECT.
+ Fallback server-side data type for client-side OBJECT type is String.
+ */
+ pluginSpecificTypes.put(ClientDataType.OBJECT, List.of(new JsonObjectType()));
+
+ pluginSpecificTypes.put(ClientDataType.STRING, List.of(
+ new TimeType(),
+ new DateType(),
+ new TimestampType(),
+ new StringType()
+ ));
+ }
+}
|
258189cc3f51dc1fdd56f33147a93a6951c33fa2
|
2021-10-20 13:08:17
|
Rishabh Rathod
|
fix: git sync ui fixes (#8133)
| false
|
git sync ui fixes (#8133)
|
fix
|
diff --git a/app/client/src/AppRouter.tsx b/app/client/src/AppRouter.tsx
index 9849745e96cb..3f3b84eb7fac 100644
--- a/app/client/src/AppRouter.tsx
+++ b/app/client/src/AppRouter.tsx
@@ -126,6 +126,7 @@ class AppRouter extends React.Component<any, any> {
exact
path={SIGNUP_SUCCESS_URL}
/>
+
<SentryRoute component={UserProfile} exact path={PROFILE} />
<SentryRoute
component={UnsubscribeEmail}
diff --git a/app/client/src/actions/gitSyncActions.ts b/app/client/src/actions/gitSyncActions.ts
index c395db475562..5a3f05dd82fe 100644
--- a/app/client/src/actions/gitSyncActions.ts
+++ b/app/client/src/actions/gitSyncActions.ts
@@ -1,18 +1,21 @@
import { ReduxActionTypes } from "constants/ReduxActionConstants";
import { ConnectToGitPayload } from "api/GitSyncAPI";
-import { ReduxActionWithCallbacks } from "../constants/ReduxActionConstants";
+import { ReduxActionWithCallbacks } from "constants/ReduxActionConstants";
import { GitSyncModalTab, GitConfig } from "entities/GitSync";
-import { GitApplicationMetadata } from "../api/ApplicationApi";
+import { GitApplicationMetadata } from "api/ApplicationApi";
+import { GitStatusData } from "reducers/uiReducers/gitSyncReducer";
// test comment
export const setIsGitSyncModalOpen = (payload: {
isOpen: boolean;
tab?: GitSyncModalTab;
-}) => ({
- type: ReduxActionTypes.SET_IS_GIT_SYNC_MODAL_OPEN,
- payload,
-});
+}) => {
+ return {
+ type: ReduxActionTypes.SET_IS_GIT_SYNC_MODAL_OPEN,
+ payload,
+ };
+};
export const commitToRepoInit = (payload: {
commitMessage: string;
@@ -66,6 +69,16 @@ export const connectToGitSuccess = (payload: ConnectToGitResponse) => ({
payload,
});
+export const disconnectToGitInit = () => ({
+ type: ReduxActionTypes.DISCONNECT_TO_GIT_INIT,
+ payload: null,
+});
+
+export const disconnectToGitSuccess = (payload: unknown) => ({
+ type: ReduxActionTypes.DISCONNECT_TO_GIT_SUCCESS,
+ payload,
+});
+
export const switchGitBranchInit = (branch: string) => ({
type: ReduxActionTypes.SWITCH_GIT_BRANCH_INIT,
payload: branch,
@@ -151,6 +164,16 @@ export const fetchLocalGitConfigSuccess = (payload: GitConfig) => ({
payload,
});
+export const fetchGitStatusInit = () => ({
+ type: ReduxActionTypes.FETCH_GIT_STATUS_INIT,
+ payload: null,
+});
+
+export const fetchGitStatusSuccess = (payload: GitStatusData) => ({
+ type: ReduxActionTypes.FETCH_GIT_STATUS_SUCCESS,
+ payload,
+});
+
export const updateBranchLocally = (payload: string) => ({
type: ReduxActionTypes.UPDATE_BRANCH_LOCALLY,
payload,
diff --git a/app/client/src/api/ApplicationApi.tsx b/app/client/src/api/ApplicationApi.tsx
index 22a10a2eafa1..c58890d7c531 100644
--- a/app/client/src/api/ApplicationApi.tsx
+++ b/app/client/src/api/ApplicationApi.tsx
@@ -24,12 +24,13 @@ export interface ApplicationPagePayload {
isDefault: boolean;
}
-export type GitApplicationMetadata = {
- branchName?: string;
- remoteUrl?: string;
- repoName?: string;
- applicationId: string;
-};
+export type GitApplicationMetadata =
+ | {
+ branchName: string;
+ remoteUrl: string;
+ repoName: string;
+ }
+ | undefined;
export interface ApplicationResponsePayload {
id: string;
@@ -39,7 +40,7 @@ export interface ApplicationResponsePayload {
appIsExample: boolean;
appLayout?: AppLayoutConfig;
unreadCommentThreads?: number;
- gitApplicationMetadata?: GitApplicationMetadata;
+ gitApplicationMetadata: GitApplicationMetadata;
}
export interface FetchApplicationResponse extends ApiResponse {
diff --git a/app/client/src/api/GitSyncAPI.tsx b/app/client/src/api/GitSyncAPI.tsx
index 224adf77fe16..ea237eebeea5 100644
--- a/app/client/src/api/GitSyncAPI.tsx
+++ b/app/client/src/api/GitSyncAPI.tsx
@@ -7,10 +7,12 @@ export type CommitPayload = {
applicationId: string;
commitMessage: string;
doPush: boolean;
+ branch: string;
};
export type PushToGitPayload = {
applicationId: string;
+ branch: string;
};
export type ConnectToGitPayload = {
@@ -23,34 +25,52 @@ export type ConnectToGitPayload = {
isDefaultProfile?: boolean;
};
+type GitStatusParam = {
+ applicationId: string;
+ branch: string;
+};
+
class GitSyncAPI extends Api {
static baseURL = `/v1/git`;
static commit({
applicationId,
+ branch,
commitMessage,
doPush,
}: CommitPayload): AxiosPromise<ApiResponse> {
- return Api.post(`${GitSyncAPI.baseURL}/commit/${applicationId}`, {
- commitMessage,
- doPush,
- });
+ return Api.post(
+ `${GitSyncAPI.baseURL}/commit/${applicationId}?branchName=${branch}`,
+ {
+ commitMessage,
+ doPush,
+ },
+ );
}
- static push({ applicationId }: PushToGitPayload): AxiosPromise<ApiResponse> {
- return Api.post(`${GitSyncAPI.baseURL}/push/${applicationId}`);
+ static push({
+ applicationId,
+ branch,
+ }: PushToGitPayload): AxiosPromise<ApiResponse> {
+ return Api.post(
+ `${GitSyncAPI.baseURL}/push/${applicationId}?branchName=${branch}`,
+ );
}
static connect(payload: ConnectToGitPayload, applicationId: string) {
return Api.post(`${GitSyncAPI.baseURL}/connect/${applicationId}`, payload);
}
+ static disconnect(applicationId: string) {
+ return Api.post(`${GitSyncAPI.baseURL}/disconnect/${applicationId}`);
+ }
+
static getGlobalConfig() {
- return Api.get(`${GitSyncAPI.baseURL}/config`);
+ return Api.get(`${GitSyncAPI.baseURL}/profile/default`);
}
static setGlobalConfig(payload: GitConfig) {
- return Api.post(`${GitSyncAPI.baseURL}/config/save`, payload);
+ return Api.post(`${GitSyncAPI.baseURL}/profile/default`, payload);
}
static fetchBranches(applicationId: string) {
@@ -70,11 +90,17 @@ class GitSyncAPI extends Api {
}
static getLocalConfig(applicationId: string) {
- return Api.get(`${GitSyncAPI.baseURL}/config/${applicationId}`);
+ return Api.get(`${GitSyncAPI.baseURL}/profile/${applicationId}`);
}
static setLocalConfig(payload: GitConfig, applicationId: string) {
- return Api.put(`${GitSyncAPI.baseURL}/config/${applicationId}`, payload);
+ return Api.put(`${GitSyncAPI.baseURL}/profile/${applicationId}`, payload);
+ }
+
+ static getGitStatus({ applicationId, branch }: GitStatusParam) {
+ return Api.get(
+ `${GitSyncAPI.baseURL}/status/${applicationId}?branchName=${branch}`,
+ );
}
}
diff --git a/app/client/src/assets/icons/ads/arrow-right-line.svg b/app/client/src/assets/icons/ads/arrow-right-line.svg
new file mode 100644
index 000000000000..cfa40bd5262a
--- /dev/null
+++ b/app/client/src/assets/icons/ads/arrow-right-line.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M10.7826 7.33507L7.20663 3.75907L8.1493 2.81641L13.3346 8.00174L8.1493 13.1871L7.20663 12.2444L10.7826 8.66841H2.66797V7.33507H10.7826Z" fill="#858282"/>
+</svg>
diff --git a/app/client/src/assets/icons/ads/link_2.svg b/app/client/src/assets/icons/ads/link_2.svg
deleted file mode 100644
index 5829219f7ad6..000000000000
--- a/app/client/src/assets/icons/ads/link_2.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M17.6574 15.3502L16.2434 13.9362L17.6574 12.5222C18.0288 12.1508 18.3235 11.7098 18.5245 11.2245C18.7255 10.7392 18.829 10.219 18.829 9.69374C18.829 9.16844 18.7255 8.64828 18.5245 8.16297C18.3235 7.67765 18.0288 7.23668 17.6574 6.86524C17.2859 6.4938 16.845 6.19915 16.3597 5.99813C15.8743 5.7971 15.3542 5.69364 14.8289 5.69364C14.3036 5.69364 13.7834 5.7971 13.2981 5.99813C12.8128 6.19915 12.3718 6.4938 12.0004 6.86524L10.5864 8.27924L9.17239 6.86524L10.5864 5.45124C11.7147 4.34116 13.2359 3.7219 14.8188 3.72834C16.4016 3.73479 17.9177 4.36642 19.037 5.48565C20.1562 6.60488 20.7878 8.12104 20.7943 9.70386C20.8007 11.2867 20.1815 12.8079 19.0714 13.9362L17.6574 15.3502ZM14.8284 18.1792L13.4144 19.5932C12.8589 20.1578 12.1971 20.6069 11.4673 20.9144C10.7374 21.222 9.95381 21.382 9.16177 21.3852C8.36974 21.3885 7.5849 21.2348 6.85253 20.9332C6.12016 20.6316 5.45476 20.188 4.8947 19.6279C4.33464 19.0679 3.89101 18.4025 3.5894 17.6701C3.28779 16.9377 3.13416 16.1529 3.13739 15.3609C3.14061 14.5688 3.30062 13.7853 3.60819 13.0554C3.91576 12.3255 4.36479 11.6637 4.92939 11.1082L6.34339 9.69424L7.75739 11.1082L6.34339 12.5222C5.97195 12.8937 5.6773 13.3347 5.47628 13.82C5.27525 14.3053 5.17179 14.8254 5.17179 15.3507C5.17179 15.876 5.27525 16.3962 5.47628 16.8815C5.6773 17.3668 5.97195 17.8078 6.34339 18.1792C6.71483 18.5507 7.1558 18.8453 7.64112 19.0464C8.12643 19.2474 8.64659 19.3508 9.17189 19.3508C9.69719 19.3508 10.2173 19.2474 10.7027 19.0464C11.188 18.8453 11.6289 18.5507 12.0004 18.1792L13.4144 16.7652L14.8284 18.1792ZM14.8284 8.27924L16.2434 9.69424L9.17239 16.7642L7.75739 15.3502L14.8284 8.28024V8.27924ZM5.77539 2.81524L7.70739 2.29724L8.74239 6.16224L6.81139 6.68024L5.77539 2.81624V2.81524ZM15.2584 18.8832L17.1894 18.3652L18.2254 22.2292L16.2934 22.7472L15.2584 18.8832ZM2.29339 6.29724L6.15739 7.33324L5.63939 9.26424L1.77539 8.22924L2.29339 6.29724ZM18.3614 15.7802L22.2254 16.8152L21.7074 18.7472L17.8434 17.7112L18.3614 15.7802Z" fill="#858282"/>
-</svg>
diff --git a/app/client/src/components/ads/Checkbox.tsx b/app/client/src/components/ads/Checkbox.tsx
index f8722c0e7b27..e6e000d1c21f 100644
--- a/app/client/src/components/ads/Checkbox.tsx
+++ b/app/client/src/components/ads/Checkbox.tsx
@@ -10,6 +10,7 @@ export type CheckboxProps = CommonComponentProps & {
onCheckChange?: (isChecked: boolean) => void;
info?: string;
backgroundColor?: string;
+ fill?: boolean;
};
const Checkmark = styled.span<{
@@ -61,10 +62,11 @@ const Checkmark = styled.span<{
const StyledCheckbox = styled.label<{
disabled?: boolean;
+ $fill?: boolean;
}>`
position: relative;
display: block;
- width: 100%;
+ width: ${(props) => (props.$fill ? "100%" : "unset")};
cursor: ${(props) => (props.disabled ? "not-allowed" : "pointer")};
color: ${(props) => props.theme.colors.checkbox.labelColor};
padding-left: ${(props) => props.theme.spaces[12] - 2}px;
@@ -113,6 +115,7 @@ const useUpdate = (intitialValue?: boolean) => {
};
function Checkbox(props: CheckboxProps) {
+ const { fill = true } = props;
const [checked, setChecked] = useUpdate(props.isDefaultChecked);
const onChangeHandler = (checked: boolean) => {
@@ -121,7 +124,11 @@ function Checkbox(props: CheckboxProps) {
};
return (
- <StyledCheckbox data-cy={props.cypressSelector} disabled={props.disabled}>
+ <StyledCheckbox
+ $fill={fill}
+ data-cy={props.cypressSelector}
+ disabled={props.disabled}
+ >
<LabelContainer info={props.info}>
<Text type={TextType.P1}>{props.label}</Text>
{props.info ? <Text type={TextType.P3}>{props.info}</Text> : null}
diff --git a/app/client/src/components/ads/Icon.tsx b/app/client/src/components/ads/Icon.tsx
index d1e115c77fd6..ea2e8cf0a918 100644
--- a/app/client/src/components/ads/Icon.tsx
+++ b/app/client/src/components/ads/Icon.tsx
@@ -129,6 +129,7 @@ export enum IconSize {
XL = "extraLarge",
XXL = "extraExtraLarge",
XXXL = "extraExtraExtraLarge",
+ XXXXL = "extraExtraExtraExtraLarge",
}
export const sizeHandler = (size?: IconSize) => {
@@ -158,6 +159,9 @@ export const sizeHandler = (size?: IconSize) => {
case IconSize.XXXL:
iconSize = theme.iconSizes.XXXL;
break;
+ case IconSize.XXXXL:
+ iconSize = theme.iconSizes.XXXXL;
+ break;
default:
iconSize = theme.iconSizes.SMALL;
break;
diff --git a/app/client/src/components/ads/Text.tsx b/app/client/src/components/ads/Text.tsx
index 050d8feec7e0..735408f014c9 100644
--- a/app/client/src/components/ads/Text.tsx
+++ b/app/client/src/components/ads/Text.tsx
@@ -34,6 +34,7 @@ export type TextProps = CommonComponentProps & {
weight?: FontWeight;
highlight?: boolean;
textAlign?: string;
+ color?: string;
};
const typeSelector = (props: TextProps & ThemeProp): string => {
@@ -72,7 +73,11 @@ const Text = styled.span.attrs((props: TextProps) => ({
letter-spacing: ${(props) =>
props.theme.typography[props.type].letterSpacing}px;
color: ${(props) =>
- props.highlight ? props.theme.colors.text.highlight : typeSelector(props)};
+ props.highlight
+ ? props.theme.colors.text.highlight
+ : props.color
+ ? props.color
+ : typeSelector(props)};
text-transform: ${(props) => (props.case ? props.case : "none")};
text-align: ${(props) => (props.textAlign ? props.textAlign : "normal")};
`;
diff --git a/app/client/src/components/ads/TextInput.tsx b/app/client/src/components/ads/TextInput.tsx
index 35f0b9afe2cd..e8761540827f 100644
--- a/app/client/src/components/ads/TextInput.tsx
+++ b/app/client/src/components/ads/TextInput.tsx
@@ -8,6 +8,7 @@ import React, {
useState,
} from "react";
import { Classes, CommonComponentProps, hexToRgba } from "./common";
+import { Classes as BlueprintClasses } from "@blueprintjs/core";
import styled, { withTheme } from "styled-components";
import Text, { TextType } from "./Text";
import {
@@ -20,6 +21,8 @@ import Icon, { IconCollection, IconName, IconSize } from "./Icon";
import { AsyncControllableInput } from "@blueprintjs/core/lib/esm/components/forms/asyncControllableInput";
import _ from "lodash";
+export type InputType = "text" | "password" | "number" | "email" | "tel";
+
export type Validator = (
value: string,
) => {
@@ -66,6 +69,7 @@ export type TextInputProps = CommonComponentProps & {
noCaret?: boolean;
onBlur?: EventHandler<FocusEvent<any>>;
onFocus?: EventHandler<FocusEvent<any>>;
+ errorMsg?: string;
};
type boxReturnType = {
@@ -101,6 +105,24 @@ const boxStyles = (
return { bgColor, color, borderColor };
};
+const InputLoader = styled.div<{
+ $value?: string;
+ $noBorder?: boolean;
+ $isFocused?: boolean;
+ $isLoading?: boolean;
+ $height?: string;
+}>`
+ display: ${(props) => (props.$isLoading ? "static" : "none")};
+ border-radius: 0;
+ width: ${(props) =>
+ props.$value && !props.$noBorder && props.$isFocused
+ ? "calc(100% - 50px)"
+ : "100%"};
+
+ height: ${(props) => props.$height || "36px"};
+ border-radius: 0;
+`;
+
const StyledInput = styled((props) => {
// we are removing non input related props before passing them in the components
// eslint-disable @typescript-eslint/no-unused-vars
@@ -121,6 +143,7 @@ const StyledInput = styled((props) => {
"isLoading",
"noCaret",
"fill",
+ "errorMsg",
];
return props.asyncControl ? (
@@ -138,9 +161,11 @@ const StyledInput = styled((props) => {
isValid: boolean;
rightSideComponentWidth: number;
hasLeftIcon: boolean;
+ $isLoading?: boolean;
}
>`
- ${(props) => (props.noCaret ? "caret-color: white;" : null)}
+ display: ${(props) => (props.$isLoading ? "none" : "static")};
+ ${(props) => (props.noCaret ? "caret-color: white;" : null)};
color: ${(props) => props.inputStyle.color};
width: ${(props) =>
props.value && !props.noBorder && props.isFocused
@@ -178,11 +203,13 @@ const InputWrapper = styled.div<{
inputStyle: boxReturnType;
isValid?: boolean;
disabled?: boolean;
+ $isLoading?: boolean;
}>`
position: relative;
display: flex;
align-items: center;
- padding: 0px ${(props) => props.theme.spaces[6]}px;
+ padding: ${(props) =>
+ props.$isLoading ? 0 : `0px ${props.theme.spaces[6]}px`};
width: ${(props) =>
props.fill ? "100%" : props.width ? props.width : "260px"};
height: ${(props) => props.height || "36px"};
@@ -244,20 +271,22 @@ const IconWrapper = styled.div`
margin-right: ${(props) => props.theme.spaces[5]}px;
}
`;
+
+const initialValidation = (props: TextInputProps) => {
+ let validationObj = { isValid: true, message: "" };
+ if (props.defaultValue && props.validator) {
+ validationObj = props.validator(props.defaultValue);
+ }
+ return validationObj;
+};
+
const TextInput = forwardRef(
(props: TextInputProps, ref: Ref<HTMLInputElement>) => {
- const initialValidation = () => {
- let validationObj = { isValid: true, message: "" };
- if (props.defaultValue && props.validator) {
- validationObj = props.validator(props.defaultValue);
- }
- return validationObj;
- };
-
+ //
const [validation, setValidation] = useState<{
isValid: boolean;
message: string;
- }>(initialValidation());
+ }>(initialValidation(props));
const [rightSideComponentWidth, setRightSideComponentWidth] = useState(0);
const [isFocused, setIsFocused] = useState(false);
@@ -277,24 +306,42 @@ const TextInput = forwardRef(
const memoizedChangeHandler = useCallback(
(el) => {
- const inputValue = el.target.value.trim();
+ const inputValue: string = el.target.value.trim();
setInputValue(inputValue);
- const validation = props.validator && props.validator(inputValue);
- if (validation) {
+ const inputValueValidation =
+ props.validator && props.validator(inputValue);
+ if (inputValueValidation) {
props.validator && setValidation(validation);
return (
- validation.isValid && props.onChange && props.onChange(inputValue)
+ inputValueValidation.isValid &&
+ props.onChange &&
+ props.onChange(inputValue)
);
} else {
return props.onChange && props.onChange(inputValue);
}
},
- [props],
+ [props.onChange, setValidation],
);
+ const onBlurHandler = useCallback(
+ (e: React.FocusEvent<any>) => {
+ setIsFocused(false);
+ if (props.onBlur) props.onBlur(e);
+ },
+ [setIsFocused, props.onBlur],
+ );
+
+ const onFocusHandler = useCallback((e: React.FocusEvent<any>) => {
+ setIsFocused(true);
+ if (props.onFocus) props.onFocus(e);
+ }, []);
+
const ErrorMessage = (
<MsgWrapper>
- <Text type={TextType.P3}>{validation.message}</Text>
+ <Text type={TextType.P3}>
+ {props.errorMsg ? props.errorMsg : validation.message}
+ </Text>
</MsgWrapper>
);
@@ -303,6 +350,7 @@ const TextInput = forwardRef(
<Text type={TextType.P3}>* {props.helperText}</Text>
</MsgWrapper>
);
+
const iconColor = !validation.isValid
? props.theme.colors.danger.main
: props.theme.colors.textInput.icon;
@@ -310,8 +358,10 @@ const TextInput = forwardRef(
const hasLeftIcon = props.leftIcon
? IconCollection.includes(props.leftIcon)
: false;
+
return (
<InputWrapper
+ $isLoading={props.isLoading}
disabled={props.disabled}
fill={props.fill ? 1 : 0}
height={props.height || undefined}
@@ -331,7 +381,18 @@ const TextInput = forwardRef(
/>
</IconWrapper>
)}
+
+ <InputLoader
+ $height={props.height}
+ $isFocused={isFocused}
+ $isLoading={props.isLoading}
+ $noBorder={props.noBorder}
+ $value={props.value}
+ className={BlueprintClasses.SKELETON}
+ />
+
<StyledInput
+ $isLoading={props.isLoading}
autoFocus={props.autoFocus}
defaultValue={props.defaultValue}
inputStyle={inputStyle}
@@ -342,15 +403,9 @@ const TextInput = forwardRef(
data-cy={props.cypressSelector}
hasLeftIcon={hasLeftIcon}
inputRef={ref}
- onBlur={(e: React.FocusEvent<any>) => {
- setIsFocused(false);
- if (props.onBlur) props.onBlur(e);
- }}
+ onBlur={onBlurHandler}
onChange={memoizedChangeHandler}
- onFocus={(e: React.FocusEvent<any>) => {
- setIsFocused(true);
- if (props.onFocus) props.onFocus(e);
- }}
+ onFocus={onFocusHandler}
placeholder={props.placeholder}
readOnly={props.readOnly}
rightSideComponentWidth={rightSideComponentWidth}
@@ -371,5 +426,3 @@ const TextInput = forwardRef(
TextInput.displayName = "TextInput";
export default withTheme(TextInput);
-
-export type InputType = "text" | "password" | "number" | "email" | "tel";
diff --git a/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx b/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx
index 47696ec88b8b..593d6c3cc932 100644
--- a/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx
+++ b/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx
@@ -2,34 +2,63 @@ import React, { ReactNode, useState } from "react";
import styled, { withTheme } from "styled-components";
import { Icon, Popover, PopoverPosition } from "@blueprintjs/core";
import { Theme } from "constants/DefaultTheme";
+import { useSelector, useDispatch } from "react-redux";
+import { getIsGitConnected } from "../../../../selectors/gitSyncSelectors";
+import getFeatureFlags from "utils/featureFlags";
+import { setIsGitSyncModalOpen } from "actions/gitSyncActions";
+import { GitSyncModalTab } from "entities/GitSync";
+import { Colors } from "constants/Colors";
+
+import { ReactComponent as GitBranch } from "assets/icons/ads/git-branch.svg";
const DeployLinkDialog = styled.div`
+ flex-direction: column;
display: flex;
align-items: center;
- padding: 10px;
+ /* padding: 10px; */
background-color: ${(props) =>
props.theme.colors.header.deployToolTipBackground};
- flex-direction: row;
`;
const DeployLink = styled.a`
display: flex;
+ height: 36px;
+
+ width: 100%;
+ justify-content: center;
+ align-items: center;
cursor: pointer;
text-decoration: none;
- color: ${(props) => props.theme.colors.header.deployToolTipText};
+ color: ${Colors.GREY_10};
+ background-color: ${Colors.GREY_1};
+ margin: 0 5px;
:hover {
- text-decoration: underline;
+ text-decoration: none;
color: ${(props) => props.theme.colors.header.deployToolTipText};
+ background-color: ${Colors.GREY_2};
}
`;
const DeployUrl = styled.div`
flex: 1;
- font-size: 12px;
+ font-size: 14px;
+ color: ${Colors.GREY_10};
+ font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- margin: 0 5px;
+`;
+
+const GitBranchIcon = styled(GitBranch)`
+ & path {
+ fill: ${Colors.GREY_10};
+ }
+`;
+
+const IconWrapper = styled.div`
+ display: flex;
+ width: 30px;
+ justify-content: center;
`;
type Props = {
@@ -40,22 +69,46 @@ type Props = {
export const DeployLinkButton = withTheme((props: Props) => {
const [isOpen, setIsOpen] = useState(false);
+ const dispatch = useDispatch();
+
+ const isGitConnected = useSelector(getIsGitConnected);
const onClose = () => {
setIsOpen(false);
};
+ const goToGitConnectionPopup = () => {
+ setIsOpen(false);
+ dispatch(
+ setIsGitSyncModalOpen({
+ isOpen: true,
+ tab: GitSyncModalTab.GIT_CONNECTION,
+ }),
+ );
+ };
+
return (
<Popover
canEscapeKeyClose={false}
content={
<DeployLinkDialog>
- <DeployLink href={props.link} target="_blank">
+ {getFeatureFlags().GIT && !isGitConnected && (
+ <DeployLink onClick={goToGitConnectionPopup}>
+ <IconWrapper>
+ <GitBranchIcon />
+ </IconWrapper>
+ <DeployUrl>Connect to Git Repository</DeployUrl>
+ </DeployLink>
+ )}
+
+ <DeployLink href={props.link} onClick={onClose} target="_blank">
+ <IconWrapper>
+ <Icon
+ color={props.theme.colors.header.deployToolTipText}
+ icon="share"
+ />
+ </IconWrapper>
<DeployUrl>Current deployed version</DeployUrl>
- <Icon
- color={props.theme.colors.header.deployToolTipText}
- icon="share"
- />
</DeployLink>
</DeployLinkDialog>
}
diff --git a/app/client/src/constants/Colors.tsx b/app/client/src/constants/Colors.tsx
index 8afe5ba921c8..9e617f670768 100644
--- a/app/client/src/constants/Colors.tsx
+++ b/app/client/src/constants/Colors.tsx
@@ -135,6 +135,7 @@ export const Colors = {
GREY_2: "#F0F0F0",
GREY_3: "#EBEBEB",
GREY_5: "#E0DEDE",
+ GREY_7: "#858282",
GREY_8: "#716E6E",
GREY_9: "#4B4848",
GREY_10: "#090707",
diff --git a/app/client/src/constants/DefaultTheme.tsx b/app/client/src/constants/DefaultTheme.tsx
index a193217701da..347e53eef609 100644
--- a/app/client/src/constants/DefaultTheme.tsx
+++ b/app/client/src/constants/DefaultTheme.tsx
@@ -322,6 +322,20 @@ export const BlueprintInputTransform = css`
}
`;
+const iconSizes = {
+ XXS: 8,
+ XS: 10,
+ SMALL: 12,
+ MEDIUM: 14,
+ LARGE: 15,
+ XL: 16,
+ XXL: 18,
+ XXXL: 20,
+ XXXXL: 22,
+};
+
+type IconSizeType = typeof iconSizes;
+
export type ThemeBorder = {
thickness: number;
style: "dashed" | "solid";
@@ -468,17 +482,6 @@ export type Theme = {
};
};
-type IconSizeType = {
- XXS: number;
- XS: number;
- SMALL: number;
- MEDIUM: number;
- LARGE: number;
- XL: number;
- XXL: number;
- XXXL: number;
-};
-
export const getColorWithOpacity = (color: Color, opacity: number) => {
color = color.slice(1);
const val = parseInt(color, 16);
@@ -1259,10 +1262,7 @@ type ColorType = {
numberedStep: {
line: string;
};
- gitSyncModal: {
- menuBackgroundColor: string;
- separator: string;
- };
+ gitSyncModal: GitSyncModalColors;
editorBottomBar: {
background: string;
buttonBackgroundHover: string;
@@ -1286,7 +1286,9 @@ const editorBottomBar = {
const gitSyncModal = {
menuBackgroundColor: Colors.ALABASTER_ALT,
separator: Colors.ALTO2,
+ closeIcon: "rgba(29, 28, 29, 0.7);",
};
+type GitSyncModalColors = typeof gitSyncModal;
const tabItemBackgroundFill = {
highlightBackground: Colors.Gallery,
@@ -1383,7 +1385,7 @@ const comments = {
activeModeIconCircleStroke: "#090707",
};
-const auth: any = {
+const auth = {
background: lightShades[11],
cardBackground: lightShades[0],
btnPrimary: Colors.CRUSTA,
@@ -2746,16 +2748,7 @@ export const theme: Theme = {
spaces: [0, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 30, 36, 38, 40, 42, 44],
fontWeights: [0, 400, 500, 700],
typography: typography,
- iconSizes: {
- XXS: 8,
- XS: 10,
- SMALL: 12,
- MEDIUM: 14,
- LARGE: 15,
- XL: 16,
- XXL: 18,
- XXXL: 20,
- },
+ iconSizes: iconSizes,
propertyPane: {
width: 270,
titleHeight: 40,
diff --git a/app/client/src/constants/ReduxActionConstants.tsx b/app/client/src/constants/ReduxActionConstants.tsx
index aef40d3d375c..578d0e0356db 100644
--- a/app/client/src/constants/ReduxActionConstants.tsx
+++ b/app/client/src/constants/ReduxActionConstants.tsx
@@ -11,6 +11,8 @@ export const ReduxSagaChannels = {
};
export const ReduxActionTypes = {
+ FETCH_GIT_STATUS_INIT: "FETCH_GIT_STATUS_INIT",
+ FETCH_GIT_STATUS_SUCCESS: "FETCH_GIT_STATUS_SUCCESS",
UPDATE_BRANCH_LOCALLY: "UPDATE_BRANCH_LOCALLY",
FETCH_BRANCHES_INIT: "FETCH_BRANCHES_INIT",
FETCH_BRANCHES_SUCCESS: "FETCH_BRANCHES_SUCCESS",
@@ -29,8 +31,13 @@ export const ReduxActionTypes = {
UPDATE_LOCAL_GIT_CONFIG_SUCCESS: "UPDATE_LOCAL_GIT_CONFIG_SUCCESS",
SHOW_CREATE_GIT_BRANCH_POPUP: "SHOW_CREATE_GIT_BRANCH_POPUP",
SHOW_ERROR_POPUP: "SHOW_ERROR_POPUP",
+
CONNECT_TO_GIT_INIT: "CONNECT_TO_GIT_INIT",
CONNECT_TO_GIT_SUCCESS: "CONNECT_TO_GIT_SUCCESS",
+
+ DISCONNECT_TO_GIT_INIT: "DISCONNECT_TO_GIT_INIT",
+ DISCONNECT_TO_GIT_SUCCESS: "DISCONNECT_TO_GIT_SUCCESS",
+
CREATE_NEW_BRANCH_INIT: "CREATE_NEW_BRANCH_INIT",
SWITCH_GIT_BRANCH_INIT: "SWITCH_GIT_BRANCH_INIT",
COMMIT_TO_GIT_REPO_INIT: "COMMIT_TO_GIT_REPO_INIT",
@@ -613,6 +620,7 @@ export const ReduxActionTypes = {
export type ReduxActionType = typeof ReduxActionTypes[keyof typeof ReduxActionTypes];
export const ReduxActionErrorTypes = {
+ FETCH_GIT_STATUS_ERROR: "FETCH_GIT_STATUS_ERROR",
CREATE_NEW_BRANCH_ERROR: "CREATE_NEW_BRANCH_ERROR",
CHECKOUT_BRANCH_ERROR: "CHECKOUT_BRANCH_ERROR",
FETCH_BRANCHES_ERROR: "FETCH_BRANCHES_ERROR",
@@ -623,6 +631,7 @@ export const ReduxActionErrorTypes = {
UPDATE_GLOBAL_GIT_CONFIG_ERROR: "UPDATE_GLOBAL_GIT_CONFIG_ERROR",
FETCH_GLOBAL_GIT_CONFIG_ERROR: "FETCH_GLOBAL_GIT_CONFIG_ERROR",
CONNECT_TO_GIT_ERROR: "CONNECT_TO_GIT_ERROR",
+ DISCONNECT_TO_GIT_ERROR: "DISCONNECT_TO_GIT_ERROR",
COMMIT_TO_GIT_REPO_ERROR: "COMMIT_TO_GIT_REPO_ERROR",
FETCH_FEATURE_FLAGS_ERROR: "FETCH_FEATURE_FLAGS_ERROR",
FETCH_NOTIFICATIONS_ERROR: "FETCH_NOTIFICATIONS_ERROR",
diff --git a/app/client/src/constants/messages.ts b/app/client/src/constants/messages.ts
index 76570cbce514..084c31af3823 100644
--- a/app/client/src/constants/messages.ts
+++ b/app/client/src/constants/messages.ts
@@ -524,12 +524,24 @@ export const SNIPPET_EXECUTE = () => `Hit ⏎ to run`;
export const APPLY_SEARCH_CATEGORY = () => `⏎ Jump`;
// Git sync
-export const GIT_CONNECTION = () => "Git connection";
+
+export const GIT_DISCONNECT_POPUP_TITLE = () =>
+ `This will disconnect the git repository from this application`;
+
+export const GIT_DISCONNECT_POPUP_SUBTITLE = () =>
+ `Git features will no more be shown for this application`;
+export const GIT_DISCONNECT_POPUP_MAIN_HEADING = () => `Are you sure ?`;
+
+export const GIT_CONNECTION = () => "Git Connection";
export const DEPLOY = () => "Deploy";
export const MERGE = () => "Merge";
export const CONNECT_TO_GIT = () => "Connect to git repository";
export const CONNECT_TO_GIT_SUBTITLE = () =>
- "Checkout branches, make commits, add deploy your application";
+ "Checkout branches, Make commits, add deploy your application";
+export const REMOTE_URL = () => "Remote URL";
+export const REMOTE_URL_INFO = () =>
+ `Create an empty git repository and paste the remote URL`;
+"Checkout branches, make commits, add deploy your application";
export const REMOTE_URL_VIA = () => "Remote URL via";
export const USER_PROFILE_SETTINGS_TITLE = () => "User settings";
@@ -565,7 +577,7 @@ export const COMMITTED_AND_PUSHED_SUCCESSFULLY = () =>
export const COMMITTED_SUCCESSFULLY = () => "Committed successfully";
export const DEPLOY_KEY_TITLE = () => "Deployed Key";
export const DEPLOY_KEY_USAGE_GUIDE_MESSAGE = () =>
- "Copy this deploy key to your Git Repository setting.";
+ "Paste this key in your repository settings and give it write access.";
export const MERGE_CHANGES = () => "Merge Changes";
export const SELECT_BRANCH_TO_MERGE = () => "Select branch to merge";
@@ -576,6 +588,7 @@ export const ERROR_WHILE_PULLING_CHANGES = () => "ERROR WHILE PULLING CHANGES";
export const SUBMIT = () => "SUBMIT";
export const GIT_USER_UPDATED_SUCCESSFULLY = () =>
"Git user updated successfully";
+export const REMOTE_URL_INPUT_PLACEHOLDER = () => "Paste Your URL here";
// JS Snippets
export const SNIPPET_DESCRIPTION = () =>
@@ -765,6 +778,12 @@ export const CLEAR_LOG_TOOLTIP = () => "Clear logs";
export const ADD_JS_ACTION = () => "Add a new JS Object";
export const ENTITY_MORE_ACTIONS_TOOLTIP = () => "More actions";
export const NOTIFICATIONS_TOOLTIP = () => "Notifications";
+
+// Navigation Menu
+export const DEPLOY_MENU_OPTION = () => "Deploy";
+export const CURRENT_DEPLOY_PREVIEW_OPTION = () => "Current Deployed Version";
+export const CONNECT_TO_GIT_OPTION = () => "Connect to Git Repository";
+//
export const GO_TO_PAGE = () => "Go to page";
export const DEFAULT_PAGE_TOOLTIP = () => "Default page";
export const HIDDEN_TOOLTIP = () => "Hidden";
diff --git a/app/client/src/constants/routes.ts b/app/client/src/constants/routes.ts
index 1f84e1ef5bf0..2530ae627cab 100644
--- a/app/client/src/constants/routes.ts
+++ b/app/client/src/constants/routes.ts
@@ -10,6 +10,8 @@ export const APPLICATIONS_URL = `/applications`;
export const USER_AUTH_URL = "/user";
export const PROFILE = "/profile";
+
+export const GIT_PROFILE_ROUTE = `${PROFILE}/git`;
export const USERS_URL = "/users";
export const UNSUBSCRIBE_EMAIL_URL = "/unsubscribe/discussion/:threadId";
export const SETUP = "/setup/welcome";
diff --git a/app/client/src/constants/typography.ts b/app/client/src/constants/typography.ts
index 3154cca86b3f..bf7a1a0b1d0c 100644
--- a/app/client/src/constants/typography.ts
+++ b/app/client/src/constants/typography.ts
@@ -35,6 +35,12 @@ export const typography = {
letterSpacing: 0.8,
fontWeight: 500,
},
+ p0: {
+ fontSize: 16,
+ lineHeight: 20,
+ letterSpacing: -0.24,
+ fontWeight: 500,
+ },
p1: {
fontSize: 14,
lineHeight: 19,
diff --git a/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts b/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
index f96ee8d201f8..d3640c65a600 100644
--- a/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
+++ b/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
@@ -23,6 +23,16 @@ import {
} from "../../Applications/permissionHelpers";
import { getCurrentApplication } from "selectors/applicationSelectors";
import { Colors } from "constants/Colors";
+import getFeatureFlags from "utils/featureFlags";
+import { setIsGitSyncModalOpen } from "actions/gitSyncActions";
+import { GitSyncModalTab } from "entities/GitSync";
+import { getIsGitConnected } from "selectors/gitSyncSelectors";
+import {
+ createMessage,
+ DEPLOY_MENU_OPTION,
+ CONNECT_TO_GIT_OPTION,
+ CURRENT_DEPLOY_PREVIEW_OPTION,
+} from "constants/messages";
import { getCurrentApplicationId } from "selectors/editorSelectors";
type NavigationMenuDataProps = ThemeProp & {
@@ -37,10 +47,21 @@ export const GetNavigationMenuData = ({
editMode,
}: NavigationMenuDataProps): MenuItemData[] => {
const dispatch = useDispatch();
+
const isHideComments = useHideComments();
const history = useHistory();
const params = useParams<ExplorerURLParams>();
+ const isGitConnected = useSelector(getIsGitConnected);
+
+ const openGitConnectionPopup = () =>
+ dispatch(
+ setIsGitSyncModalOpen({
+ isOpen: true,
+ tab: GitSyncModalTab.GIT_CONNECTION,
+ }),
+ );
+
const applicationId = useSelector(getCurrentApplicationId);
const isApplicationIdPresent = !!(applicationId && applicationId.length > 0);
@@ -73,6 +94,33 @@ export const GetNavigationMenuData = ({
}
};
+ const deployOptions = [
+ {
+ text: createMessage(DEPLOY_MENU_OPTION),
+ onClick: deploy,
+ type: MenuTypes.MENU,
+ isVisible: true,
+ isOpensNewWindow: true,
+ },
+ {
+ text: createMessage(CURRENT_DEPLOY_PREVIEW_OPTION),
+ onClick: () => openExternalLink(currentDeployLink),
+ type: MenuTypes.MENU,
+ isVisible: true,
+ isOpensNewWindow: true,
+ },
+ ];
+
+ if (getFeatureFlags().GIT && !isGitConnected) {
+ deployOptions.push({
+ text: createMessage(CONNECT_TO_GIT_OPTION),
+ onClick: () => openGitConnectionPopup(),
+ type: MenuTypes.MENU,
+ isVisible: true,
+ isOpensNewWindow: false,
+ });
+ }
+
return [
{
text: "Rename",
@@ -113,22 +161,7 @@ export const GetNavigationMenuData = ({
text: "Deploy",
type: MenuTypes.PARENT,
isVisible: true,
- children: [
- {
- text: "Deploy",
- onClick: deploy,
- type: MenuTypes.MENU,
- isVisible: true,
- isOpensNewWindow: true,
- },
- {
- text: "Current Deployed Version",
- onClick: () => openExternalLink(currentDeployLink),
- type: MenuTypes.MENU,
- isVisible: true,
- isOpensNewWindow: true,
- },
- ],
+ children: deployOptions,
},
{
text: "Help",
diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx
index c16204f3aa23..19ea9e832942 100644
--- a/app/client/src/pages/Editor/EditorHeader.tsx
+++ b/app/client/src/pages/Editor/EditorHeader.tsx
@@ -61,6 +61,9 @@ import { getIsInOnboarding } from "selectors/onboardingSelectors";
import { retryPromise } from "utils/AppsmithUtils";
import { fetchUsersForOrg } from "actions/orgActions";
import { OrgUser } from "constants/orgConstants";
+
+import { GitSyncModalTab } from "entities/GitSync";
+import { getIsGitConnected } from "../../selectors/gitSyncSelectors";
import TooltipComponent from "components/ads/Tooltip";
import { Position } from "@blueprintjs/core/lib/esnext/common";
import {
@@ -252,6 +255,7 @@ export function EditorHeader(props: EditorHeaderProps) {
const dispatch = useDispatch();
const isSnipingMode = useSelector(snipingModeSelector);
const isSavingName = useSelector(getIsSavingAppName);
+ const isGitConnected = useSelector(getIsGitConnected);
const isErroredSavingName = useSelector(getIsErroredSavingAppName);
const applicationList = useSelector(getApplicationList);
const user = useSelector(getCurrentUser);
@@ -291,11 +295,13 @@ export function EditorHeader(props: EditorHeaderProps) {
);
const showGitSyncModal = useCallback(() => {
- dispatch(setIsGitSyncModalOpen({ isOpen: true }));
+ dispatch(
+ setIsGitSyncModalOpen({ isOpen: true, tab: GitSyncModalTab.DEPLOY }),
+ );
}, [dispatch, setIsGitSyncModalOpen]);
const handleClickDeploy = useCallback(() => {
- if (getFeatureFlags().GIT) {
+ if (getFeatureFlags().GIT && isGitConnected) {
showGitSyncModal();
} else {
handlePublish();
diff --git a/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx b/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx
index 3aed8ff5886b..04b773575d2c 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx
@@ -1,19 +1,19 @@
import React from "react";
-import Text, { TextType } from "../../../components/ads/Text";
+import Text, { TextType } from "components/ads/Text";
import { HelpIcons } from "icons/HelpIcons";
import { withTheme } from "styled-components";
import styled from "styled-components";
-import { Color } from "../../../constants/Colors";
+import { Color } from "constants/Colors";
import Dialog from "components/ads/DialogComponent";
import Icon, { IconSize } from "components/ads/Icon";
-import { IconProps } from "../../../constants/IconConstants";
+import { IconProps } from "constants/IconConstants";
import Button, { Category, Size } from "components/ads/Button";
-import { UNSUPPORTED_PLUGIN_DIALOG_MAIN_HEADING } from "../../../constants/messages";
+import { UNSUPPORTED_PLUGIN_DIALOG_MAIN_HEADING } from "constants/messages";
import AnalyticsUtil from "utils/AnalyticsUtil";
import {
UNSUPPORTED_PLUGIN_DIALOG_TITLE,
UNSUPPORTED_PLUGIN_DIALOG_SUBTITLE,
-} from "../../../constants/messages";
+} from "constants/messages";
type Props = {
isModalOpen: boolean;
diff --git a/app/client/src/pages/Editor/gitSync/GitSyncModal.tsx b/app/client/src/pages/Editor/gitSync/GitSyncModal.tsx
index 0a4bd4b0b1da..fcd3685484ad 100644
--- a/app/client/src/pages/Editor/gitSync/GitSyncModal.tsx
+++ b/app/client/src/pages/Editor/gitSync/GitSyncModal.tsx
@@ -7,18 +7,19 @@ import {
import { useDispatch, useSelector } from "react-redux";
import { useCallback } from "react";
import { setIsGitSyncModalOpen } from "actions/gitSyncActions";
-import styled from "styled-components";
import Menu from "./Menu";
import { MENU_ITEM, MENU_ITEMS_MAP } from "./constants";
import Deploy from "./Tabs/Deploy";
import Merge from "./Tabs/Merge";
import GitConnection from "./Tabs/GitConnection";
-import Icon from "components/ads/Icon";
-import { Colors } from "constants/Colors";
+import Icon, { IconSize } from "components/ads/Icon";
import { Classes } from "./constants";
import GitErrorPopup from "./components/GitErrorPopup";
-import { getCurrentAppGitMetaData } from "selectors/applicationSelectors";
+import styled, { useTheme } from "styled-components";
+import { get } from "lodash";
+import { GitSyncModalTab } from "entities/GitSync";
+import { getIsGitConnected } from "selectors/gitSyncSelectors";
const Container = styled.div`
height: 600px;
@@ -27,90 +28,85 @@ const Container = styled.div`
flex-direction: column;
position: relative;
overflow-y: hidden;
+ padding: 0px 10px 0px 10px;
`;
const BodyContainer = styled.div`
flex: 3;
- padding-left: ${(props) => props.theme.spaces[11]}px;
- padding-bottom: ${(props) => props.theme.spaces[13]}px;
- padding-right: ${(props) => props.theme.spaces[13]}px;
- overflow-y: auto;
height: 100%;
`;
-const MenuContainer = styled.div`
- padding: ${(props) =>
- `${props.theme.spaces[10]}px ${props.theme.spaces[10]}px ${props.theme.spaces[6]}px;`};
-`;
+const MenuContainer = styled.div``;
const CloseBtnContainer = styled.div`
position: absolute;
- right: 30px;
- top: 34px;
- &:hover {
- background-color: ${(props) => props.theme.colors.modal.hoverState};
- }
+ right: ${(props) => props.theme.spaces[1]}px;
+ top: ${(props) => props.theme.spaces[5]}px;
+
padding: ${(props) => props.theme.spaces[1]}px;
border-radius: ${(props) => props.theme.radii[1]}px;
`;
-// function NoopComponent() {
-// return <div />;
-// }
-
const ComponentsByTab = {
[MENU_ITEM.GIT_CONNECTION]: GitConnection,
[MENU_ITEM.DEPLOY]: Deploy,
[MENU_ITEM.MERGE]: Merge,
- // [MENU_ITEM.SHARE_APPLICATION]: NoopComponent,
- // [MENU_ITEM.SETTINGS]: NoopComponent,
};
const allMenuOptions = Object.values(MENU_ITEMS_MAP);
function GitSyncModal() {
+ const theme = useTheme();
const dispatch = useDispatch();
const isModalOpen = useSelector(getIsGitSyncModalOpen);
+ const isGitConnected = useSelector(getIsGitConnected);
+ const activeTabIndex = useSelector(getActiveGitSyncModalTab);
+
const handleClose = useCallback(() => {
dispatch(setIsGitSyncModalOpen({ isOpen: false }));
}, [dispatch, setIsGitSyncModalOpen]);
- const activeTabIndex = useSelector(getActiveGitSyncModalTab);
- const setActiveTabIndex = (index: number) =>
- dispatch(setIsGitSyncModalOpen({ isOpen: !!isModalOpen, tab: index }));
- const gitMetaData = useSelector(getCurrentAppGitMetaData);
- const remoteUrlInStore = gitMetaData?.remoteUrl;
- let initialTabIndex = 0;
- let menuOptions: Array<{ key: MENU_ITEM; title: string }> = [];
-
- if (!remoteUrlInStore) {
+ const setActiveTabIndex = useCallback(
+ (index: number) =>
+ dispatch(setIsGitSyncModalOpen({ isOpen: !!isModalOpen, tab: index })),
+ [dispatch, setIsGitSyncModalOpen, isModalOpen],
+ );
+
+ useEffect(() => {
+ if (!isGitConnected && activeTabIndex !== GitSyncModalTab.GIT_CONNECTION) {
+ setActiveTabIndex(GitSyncModalTab.DEPLOY);
+ }
+ }, [activeTabIndex]);
+
+ useEffect(() => {
+ // when git connected
+ if (isGitConnected && activeTabIndex === GitSyncModalTab.GIT_CONNECTION) {
+ setActiveTabIndex(GitSyncModalTab.DEPLOY);
+ }
+ }, [isGitConnected]);
+
+ let menuOptions = allMenuOptions;
+ if (!isGitConnected) {
menuOptions = [MENU_ITEMS_MAP.GIT_CONNECTION];
} else {
menuOptions = allMenuOptions;
- // when git is connected directly open deploy tab
- initialTabIndex = menuOptions.findIndex(
- (menuItem) => menuItem.key === MENU_ITEMS_MAP.DEPLOY.key,
- );
}
- const initializeTabIndex = () => {
- if (initialTabIndex !== activeTabIndex) {
- setActiveTabIndex(initialTabIndex);
- }
- };
-
useEffect(() => {
- initializeTabIndex();
- }, []);
+ // onMount or onChange of activeTabIndex
+ if (
+ activeTabIndex !== GitSyncModalTab.GIT_CONNECTION &&
+ menuOptions.length - 1 < activeTabIndex
+ ) {
+ setActiveTabIndex(GitSyncModalTab.GIT_CONNECTION);
+ }
+ }, [activeTabIndex]);
const activeMenuItemKey = menuOptions[activeTabIndex]
? menuOptions[activeTabIndex].key
: MENU_ITEMS_MAP.GIT_CONNECTION.key;
const BodyComponent = ComponentsByTab[activeMenuItemKey];
- const showDeployTab = () => {
- setActiveTabIndex(1);
- };
return (
<>
<Dialog
@@ -131,10 +127,14 @@ function GitSyncModal() {
/>
</MenuContainer>
<BodyContainer>
- <BodyComponent onSuccess={showDeployTab} />
+ <BodyComponent />
</BodyContainer>
<CloseBtnContainer onClick={handleClose}>
- <Icon fillColor={Colors.THUNDER_ALT} name="close-modal" />
+ <Icon
+ fillColor={get(theme, "colors.gitSyncModal.closeIcon")}
+ name="close-modal"
+ size={IconSize.XXXXL}
+ />
</CloseBtnContainer>
</Container>
</Dialog>
diff --git a/app/client/src/pages/Editor/gitSync/ImportAppViaGitModal.tsx b/app/client/src/pages/Editor/gitSync/ImportAppViaGitModal.tsx
index c0ef94ff0c91..013bbf0e8256 100644
--- a/app/client/src/pages/Editor/gitSync/ImportAppViaGitModal.tsx
+++ b/app/client/src/pages/Editor/gitSync/ImportAppViaGitModal.tsx
@@ -1,6 +1,5 @@
import { setIsImportAppViaGitModalOpen } from "actions/gitSyncActions";
import DialogComponent from "components/ads/DialogComponent";
-import { debug } from "loglevel";
import React from "react";
import { useDispatch, useSelector } from "react-redux";
import { getIsImportAppViaGitModalOpen } from "selectors/gitSyncSelectors";
@@ -20,12 +19,7 @@ export default function ImportAppViaGitModal() {
showHeaderUnderline
width={"580px"}
>
- <GitConnection
- isImport
- onSuccess={() => {
- debug("on success");
- }}
- />
+ <GitConnection isImport />
</DialogComponent>
);
}
diff --git a/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx b/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx
index 317d742e97f2..2cdc837605eb 100644
--- a/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx
+++ b/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx
@@ -21,13 +21,13 @@ import { noop } from "lodash";
import Tooltip from "components/ads/Tooltip";
import { Colors } from "constants/Colors";
import { getTypographyByKey } from "constants/DefaultTheme";
-import { getIsGitRepoSetup } from "selectors/gitSyncSelectors";
import { useDispatch, useSelector } from "react-redux";
import { ReactComponent as GitCommitLine } from "assets/icons/ads/git-commit-line.svg";
import Button, { Category, Size } from "components/ads/Button";
import { setIsGitSyncModalOpen } from "actions/gitSyncActions";
import { GitSyncModalTab } from "entities/GitSync";
import getFeatureFlags from "utils/featureFlags";
+import { getIsGitConnected } from "selectors/gitSyncSelectors";
type QuickActionButtonProps = {
count?: number;
@@ -182,7 +182,7 @@ function ConnectGitPlaceholder() {
}
export default function QuickGitActions() {
- const isGitRepoSetup = useSelector(getIsGitRepoSetup);
+ const isGitConnected = useSelector(getIsGitConnected);
const dispatch = useDispatch();
const quickActionButtons = getQuickActionButtons({
@@ -190,7 +190,7 @@ export default function QuickGitActions() {
dispatch(
setIsGitSyncModalOpen({
isOpen: true,
- tab: GitSyncModalTab.GIT_CONNECTION,
+ tab: GitSyncModalTab.DEPLOY,
}),
);
},
@@ -205,7 +205,7 @@ export default function QuickGitActions() {
);
},
});
- return getFeatureFlags().GIT && isGitRepoSetup ? (
+ return getFeatureFlags().GIT && isGitConnected ? (
<Container>
<BranchButton />
{quickActionButtons.map((button) => (
diff --git a/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx b/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx
index f0eeb6f83a7b..d40d21a1d033 100644
--- a/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx
+++ b/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx
@@ -1,41 +1,45 @@
-import React, { useState } from "react";
+import React, { useEffect, useState, useRef, useMemo } from "react";
import { Title } from "../components/StyledComponents";
import {
DEPLOY_YOUR_APPLICATION,
COMMIT_TO,
COMMIT,
- PUSH_CHANGES_IMMEDIATELY_TO,
- PUSH_CHANGES,
- PUSH_TO,
+ // PUSH_CHANGES_IMMEDIATELY_TO,
+ // PUSH_CHANGES,
+ // PUSH_TO,
createMessage,
COMMIT_AND_PUSH,
- COMMITTED_SUCCESSFULLY,
- PUSHED_SUCCESSFULLY,
+ // COMMITTED_SUCCESSFULLY,
+ // PUSHED_SUCCESSFULLY,
} from "constants/messages";
import styled from "styled-components";
import TextInput from "components/ads/TextInput";
-import Button, { Category, Size } from "components/ads/Button";
-import Checkbox, { LabelContainer } from "components/ads/Checkbox";
+import Button, { Size } from "components/ads/Button";
+import { LabelContainer } from "components/ads/Checkbox";
-import { DEFAULT_REMOTE } from "../constants";
+// import { DEFAULT_REMOTE } from "../constants";
import {
- getIsCommitSuccessful,
+ getGitStatus,
+ getIsFetchingGitStatus,
+ // getIsCommitSuccessful,
getIsCommittingInProgress,
- getIsPushingToGit,
- getIsPushSuccessful,
+ // getIsPushingToGit,
+ // getIsPushSuccessful,
} from "selectors/gitSyncSelectors";
import { useDispatch, useSelector } from "react-redux";
import { commitToRepoInit } from "actions/gitSyncActions";
import { Space } from "../components/StyledComponents";
import { Colors } from "constants/Colors";
-import { getTypographyByKey, Theme } from "constants/DefaultTheme";
+import { getTypographyByKey } from "constants/DefaultTheme";
-import { withTheme } from "styled-components";
import { getCurrentAppGitMetaData } from "selectors/applicationSelectors";
-import { pushToRepoInit } from "actions/gitSyncActions";
+// import { pushToRepoInit } from "actions/gitSyncActions";
import DeployPreview from "../components/DeployPreview";
+import { fetchGitStatusInit } from "actions/gitSyncActions";
+import { getGitPushError } from "selectors/gitSyncSelectors";
+import Text, { TextType } from "components/ads/Text";
const Section = styled.div`
margin-bottom: ${(props) => props.theme.spaces[11]}px;
@@ -61,46 +65,109 @@ const Container = styled.div`
}
`;
-const Commit = withTheme(function Commit({ theme }: { theme: Theme }) {
- const [pushImmediately, setPushImmediately] = useState(true);
+const ErrorContainer = styled.div`
+ display: flex;
+ flex-direction: column;
+ .error-text {
+ color: ${Colors.POMEGRANATE2};
+ }
+ .see-more-text {
+ font-size: 12px;
+ cursor: pointer;
+ color: ${Colors.GRAY};
+ }
+`;
+
+const ErrorMsgWrapper = styled.div<{ $hide: boolean }>`
+ margin-top: ${(props) => props.theme.spaces[8]}px;
+ max-height: 160px;
+ max-width: 96%;
+ overflow-y: ${(props) => (props.$hide ? "hidden" : "scroll")};
+ .git-error-text {
+ height: 100%;
+ margin: 0px;
+ padding: 0px;
+ font-size: 12px;
+ white-space: pre-line;
+ word-break: break-word;
+ }
+`;
+
+function Deploy() {
+ // const [pushImmediately, setPushImmediately] = useState(true);
const [commitMessage, setCommitMessage] = useState("Initial Commit");
+ const [showCompleteError, setShowCompleteError] = useState(false);
const isCommittingInProgress = useSelector(getIsCommittingInProgress);
- const isPushingToGit = useSelector(getIsPushingToGit);
+ // const isPushingToGit = useSelector(getIsPushingToGit);
const gitMetaData = useSelector(getCurrentAppGitMetaData);
+ const gitStatus = useSelector(getGitStatus);
+ const isFetchingGitStatus = useSelector(getIsFetchingGitStatus);
+ const gitPushError = useSelector(getGitPushError);
+ const errorMsgRef = useRef<HTMLDivElement>(null);
+
+ const hasChangesToCommit = !gitStatus?.isClean;
+ // (gitStatus && gitStatus?.uncommitted?.length > 0) ||
+ // (gitStatus && gitStatus?.untracked?.length > 0);
- const isCommitSuccessful = useSelector(getIsCommitSuccessful);
- const isPushSuccessful = useSelector(getIsPushSuccessful);
+ // const hasCommitsToPush = gitStatus?.isClean;
+
+ // const isCommitSuccessful = useSelector(getIsCommitSuccessful);
+ // const isPushSuccessful = useSelector(getIsPushSuccessful);
const currentBranch = gitMetaData?.branchName;
const dispatch = useDispatch();
const handleCommit = () => {
- dispatch(commitToRepoInit({ commitMessage, doPush: pushImmediately }));
+ if (currentBranch) {
+ dispatch(
+ commitToRepoInit({
+ commitMessage,
+ doPush: true,
+ // pushImmediately
+ }),
+ );
+ }
};
- const handlePushToGit = () => {
- dispatch(pushToRepoInit());
- };
+ // const handlePushToGit = () => {
+ // dispatch(pushToRepoInit());
+ // };
let commitButtonText = "";
- if (isCommitSuccessful) {
- if (pushImmediately) {
- commitButtonText = createMessage(COMMITTED_SUCCESSFULLY);
- } else {
- commitButtonText = createMessage(COMMITTED_SUCCESSFULLY);
- }
+ // if (isCommitSuccessful) {
+ // if (pushImmediately) {
+ // commitButtonText = createMessage(COMMITTED_SUCCESSFULLY);
+ // } else {
+ // commitButtonText = createMessage(COMMITTED_SUCCESSFULLY);
+ // }
+ // } else {
+ if (true) {
+ commitButtonText = createMessage(COMMIT_AND_PUSH);
} else {
- if (pushImmediately) {
- commitButtonText = createMessage(COMMIT_AND_PUSH);
- } else {
- commitButtonText = createMessage(COMMIT);
- }
+ commitButtonText = createMessage(COMMIT);
}
+ // }
+
+ // const pushButtonText = createMessage(PUSH_CHANGES);
+
+ useEffect(() => {
+ dispatch(fetchGitStatusInit());
+ }, []);
- const pushButtonText = isPushSuccessful
- ? createMessage(PUSHED_SUCCESSFULLY)
- : createMessage(PUSH_CHANGES);
+ const commitButtonDisabled = !hasChangesToCommit || !commitMessage;
+ const commitButtonLoading = isCommittingInProgress || isFetchingGitStatus;
+ // const pushButtonDisabled = !hasCommitsToPush;
+ const errorMsgShowMoreEnabled = useMemo(() => {
+ let showMoreEnabled = false;
+ if (errorMsgRef && errorMsgRef.current) {
+ const element = errorMsgRef.current;
+ if (element && element?.offsetHeight && element?.scrollHeight) {
+ showMoreEnabled = element?.offsetHeight < element?.scrollHeight;
+ }
+ }
+ return showMoreEnabled;
+ }, [errorMsgRef.current, gitPushError]);
return (
<Container>
@@ -116,36 +183,36 @@ const Commit = withTheme(function Commit({ theme }: { theme: Theme }) {
<TextInput
autoFocus
defaultValue={commitMessage}
- disabled={isCommitSuccessful}
+ disabled={!hasChangesToCommit}
fill
onChange={setCommitMessage}
/>
- <Space size={3} />
+ {/* <Space size={3} />
<Checkbox
- disabled={isCommitSuccessful}
+ disabled={hasCommitsToPush}
isDefaultChecked
label={`${createMessage(
PUSH_CHANGES_IMMEDIATELY_TO,
)} ${DEFAULT_REMOTE}/${currentBranch}`}
onCheckChange={(checked: boolean) => setPushImmediately(checked)}
- />
+ /> */}
<Space size={11} />
<Button
className="t--commit-button"
- disabled={isCommitSuccessful}
- isLoading={isCommittingInProgress}
+ disabled={commitButtonDisabled}
+ isLoading={commitButtonLoading}
onClick={handleCommit}
size={Size.medium}
+ tag="button"
text={commitButtonText}
width="max-content"
/>
</Section>
{/** TODO: handle error cases and create new branch for push */}
- {!pushImmediately ? (
+ {/* {!pushImmediately ? (
<Section>
<Space size={10} />
<Row>
- {/** TODO: refactor dropdown component to avoid negative margins */}
<SectionTitle
style={{
marginRight: -1 * theme.spaces[2],
@@ -160,20 +227,40 @@ const Commit = withTheme(function Commit({ theme }: { theme: Theme }) {
<Space size={3} />
<Button
category={Category.tertiary}
- disabled={isPushSuccessful}
+ disabled={pushButtonDisabled}
isLoading={isPushingToGit}
onClick={handlePushToGit}
size={Size.medium}
+ tag="button"
text={pushButtonText}
width="max-content"
/>
</Section>
- ) : null}
- {(isPushSuccessful || (pushImmediately && isCommitSuccessful)) && (
- <DeployPreview />
+ ) : null} */}
+
+ {!hasChangesToCommit && <DeployPreview />}
+ {/* Disabled currently */}
+ {gitPushError && false && (
+ <ErrorContainer>
+ <Text className="error-text" type={TextType.P1}>
+ Error while pushing
+ </Text>
+ {/* Add Show More toggle */}
+ <ErrorMsgWrapper $hide={!showCompleteError} ref={errorMsgRef}>
+ <pre className="git-error-text error-text">{gitPushError}</pre>
+ </ErrorMsgWrapper>
+ {errorMsgShowMoreEnabled && (
+ <span
+ className="see-more-text"
+ onClick={() => setShowCompleteError(!showCompleteError)}
+ >
+ {showCompleteError ? "SEE LESS" : "SEE MORE"}
+ </span>
+ )}
+ </ErrorContainer>
)}
</Container>
);
-});
+}
-export default Commit;
+export default Deploy;
diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx
index 1bf7cf00d7d2..8b7eab9be62b 100644
--- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx
+++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx
@@ -1,16 +1,23 @@
-import React, { useState, useEffect, useRef } from "react";
+import React, {
+ useState,
+ useEffect,
+ useRef,
+ useMemo,
+ useCallback,
+} from "react";
import { Subtitle, Title, Space } from "../components/StyledComponents";
import {
CONNECT_TO_GIT,
CONNECT_TO_GIT_SUBTITLE,
- REMOTE_URL_VIA,
+ REMOTE_URL,
+ REMOTE_URL_INFO,
createMessage,
DEPLOY_KEY_USAGE_GUIDE_MESSAGE,
DEPLOY_KEY_TITLE,
+ REMOTE_URL_INPUT_PLACEHOLDER,
} from "constants/messages";
import styled from "styled-components";
import TextInput from "components/ads/TextInput";
-// import { ReactComponent as LinkSvg } from "assets/icons/ads/link_2.svg";
import UserGitProfileSettings from "../components/UserGitProfileSettings";
import { AUTH_TYPE_OPTIONS } from "../constants";
import { Colors } from "constants/Colors";
@@ -24,7 +31,6 @@ import { Variant } from "components/ads/common";
import { useDispatch, useSelector } from "react-redux";
import copy from "copy-to-clipboard";
import { getCurrentAppGitMetaData } from "selectors/applicationSelectors";
-import Toggle from "components/ads/Toggle";
import Text, { TextType } from "components/ads/Text";
import { getGlobalGitConfig } from "selectors/gitSyncSelectors";
import {
@@ -32,17 +38,23 @@ import {
fetchLocalGitConfigInit,
updateLocalGitConfigInit,
} from "actions/gitSyncActions";
-import DirectDeploy from "../components/DirectDeploy";
import TooltipComponent from "components/ads/Tooltip";
import { getLocalGitConfig } from "selectors/gitSyncSelectors";
+import { emailValidator } from "components/ads/TextInput";
+import { isEqual } from "lodash";
+import {
+ getIsFetchingGlobalGitConfig,
+ getIsFetchingLocalGitConfig,
+} from "selectors/gitSyncSelectors";
+
export const UrlOptionContainer = styled.div`
display: flex;
align-items: center;
& .primary {
}
- margin-bottom: 8px;
- margin-top: ${(props) => `${props.theme.spaces[2]}px`};
+ margin-bottom: ${(props) => `${props.theme.spaces[3]}px`};
+ margin-top: ${(props) => `${props.theme.spaces[11]}px`};
`;
const UrlContainer = styled.div`
@@ -148,6 +160,10 @@ const TooltipWrapper = styled.div`
align-items: center;
`;
+const RemoteUrlInfoWrapper = styled.div`
+ margin-top: ${(props) => props.theme.spaces[3]}px;
+`;
+
const Section = styled.div``;
// v1 only support SSH
@@ -155,38 +171,53 @@ const selectedAuthType = AUTH_TYPE_OPTIONS[0];
const HTTP_LITERAL = "https";
type Props = {
- onSuccess: () => void;
isImport?: boolean;
};
-function GitConnection({ isImport, onSuccess }: Props) {
- const { remoteUrl: remoteUrlInStore } =
+function GitConnection({ isImport }: Props) {
+ const { remoteUrl: remoteUrlInStore = "" } =
useSelector(getCurrentAppGitMetaData) || ({} as any);
- const [remoteUrl, setRemoteUrl] = useState<string>(remoteUrlInStore);
+ const [remoteUrl, setRemoteUrl] = useState(remoteUrlInStore);
const isGitConnected = !!remoteUrlInStore;
+ const isFetchingGlobalGitConfig = useSelector(getIsFetchingGlobalGitConfig);
+ const isFetchingLocalGitConfig = useSelector(getIsFetchingLocalGitConfig);
const globalGitConfig = useSelector(getGlobalGitConfig);
const localGitConfig = useSelector(getLocalGitConfig);
+ const isLocalConfigDefined = !!(
+ localGitConfig.authorEmail || localGitConfig.authorName
+ );
+
+ const isGlobalConfigDefined = !!(
+ globalGitConfig.authorEmail || globalGitConfig.authorName
+ );
const dispatch = useDispatch();
- const getInitGitConfig = () => {
+ const getInitGitConfig = useCallback(() => {
let initialAuthInfo = {
authorName: "",
authorEmail: "",
};
- if (localGitConfig.authorEmail || localGitConfig.authorName) {
+ if (isGlobalConfigDefined) {
+ initialAuthInfo = {
+ authorName: globalGitConfig.authorName || "",
+ authorEmail: globalGitConfig.authorEmail || "",
+ };
+ }
+ // when local config is defined we will only show local config
+ if (isLocalConfigDefined) {
initialAuthInfo = {
authorName: localGitConfig.authorName || "",
authorEmail: localGitConfig.authorEmail || "",
};
}
- // TODO: fetch local config
+
return initialAuthInfo;
- };
+ }, [globalGitConfig, localGitConfig]);
const initialAuthorInfoRef = useRef(getInitGitConfig());
@@ -198,7 +229,11 @@ function GitConnection({ isImport, onSuccess }: Props) {
authorEmail: initialAuthorInfoRef.current.authorEmail,
});
- const [useGlobalConfig, setUseGlobalConfig] = useState(false);
+ const [useGlobalConfig, setUseGlobalConfig] = useState(
+ !isLocalConfigDefined && isGlobalConfigDefined,
+ );
+
+ const [isInvalidRemoteUrl, setIsValidRemoteUrl] = useState(false);
const [showCopied, setShowCopied] = useState(false);
const timerRef = useRef(0);
@@ -216,7 +251,7 @@ function GitConnection({ isImport, onSuccess }: Props) {
connectToGit,
// failedConnectingToGit,
isConnectingToGit,
- } = useGitConnect({ onSuccess });
+ } = useGitConnect();
const stopShowingCopiedAfterDelay = () => {
timerRef.current = setTimeout(() => {
@@ -246,36 +281,66 @@ function GitConnection({ isImport, onSuccess }: Props) {
}
};
- const placeholderText = "Paste Your Git SSH URL";
+ useEffect(() => {
+ // when disconnected remoteURL becomes undefined
+ if (!remoteUrlInStore) {
+ setRemoteUrl("");
+ }
+ }, [remoteUrlInStore]);
+
+ const placeholderText = createMessage(REMOTE_URL_INPUT_PLACEHOLDER);
- const isAuthorInfoUpdated = () => {
+ const isAuthorInfoUpdated = useCallback(() => {
return (
- authorInfo.authorEmail !== initialAuthorInfoRef.current.authorEmail ||
- authorInfo.authorName !== initialAuthorInfoRef.current.authorName
+ !isEqual(
+ authorInfo.authorEmail,
+ initialAuthorInfoRef.current.authorEmail,
+ ) ||
+ !isEqual(authorInfo.authorName, initialAuthorInfoRef.current.authorName)
);
- };
+ }, [
+ authorInfo.authorEmail,
+ authorInfo.authorName,
+ initialAuthorInfoRef.current.authorEmail,
+ initialAuthorInfoRef.current.authorName,
+ ]);
const isRemoteUrlUpdated = () => {
return remoteUrl !== remoteUrlInStore;
};
- const onSubmit = () => {
- // Also check if isDefaultProfile switch is changed
- // For this we will need to store `isDefaultProfile` in backend
- if (isGitConnected && !isRemoteUrlUpdated()) {
- if (isAuthorInfoUpdated()) {
- // just update local config
- dispatch(updateLocalGitConfigInit(authorInfo));
+ const onSubmit = useCallback(() => {
+ if (
+ authorInfo.authorName &&
+ authorInfo.authorEmail &&
+ emailValidator(authorInfo.authorEmail).isValid
+ ) {
+ // Also check if useDefaultConfig switch is changed
+ if (isGitConnected && !isRemoteUrlUpdated()) {
+ if (isAuthorInfoUpdated()) {
+ // just update local config
+ dispatch(updateLocalGitConfigInit(authorInfo));
+ }
+ } else {
+ connectToGit({
+ remoteUrl,
+ gitProfile: authorInfo,
+ isImport,
+ isDefaultProfile: useGlobalConfig,
+ });
}
} else {
- connectToGit({
- remoteUrl,
- gitProfile: authorInfo,
- isImport,
- isDefaultProfile: useGlobalConfig,
+ Toaster.show({
+ text: "Please enter valid user details",
});
}
- };
+ }, [
+ updateLocalGitConfigInit,
+ isAuthorInfoUpdated,
+ isRemoteUrlUpdated,
+ connectToGit,
+ useGlobalConfig,
+ ]);
useEffect(() => {
// On mount check SSHKeyPair is defined, if not fetchSSHKeyPair
@@ -285,20 +350,39 @@ function GitConnection({ isImport, onSuccess }: Props) {
}, [SSHKeyPair]);
const remoteUrlChangeHandler = (value: string) => {
+ const isInvalid = remoteUrlIsInvalid(value);
+ setIsValidRemoteUrl(isInvalid);
setRemoteUrl(value);
};
- const remoteUrlIsValid = (value: string) => value.startsWith(HTTP_LITERAL);
-
- const submitButtonDisabled =
- !authorInfo.authorEmail ||
- !authorInfo.authorName ||
- (isGitConnected && useGlobalConfig);
-
- const isGlobalConfigDefined = !!(
- globalGitConfig.authorEmail && globalGitConfig.authorName
+ const remoteUrlIsInvalid = useCallback(
+ (value: string) => value.startsWith(HTTP_LITERAL),
+ [],
);
+ const submitButtonDisabled = useMemo(() => {
+ const isAuthorInfoEmpty = !authorInfo.authorEmail || !authorInfo.authorName;
+ const isAuthorEmailInvalid = !emailValidator(authorInfo.authorEmail)
+ .isValid;
+ const isAuthInfoUpdated = isAuthorInfoUpdated();
+ let buttonDisabled = isAuthorInfoEmpty || isAuthorEmailInvalid;
+ if (isGitConnected) {
+ buttonDisabled = buttonDisabled || !isAuthInfoUpdated;
+ }
+ return buttonDisabled;
+ }, [
+ authorInfo.authorEmail,
+ authorInfo.authorName,
+ isAuthorInfoUpdated,
+ isGitConnected,
+ ]);
+
+ const submitButtonIsLoading = useMemo(() => {
+ const isFetchingConfig =
+ isGitConnected && (isFetchingGlobalGitConfig || isFetchingLocalGitConfig);
+ return isConnectingToGit || isFetchingConfig;
+ }, [isConnectingToGit, isFetchingGlobalGitConfig, isFetchingLocalGitConfig]);
+
useEffect(() => {
// OnMount fetch global and local config
dispatch(fetchGlobalGitConfigInit());
@@ -306,14 +390,21 @@ function GitConnection({ isImport, onSuccess }: Props) {
}, []);
useEffect(() => {
- setAuthorInfo(localGitConfig);
- }, [localGitConfig.authorEmail, localGitConfig.authorName, setAuthorInfo]);
-
- const showDirectDeployOption = !SSHKeyPair && !remoteUrl;
-
- const toggleHandler = () => {
+ // on local config update
+ const newAuthConfig = getInitGitConfig();
+ setAuthorInfo(newAuthConfig);
+ initialAuthorInfoRef.current = newAuthConfig;
+ }, [
+ localGitConfig.authorEmail,
+ localGitConfig.authorName,
+ setAuthorInfo,
+ globalGitConfig.authorEmail,
+ globalGitConfig.authorEmail,
+ ]);
+
+ const toggleHandler = useCallback(() => {
setUseGlobalConfig(!useGlobalConfig);
- };
+ }, [setUseGlobalConfig, useGlobalConfig]);
return (
<Container>
@@ -321,45 +412,43 @@ function GitConnection({ isImport, onSuccess }: Props) {
<Title>{createMessage(CONNECT_TO_GIT)}</Title>
<Subtitle>{createMessage(CONNECT_TO_GIT_SUBTITLE)}</Subtitle>
<UrlOptionContainer>
- <span>{createMessage(REMOTE_URL_VIA)}</span>
- <span className="primary"> {selectedAuthType.label}</span>
+ <Text color={Colors.GREY_9} type={TextType.P1}>
+ {createMessage(REMOTE_URL)}
+ </Text>
</UrlOptionContainer>
<UrlContainer>
<UrlInputContainer>
<TextInput
className="t--git-repo-input"
disabled={remoteUrl === remoteUrlInStore && !!remoteUrl}
+ errorMsg={
+ isInvalidRemoteUrl
+ ? "Please paste SSH URL of your repository"
+ : ""
+ }
fill
onChange={remoteUrlChangeHandler}
placeholder={placeholderText}
- validator={(value) => ({
- isValid: true,
- message: remoteUrlIsValid(value)
- ? "Please paste SSH URL of your repository"
- : "",
- })}
value={remoteUrl}
/>
</UrlInputContainer>
- {/* <TooltipComponent content="Unlink">
- <Icon
- color={Colors.DARK_GRAY}
- hoverColor={Colors.GRAY2}
- onClick={() => setRemoteUrl("")}
- size="22px"
- >
- <LinkSvg />
- </Icon>
- </TooltipComponent> */}
</UrlContainer>
+ {!isInvalidRemoteUrl && !SSHKeyPair ? (
+ <RemoteUrlInfoWrapper>
+ <Text color={Colors.GREY_9} type={TextType.P3}>
+ {createMessage(REMOTE_URL_INFO)}
+ </Text>
+ </RemoteUrlInfoWrapper>
+ ) : null}
+
{!SSHKeyPair ? (
remoteUrl && (
- <ButtonContainer topMargin={10}>
+ <ButtonContainer topMargin={!isInvalidRemoteUrl ? 10 : 14}>
<Button
category={Category.secondary}
className="t--submit-repo-url-button"
- disabled={!remoteUrl}
+ disabled={!remoteUrl || isInvalidRemoteUrl}
isLoading={generatingSSHKey || fetchingSSHKeyPair}
onClick={() => generateSSHKey()}
size={Size.medium}
@@ -408,53 +497,41 @@ function GitConnection({ isImport, onSuccess }: Props) {
</TooltipWrapper>
)}
</FlexRow>
- <span>
+ <Text color={Colors.GREY_9} type={TextType.P3}>
{createMessage(DEPLOY_KEY_USAGE_GUIDE_MESSAGE)}
<LintText href={deployKeyDocUrl} target="_blank">
- Learn More
+ LEARN MORE
</LintText>
- </span>
+ </Text>
</>
)}
</Section>
{SSHKeyPair && remoteUrl ? (
<>
- {isGlobalConfigDefined ? (
- <>
- <Space size={7} />
- <FlexRow>
- <Text className="" type={TextType.P1}>
- Use Default Config
- </Text>
- <Space horizontal size={2} />
- <Toggle onToggle={toggleHandler} value={useGlobalConfig} />
- </FlexRow>
- </>
- ) : null}
-
<Space size={7} />
<UserGitProfileSettings
authType={selectedAuthType.label || ""}
authorInfo={useGlobalConfig ? globalGitConfig : authorInfo}
- disabled={useGlobalConfig}
+ isGlobalConfigDefined={isGlobalConfigDefined}
+ isLocalConfigDefined={isLocalConfigDefined}
setAuthorInfo={setAuthorInfo}
+ toggleUseDefaultConfig={toggleHandler}
+ useGlobalConfig={useGlobalConfig}
/>
<ButtonContainer topMargin={11}>
<Button
className="t--connect-submit-btn"
disabled={submitButtonDisabled}
- isLoading={isConnectingToGit}
+ isLoading={submitButtonIsLoading}
onClick={onSubmit}
size={Size.large}
tag="button"
- text={isGitConnected ? "UPDATE" : "CONNECT"}
+ text={isGitConnected ? "UPDATE CONFIG" : "CONNECT"}
/>
</ButtonContainer>
</>
- ) : (
- showDirectDeployOption && <DirectDeploy />
- )}
+ ) : null}
</Container>
);
}
diff --git a/app/client/src/pages/Editor/gitSync/components/DirectDeploy.tsx b/app/client/src/pages/Editor/gitSync/components/DirectDeploy.tsx
deleted file mode 100644
index 1623083ab72e..000000000000
--- a/app/client/src/pages/Editor/gitSync/components/DirectDeploy.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-import React from "react";
-import {
- Subtitle,
- Title,
-} from "pages/Editor/gitSync/components/StyledComponents";
-import {
- createMessage,
- CONNECT,
- DEPLOY_WITHOUT_GIT,
- DEPLOY_TO_CLOUD,
-} from "constants/messages";
-import styled from "styled-components";
-import Button, { Category, Size } from "components/ads/Button";
-import { useDispatch, useSelector } from "react-redux";
-
-import { publishApplication } from "actions/applicationActions";
-import { getCurrentApplicationId } from "selectors/editorSelectors";
-import { getCurrentApplication } from "selectors/applicationSelectors";
-import AnalyticsUtil from "utils/AnalyticsUtil";
-
-const Container = styled.div`
- display: flex;
- flex: 1;
- flex-direction: column;
- align-items: flex-start;
-
- justify-content: flex-end;
- /* bottom: ${(props) => `${props.theme.spaces[8]}px`}; */
- bottom: 30px;
- width: calc(100% - 30px);
- position: absolute;
-`;
-
-const Separator = styled.div`
- height: 1px;
- width: 85%;
- background-color: ${(props) => props.theme.colors.gitSyncModal.separator};
-`;
-
-export default function DirectDeploy() {
- const dispatch = useDispatch();
- const applicationId = useSelector(getCurrentApplicationId);
- const currentApplication = useSelector(getCurrentApplication);
- const handlePublish = () => {
- if (applicationId) {
- dispatch(publishApplication(applicationId));
-
- const appName = currentApplication ? currentApplication.name : "";
- AnalyticsUtil.logEvent("PUBLISH_APP", {
- appId: applicationId,
- appName,
- });
- }
- };
-
- return (
- <Container>
- <Separator />
- <Title>{createMessage(DEPLOY_TO_CLOUD)}</Title>
- <Subtitle>{createMessage(DEPLOY_WITHOUT_GIT)}</Subtitle>
- <Button
- category={Category.tertiary}
- onClick={handlePublish}
- size={Size.medium}
- text={createMessage(CONNECT)}
- width="max-content"
- />
- </Container>
- );
-}
diff --git a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx
index 16e3e3bc3fb9..ba52c7d6a0cc 100644
--- a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx
@@ -7,7 +7,7 @@ import {
showCreateBranchPopup,
} from "actions/gitSyncActions";
import {
- getGitError,
+ getGitPushError,
getIsGitErrorPopupVisible,
} from "selectors/gitSyncSelectors";
import Icon from "components/ads/Icon";
@@ -76,7 +76,7 @@ function GitErrorPopup() {
const hidePopup = () => {
dispatch(setIsGitErrorPopupVisible({ isVisible: false }));
};
- const gitError = useSelector(getGitError);
+ const gitError = useSelector(getGitPushError);
return (
<StyledGitErrorPopup>
diff --git a/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx b/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx
index 8f662454cc50..4e29bcf2c410 100644
--- a/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx
@@ -1,12 +1,15 @@
import styled from "styled-components";
import { getTypographyByKey } from "constants/DefaultTheme";
+import { Colors } from "constants/Colors";
export const Title = styled.h1`
${(props) => getTypographyByKey(props, "h1")};
+ margin-top: ${(props) => props.theme.spaces[7]}px;
`;
export const Subtitle = styled.p`
- ${(props) => getTypographyByKey(props, "p2")};
+ ${(props) => getTypographyByKey(props, "p1")};
+ color: ${Colors.BLACK};
`;
export const Caption = styled.span`
diff --git a/app/client/src/pages/Editor/gitSync/components/TabItem.tsx b/app/client/src/pages/Editor/gitSync/components/TabItem.tsx
index 259f022d91d6..a0fc9a3d7efd 100644
--- a/app/client/src/pages/Editor/gitSync/components/TabItem.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/TabItem.tsx
@@ -2,6 +2,7 @@ import React from "react";
import styled from "styled-components";
import { getTypographyByKey, Theme } from "constants/DefaultTheme";
import { TabProp } from "components/ads/Tabs";
+import { Colors } from "constants/Colors";
type WrapperProps = {
selected: boolean;
@@ -14,13 +15,14 @@ const getSelectedStyles = (props: WrapperProps) =>
? `color: ${props.theme.colors.tabItemBackgroundFill.highlightTextColor};
font-weight: 500;
border-bottom: 2px solid ${props.theme.colors.info.light};
+
`
- : `color: ${props.theme.colors.tabItemBackgroundFill.textColor};
+ : `color: ${Colors.GREY_7}
`;
const Wrapper = styled.div<WrapperProps>`
display: flex;
- ${(props) => getTypographyByKey(props, "p1")};
+ ${(props) => getTypographyByKey(props, "p0")};
${(props) => getSelectedStyles(props)};
&:hover,
diff --git a/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings/index.tsx b/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings/index.tsx
index 255e3d2d4468..984f07734693 100644
--- a/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings/index.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings/index.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import React, { useCallback, useState, useMemo } from "react";
import { Space } from "../StyledComponents";
import {
createMessage,
@@ -7,8 +7,21 @@ import {
AUTHOR_EMAIL,
} from "constants/messages";
import styled from "styled-components";
-import TextInput, { emailValidator } from "components/ads/TextInput";
+import TextInput, {
+ emailValidator,
+ notEmptyValidator,
+} from "components/ads/TextInput";
import { Classes as GitSyncClasses } from "../../constants";
+import Checkbox from "components/ads/Checkbox";
+import { GIT_PROFILE_ROUTE } from "constants/routes";
+import history from "utils/history";
+import { Colors } from "constants/Colors";
+import { ReactComponent as RightArrow } from "assets/icons/ads/arrow-right-line.svg";
+import { useSelector } from "react-redux";
+import {
+ getIsFetchingGlobalGitConfig,
+ getIsFetchingLocalGitConfig,
+} from "selectors/gitSyncSelectors";
const LabelContainer = styled.div`
display: flex;
@@ -36,6 +49,29 @@ const MainContainer = styled.div`
width: calc(100% - 30px);
`;
+const ButtonWrapper = styled.div`
+ display: flex;
+ flex-direction: row;
+ padding-top: 2px;
+ margin-left: ${(props) => props.theme.spaces[6]}px;
+ cursor: pointer;
+ .edit-config-link {
+ font-size: 12px;
+ display: flex;
+ color: ${Colors.GRAY};
+ }
+`;
+
+const IconWrapper = styled.div`
+ margin-left: 2px;
+`;
+
+const DefaultConfigContainer = styled.div`
+ display: flex;
+ align-items: flex-start;
+ margin-top: ${(props) => props.theme.spaces[2]}px;
+`;
+
type AuthorInfo = { authorName: string; authorEmail: string };
const AUTHOR_INFO_LABEL = {
@@ -43,39 +79,90 @@ const AUTHOR_INFO_LABEL = {
NAME: "authorName",
};
+type SetAuthorInfo = (authorInfo: AuthorInfo) => void;
+
+const setAuthorState = ({
+ authorInfo,
+ label,
+ setAuthorInfo,
+ value,
+}: {
+ authorInfo: AuthorInfo;
+ label: string;
+ value: string;
+ setAuthorInfo: SetAuthorInfo;
+}) => {
+ switch (label) {
+ case AUTHOR_INFO_LABEL.NAME:
+ setAuthorInfo({
+ authorEmail: authorInfo.authorEmail,
+ authorName: value,
+ });
+ break;
+ case AUTHOR_INFO_LABEL.EMAIL:
+ setAuthorInfo({
+ authorEmail: value,
+ authorName: authorInfo.authorName,
+ });
+ break;
+ default:
+ break;
+ }
+};
+
// Component
type UserGitProfileSettingsProps = {
authType: string;
authorInfo: AuthorInfo;
- setAuthorInfo: (authorInfo: AuthorInfo) => void;
- disabled: boolean;
+ setAuthorInfo: SetAuthorInfo;
+ useGlobalConfig: boolean;
+ toggleUseDefaultConfig: (useDefaultConfig: boolean) => void;
+ isLocalConfigDefined: boolean;
+ isGlobalConfigDefined: boolean;
+};
+
+const goToGitProfile = () => {
+ history.push(GIT_PROFILE_ROUTE);
};
function UserGitProfileSettings({
authorInfo,
- disabled,
+ isGlobalConfigDefined,
+ isLocalConfigDefined,
setAuthorInfo,
+ toggleUseDefaultConfig,
+ useGlobalConfig,
}: UserGitProfileSettingsProps) {
- const isValidRemoteURL = true;
-
- const setAuthorState = (label: string, value: string) => {
- switch (label) {
- case AUTHOR_INFO_LABEL.NAME:
- setAuthorInfo({
- authorEmail: authorInfo.authorEmail,
- authorName: value,
- });
- break;
- case AUTHOR_INFO_LABEL.EMAIL:
- setAuthorInfo({
- authorEmail: value,
- authorName: authorInfo.authorName,
- });
- break;
- default:
- break;
- }
- };
+ //
+ const [emailInputFocused, setEmailInputFocused] = useState(false);
+ const [nameInputFocused, setNameInputFocused] = useState(false);
+ const isFetchingGlobalGitConfig = useSelector(getIsFetchingGlobalGitConfig);
+ const isFetchingLocalGitConfig = useSelector(getIsFetchingLocalGitConfig);
+
+ const changeHandler = useCallback(
+ (label: string, value: string) =>
+ setAuthorState({
+ label,
+ value,
+ authorInfo,
+ setAuthorInfo,
+ }),
+ [authorInfo, setAuthorInfo],
+ );
+
+ const disableInput = isGlobalConfigDefined && useGlobalConfig;
+
+ const isValidEmail = useMemo(
+ () =>
+ authorInfo.authorEmail && emailValidator(authorInfo.authorEmail).isValid,
+ [authorInfo.authorEmail],
+ );
+
+ const isFetchingConfig =
+ isFetchingGlobalGitConfig || isFetchingLocalGitConfig;
+
+ const showDefaultConfig =
+ !isFetchingConfig && !isLocalConfigDefined && isGlobalConfigDefined;
return (
<MainContainer>
@@ -84,47 +171,72 @@ function UserGitProfileSettings({
{createMessage(USER_PROFILE_SETTINGS_TITLE)}
</span>
</TitleWrapper>
+ {showDefaultConfig ? (
+ <DefaultConfigContainer>
+ <Checkbox
+ fill={false}
+ isDefaultChecked={useGlobalConfig}
+ label="Use Default Configuration"
+ onCheckChange={toggleUseDefaultConfig}
+ />
+ <ButtonWrapper onClick={goToGitProfile}>
+ <span className="edit-config-link">EDIT</span>
+ <IconWrapper>
+ <RightArrow width={14} />
+ </IconWrapper>
+ </ButtonWrapper>
+ </DefaultConfigContainer>
+ ) : null}
<Space size={7} />
- {isValidRemoteURL ? (
- <>
- <LabelContainer>
- <span className="label">{createMessage(AUTHOR_NAME)}</span>
- </LabelContainer>
-
- <InputContainer>
- <TextInput
- className="t--git-config-name-input"
- dataType="text"
- defaultValue={authorInfo.authorName}
- disabled={disabled}
- fill
- onChange={(value) =>
- setAuthorState(AUTHOR_INFO_LABEL.NAME, value)
- }
- />
- </InputContainer>
-
- <Space size={7} />
-
- <LabelContainer>
- <span className="label">{createMessage(AUTHOR_EMAIL)}</span>
- </LabelContainer>
- <InputContainer>
- <TextInput
- className="t--git-config-email-input"
- dataType="email"
- defaultValue={authorInfo.authorEmail}
- disabled={disabled}
- fill
- onChange={(value) =>
- setAuthorState(AUTHOR_INFO_LABEL.EMAIL, value)
- }
- validator={emailValidator}
- />
- </InputContainer>
- </>
- ) : null}
+
+ <>
+ <LabelContainer>
+ <span className="label">{createMessage(AUTHOR_NAME)}</span>
+ </LabelContainer>
+
+ <InputContainer>
+ <TextInput
+ dataType="text"
+ defaultValue={authorInfo.authorName}
+ disabled={disableInput}
+ errorMsg={
+ !authorInfo.authorName && !nameInputFocused
+ ? "Author name cannot be empty"
+ : ""
+ }
+ fill
+ isLoading={isFetchingConfig}
+ onBlur={() => setNameInputFocused(false)}
+ onChange={(value) => changeHandler(AUTHOR_INFO_LABEL.NAME, value)}
+ onFocus={() => setNameInputFocused(true)}
+ validator={notEmptyValidator}
+ />
+ </InputContainer>
+
+ <Space size={7} />
+
+ <LabelContainer>
+ <span className="label">{createMessage(AUTHOR_EMAIL)}</span>
+ </LabelContainer>
+ <InputContainer>
+ <TextInput
+ dataType="email"
+ disabled={disableInput}
+ errorMsg={
+ !isValidEmail && !emailInputFocused
+ ? "Please enter a valid email"
+ : ""
+ }
+ fill
+ isLoading={isFetchingConfig}
+ onBlur={() => setEmailInputFocused(false)}
+ onChange={(value) => changeHandler(AUTHOR_INFO_LABEL.EMAIL, value)}
+ onFocus={() => setEmailInputFocused(true)}
+ value={authorInfo.authorEmail}
+ />
+ </InputContainer>
+ </>
</MainContainer>
);
}
diff --git a/app/client/src/pages/Editor/gitSync/hooks.ts b/app/client/src/pages/Editor/gitSync/hooks.ts
index de5da9f836d4..54dcef4154f8 100644
--- a/app/client/src/pages/Editor/gitSync/hooks.ts
+++ b/app/client/src/pages/Editor/gitSync/hooks.ts
@@ -13,7 +13,11 @@ export const useSSHKeyPair = () => {
const dispatch = useDispatch();
const currentApplication = useSelector(getCurrentApplication);
-
+ //
+ //
+ // TODO: MAINTAIN SSHKeyPair in GitSyncReducer
+ //
+ //
const SSHKeyPair = currentApplication?.SSHKeyPair;
const deployKeyDocUrl = currentApplication?.deployKeyDocUrl || DOCS_BASE_URL;
@@ -72,7 +76,7 @@ export const useSSHKeyPair = () => {
};
};
-export const useGitConnect = ({ onSuccess }: { onSuccess: () => void }) => {
+export const useGitConnect = () => {
const dispatch = useDispatch();
const [isConnectingToGit, setIsConnectingToGit] = useState(false);
@@ -81,7 +85,6 @@ export const useGitConnect = ({ onSuccess }: { onSuccess: () => void }) => {
const onGitConnectSuccess = useCallback(() => {
setIsConnectingToGit(false);
- onSuccess();
}, [setIsConnectingToGit]);
const onGitConnectFailure = useCallback(() => {
diff --git a/app/client/src/pages/UserProfile/GitConfig.tsx b/app/client/src/pages/UserProfile/GitConfig.tsx
index 458c15f9adc8..4fadfdc5a187 100644
--- a/app/client/src/pages/UserProfile/GitConfig.tsx
+++ b/app/client/src/pages/UserProfile/GitConfig.tsx
@@ -4,7 +4,6 @@ import {
FieldWrapper,
LabelWrapper,
Loader,
- TextLoader,
} from "./StyledComponents";
import {
createMessage,
@@ -17,6 +16,8 @@ import { Classes } from "@blueprintjs/core";
import TextInput, { notEmptyValidator } from "components/ads/TextInput";
import Button, { Category, Size } from "components/ads/Button";
import { useDispatch, useSelector } from "react-redux";
+import { emailValidator } from "components/ads/TextInput";
+import { Toaster } from "components/ads/Toast";
import {
getGlobalGitConfig,
getIsFetchingGlobalGitConfig,
@@ -55,14 +56,21 @@ export default function GitConfig() {
useEffect(() => {
setAuthorName(globalGitConfig.authorName);
setAuthorEmail(globalGitConfig.authorEmail);
- }, [globalGitConfig]);
+ }, [globalGitConfig.authorName, globalGitConfig.authorEmail]);
const updateConfig = () => {
- setAreFormValuesUpdated(false);
- dispatch(updateGlobalGitConfigInit({ authorName, authorEmail }));
+ if (authorName && authorEmail && emailValidator(authorEmail).isValid) {
+ setAreFormValuesUpdated(false);
+ dispatch(updateGlobalGitConfigInit({ authorName, authorEmail }));
+ } else {
+ Toaster.show({
+ text: "Please enter valid user details",
+ });
+ }
};
useEffect(() => {
+ // onMount Fetch Global config
dispatch(fetchGlobalGitConfigInit());
}, []);
@@ -70,10 +78,7 @@ export default function GitConfig() {
<Wrapper>
<FieldWrapper>
<LabelWrapper>
- {!isFetching && (
- <Text type={TextType.H4}>{createMessage(AUTHOR_NAME)}</Text>
- )}
- {isFetching && <TextLoader className={Classes.SKELETON} />}
+ <Text type={TextType.H4}>{createMessage(AUTHOR_NAME)}</Text>
</LabelWrapper>
{isFetching && <Loader className={Classes.SKELETON} />}
{!isFetching && (
@@ -91,10 +96,7 @@ export default function GitConfig() {
</FieldWrapper>
<FieldWrapper>
<LabelWrapper>
- {!isFetching && (
- <Text type={TextType.H4}>{createMessage(AUTHOR_EMAIL)}</Text>
- )}
- {isFetching && <TextLoader className={Classes.SKELETON} />}
+ <Text type={TextType.H4}>{createMessage(AUTHOR_EMAIL)}</Text>
</LabelWrapper>
{isFetching && <Loader className={Classes.SKELETON} />}
{!isFetching && (
@@ -105,7 +107,7 @@ export default function GitConfig() {
fill={false}
onChange={setAuthorEmail}
placeholder={createMessage(AUTHOR_EMAIL)}
- validator={notEmptyValidator}
+ validator={emailValidator}
/>
</div>
)}
diff --git a/app/client/src/pages/UserProfile/StyledComponents.tsx b/app/client/src/pages/UserProfile/StyledComponents.tsx
index 130b20f54fa8..ba9a54d9df34 100644
--- a/app/client/src/pages/UserProfile/StyledComponents.tsx
+++ b/app/client/src/pages/UserProfile/StyledComponents.tsx
@@ -6,11 +6,14 @@ export const Wrapper = styled.div`
}
`;
export const FieldWrapper = styled.div`
- width: 520px;
+ width: 460px;
display: flex;
`;
export const LabelWrapper = styled.div`
+ .self-center {
+ align-self: center;
+ }
width: 200px;
display: flex;
`;
diff --git a/app/client/src/pages/UserProfile/index.tsx b/app/client/src/pages/UserProfile/index.tsx
index 956717fa1153..d4d235dbb31c 100644
--- a/app/client/src/pages/UserProfile/index.tsx
+++ b/app/client/src/pages/UserProfile/index.tsx
@@ -1,21 +1,23 @@
-import React from "react";
+import React, { useState } from "react";
import PageWrapper from "pages/common/PageWrapper";
import styled from "styled-components";
import { TabComponent, TabProp } from "components/ads/Tabs";
import Text, { TextType } from "components/ads/Text";
import { Icon } from "@blueprintjs/core";
-import { Link } from "react-router-dom";
+// import { Link } from "react-router-dom";
import General from "./General";
import { Colors } from "constants/Colors";
import getFeatureFlags from "utils/featureFlags";
import GitConfig from "./GitConfig";
+import { useLocation } from "react-router";
+import { GIT_PROFILE_ROUTE } from "constants/routes";
const ProfileWrapper = styled.div`
width: ${(props) => props.theme.pageContentWidth}px;
margin: 0 auto;
`;
-const LinkToApplications = styled(Link)`
+const LinkToApplications = styled.div`
margin-top: 30px;
margin-bottom: 35px;
display: inline-block;
@@ -29,6 +31,9 @@ const LinkToApplications = styled(Link)`
`;
function UserProfile() {
+ const location = useLocation();
+
+ let initialTabIndex = 0;
const tabs: TabProp[] = [
{
key: "general",
@@ -45,16 +50,25 @@ function UserProfile() {
panelComponent: <GitConfig />,
icon: "git-branch",
});
+ if (location.pathname === GIT_PROFILE_ROUTE) {
+ initialTabIndex = 1;
+ }
}
+ const [selectedTabIndex, setSelectedTabIndex] = useState(initialTabIndex);
+
return (
<PageWrapper displayName={"Profile"}>
<ProfileWrapper>
- <LinkToApplications className="t--back" to={"/applications"}>
+ <LinkToApplications className="t--back" onClick={() => history.back()}>
<Icon color={Colors.SILVER_CHALICE} icon="chevron-left" />
<Text type={TextType.H1}>Profile</Text>
</LinkToApplications>
- <TabComponent tabs={tabs} />
+ <TabComponent
+ onSelect={setSelectedTabIndex}
+ selectedIndex={selectedTabIndex}
+ tabs={tabs}
+ />
</ProfileWrapper>
</PageWrapper>
);
diff --git a/app/client/src/reducers/uiReducers/gitSyncReducer.ts b/app/client/src/reducers/uiReducers/gitSyncReducer.ts
index 6c0926086d69..afd975140e0a 100644
--- a/app/client/src/reducers/uiReducers/gitSyncReducer.ts
+++ b/app/client/src/reducers/uiReducers/gitSyncReducer.ts
@@ -14,15 +14,24 @@ const initialState: GitSyncReducerState = {
isPushSuccessful: false,
activeGitSyncModalTab: GitSyncModalTab.GIT_CONNECTION,
isErrorPopupVisible: false,
- gitError: `
- README.md app/client/cypress/support/commands.js
+ gitPushError: `
+ README.md
+ app/client/cypress/support/commands.js
+ app/client/src/comments/CommentsShowcaseCarousel/CommentsCarouselModal.tsx
+ README.md
+ app/client/cypress/support/commands.js
+ app/client/src/comments/CommentsShowcaseCarousel/CommentsCarouselModal.tsx
+ README.md
+ app/client/cypress/support/commands.js
app/client/src/comments/CommentsShowcaseCarousel/CommentsCarouselModal.tsx
`,
isImportAppViaGitModalOpen: false,
+ isFetchingGitStatus: false,
globalGitConfig: { authorEmail: "", authorName: "" },
branches: [],
fetchingBranches: false,
localGitConfig: { authorEmail: "", authorName: "" },
+ isDisconnectingGit: false,
};
const gitSyncReducer = createReducer(initialState, {
@@ -69,9 +78,13 @@ const gitSyncReducer = createReducer(initialState, {
isPushingToGit: false,
isPushSuccessful: true,
}),
- [ReduxActionErrorTypes.PUSH_TO_GIT_ERROR]: (state: GitSyncReducerState) => ({
+ [ReduxActionErrorTypes.PUSH_TO_GIT_ERROR]: (
+ state: GitSyncReducerState,
+ action: ReduxAction<string>,
+ ) => ({
...state,
isPushingToGit: false,
+ gitPushError: action.payload,
}),
[ReduxActionTypes.SHOW_ERROR_POPUP]: (
state: GitSyncReducerState,
@@ -186,10 +199,54 @@ const gitSyncReducer = createReducer(initialState, {
...state,
isFetchingLocalGitConfig: false,
}),
+ [ReduxActionTypes.FETCH_GIT_STATUS_INIT]: (state: GitSyncReducerState) => ({
+ ...state,
+ isFetchingGitStatus: true,
+ }),
+ [ReduxActionTypes.FETCH_GIT_STATUS_SUCCESS]: (
+ state: GitSyncReducerState,
+ action: ReduxAction<GitStatusData | undefined>,
+ ) => ({
+ ...state,
+ gitStatus: action.payload,
+ isFetchingGitStatus: false,
+ }),
+ [ReduxActionErrorTypes.FETCH_GIT_STATUS_ERROR]: (
+ state: GitSyncReducerState,
+ ) => ({
+ ...state,
+ isFetchingGitStatus: false,
+ }),
+ [ReduxActionTypes.DISCONNECT_TO_GIT_INIT]: (state: GitSyncReducerState) => ({
+ ...state,
+ isDisconnectingGit: true,
+ }),
+ [ReduxActionTypes.DISCONNECT_TO_GIT_SUCCESS]: (
+ state: GitSyncReducerState,
+ ) => ({
+ ...state,
+ isDisconnectingGit: false,
+ }),
+ [ReduxActionErrorTypes.DISCONNECT_TO_GIT_ERROR]: (
+ state: GitSyncReducerState,
+ ) => ({
+ ...state,
+ isDisconnectingGit: false,
+ }),
});
+export type GitStatusData = {
+ conflicting: Array<string>;
+ uncommitted: Array<string>;
+ isClean: boolean;
+ removed: Array<string>;
+ added: Array<string>;
+ modified: Array<string>;
+ untracked: Array<string>;
+};
+
export type GitSyncReducerState = {
- isGitSyncModalOpen?: boolean;
+ isGitSyncModalOpen: boolean;
isCommitting?: boolean;
isCommitSuccessful: boolean;
isPushSuccessful: boolean;
@@ -198,13 +255,18 @@ export type GitSyncReducerState = {
isImportAppViaGitModalOpen: boolean;
organizationIdForImport?: string;
isErrorPopupVisible?: boolean;
- gitError?: string;
+ gitPushError?: string;
globalGitConfig: GitConfig;
isFetchingGitConfig?: boolean;
+
+ isDisconnectingGit: boolean;
+
branches: string[];
fetchingBranches: boolean;
isFetchingLocalGitConfig?: boolean;
+ isFetchingGitStatus: boolean;
localGitConfig: GitConfig;
+ gitStatus?: GitStatusData;
};
export default gitSyncReducer;
diff --git a/app/client/src/sagas/GitSyncSagas.ts b/app/client/src/sagas/GitSyncSagas.ts
index 027ffe211af2..b5d4df52e3a7 100644
--- a/app/client/src/sagas/GitSyncSagas.ts
+++ b/app/client/src/sagas/GitSyncSagas.ts
@@ -29,20 +29,36 @@ import { ApiResponse } from "api/ApiResponses";
import { GitConfig } from "entities/GitSync";
import { Toaster } from "components/ads/Toast";
import { Variant } from "components/ads/common";
+import { getCurrentAppGitMetaData } from "selectors/applicationSelectors";
+import { fetchGitStatusSuccess } from "actions/gitSyncActions";
import {
createMessage,
GIT_USER_UPDATED_SUCCESSFULLY,
} from "constants/messages";
+import {
+ fetchGitStatusInit,
+ disconnectToGitSuccess,
+} from "../actions/gitSyncActions";
+import { GitApplicationMetadata } from "../api/ApplicationApi";
+import { fetchApplication } from "../actions/applicationActions";
+import { APP_MODE } from "entities/App";
import history from "utils/history";
import { addBranchParam } from "constants/routes";
function* commitToGitRepoSaga(
- action: ReduxAction<{ commitMessage: string; doPush: boolean }>,
+ action: ReduxAction<{
+ commitMessage: string;
+ doPush: boolean;
+ }>,
) {
try {
const applicationId: string = yield select(getCurrentApplicationId);
+ const gitMetaData: GitApplicationMetadata = yield select(
+ getCurrentAppGitMetaData,
+ );
const response: ApiResponse = yield GitSyncAPI.commit({
...action.payload,
+ branch: gitMetaData?.branchName || "",
applicationId,
});
const isValidResponse: boolean = yield validateResponse(response);
@@ -51,10 +67,11 @@ function* commitToGitRepoSaga(
yield put(commitToRepoSuccess());
Toaster.show({
text: action.payload.doPush
- ? "Commited and pushed Successfully"
- : "Commited Successfully",
+ ? "Committed and pushed Successfully"
+ : "Committed Successfully",
variant: Variant.success,
});
+ yield put(fetchGitStatusInit());
}
} catch (error) {
yield put({
@@ -94,6 +111,27 @@ function* connectToGitSaga(action: ConnectToGitReduxAction) {
}
}
+function* disconnectToGitSaga() {
+ try {
+ const applicationId: string = yield select(getCurrentApplicationId);
+
+ const response: ApiResponse = yield GitSyncAPI.disconnect(applicationId);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (isValidResponse) {
+ yield put(disconnectToGitSuccess(response.data));
+ yield put(
+ fetchApplication({ payload: { applicationId, mode: APP_MODE.EDIT } }),
+ );
+ }
+ } catch (error) {
+ yield put({
+ type: ReduxActionErrorTypes.DISCONNECT_TO_GIT_ERROR,
+ payload: { error, logToSentry: true },
+ });
+ }
+}
+
function* fetchGlobalGitConfig() {
try {
const response: ApiResponse = yield GitSyncAPI.getGlobalConfig();
@@ -246,8 +284,14 @@ function* updateLocalGitConfig(action: ReduxAction<GitConfig>) {
function* pushToGitRepoSaga() {
try {
const applicationId: string = yield select(getCurrentApplicationId);
+
+ const gitMetaData: GitApplicationMetadata = yield select(
+ getCurrentAppGitMetaData,
+ );
+
const response: ApiResponse = yield GitSyncAPI.push({
applicationId,
+ branch: gitMetaData?.branchName || "",
});
const isValidResponse: boolean = yield validateResponse(response);
@@ -257,6 +301,7 @@ function* pushToGitRepoSaga() {
text: "Pushed Successfully",
variant: Variant.success,
});
+ yield put(fetchGitStatusInit());
}
} catch (error) {
yield put({
@@ -266,10 +311,31 @@ function* pushToGitRepoSaga() {
}
}
+function* fetchGitStatusSaga() {
+ try {
+ const applicationId: string = yield select(getCurrentApplicationId);
+ const gitMetaData = yield select(getCurrentAppGitMetaData);
+ const response: ApiResponse = yield GitSyncAPI.getGitStatus({
+ applicationId,
+ branch: gitMetaData?.branchName || "",
+ });
+ const isValidResponse: boolean = yield validateResponse(response, false);
+ if (isValidResponse) {
+ yield put(fetchGitStatusSuccess(response.data));
+ }
+ } catch (error) {
+ yield put({
+ type: ReduxActionErrorTypes.FETCH_GIT_STATUS_ERROR,
+ payload: { error, logToSentry: true, show: false },
+ });
+ }
+}
+
export default function* gitSyncSagas() {
yield all([
takeLatest(ReduxActionTypes.COMMIT_TO_GIT_REPO_INIT, commitToGitRepoSaga),
takeLatest(ReduxActionTypes.CONNECT_TO_GIT_INIT, connectToGitSaga),
+ takeLatest(ReduxActionTypes.DISCONNECT_TO_GIT_INIT, disconnectToGitSaga),
takeLatest(ReduxActionTypes.PUSH_TO_GIT_INIT, pushToGitRepoSaga),
takeLatest(
ReduxActionTypes.FETCH_GLOBAL_GIT_CONFIG_INIT,
@@ -294,5 +360,6 @@ export default function* gitSyncSagas() {
ReduxActionTypes.UPDATE_LOCAL_GIT_CONFIG_INIT,
updateLocalGitConfig,
),
+ takeLatest(ReduxActionTypes.FETCH_GIT_STATUS_INIT, fetchGitStatusSaga),
]);
}
diff --git a/app/client/src/selectors/gitSyncSelectors.tsx b/app/client/src/selectors/gitSyncSelectors.tsx
index a43f293dfc84..e094bd750d3a 100644
--- a/app/client/src/selectors/gitSyncSelectors.tsx
+++ b/app/client/src/selectors/gitSyncSelectors.tsx
@@ -9,10 +9,8 @@ import {
export const getGitSyncState = (state: AppState): GitSyncReducerState =>
state.ui.gitSync;
-export const getIsGitSyncModalOpen = createSelector(
- getGitSyncState,
- (gitSync) => gitSync.isGitSyncModalOpen,
-);
+export const getIsGitSyncModalOpen = (state: AppState) =>
+ state.ui.gitSync.isGitSyncModalOpen;
export const getIsGitRepoSetup = (state: AppState) => {
const gitMetadata = getCurrentAppGitMetaData(state);
@@ -22,20 +20,14 @@ export const getIsGitRepoSetup = (state: AppState) => {
export const getIsCommittingInProgress = (state: AppState) =>
state.ui.gitSync.isCommitting;
-export const getIsPushingToGit = createSelector(
- getGitSyncState,
- (gitSync) => gitSync.isPushingToGit,
-);
+export const getIsPushingToGit = (state: AppState) =>
+ state.ui.gitSync.isPushingToGit;
-export const getIsCommitSuccessful = createSelector(
- getGitSyncState,
- (gitSync) => gitSync.isCommitSuccessful,
-);
+export const getIsCommitSuccessful = (state: AppState) =>
+ state.ui.gitSync.isCommitSuccessful;
-export const getIsPushSuccessful = createSelector(
- getGitSyncState,
- (gitSync) => gitSync.isPushSuccessful,
-);
+export const getIsPushSuccessful = (state: AppState) =>
+ state.ui.gitSync.isPushSuccessful;
export const getActiveGitSyncModalTab = (state: AppState) =>
state.ui.gitSync.activeGitSyncModalTab;
@@ -43,7 +35,8 @@ export const getActiveGitSyncModalTab = (state: AppState) =>
export const getIsGitErrorPopupVisible = (state: AppState) =>
state.ui.gitSync.isErrorPopupVisible;
-export const getGitError = (state: AppState) => state.ui.gitSync.gitError;
+export const getGitPushError = (state: AppState) =>
+ state.ui.gitSync.gitPushError;
export const getIsImportAppViaGitModalOpen = (state: AppState) =>
state.ui.gitSync.isImportAppViaGitModalOpen;
@@ -54,15 +47,29 @@ export const getOrganizationIdForImport = (state: AppState) =>
export const getGlobalGitConfig = (state: AppState) =>
state.ui.gitSync.globalGitConfig;
-export const getLocalGitConfig = createSelector(
- getGitSyncState,
- (gitSync) => gitSync.localGitConfig,
-);
+export const getLocalGitConfig = (state: AppState) =>
+ state.ui.gitSync.localGitConfig;
export const getIsFetchingGlobalGitConfig = (state: AppState) =>
state.ui.gitSync.isFetchingGitConfig;
+export const getIsFetchingLocalGitConfig = (state: AppState) =>
+ state.ui.gitSync.isFetchingLocalGitConfig;
+
+export const getGitStatus = (state: AppState) => state.ui.gitSync.gitStatus;
+
+export const getIsFetchingGitStatus = (state: AppState) =>
+ state.ui.gitSync.isFetchingGitStatus;
+
+export const getIsDisconnectingGit = (state: AppState) =>
+ state.ui.gitSync.isDisconnectingGit;
+
+export const getIsGitConnected = createSelector(
+ getCurrentAppGitMetaData,
+ (gitMetaData) => !!(gitMetaData && gitMetaData.remoteUrl),
+);
export const getGitBranches = (state: AppState) => state.ui.gitSync.branches;
+
export const getFetchingBranches = (state: AppState) =>
state.ui.gitSync.fetchingBranches;
|
e57615e3ebb5e8ddb06013e83ed7c2a0bfa62d5a
|
2020-10-05 09:49:05
|
Petro Popelyshko
|
fix(backend): Wrong error message while resetting the password fixed, changed from id to email (#911)
| false
|
Wrong error message while resetting the password fixed, changed from id to email (#911)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithError.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithError.java
index 54b84b7bbbf6..0818db159d1f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithError.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/AppsmithError.java
@@ -38,6 +38,7 @@ public enum AppsmithError {
ACTION_IS_NOT_AUTHORIZED(403, 4026, "Sorry. You do not have permissions to perform this action"),
INVALID_DATASOURCE_NAME(400, 4026, "Invalid datasource name. Check again."),
NO_RESOURCE_FOUND(404, 4027, "Unable to find {0} with id {1}"),
+ USER_NOT_FOUND(404, 4027, "Unable to find user with email {0}"),
ACL_NO_RESOURCE_FOUND(404, 4028, "Unable to find {0} with id {1}. Either the asset doesn't exist or you don't have required permissions"),
GENERIC_BAD_REQUEST(400, 4028, "Bad Request: {0}"),
INVALID_CURL_COMMAND(400, 4029, "Invalid cURL command, couldn't import."),
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 9620350b0475..7b8426871f65 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
@@ -183,7 +183,7 @@ public Mono<Boolean> forgotPasswordTokenGenerate(ResetUserPasswordDTO resetUserP
// Check if the user exists in our DB. If not, we will not send a password reset link to the user
Mono<User> userMono = repository.findByEmail(email)
- .switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.USER, email)));
+ .switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.USER_NOT_FOUND, email)));
// Generate the password reset link for the user
Mono<PasswordResetToken> passwordResetTokenMono = passwordResetTokenRepository.findByEmail(email)
|
655dbbdf8dcfb3316bcc594a6fe13475de9c2914
|
2022-09-01 14:03:52
|
NandanAnantharamu
|
test: added some more assertions (#16418)
| false
|
added some more assertions (#16418)
|
test
|
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 f01675ae242a..da00704907b6 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 Default Theme change across application", 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 Default Theme across the app", 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,6 +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
|
2b7c4178f80978d11105e13ab90abe84d90a4d78
|
2023-11-28 10:22:43
|
Rishabh Rathod
|
fix: widget icon in debugger (#29141)
| false
|
widget icon in debugger (#29141)
|
fix
|
diff --git a/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx b/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx
new file mode 100644
index 000000000000..99dce79afb1c
--- /dev/null
+++ b/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx
@@ -0,0 +1,46 @@
+import React from "react";
+import type { Plugin } from "api/PluginApi";
+import type { LogItemProps } from "components/editorComponents/Debugger/ErrorLogs/ErrorLogItem";
+import { PluginType } from "entities/Action";
+import WidgetIcon from "pages/Editor/Explorer/Widgets/WidgetIcon";
+import {
+ ApiMethodIcon,
+ EntityIcon,
+ JsFileIconV2,
+} from "pages/Editor/Explorer/ExplorerIcons";
+import { getAssetUrl } from "@appsmith/utils/airgapHelpers";
+import { ENTITY_TYPE_VALUE } from "entities/DataTree/dataTreeFactory";
+
+export const getIconForEntity: Record<
+ string,
+ (props: LogItemProps, pluginGroups: Record<string, Plugin>) => any
+> = {
+ [ENTITY_TYPE_VALUE.WIDGET]: (props) => {
+ if (props.source?.pluginType) {
+ return (
+ <WidgetIcon height={16} type={props.source.pluginType} width={16} />
+ );
+ }
+ },
+ [ENTITY_TYPE_VALUE.JSACTION]: () => {
+ return JsFileIconV2(16, 16, true, true);
+ },
+ [ENTITY_TYPE_VALUE.ACTION]: (props, pluginGroups) => {
+ const { iconId, source } = props;
+ if (source?.pluginType === PluginType.API && source.httpMethod) {
+ // If the source is an API action.
+ return ApiMethodIcon(source.httpMethod, "16px", "32px", 50);
+ } else if (iconId && pluginGroups[iconId]) {
+ // If the source is a Datasource action.
+ return (
+ <EntityIcon height={"16px"} noBackground noBorder width={"16px"}>
+ <img
+ alt="entityIcon"
+ src={getAssetUrl(pluginGroups[iconId].iconLocation)}
+ />
+ </EntityIcon>
+ );
+ }
+ return <img alt="icon" />;
+ },
+};
diff --git a/app/client/src/ce/utils/getEntityPayloadInfo.ts b/app/client/src/ce/utils/getEntityPayloadInfo.ts
index a6423ad6ed96..1552f4714b77 100644
--- a/app/client/src/ce/utils/getEntityPayloadInfo.ts
+++ b/app/client/src/ce/utils/getEntityPayloadInfo.ts
@@ -14,7 +14,7 @@ export const getEntityPayloadInfo: Record<
(entityConfig: EntityConfig) => {
iconId: string;
id: string;
- pluginType?: PluginType;
+ pluginType?: PluginType | string;
}
> = {
[ENTITY_TYPE_VALUE.WIDGET]: (entityConfig) => {
@@ -22,6 +22,7 @@ export const getEntityPayloadInfo: Record<
return {
iconId: config.widgetId,
id: config.widgetId,
+ pluginType: config.type,
};
},
[ENTITY_TYPE_VALUE.JSACTION]: (entityConfig) => {
diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
index c77bdbb1d8a2..2415a8f297a8 100644
--- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
+++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx
@@ -4,18 +4,11 @@ import { useSelector } from "react-redux";
import { keyBy } from "lodash";
import type { LogItemProps } from "../ErrorLogItem";
import { Colors } from "constants/Colors";
-import WidgetIcon from "pages/Editor/Explorer/Widgets/WidgetIcon";
-import {
- ApiMethodIcon,
- EntityIcon,
- JsFileIconV2,
-} from "pages/Editor/Explorer/ExplorerIcons";
-import { ENTITY_TYPE } from "entities/AppsmithConsole";
-import { PluginType } from "entities/Action";
import { getPlugins } from "@appsmith/selectors/entitiesSelector";
import EntityLink from "../../EntityLink";
-import { getAssetUrl } from "@appsmith/utils/airgapHelpers";
import { DebuggerLinkUI } from "components/editorComponents/Debugger/DebuggerEntityLink";
+import { getIconForEntity } from "@appsmith/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity";
+import type { Plugin } from "api/PluginApi";
const EntityLinkWrapper = styled.div`
display: flex;
@@ -36,48 +29,21 @@ const IconWrapper = styled.span`
margin-right: 4px;
`;
+// This function is used to fetch the icon component for the entity link.
+const getIcon = (props: LogItemProps, pluginGroups: Record<string, Plugin>) => {
+ const entityType = props.source?.type;
+ let icon = null;
+ if (entityType) {
+ icon = getIconForEntity[entityType](props, pluginGroups);
+ }
+ return icon || <img alt="icon" src={undefined} />;
+};
+
// This component is used to render the entity link in the error logs.
export default function LogEntityLink(props: LogItemProps) {
const plugins = useSelector(getPlugins);
const pluginGroups = useMemo(() => keyBy(plugins, "id"), [plugins]);
- // This function is used to fetch the icon component for the entity link.
- const getIcon = () => {
- if (props.source) {
- // If the source is a widget.
- if (props.source.type === ENTITY_TYPE.WIDGET && props.source.pluginType) {
- return (
- <WidgetIcon height={16} type={props.source.pluginType} width={16} />
- );
- }
- // If the source is a JS action.
- else if (props.source.type === ENTITY_TYPE.JSACTION) {
- return JsFileIconV2(16, 16, true, true);
- } else if (props.source.type === ENTITY_TYPE.ACTION) {
- // If the source is an API action.
- if (
- props.source.pluginType === PluginType.API &&
- props.source.httpMethod
- ) {
- return ApiMethodIcon(props.source.httpMethod, "16px", "32px", 50);
- }
- // If the source is a Datasource action.
- else if (props.iconId && pluginGroups[props.iconId]) {
- return (
- <EntityIcon height={"16px"} noBackground noBorder width={"16px"}>
- <img
- alt="entityIcon"
- src={getAssetUrl(pluginGroups[props.iconId].iconLocation)}
- />
- </EntityIcon>
- );
- }
- }
- }
- // If the source is not defined then return an empty icon.
- // this case is highly unlikely to happen.
- return <img alt="icon" src={undefined} />;
- };
const plugin = props.iconId ? pluginGroups[props.iconId] : undefined;
return (
<div>
@@ -89,7 +55,7 @@ export default function LogEntityLink(props: LogItemProps) {
lineHeight: "14px",
}}
>
- <IconWrapper>{getIcon()}</IconWrapper>
+ <IconWrapper>{getIcon(props, pluginGroups)}</IconWrapper>
<EntityLink
appsmithErrorCode={props.pluginErrorDetails?.appsmithErrorCode}
errorSubType={props.messages && props.messages[0].message.name}
diff --git a/app/client/src/ee/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx b/app/client/src/ee/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx
new file mode 100644
index 000000000000..2d98380c4d97
--- /dev/null
+++ b/app/client/src/ee/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx
@@ -0,0 +1 @@
+export * from "ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity";
diff --git a/app/client/src/entities/AppsmithConsole/index.ts b/app/client/src/entities/AppsmithConsole/index.ts
index 4f31256e64ab..9402ccba1f77 100644
--- a/app/client/src/entities/AppsmithConsole/index.ts
+++ b/app/client/src/entities/AppsmithConsole/index.ts
@@ -71,8 +71,8 @@ export interface SourceEntity {
id: string;
// property path of the child
propertyPath?: string;
- // plugin type of the action
- pluginType?: PluginType;
+ // plugin type of the action or type of widget
+ pluginType?: PluginType | string;
// http method of the api. (Only for api actions)
httpMethod?: HTTP_METHOD;
}
|
8dc3fb49518f0b36a5cf9ecdda59f87ea4344826
|
2021-10-22 17:10:12
|
Rishabh Saxena
|
fix: don't fetch comment threads for anonymous users (#8717)
| false
|
don't fetch comment threads for anonymous users (#8717)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/OrganisationTests/ShareAppTests_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/OrganisationTests/ShareAppTests_spec.js
index a9b9c0c99136..73668782334b 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/OrganisationTests/ShareAppTests_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ServerSideTests/OrganisationTests/ShareAppTests_spec.js
@@ -88,6 +88,8 @@ describe("Create new org and share with a user", function() {
const someText = text;
expect(someText).to.equal("This page seems to be blank");
});
+ // comment toggle should not exist for anonymous users
+ cy.get(".t--comment-mode-switch-toggle").should("not.exist");
});
it("login as uninvited user and then validate public access of Application", function() {
diff --git a/app/client/src/pages/AppViewer/viewer/AppViewerHeader.tsx b/app/client/src/pages/AppViewer/viewer/AppViewerHeader.tsx
index cddc3e952963..ffa36e135833 100644
--- a/app/client/src/pages/AppViewer/viewer/AppViewerHeader.tsx
+++ b/app/client/src/pages/AppViewer/viewer/AppViewerHeader.tsx
@@ -39,7 +39,9 @@ import ProfileDropdown from "pages/common/ProfileDropdown";
import { Profile } from "pages/common/ProfileImage";
import PageTabsContainer from "./PageTabsContainer";
import { getThemeDetails, ThemeMode } from "selectors/themeSelectors";
-import ToggleCommentModeButton from "pages/Editor/ToggleModeButton";
+import ToggleCommentModeButton, {
+ useHideComments,
+} from "pages/Editor/ToggleModeButton";
import GetAppViewerHeaderCTA from "./GetAppViewerHeaderCTA";
import { showAppInviteUsersDialogSelector } from "selectors/applicationSelectors";
import { getCurrentPageId } from "selectors/editorSelectors";
@@ -155,7 +157,7 @@ export function AppViewerHeader(props: AppViewerHeaderProps) {
const hideHeader = !!isEmbed;
const applicationId = useSelector(getCurrentApplicationId);
const pageId = useSelector(getCurrentPageId);
-
+ const shouldHideComments = useHideComments();
const showAppInviteUsersDialog = useSelector(
showAppInviteUsersDialogSelector,
);
@@ -199,9 +201,11 @@ export function AppViewerHeader(props: AppViewerHeaderProps) {
<AppsmithLogoImg />
</PrimaryLogoLink>
</div>
- <div>
- <ToggleCommentModeButton />
- </div>
+ {!shouldHideComments && (
+ <div>
+ <ToggleCommentModeButton />
+ </div>
+ )}
</HeaderSection>
<HeaderSection className="current-app-name" justify={"center"}>
{currentApplicationDetails && (
diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx
index 19ea9e832942..f6f53a98d9d9 100644
--- a/app/client/src/pages/Editor/EditorHeader.tsx
+++ b/app/client/src/pages/Editor/EditorHeader.tsx
@@ -48,7 +48,9 @@ import HelpBar from "components/editorComponents/GlobalSearch/HelpBar";
import HelpButton from "./HelpButton";
import OnboardingIndicator from "components/editorComponents/Onboarding/Indicator";
import { getTheme, ThemeMode } from "selectors/themeSelectors";
-import ToggleModeButton from "pages/Editor/ToggleModeButton";
+import ToggleModeButton, {
+ useHideComments,
+} from "pages/Editor/ToggleModeButton";
import { Colors } from "constants/Colors";
import { snipingModeSelector } from "selectors/editorSelectors";
import { setSnipingMode as setSnipingModeAction } from "actions/propertyPaneActions";
@@ -259,7 +261,7 @@ export function EditorHeader(props: EditorHeaderProps) {
const isErroredSavingName = useSelector(getIsErroredSavingAppName);
const applicationList = useSelector(getApplicationList);
const user = useSelector(getCurrentUser);
-
+ const shouldHideComments = useHideComments();
useEffect(() => {
if (window.location.href) {
const searchParams = new URL(window.location.href).searchParams;
@@ -373,7 +375,9 @@ export function EditorHeader(props: EditorHeaderProps) {
setIsPopoverOpen={setIsPopoverOpen}
/>
</TooltipComponent>
- <ToggleModeButton showSelectedMode={!isPopoverOpen} />
+ {!shouldHideComments && (
+ <ToggleModeButton showSelectedMode={!isPopoverOpen} />
+ )}
</Boxed>
</HeaderSection>
<HeaderSection>
diff --git a/app/client/src/pages/Editor/ToggleModeButton.tsx b/app/client/src/pages/Editor/ToggleModeButton.tsx
index 44dc4c951c78..ba1aae846d35 100644
--- a/app/client/src/pages/Editor/ToggleModeButton.tsx
+++ b/app/client/src/pages/Editor/ToggleModeButton.tsx
@@ -290,7 +290,7 @@ function CommentModeBtn({
}
export const useHideComments = () => {
- const [shouldHide, setShouldHide] = useState(false);
+ const [shouldHide, setShouldHide] = useState(true);
const location = useLocation();
const currentUser = useSelector(getCurrentUser);
useEffect(() => {
@@ -362,13 +362,8 @@ function ToggleCommentModeButton({
proceedToNextTourStep();
}, [proceedToNextTourStep]);
- // Show comment mode button only on the canvas editor and viewer
- const isHideComments = useHideComments();
-
- if (isHideComments) return null;
-
return (
- <Container>
+ <Container className="t--comment-mode-switch-toggle">
<TourTooltipWrapper {...tourToolTipProps}>
<div style={{ display: "flex" }}>
<ModeButton
|
23c911d5bedda46edccb52a2abf8ff6a49967da3
|
2023-12-20 18:25:24
|
vadim
|
chore: Adjust inner spacing (#29765)
| false
|
Adjust inner spacing (#29765)
|
chore
|
diff --git a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
index 331666bf89a3..5d7ad426f849 100644
--- a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
+++ b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json
@@ -28,7 +28,7 @@
"userDensityRatio": 1.5
},
"innerSpacing": {
- "minV": 2.25,
+ "minV": 1.5,
"maxV": 3,
"minR": 2,
"maxR": 3,
diff --git a/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css
index 028cf1f4ac24..511298f727ea 100644
--- a/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css
+++ b/app/client/packages/design-system/widgets/src/components/TagGroup/src/styles.module.css
@@ -20,11 +20,11 @@
}
.tag {
- height: var(--sizing-6);
+ height: var(--sizing-5);
color: var(--color-fg);
background-color: var(--color-bg-neutral-subtle);
border-radius: var(--border-radius-1);
- padding: 0 var(--inner-spacing-2);
+ padding: 0 var(--inner-spacing-1);
outline: none;
cursor: default;
display: flex;
@@ -75,7 +75,7 @@
background: none;
border: none;
padding: 0;
- margin-inline-start: var(--inner-spacing-1);
+ margin-inline-start: var(--inner-spacing-0);
color: var(--color-fg);
transition: color 200ms;
outline: none;
|
ed7369493f8d2879bdb0241fe6bcc5361895d10d
|
2022-04-01 12:37:25
|
Tolulope Adetula
|
fix: use default HTML ellipsis
| false
|
use default HTML ellipsis
|
fix
|
diff --git a/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx b/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx
index e052289f949e..a41d231c4290 100644
--- a/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx
+++ b/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx
@@ -116,7 +116,6 @@ function AutoToolTipComponent(props: Props) {
) : (
props.children
)}
- {useToolTip && props.children && "..."}
</CellWrapper>
</ColumnWrapper>
);
diff --git a/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx b/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
index 87bd42340ff8..88f6d1c79193 100644
--- a/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
+++ b/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
@@ -373,8 +373,10 @@ export const CellWrapper = styled.div<{
${TableStyles};
padding: ${(props) => (props.isPadding ? "0 10px" : " 0px")};
line-height: 28px;
- .${Classes.POPOVER_WRAPPER} {
+ .${Classes.POPOVER_WRAPPER}, > span > span > span {
+ width: 100%;
overflow: hidden;
+ text-overflow: ellipsis;
}
.image-cell-wrapper {
width: 100%;
|
3e13715f040389521a6c5dd70830df88c87c684b
|
2023-06-19 00:17:30
|
Aishwarya-U-R
|
test: Cypress | Import update (#24592)
| false
|
Cypress | Import update (#24592)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Binding/InputWidget_TableV2_Sorting_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Binding/InputWidget_TableV2_Sorting_spec.js
index 06012f01ae31..e7928df1ec4f 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Binding/InputWidget_TableV2_Sorting_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Binding/InputWidget_TableV2_Sorting_spec.js
@@ -1,17 +1,20 @@
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
-import * as _ from "../../../../support/Objects/ObjectsCore";
+import {
+ agHelper,
+ entityExplorer,
+} from "../../../../support/Objects/ObjectsCore";
describe("Binding the Table and input Widget", function () {
before(() => {
cy.fixture("formInputTableV2Dsl").then((val) => {
- _.agHelper.AddDsl(val);
+ agHelper.AddDsl(val);
});
});
it("1. Input widget test with default value from table widget", function () {
- _.entityExplorer.ExpandCollapseEntity("Form1");
- _.entityExplorer.SelectEntityByName("Input1", "Widgets");
+ entityExplorer.ExpandCollapseEntity("Form1");
+ entityExplorer.SelectEntityByName("Input1", "Widgets");
cy.testJsontext("defaultvalue", testdata.defaultInputWidget + "}}");
cy.wait("@updateLayout").should(
@@ -22,7 +25,7 @@ describe("Binding the Table and input Widget", function () {
});
it("2. validation of data displayed in input widgets based on sorting", function () {
- _.entityExplorer.SelectEntityByName("Table1");
+ entityExplorer.SelectEntityByName("Table1");
cy.testJsontext("defaultselectedrow", "0");
cy.get(".draggable-header").contains("id").click({ force: true });
@@ -50,7 +53,7 @@ describe("Binding the Table and input Widget", function () {
});
it("3. validation of column id displayed in input widgets based on sorted column", function () {
- _.entityExplorer.SelectEntityByName("Input1");
+ entityExplorer.SelectEntityByName("Input1");
cy.testJsontext("defaultvalue", testdata.sortedColumn + "}}");
cy.wait("@updateLayout").should(
|
10e64df1e5147aac3f6e690f507ddad061830f71
|
2022-01-20 19:37:05
|
Rishabh Rathod
|
chore: S3 Template (#10461)
| false
|
S3 Template (#10461)
|
chore
|
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 ccf79883be30..7b0682fa9ad2 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 @@
-{"unpublishedDefaultPageName":"PostgreSQL","publishedTheme":{"new":true,"isSystemTheme":true,"name":"Classic"},"editModeTheme":{"new":true,"isSystemTheme":true,"name":"Classic"},"datasourceList":[{"new":true,"invalids":[],"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3 CRUD","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[{"host":""}],"properties":[{"value":"ap-south-1"},{"value":"amazon-s3","key":"s3Provider"},{"value":"","key":"customRegion"}]},"structure":{}},{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"Appsmith Release","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53","datasourceConfiguration":{"sshProxyEnabled":false,"headers":[{"value":"_hjid=da2ef5e3-4ea5-42dc-b892-7962b7564098; _hjSessionUser_2240640=eyJpZCI6IjBlMTBmNjIzLWVkOTctNTUxZi05MTdiLTY4ODVkYTZmYTk3YyIsImNyZWF0ZWQiOjE2Mzk2NDY4OTYyMjQsImV4aXN0aW5nIjp0cnVlfQ==; SESSION=2c9b76dd-3782-49a5-b7d4-0e1a3437f328; _gid=GA1.2.2089842993.1639981141; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjU5ZjhhZTJlLTgzYjQtNDY5My1hZjA4LTM2ZGRkZjBjNGJiYlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzOTk4MTU4ODg2NywibGFzdEV2ZW50VGltZSI6MTYzOTk4MTU4OTIyNiwiZXZlbnRJZCI6Mjc5LCJpZGVudGlmeUlkIjoxOCwic2VxdWVuY2VOdW1iZXIiOjI5N30=; _ga=GA1.2.1102478328.1639646896; _ga_0JZ9C3M56S=GS1.1.1639981589.96.1.1639981592.0; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217dc2ba5b95100b-0c6940d1bc82d9-133e6453-1aeaa0-17dc2ba5b96f47%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fapp.appsmith.com%2Fapplications%2F6139b6c7dd7786286ddd4f04%2Fpages%2F6139b6c7dd7786286ddd4f0c%3Fbranch%3Dmaster%22%2C%22%24initial_referring_domain%22%3A%20%22app.appsmith.com%22%2C%22%24user_id%22%3A%20%22nikhil%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nikhil%40appsmith.com%22%2C%22userId%22%3A%20%22nikhil%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24email%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nikhil%22%2C%22%24last_name%22%3A%20%22Nandagopal%22%2C%22%24name%22%3A%20%22Nikhil%20Nandagopal%22%7D; ajs_anonymous_id=%22b87870e1-d510-4512-9bc9-8eb17beadf38%22; ajs_user_id=%22nikhil%40appsmith.com%22; _hjSession_2240640=eyJpZCI6IjQ4OTNkOTdkLWNhZTItNDU0Mi1iYzVmLTNmMDMyNzRmNzcwOSIsImNyZWF0ZWQiOjE2NDAwNjk4NzM1ODF9; _hjAbsoluteSessionInProgress=1; _gat_UA-145062826-1=1; intercom-session-y10e7138=blNYb2tDZ3hPak5zWS9tSU1vVFdtWnFWcTRaajlOd3E5S0hwVGFnUFFxVW92ZEdKVVorWWVza0xzbHZkRmwxUS0tWWhDOHRpdHpDaU44WS9HOEdXUVE3Zz09--07c20fc364abb002140fafe7c2905c6034ee43cf","key":"Cookie"}],"queryParameters":[],"properties":[{"value":"N","key":"isSendSessionEnabled"},{"value":"","key":"sessionSignatureKey"}],"url":"https://release.app.appsmith.com"},"structure":{}},{"new":true,"invalids":[],"pluginId":"firestore-plugin","isValid":true,"name":"FBTemplateDB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f","datasourceConfiguration":{"sshProxyEnabled":false,"url":"https://firebase-crud-template.firebaseio.com"},"structure":{}},{"new":true,"invalids":[],"pluginId":"google-sheets-plugin","isValid":true,"name":"Google Sheet","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941","datasourceConfiguration":{"sshProxyEnabled":false},"structure":{}},{"new":true,"invalids":[],"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[{"port":5432,"host":"mockdb.internal.appsmith.com"}],"connection":{"mode":"READ_WRITE","ssl":{"authType":"DEFAULT"}}},"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_roster_id_seq1'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"date","type":"date","isAutogenerated":false},{"name":"hero_id","type":"int4","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\" (\"date\", \"hero_id\")\n VALUES ('2019-07-01', 1);"},{"title":"UPDATE","body":"UPDATE public.\"aforce_roster\" SET\n \"date\" = '2019-07-01',\n \"hero_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_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}],"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\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1);"},{"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 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":"needs_docs","type":"bool","isAutogenerated":false},{"name":"link","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\", \"needs_docs\", \"link\")\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 \"needs_docs\" = '',\n \"link\" = ''\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}],"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('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":"col3","type":"text","isAutogenerated":false},{"name":"col4","type":"int4","isAutogenerated":false},{"name":"col5","type":"bool","isAutogenerated":false},{"name":"col2","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\" (\"col3\", \"col4\", \"col5\", \"col2\")\n VALUES ('', 1, '', '');"},{"title":"UPDATE","body":"UPDATE public.\"template_table\" SET\n \"col3\" = '',\n \"col4\" = 1,\n \"col5\" = '',\n \"col2\" = ''\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"}]}},{"new":true,"invalids":[],"pluginId":"mongo-plugin","isValid":true,"name":"Mock_Mongo","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[],"connection":{"mode":"READ_WRITE","type":"DIRECT","ssl":{"authType":"DEFAULT"}},"properties":[{"value":"Yes","key":"Use Mongo Connection String URI"},{"value":"mongodb+srv://mockdb-admin:****@mockdb.swrsq.mongodb.net/admin_db?retryWrites=true&w=majority","key":"Connection String URI"}]},"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"}]}},{"new":true,"invalids":[],"pluginId":"redis-plugin","isValid":true,"name":"RedisTemplateApps","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943","datasourceConfiguration":{"endpoints":[{"port":10339,"host":"redis-10339.c278.us-east-1-4.ec2.cloud.redislabs.com"}]},"structure":{}}],"actionList":[{"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 '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3644","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 '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef8"},{"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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3647","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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef9"},{"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 \"rowIndex\": {{data_table.selectedRow.rowIndex}}, \n\t\t\"col1\": \"{{colInput1.text}}\", \n\t\t\"col2\": \"{{colInput2.text}}\", \n\t\t\"col3\": \"{{colInput3.text}}\", \n\t\t\"col4\": \"{{colInput4.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["colInput1.text","colInput4.text","data_table.selectedRow.rowIndex","colInput2.text","colInput3.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"61764fbeba7e887d03bc364a","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 \"rowIndex\": {{data_table.selectedRow.rowIndex}}, \n\t\t\"col1\": \"{{colInput1.text}}\", \n\t\t\"col2\": \"{{colInput2.text}}\", \n\t\t\"col3\": \"{{colInput3.text}}\", \n\t\t\"col4\": \"{{colInput4.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["colInput1.text","colInput4.text","data_table.selectedRow.rowIndex","colInput2.text","colInput3.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efa"},{"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":"{ \n\t\t\"col1\": \"{{insert_col_input1.text}}\", \n\t\t\"col2\": \"{{insert_col_input2.text}}\", \n\t\t\"col3\": \"{{insert_col_input3.text}}\", \n\t\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\t\"col5\": \"{{insert_col_input5.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"61764fbeba7e887d03bc364b","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":"{ \n\t\t\"col1\": \"{{insert_col_input1.text}}\", \n\t\t\"col2\": \"{{insert_col_input2.text}}\", \n\t\t\"col3\": \"{{insert_col_input3.text}}\", \n\t\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\t\"col5\": \"{{insert_col_input5.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"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":{"path":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{{FilePicker.files[this.params.fileIndex]}}"},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"61764fbeba7e887d03bc364c","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{{FilePicker.files[this.params.fileIndex]}}"},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"{{search_input.text}}","where":{"condition":"AND","children":[{"condition":"EQ"}]},"expiry":"{{ 60 * 24 }}","signedUrl":"YES","unSignedUrl":"YES"},"delete":{"expiry":"5"},"command":"LIST"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix"},{"key":"formData.list.expiry"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"pluginId":"amazons3-plugin","id":"61764fbeba7e887d03bc364d","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"{{search_input.text}}","where":{"condition":"AND","children":[{"condition":"EQ"}]},"expiry":"{{ 60 * 24 }}","signedUrl":"YES","unSignedUrl":"YES"},"delete":{"expiry":"5"},"command":"LIST"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix"},{"key":"formData.list.expiry"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/uepsj7o6a0hmiodonjr7xrcqj9pixe0s","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\": \"{{branch_input.text}}\"\n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"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} } ) }","branch_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.integromat.com"}},"validName":"update_template","name":"update_template","messages":[]},"pluginId":"restapi-plugin","id":"61764fbeba7e887d03bc364e","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/uepsj7o6a0hmiodonjr7xrcqj9pixe0s","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\": \"{{branch_input.text}}\"\n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"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} } ) }","branch_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.integromat.com"}},"validName":"update_template","name":"update_template","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efe"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_exported_app","name":"get_exported_app","messages":[]},"pluginId":"restapi-plugin","id":"61764fbeba7e887d03bc364f","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"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/datasources/{{this.params.id}}/structure","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","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":"61764fbeba7e887d03bc3650","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,"body":"","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 = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3645","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 = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.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":"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":"61764fbeba7e887d03bc3648","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":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\tcol2 = '{{update_col_2.text}}',\n col3 = '{{update_col_3.text}}',\n col4 = '{{update_col_4.text}}',\n col5 = '{{update_col_5.text}}'\n WHERE col1 = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3646","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_col_2.text}}',\n col3 = '{{update_col_3.text}}',\n col4 = '{{update_col_4.text}}',\n col5 = '{{update_col_5.text}}'\n WHERE col1 = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f03"},{"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":"61764fbeba7e887d03bc3649","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":"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\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"{{datasource_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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.split(\"applications/\")[1].split(\"/\")[0]","datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","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":"61764fbeba7e887d03bc3651","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\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"{{datasource_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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.split(\"applications/\")[1].split(\"/\")[0]","datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","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":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"find":{"query":"{ col2: /{{data_table.searchText||\"\"}}/i }","limit":"{{data_table.pageSize}}","skip":"{{(data_table.pageNo - 1) * data_table.pageSize}}","sort":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"FIND","smartSubstitution":false}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","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":"61764fbeba7e887d03bc3652","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"find":{"query":"{ col2: /{{data_table.searchText||\"\"}}/i }","limit":"{{data_table.pageSize}}","skip":"{{(data_table.pageNo - 1) * data_table.pageSize}}","sort":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"FIND","smartSubstitution":false}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","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":{"updateMany":{"limit":"SINGLE"},"collection":"template_table","delete":{"query":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":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":"61764fbeba7e887d03bc3653","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":{"updateMany":{"limit":"SINGLE"},"collection":"template_table","delete":{"query":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":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":{"updateMany":{"query":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","limit":"SINGLE","update":"{\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}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"UPDATE","smartSubstitution":true}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"mongo-plugin","id":"61764fbeba7e887d03bc3654","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","limit":"SINGLE","update":"{\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}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"UPDATE","smartSubstitution":true}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f08"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"insert":{"documents":"{\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":"template_table","delete":{"limit":"SINGLE"},"command":"INSERT","smartSubstitution":true}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","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":"61764fbeba7e887d03bc3655","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"insert":{"documents":"{\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":"template_table","delete":{"limit":"SINGLE"},"command":"INSERT","smartSubstitution":true}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","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":"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\" : \"{{mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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","mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]"],"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":"61764fbeba7e887d03bc3656","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\" : \"{{mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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","mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]"],"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":"61764fbeba7e887d03bc3657","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":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","command":"DELETE_FILE"},"body":"{\n\t\"data\": \"null\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc3658","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","command":"DELETE_FILE"},"body":"{\n\t\"data\": \"null\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"READ_FILE"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc3659","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"READ_FILE"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"path":"{{update_file_name.text}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","where":{"children":[{"condition":"EQ"}]},"expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"61764fbeba7e887d03bc365a","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{update_file_name.text}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","where":{"children":[{"condition":"EQ"}]},"expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":{"next":"{}","path":"{{data_table.selectedRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"UPDATE","command":"UPDATE_DOCUMENT"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_col_1.text","update_col_5.text","data_table.selectedRow._id","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":"61764fbeba7e887d03bc365b","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"{{data_table.selectedRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"UPDATE","command":"UPDATE_DOCUMENT"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_col_1.text","update_col_5.text","data_table.selectedRow._id","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":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"{{data_table.triggeredRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"DELETE","command":"DELETE_DOCUMENT"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc365c","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"{{data_table.triggeredRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"DELETE","command":"DELETE_DOCUMENT"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"next":"{}","path":"template_table","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"INSERT","command":"ADD_TO_COLLECTION"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","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":"61764fbeba7e887d03bc365d","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"template_table","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"INSERT","command":"ADD_TO_COLLECTION"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","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":true,"isValid":true,"actionConfiguration":{"next":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","path":"template_table","paginationType":"NONE","prev":"{{SelectQuery.data[0]}}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"timestampValuePath":"","startAfter":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","endBefore":"{{SelectQuery.data[0]}}","deleteKeyPath":"","orderBy":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]","limitDocuments":"1","command":"GET_COLLECTION"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter"},{"key":"formData.endBefore"},{"key":"formData.orderBy"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","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":"61764fbeba7e887d03bc365e","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"next":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","path":"template_table","paginationType":"NONE","prev":"{{SelectQuery.data[0]}}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"timestampValuePath":"","startAfter":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","endBefore":"{{SelectQuery.data[0]}}","deleteKeyPath":"","orderBy":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]","limitDocuments":"1","command":"GET_COLLECTION"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter"},{"key":"formData.endBefore"},{"key":"formData.orderBy"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","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":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":"61764fbeba7e887d03bc365f","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":"61764fbeba7e887d03bc3660","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":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":"61764fbeba7e887d03bc3661","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":"61764fbeba7e887d03bc3662","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":"61764fbeba7e887d03bc3663","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\" = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3664","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\" = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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":"UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_col_2.text}}',\n \"col3\" = '{{update_col_3.text}}',\n \"col4\" = '{{update_col_4.text}}',\n \"col5\" = '{{update_col_5.text}}'\n WHERE \"col1\" = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3665","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_col_2.text}}',\n \"col3\" = '{{update_col_3.text}}',\n \"col4\" = '{{update_col_4.text}}',\n \"col5\" = '{{update_col_5.text}}'\n WHERE \"col1\" = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f19"},{"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 '%{{Table1.searchText || \"\"}}%'\nORDER BY \"{{col_select.selectedOptionValue}}\" {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3666","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 '%{{Table1.searchText || \"\"}}%'\nORDER BY \"{{col_select.selectedOptionValue}}\" {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1a"},{"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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3667","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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1b"},{"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":"618bb2fe4c4b7031f0bf5f0f","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"}],"unpublishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"pageList":[{"publishedPage":{"name":"SQL","userPermissions":[],"layouts":[{"new":false,"id":"SQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3644"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":47,"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":"","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":"template_table 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":"35yoxo4oec","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,"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,"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,"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,"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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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.col1}}","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,"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,"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.col2}}","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.col3}}","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.col4}}","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.col5}}","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.col1}}"},{"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":"col2:"},{"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":"col3:"},{"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":"col4:"},{"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":"col5:"}]}]}]}}],"slug":"sql","isHidden":false},"new":true,"unpublishedPage":{"name":"SQL","userPermissions":[],"layouts":[{"new":false,"id":"SQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3644"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":47,"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":"","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":"template_table 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":"35yoxo4oec","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,"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,"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,"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,"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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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.col1}}","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,"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,"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.col2}}","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.col3}}","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.col4}}","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.col5}}","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.col1}}"},{"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":"col2:"},{"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":"col3:"},{"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":"col4:"},{"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":"col5:"}]}]}]}}],"slug":"sql","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc0"},{"publishedPage":{"name":"Google Sheets","userPermissions":[],"layouts":[{"new":false,"id":"Google Sheets","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3648"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":44,"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,"dynamicBindingPathList":[],"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":"data_table","columnOrder":["col1","col2","col3","col4","rowIndex","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":6,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","defaultSelectedRow":"0","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"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"PARAGRAPH","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":1,"bottomRow":5,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","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":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","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":"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":true,"isLoading":false,"parentColumnSpace":18.8828125,"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":"Text11","rightColumn":41,"textAlign":"LEFT","widgetId":"35yoxo4oec","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":"Alert"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"delete_button","rightColumn":64,"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})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"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":60,"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":"hqtpvn9ut2","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":"ipc9o3ksyi","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hqtpvn9ut2","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{(function () {\nInsertQuery.run(() =>{ \t\tshowAlert('Item successfully inserted!','success');\ncloseModal('Insert_Modal');\nSelectQuery.run();\n}, (error) => showAlert(error,'error'));\n})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"s2jtkzz2ub","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"FormButton2","rightColumn":45,"isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"396envygmb","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"widgetName":"Text21","rightColumn":18,"textAlign":"RIGHT","widgetId":"vwgogtczul","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col1:"},{"isRequired":true,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"cbz2r2wizv","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col1}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":18,"textAlign":"RIGHT","widgetId":"t2a63abehn","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col2:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"tjrktjwn9c","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","defaultText":"","placeholderText":"{{data_table.tableData[0].col2}}","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":18,"textAlign":"RIGHT","widgetId":"0xqhj661rj","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"et0p9va1yw","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col3}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":18,"textAlign":"RIGHT","widgetId":"mxztke60bg","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"wp3nuhaz7m","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col4}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":18,"textAlign":"RIGHT","widgetId":"2xn45kukrz","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col5:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"lqhw4zvrts","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col5}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":35,"textAlign":"LEFT","widgetId":"iuydklwdo3","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"ipc9o3ksyi","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":"{{data_table.selectedRowIndex >= 0}}","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(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"isRequired":false,"widgetName":"colInput1","rightColumn":62,"widgetId":"in8e51pg3y","topRow":7,"bottomRow":11,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput2","rightColumn":62,"widgetId":"mlhvfasf31","topRow":14,"bottomRow":18,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput3","rightColumn":62,"widgetId":"0lz9vhcnr0","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput4","rightColumn":62,"widgetId":"m4esf7fww5","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":1,"bottomRow":5,"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 Index: {{data_table.selectedRow.rowIndex}}"},{"widgetName":"col_text_1","rightColumn":17,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":7,"bottomRow":11,"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":"col1:"},{"widgetName":"col_text_2","rightColumn":17,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":14,"bottomRow":18,"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":"col2:"},{"widgetName":"col_text_3","rightColumn":17,"textAlign":"RIGHT","widgetId":"l109ilp3vq","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"widgetName":"col_text_4","rightColumn":17,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"}]}]}]}}],"slug":"google-sheets","isHidden":false},"new":true,"unpublishedPage":{"name":"Google Sheets","userPermissions":[],"layouts":[{"new":false,"id":"Google Sheets","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3648"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":44,"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,"dynamicBindingPathList":[],"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":"data_table","columnOrder":["col1","col2","col3","col4","rowIndex","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":6,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","defaultSelectedRow":"0","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"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"PARAGRAPH","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":1,"bottomRow":5,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","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":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","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":"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":true,"isLoading":false,"parentColumnSpace":18.8828125,"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":"Text11","rightColumn":41,"textAlign":"LEFT","widgetId":"35yoxo4oec","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":"Alert"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"delete_button","rightColumn":64,"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})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"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":60,"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":"hqtpvn9ut2","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":"ipc9o3ksyi","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hqtpvn9ut2","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{(function () {\nInsertQuery.run(() =>{ \t\tshowAlert('Item successfully inserted!','success');\ncloseModal('Insert_Modal');\nSelectQuery.run();\n}, (error) => showAlert(error,'error'));\n})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"s2jtkzz2ub","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"FormButton2","rightColumn":45,"isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"396envygmb","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"widgetName":"Text21","rightColumn":18,"textAlign":"RIGHT","widgetId":"vwgogtczul","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col1:"},{"isRequired":true,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"cbz2r2wizv","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col1}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":18,"textAlign":"RIGHT","widgetId":"t2a63abehn","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col2:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"tjrktjwn9c","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","defaultText":"","placeholderText":"{{data_table.tableData[0].col2}}","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":18,"textAlign":"RIGHT","widgetId":"0xqhj661rj","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"et0p9va1yw","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col3}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":18,"textAlign":"RIGHT","widgetId":"mxztke60bg","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"wp3nuhaz7m","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col4}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":18,"textAlign":"RIGHT","widgetId":"2xn45kukrz","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col5:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"lqhw4zvrts","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col5}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":35,"textAlign":"LEFT","widgetId":"iuydklwdo3","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"ipc9o3ksyi","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":"{{data_table.selectedRowIndex >= 0}}","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(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"isRequired":false,"widgetName":"colInput1","rightColumn":62,"widgetId":"in8e51pg3y","topRow":7,"bottomRow":11,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput2","rightColumn":62,"widgetId":"mlhvfasf31","topRow":14,"bottomRow":18,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput3","rightColumn":62,"widgetId":"0lz9vhcnr0","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput4","rightColumn":62,"widgetId":"m4esf7fww5","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":1,"bottomRow":5,"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 Index: {{data_table.selectedRow.rowIndex}}"},{"widgetName":"col_text_1","rightColumn":17,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":7,"bottomRow":11,"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":"col1:"},{"widgetName":"col_text_2","rightColumn":17,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":14,"bottomRow":18,"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":"col2:"},{"widgetName":"col_text_3","rightColumn":17,"textAlign":"RIGHT","widgetId":"l109ilp3vq","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"widgetName":"col_text_4","rightColumn":17,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"}]}]}]}}],"slug":"google-sheets","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1"},{"publishedPage":{"name":"S3","userPermissions":[],"layouts":[{"new":false,"id":"S3","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364d"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1704,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1300,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","color":"#040627","iconName":"cross","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text15Copy","rightColumn":41,"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Zoom Image"},{"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":[],"buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"image":"{{selected_files.selectedItem.base64}}","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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"backgroundColor":"#FFFFFF","widgetName":"Container3","rightColumn":37,"widgetId":"th4d9oxy8z","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"onTextChanged":"{{ListFiles.run()}}","widgetName":"search_input","rightColumn":40,"widgetId":"0llmlojupa","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"parentColumnSpace":19.5,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Search File Prefix","defaultText":"","isDisabled":false,"validation":"true"},{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","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":"CIRCLE","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","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":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","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":"CIRCLE","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":"contain","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,"enableRotation":false},"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"}},"widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":7,"bottomRow":80,"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"}],"gridType":"vertical","enhancements":true,"children":[{"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":"transparent","disallowCopy":true,"isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","containerStyle":"none","topRow":0,"bottomRow":160,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"widgetName":"FileListItemName","rightColumn":63,"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},"topRow":0,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{currentItem.fileName}}"},{"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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","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,"enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"0","key":"cw0dtdoe0g","disablePropertyPane":true,"backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"}],"key":"29vrztch46","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false}],"key":"x51ms5k6q9","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#FFFFFF","widgetId":"cjgg2thzom","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false}]}]},{"widgetName":"Text6","rightColumn":64,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","topRow":0,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#2E3D49","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"template_table Bucket"},{"widgetName":"Upload_Files_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"1fxorj7v97","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"d8io5ijwj4","topRow":0,"bottomRow":620,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"1fxorj7v97","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[],"isDisabled":false}],"width":532,"height":600},{"widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","color":"#040627","iconName":"cross","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text12","rightColumn":41,"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete File"},{"widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"Button11","rightColumn":64,"onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","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":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text13","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","topRow":5,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon4","rightColumn":64,"onClick":"{{closeModal('Edit_Modal')}}","color":"#040627","iconName":"cross","widgetId":"pstfdcc1e4","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text17","rightColumn":41,"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update File"},{"widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","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"}],"buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"widgetName":"Text18","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"File Name"},{"isRequired":false,"widgetName":"update_file_name","rightColumn":64,"widgetId":"je0ea8ma5d","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{File_List.selectedItem.fileName}}","isDisabled":true,"validation":"true"},{"widgetName":"update_file_picker","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":["*","image/*","video/*","audio/*","text/*",".doc","image/jpeg",".png"],"type":"FILE_PICKER_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"isDisabled":false,"isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"mioot5pcs5","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"isLoading":false,"files":[],"maxNumFiles":1}],"isDisabled":false}],"width":456,"height":240},{"backgroundColor":"#FFFFFF","widgetName":"Container6","rightColumn":64,"widgetId":"yg1iyxq9kd","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":37,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Button8","rightColumn":46,"onClick":"{{closeModal('Upload_Files_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"bx8wok3aut","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":31,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"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":{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":23,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}","isDisabled":false},"Image2":{"image":"{{selected_files.listData.map((currentItem) => currentItem.base64)}}","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,"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,"children":["romgsruzxz"],"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":[],"dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"widgetName":"selected_files","backgroundColor":"","rightColumn":64,"listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"itemBackgroundColor":"#FFFFFF","widgetId":"0n30419eso","topRow":21,"bottomRow":73,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","type":"LIST_WIDGET","parentId":"xv97g6rzgq","gridGap":0,"isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"}],"gridType":"vertical","enhancements":true,"children":[{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":510,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":520,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":13,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text14","rightColumn":31,"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},"topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":19,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"},{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":4,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{currentItem.name}}","isDisabled":false,"validation":"true"},{"image":"{{currentItem.base64}}","widgetName":"Image2","rightColumn":18,"onClick":"{{showModal('Zoom_Modal2')}}","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},"topRow":0,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"}]}],"disablePropertyPane":true}]}]},{"isRequired":false,"widgetName":"folder_name","rightColumn":63,"widgetId":"fjh7zgcdmh","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"folder/sub-folder","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":14,"textAlign":"LEFT","widgetId":"jc21bnjh92","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Upload Folder"},{"widgetName":"Text7","rightColumn":52,"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Upload New Files"},{"widgetName":"upload_button","rightColumn":63,"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}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"widgetName":"Text19","rightColumn":52,"textAlign":"LEFT","dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"9wh2ereoy9","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"fontSize":"HEADING3","text":"Selected Files"},{"widgetName":"FilePicker","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"parentColumnSpace":8.0458984375,"leftColumn":39,"isDisabled":false,"key":"rew2q0dlgd","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"xc1dun5wkl","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}]}]}]}}],"slug":"s3","isHidden":false},"new":true,"unpublishedPage":{"name":"S3","userPermissions":[],"layouts":[{"new":false,"id":"S3","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364d"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1704,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1300,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","color":"#040627","iconName":"cross","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text15Copy","rightColumn":41,"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Zoom Image"},{"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":[],"buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"image":"{{selected_files.selectedItem.base64}}","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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"backgroundColor":"#FFFFFF","widgetName":"Container3","rightColumn":37,"widgetId":"th4d9oxy8z","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"onTextChanged":"{{ListFiles.run()}}","widgetName":"search_input","rightColumn":40,"widgetId":"0llmlojupa","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"parentColumnSpace":19.5,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Search File Prefix","defaultText":"","isDisabled":false,"validation":"true"},{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","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":"CIRCLE","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","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":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","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":"CIRCLE","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":"contain","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,"enableRotation":false},"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"}},"widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":7,"bottomRow":80,"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"}],"gridType":"vertical","enhancements":true,"children":[{"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":"transparent","disallowCopy":true,"isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","containerStyle":"none","topRow":0,"bottomRow":160,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"widgetName":"FileListItemName","rightColumn":63,"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},"topRow":0,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{currentItem.fileName}}"},{"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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","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,"enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"0","key":"cw0dtdoe0g","disablePropertyPane":true,"backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"}],"key":"29vrztch46","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false}],"key":"x51ms5k6q9","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#FFFFFF","widgetId":"cjgg2thzom","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false}]}]},{"widgetName":"Text6","rightColumn":64,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","topRow":0,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#2E3D49","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"template_table Bucket"},{"widgetName":"Upload_Files_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"1fxorj7v97","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"d8io5ijwj4","topRow":0,"bottomRow":620,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"1fxorj7v97","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[],"isDisabled":false}],"width":532,"height":600},{"widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","color":"#040627","iconName":"cross","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text12","rightColumn":41,"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete File"},{"widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"Button11","rightColumn":64,"onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","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":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text13","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","topRow":5,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon4","rightColumn":64,"onClick":"{{closeModal('Edit_Modal')}}","color":"#040627","iconName":"cross","widgetId":"pstfdcc1e4","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text17","rightColumn":41,"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update File"},{"widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","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"}],"buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"widgetName":"Text18","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"File Name"},{"isRequired":false,"widgetName":"update_file_name","rightColumn":64,"widgetId":"je0ea8ma5d","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{File_List.selectedItem.fileName}}","isDisabled":true,"validation":"true"},{"widgetName":"update_file_picker","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":["*","image/*","video/*","audio/*","text/*",".doc","image/jpeg",".png"],"type":"FILE_PICKER_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"isDisabled":false,"isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"mioot5pcs5","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"isLoading":false,"files":[],"maxNumFiles":1}],"isDisabled":false}],"width":456,"height":240},{"backgroundColor":"#FFFFFF","widgetName":"Container6","rightColumn":64,"widgetId":"yg1iyxq9kd","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":37,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Button8","rightColumn":46,"onClick":"{{closeModal('Upload_Files_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"bx8wok3aut","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":31,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"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":{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":23,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}","isDisabled":false},"Image2":{"image":"{{selected_files.listData.map((currentItem) => currentItem.base64)}}","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,"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,"children":["romgsruzxz"],"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":[],"dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"widgetName":"selected_files","backgroundColor":"","rightColumn":64,"listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"itemBackgroundColor":"#FFFFFF","widgetId":"0n30419eso","topRow":21,"bottomRow":73,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","type":"LIST_WIDGET","parentId":"xv97g6rzgq","gridGap":0,"isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"}],"gridType":"vertical","enhancements":true,"children":[{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":510,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":520,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":13,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text14","rightColumn":31,"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},"topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":19,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"},{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":4,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{currentItem.name}}","isDisabled":false,"validation":"true"},{"image":"{{currentItem.base64}}","widgetName":"Image2","rightColumn":18,"onClick":"{{showModal('Zoom_Modal2')}}","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},"topRow":0,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"}]}],"disablePropertyPane":true}]}]},{"isRequired":false,"widgetName":"folder_name","rightColumn":63,"widgetId":"fjh7zgcdmh","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"folder/sub-folder","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":14,"textAlign":"LEFT","widgetId":"jc21bnjh92","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Upload Folder"},{"widgetName":"Text7","rightColumn":52,"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Upload New Files"},{"widgetName":"upload_button","rightColumn":63,"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}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"widgetName":"Text19","rightColumn":52,"textAlign":"LEFT","dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"9wh2ereoy9","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"fontSize":"HEADING3","text":"Selected Files"},{"widgetName":"FilePicker","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"parentColumnSpace":8.0458984375,"leftColumn":39,"isDisabled":false,"key":"rew2q0dlgd","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"xc1dun5wkl","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}]}]}]}}],"slug":"s3","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc2"},{"publishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"API","jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364f"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1302,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Form1","backgroundColor":"#2E3D49","rightColumn":45,"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Text1","rightColumn":53,"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update App Template"},{"widgetName":"Text2","rightColumn":61,"textAlign":"LEFT","widgetId":"w2l08fshj2","topRow":10,"bottomRow":62,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"shouldScroll":true,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{\"<pre>\" + JSON.stringify(get_exported_app.data, null, 2) + \"</pre>\" || \"Fetch The App\"}}"},{"widgetName":"Button1","rightColumn":21,"onClick":"{{\n get_exported_app.run(() => {\n \tconst arr = JSON.parse(datasource_arr.text);\n\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n storeValue(params.name, res); \n },undefined, row)\n })\n })\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2vtg0qdlqv","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":3,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Fetch App","isDisabled":false},{"widgetName":"Button2","rightColumn":63,"onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"jg23u09rwk","topRow":72,"bottomRow":76,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":4,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}"},{"isRequired":false,"widgetName":"branch_input","rightColumn":49,"widgetId":"d6shlon0z2","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":12,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Branch name","defaultText":"update-crud-template","isDisabled":false,"validation":"true"},{"widgetName":"Text3","rightColumn":12,"textAlign":"LEFT","widgetId":"y57v1yp7vb","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"HEADING3","text":"Branch"},{"widgetName":"Text4","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"LEFT","widgetId":"fanskapltd","topRow":67,"bottomRow":71,"parentRowSpace":10,"isVisible":true,"fontStyle":"","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Note : Please use update-crud-template branch to avoid TCs failing in release"}]}]},{"widgetName":"datasource_arr","rightColumn":16,"textAlign":"LEFT","widgetId":"znji9afu2q","topRow":1,"bottomRow":35,"parentRowSpace":10,"isVisible":false,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]"}]}}],"slug":"admin","isHidden":false},"new":true,"unpublishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"API","jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364f"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1302,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Form1","backgroundColor":"#2E3D49","rightColumn":45,"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Text1","rightColumn":53,"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update App Template"},{"widgetName":"Text2","rightColumn":61,"textAlign":"LEFT","widgetId":"w2l08fshj2","topRow":10,"bottomRow":62,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"shouldScroll":true,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{\"<pre>\" + JSON.stringify(get_exported_app.data, null, 2) + \"</pre>\" || \"Fetch The App\"}}"},{"widgetName":"Button1","rightColumn":21,"onClick":"{{\n get_exported_app.run(() => {\n \tconst arr = JSON.parse(datasource_arr.text);\n\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n storeValue(params.name, res); \n },undefined, row)\n })\n })\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2vtg0qdlqv","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":3,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Fetch App","isDisabled":false},{"widgetName":"Button2","rightColumn":63,"onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"jg23u09rwk","topRow":72,"bottomRow":76,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":4,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}"},{"isRequired":false,"widgetName":"branch_input","rightColumn":49,"widgetId":"d6shlon0z2","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":12,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Branch name","defaultText":"update-crud-template","isDisabled":false,"validation":"true"},{"widgetName":"Text3","rightColumn":12,"textAlign":"LEFT","widgetId":"y57v1yp7vb","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"HEADING3","text":"Branch"},{"widgetName":"Text4","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"LEFT","widgetId":"fanskapltd","topRow":67,"bottomRow":71,"parentRowSpace":10,"isVisible":true,"fontStyle":"","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Note : Please use update-crud-template branch to avoid TCs failing in release"}]}]},{"widgetName":"datasource_arr","rightColumn":16,"textAlign":"LEFT","widgetId":"znji9afu2q","topRow":1,"bottomRow":35,"parentRowSpace":10,"isVisible":false,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]"}]}}],"slug":"admin","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc3"},{"publishedPage":{"name":"Page Generator","userPermissions":[],"layouts":[{"new":false,"id":"Page Generator","userPermissions":[],"layoutOnLoadActions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":45,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Tabs1","rightColumn":44,"widgetId":"jalvzswyyk","defaultTab":"SQL","topRow":13,"bottomRow":54,"shouldShowTabs":true,"parentRowSpace":10,"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":15,"dynamicBindingPathList":[],"children":[{"tabId":"tab1","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":430,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"widgetName":"tableName_input","rightColumn":63,"widgetId":"f8k5jt9mjm","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"datasource_input","rightColumn":63,"widgetId":"4j1xd4hih9","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text2","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"widgetName":"Text4","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Name"},{"widgetName":"Text6","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Columns to Select"},{"isRequired":false,"widgetName":"select_cols_input","rightColumn":63,"widgetId":"pwt5ybili3","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text7","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Column to Search"},{"isRequired":false,"widgetName":"search_col_input","rightColumn":63,"widgetId":"bnro1si5sz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"resetFormOnClick":false,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"n6220hgzzs","topRow":31,"bottomRow":35,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate"}]},{"tabId":"tab2","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":[],"children":[{"widgetName":"Text8","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"DataSource URL"},{"isRequired":false,"widgetName":"gsheet_ds_input","rightColumn":62,"widgetId":"a8kpjqdp59","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"SpreadSheet URL"},{"isRequired":false,"widgetName":"spreadsheet_input","rightColumn":62,"widgetId":"80kk95t99i","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text10","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Sheet Name"},{"isRequired":false,"widgetName":"sheet_input","rightColumn":62,"widgetId":"a35cwuivq7","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text11","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Header Index"},{"isRequired":false,"widgetName":"header_input","rightColumn":62,"widgetId":"jrhp3pwzll","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button1","rightColumn":62,"onClick":"{{generate_gsheet_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"zzsh2d5rns","topRow":30,"bottomRow":34,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]},{"tabId":"tab7qxuerb9p7","widgetName":"Canvas4","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","topRow":1,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"jalvzswyyk","minHeight":410,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text12","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"isRequired":false,"widgetName":"mongo_ds_url","rightColumn":61,"widgetId":"r8yvmt103v","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Collection Name"},{"isRequired":false,"widgetName":"collection_input","rightColumn":61,"widgetId":"sbe7jfnafu","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Keys to Fetch"},{"isRequired":false,"widgetName":"fetch_keys_input","rightColumn":61,"widgetId":"74tjl0q7x3","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text15","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key to Search"},{"isRequired":false,"widgetName":"search_keys_input","rightColumn":61,"widgetId":"ie4mp16js1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button2","rightColumn":62,"onClick":"{{generate_mongo_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"6ui5kmqebf","topRow":29,"bottomRow":33,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]}]}]}}],"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":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":45,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Tabs1","rightColumn":44,"widgetId":"jalvzswyyk","defaultTab":"SQL","topRow":13,"bottomRow":54,"shouldShowTabs":true,"parentRowSpace":10,"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":15,"dynamicBindingPathList":[],"children":[{"tabId":"tab1","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":430,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"widgetName":"tableName_input","rightColumn":63,"widgetId":"f8k5jt9mjm","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"datasource_input","rightColumn":63,"widgetId":"4j1xd4hih9","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text2","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"widgetName":"Text4","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Name"},{"widgetName":"Text6","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Columns to Select"},{"isRequired":false,"widgetName":"select_cols_input","rightColumn":63,"widgetId":"pwt5ybili3","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text7","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Column to Search"},{"isRequired":false,"widgetName":"search_col_input","rightColumn":63,"widgetId":"bnro1si5sz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"resetFormOnClick":false,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"n6220hgzzs","topRow":31,"bottomRow":35,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate"}]},{"tabId":"tab2","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":[],"children":[{"widgetName":"Text8","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"DataSource URL"},{"isRequired":false,"widgetName":"gsheet_ds_input","rightColumn":62,"widgetId":"a8kpjqdp59","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"SpreadSheet URL"},{"isRequired":false,"widgetName":"spreadsheet_input","rightColumn":62,"widgetId":"80kk95t99i","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text10","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Sheet Name"},{"isRequired":false,"widgetName":"sheet_input","rightColumn":62,"widgetId":"a35cwuivq7","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text11","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Header Index"},{"isRequired":false,"widgetName":"header_input","rightColumn":62,"widgetId":"jrhp3pwzll","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button1","rightColumn":62,"onClick":"{{generate_gsheet_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"zzsh2d5rns","topRow":30,"bottomRow":34,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]},{"tabId":"tab7qxuerb9p7","widgetName":"Canvas4","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","topRow":1,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"jalvzswyyk","minHeight":410,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text12","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"isRequired":false,"widgetName":"mongo_ds_url","rightColumn":61,"widgetId":"r8yvmt103v","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Collection Name"},{"isRequired":false,"widgetName":"collection_input","rightColumn":61,"widgetId":"sbe7jfnafu","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Keys to Fetch"},{"isRequired":false,"widgetName":"fetch_keys_input","rightColumn":61,"widgetId":"74tjl0q7x3","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text15","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key to Search"},{"isRequired":false,"widgetName":"search_keys_input","rightColumn":61,"widgetId":"ie4mp16js1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button2","rightColumn":62,"onClick":"{{generate_mongo_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"6ui5kmqebf","topRow":29,"bottomRow":33,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]}]}]}}],"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","jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3652"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":2192,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":"data_table","columnOrder":["customColumn1","_id","col4","col2","col3","col1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.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._id.computedValue"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"key_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\n]","onOptionChange":"{{FindQuery.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":30,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"1","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"1\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-1\"\n }\n]","onOptionChange":"{{FindQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":41,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"nj85l57r47","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":"atgojamsmw","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":"35yoxo4oec","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(() => FindQuery.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(() => FindQuery.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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"{{!!data_table.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(() => FindQuery.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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":8,"bottomRow":12,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":15,"bottomRow":19,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":22,"bottomRow":26,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":29,"bottomRow":33,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update Selected Row"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":8,"bottomRow":12,"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":"col1:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":15,"bottomRow":19,"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":"col2:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":22,"bottomRow":26,"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":"col3:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":29,"bottomRow":33,"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":"col4:"}]}]}]}}],"slug":"mongodb","isHidden":false},"new":true,"unpublishedPage":{"name":"MongoDB","userPermissions":[],"layouts":[{"new":false,"id":"MongoDB","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3652"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":2192,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":"data_table","columnOrder":["customColumn1","_id","col4","col2","col3","col1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.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._id.computedValue"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"key_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\n]","onOptionChange":"{{FindQuery.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":30,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"1","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"1\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-1\"\n }\n]","onOptionChange":"{{FindQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":41,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"nj85l57r47","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":"atgojamsmw","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":"35yoxo4oec","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(() => FindQuery.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(() => FindQuery.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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"{{!!data_table.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(() => FindQuery.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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":8,"bottomRow":12,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":15,"bottomRow":19,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":22,"bottomRow":26,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":29,"bottomRow":33,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update Selected Row"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":8,"bottomRow":12,"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":"col1:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":15,"bottomRow":19,"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":"col2:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":22,"bottomRow":26,"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":"col3:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":29,"bottomRow":33,"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":"col4:"}]}]}]}}],"slug":"mongodb","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc5"},{"publishedPage":{"name":"Redis","userPermissions":[],"layouts":[{"new":false,"id":"Redis","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365f"},{"pluginType":"DB","jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3663"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":41,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"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"}],"children":[{"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":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"3apd2wkt91","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"hhh0296qfj","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_value_input","rightColumn":63,"widgetId":"07ker1hdod","topRow":8,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{FetchValue.data[0].result}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","topRow":0,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Key: {{data_table.selectedRow.result}}"}]}]},{"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,"children":[{"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":[],"children":[{"widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","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"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"tefed053r1","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,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"widgetName":"new_key_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"2rlp4irwh0","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Key","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{FetchKeys.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o9t8fslxdi","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","isDisabled":false},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Redis Data"}]}]},{"widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":590,"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":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","color":"#040627","iconName":"cross","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text21","rightColumn":41,"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"New Key"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false},{"widgetName":"Button2","rightColumn":64,"onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Insert","isDisabled":false},{"isRequired":false,"widgetName":"insert_key_input","rightColumn":64,"widgetId":"ozz6gi7zmm","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key"},{"widgetName":"Text23","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","topRow":16,"bottomRow":20,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Value"},{"isRequired":false,"widgetName":"insert_value_input","rightColumn":64,"widgetId":"pevr27mh87","topRow":16,"bottomRow":50,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":260,"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","color":"#040627","iconName":"cross","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text24","rightColumn":41,"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Value for Key: {{data_table.selectedRow.result}}"},{"widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Close","isDisabled":false},{"widgetName":"Text25","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","topRow":6,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"v8n3d5aecd","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{FetchValue.data[0].result}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"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":[],"children":[{"widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","color":"#040627","iconName":"cross","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text26","rightColumn":41,"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Key"},{"widgetName":"Button6","rightColumn":64,"onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[],"text":"Confirm","isDisabled":false},{"widgetName":"Text27","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","topRow":7,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}"},{"widgetName":"Button7","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lsvqrab5v2","topRow":18,"bottomRow":22,"recaptchaV2":false,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false}],"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","jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365f"},{"pluginType":"DB","jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3663"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":41,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"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"}],"children":[{"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":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"3apd2wkt91","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"hhh0296qfj","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_value_input","rightColumn":63,"widgetId":"07ker1hdod","topRow":8,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{FetchValue.data[0].result}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","topRow":0,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Key: {{data_table.selectedRow.result}}"}]}]},{"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,"children":[{"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":[],"children":[{"widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","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"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"tefed053r1","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,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"widgetName":"new_key_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"2rlp4irwh0","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Key","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{FetchKeys.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o9t8fslxdi","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","isDisabled":false},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Redis Data"}]}]},{"widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":590,"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":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","color":"#040627","iconName":"cross","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text21","rightColumn":41,"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"New Key"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false},{"widgetName":"Button2","rightColumn":64,"onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Insert","isDisabled":false},{"isRequired":false,"widgetName":"insert_key_input","rightColumn":64,"widgetId":"ozz6gi7zmm","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key"},{"widgetName":"Text23","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","topRow":16,"bottomRow":20,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Value"},{"isRequired":false,"widgetName":"insert_value_input","rightColumn":64,"widgetId":"pevr27mh87","topRow":16,"bottomRow":50,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":260,"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","color":"#040627","iconName":"cross","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text24","rightColumn":41,"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Value for Key: {{data_table.selectedRow.result}}"},{"widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Close","isDisabled":false},{"widgetName":"Text25","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","topRow":6,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"v8n3d5aecd","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{FetchValue.data[0].result}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"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":[],"children":[{"widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","color":"#040627","iconName":"cross","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text26","rightColumn":41,"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Key"},{"widgetName":"Button6","rightColumn":64,"onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[],"text":"Confirm","isDisabled":false},{"widgetName":"Text27","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","topRow":7,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}"},{"widgetName":"Button7","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lsvqrab5v2","topRow":18,"bottomRow":22,"recaptchaV2":false,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false}],"isDisabled":false}],"width":456,"height":240}]}}],"slug":"redis","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6"},{"publishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365e"}]],"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":41,"minHeight":860,"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":720,"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":"data_table","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","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._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":8,"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":"{{data_table.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}},{"widgetName":"new_row_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"aiy9e38won","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Row","isDisabled":false},{"isRequired":false,"widgetName":"key_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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\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":30,"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":"","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{SelectQuery.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"qykn04gnsw","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","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":"template_table Data"}]}]},{"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":"35yoxo4oec","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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"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":true,"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":[{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":63,"widgetId":"hdw7qt67dg","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":22,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"col5","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"yy4u8kzs8p","topRow":33,"bottomRow":37,"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":"col5:"},{"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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":50,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow._ref}}","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":490,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":500,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"25okoeayc8","topRow":37,"bottomRow":41,"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":"{{data_table.selectedRow.col5}}","isDisabled":false,"validation":"true"},{"widgetName":"Text20Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"kv1pqyhxvs","topRow":37,"bottomRow":41,"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":"col5 :"},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":48,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"twwgpz5wfu","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_col_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":9,"bottomRow":13,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":16,"bottomRow":20,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":23,"bottomRow":27,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":30,"bottomRow":34,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":8,"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 ID: {{data_table.selectedRow._id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":9,"bottomRow":13,"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":"col1 :"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":16,"bottomRow":20,"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":"col2 :"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":23,"bottomRow":27,"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":"col3 :"},{"widgetName":"Text20","rightColumn":19,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":30,"bottomRow":34,"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":"col4 :"}]}]}]}}],"slug":"firestore","isHidden":false},"new":true,"unpublishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365e"}]],"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":41,"minHeight":860,"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":720,"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":"data_table","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","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._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":8,"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":"{{data_table.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}},{"widgetName":"new_row_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"aiy9e38won","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Row","isDisabled":false},{"isRequired":false,"widgetName":"key_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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\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":30,"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":"","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{SelectQuery.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"qykn04gnsw","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","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":"template_table Data"}]}]},{"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":"35yoxo4oec","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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"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":true,"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":[{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":63,"widgetId":"hdw7qt67dg","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":22,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"col5","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"yy4u8kzs8p","topRow":33,"bottomRow":37,"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":"col5:"},{"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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":50,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow._ref}}","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":490,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":500,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"25okoeayc8","topRow":37,"bottomRow":41,"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":"{{data_table.selectedRow.col5}}","isDisabled":false,"validation":"true"},{"widgetName":"Text20Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"kv1pqyhxvs","topRow":37,"bottomRow":41,"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":"col5 :"},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":48,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"twwgpz5wfu","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_col_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":9,"bottomRow":13,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":16,"bottomRow":20,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":23,"bottomRow":27,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":30,"bottomRow":34,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":8,"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 ID: {{data_table.selectedRow._id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":9,"bottomRow":13,"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":"col1 :"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":16,"bottomRow":20,"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":"col2 :"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":23,"bottomRow":27,"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":"col3 :"},{"widgetName":"Text20","rightColumn":19,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":30,"bottomRow":34,"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":"col4 :"}]}]}]}}],"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","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3666"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":880,"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","col3","col4","col5","col2","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.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.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":"customColumn1","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":2,"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":3,"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":4,"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":1,"isVisible":true,"label":"col3","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":37,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"xp5u9a9nzq","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":"nh3cu4lb1g","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":"35yoxo4oec","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":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":59,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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":604},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.col1}}","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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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":6,"bottomRow":10,"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.col2.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":13,"bottomRow":17,"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.col3.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":20,"bottomRow":24,"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.col4.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":27,"bottomRow":31,"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.col5.toString()}}","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.col1}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":6,"bottomRow":10,"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":"col2:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":13,"bottomRow":17,"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":"col3:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":20,"bottomRow":24,"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":"col4:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":27,"bottomRow":31,"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":"col5:"}]}]}]}}],"slug":"postgresql","isHidden":false},"new":true,"unpublishedPage":{"name":"PostgreSQL","userPermissions":[],"layouts":[{"new":false,"id":"PostgreSQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3666"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":880,"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","col3","col4","col5","col2","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.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.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":"customColumn1","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":2,"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":3,"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":4,"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":1,"isVisible":true,"label":"col3","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":37,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"xp5u9a9nzq","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":"nh3cu4lb1g","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":"35yoxo4oec","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":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":59,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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":604},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.col1}}","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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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":6,"bottomRow":10,"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.col2.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":13,"bottomRow":17,"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.col3.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":20,"bottomRow":24,"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.col4.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":27,"bottomRow":31,"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.col5.toString()}}","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.col1}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":6,"bottomRow":10,"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":"col2:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":13,"bottomRow":17,"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":"col3:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":20,"bottomRow":24,"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":"col4:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":27,"bottomRow":31,"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":"col5:"}]}]}]}}],"slug":"postgresql","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc8"}],"publishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"actionCollectionList":[],"exportedApplication":{"new":true,"color":"#D9E7FF","name":"CRUD App Templates","appIsExample":false,"icon":"bag","isPublic":false,"unreadCommentThreads":0,"slug":"crud-app-templates"},"publishedDefaultPageName":"PostgreSQL"}
\ No newline at end of file
+{"editModeTheme":{"new":true,"isSystemTheme":true,"name":"Classic"},"datasourceList":[{"new":true,"invalids":[],"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3 CRUD","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[{"host":""}],"properties":[{"value":"ap-south-1"},{"value":"amazon-s3","key":"s3Provider"},{"value":"","key":"customRegion"}]},"structure":{}},{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"Appsmith Release","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53","datasourceConfiguration":{"sshProxyEnabled":false,"headers":[{"value":"_hjid=da2ef5e3-4ea5-42dc-b892-7962b7564098; _hjSessionUser_2240640=eyJpZCI6IjBlMTBmNjIzLWVkOTctNTUxZi05MTdiLTY4ODVkYTZmYTk3YyIsImNyZWF0ZWQiOjE2Mzk2NDY4OTYyMjQsImV4aXN0aW5nIjp0cnVlfQ==; SESSION=2c9b76dd-3782-49a5-b7d4-0e1a3437f328; _gid=GA1.2.2089842993.1639981141; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjU5ZjhhZTJlLTgzYjQtNDY5My1hZjA4LTM2ZGRkZjBjNGJiYlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzOTk4MTU4ODg2NywibGFzdEV2ZW50VGltZSI6MTYzOTk4MTU4OTIyNiwiZXZlbnRJZCI6Mjc5LCJpZGVudGlmeUlkIjoxOCwic2VxdWVuY2VOdW1iZXIiOjI5N30=; _ga=GA1.2.1102478328.1639646896; _ga_0JZ9C3M56S=GS1.1.1639981589.96.1.1639981592.0; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217dc2ba5b95100b-0c6940d1bc82d9-133e6453-1aeaa0-17dc2ba5b96f47%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fapp.appsmith.com%2Fapplications%2F6139b6c7dd7786286ddd4f04%2Fpages%2F6139b6c7dd7786286ddd4f0c%3Fbranch%3Dmaster%22%2C%22%24initial_referring_domain%22%3A%20%22app.appsmith.com%22%2C%22%24user_id%22%3A%20%22nikhil%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nikhil%40appsmith.com%22%2C%22userId%22%3A%20%22nikhil%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24email%22%3A%20%22nikhil%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nikhil%22%2C%22%24last_name%22%3A%20%22Nandagopal%22%2C%22%24name%22%3A%20%22Nikhil%20Nandagopal%22%7D; ajs_anonymous_id=%22b87870e1-d510-4512-9bc9-8eb17beadf38%22; ajs_user_id=%22nikhil%40appsmith.com%22; _hjSession_2240640=eyJpZCI6IjQ4OTNkOTdkLWNhZTItNDU0Mi1iYzVmLTNmMDMyNzRmNzcwOSIsImNyZWF0ZWQiOjE2NDAwNjk4NzM1ODF9; _hjAbsoluteSessionInProgress=1; _gat_UA-145062826-1=1; intercom-session-y10e7138=blNYb2tDZ3hPak5zWS9tSU1vVFdtWnFWcTRaajlOd3E5S0hwVGFnUFFxVW92ZEdKVVorWWVza0xzbHZkRmwxUS0tWWhDOHRpdHpDaU44WS9HOEdXUVE3Zz09--07c20fc364abb002140fafe7c2905c6034ee43cf","key":"Cookie"}],"queryParameters":[],"properties":[{"value":"N","key":"isSendSessionEnabled"},{"value":"","key":"sessionSignatureKey"}],"url":"https://release.app.appsmith.com"},"structure":{}},{"new":true,"invalids":[],"pluginId":"firestore-plugin","isValid":true,"name":"FBTemplateDB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f","datasourceConfiguration":{"sshProxyEnabled":false,"url":"https://firebase-crud-template.firebaseio.com"},"structure":{}},{"new":true,"invalids":[],"pluginId":"google-sheets-plugin","isValid":true,"name":"Google Sheet","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941","datasourceConfiguration":{"sshProxyEnabled":false},"structure":{}},{"new":true,"invalids":[],"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[{"port":5432,"host":"mockdb.internal.appsmith.com"}],"connection":{"mode":"READ_WRITE","ssl":{"authType":"DEFAULT"}}},"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_roster_id_seq1'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"date","type":"date","isAutogenerated":false},{"name":"hero_id","type":"int4","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\" (\"date\", \"hero_id\")\n VALUES ('2019-07-01', 1);"},{"title":"UPDATE","body":"UPDATE public.\"aforce_roster\" SET\n \"date\" = '2019-07-01',\n \"hero_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_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}],"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\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1);"},{"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 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":"needs_docs","type":"bool","isAutogenerated":false},{"name":"link","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\", \"needs_docs\", \"link\")\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 \"needs_docs\" = '',\n \"link\" = ''\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}],"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('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":"col3","type":"text","isAutogenerated":false},{"name":"col4","type":"int4","isAutogenerated":false},{"name":"col5","type":"bool","isAutogenerated":false},{"name":"col2","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\" (\"col3\", \"col4\", \"col5\", \"col2\")\n VALUES ('', 1, '', '');"},{"title":"UPDATE","body":"UPDATE public.\"template_table\" SET\n \"col3\" = '',\n \"col4\" = 1,\n \"col5\" = '',\n \"col2\" = ''\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"}]}},{"new":true,"invalids":[],"pluginId":"mongo-plugin","isValid":true,"name":"Mock_Mongo","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797","datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[],"connection":{"mode":"READ_WRITE","type":"DIRECT","ssl":{"authType":"DEFAULT"}},"properties":[{"value":"Yes","key":"Use Mongo Connection String URI"},{"value":"mongodb+srv://mockdb-admin:****@mockdb.swrsq.mongodb.net/admin_db?retryWrites=true&w=majority","key":"Connection String URI"}]},"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"}]}},{"new":true,"invalids":[],"pluginId":"redis-plugin","isValid":true,"name":"RedisTemplateApps","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943","datasourceConfiguration":{"endpoints":[{"port":10339,"host":"redis-10339.c278.us-east-1-4.ec2.cloud.redislabs.com"}]},"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 \"rowIndex\": {{data_table.selectedRow.rowIndex}}, \n\t\t\"col1\": \"{{colInput1.text}}\", \n\t\t\"col2\": \"{{colInput2.text}}\", \n\t\t\"col3\": \"{{colInput3.text}}\", \n\t\t\"col4\": \"{{colInput4.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["colInput1.text","colInput4.text","data_table.selectedRow.rowIndex","colInput2.text","colInput3.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"61764fbeba7e887d03bc364a","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 \"rowIndex\": {{data_table.selectedRow.rowIndex}}, \n\t\t\"col1\": \"{{colInput1.text}}\", \n\t\t\"col2\": \"{{colInput2.text}}\", \n\t\t\"col3\": \"{{colInput3.text}}\", \n\t\t\"col4\": \"{{colInput4.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["colInput1.text","colInput4.text","data_table.selectedRow.rowIndex","colInput2.text","colInput3.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"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":"61764fbeba7e887d03bc3648","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":"61764fbeba7e887d03bc3649","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":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","limit":"SINGLE","update":"{\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}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"UPDATE","smartSubstitution":true,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"mongo-plugin","id":"61764fbeba7e887d03bc3654","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","limit":"SINGLE","update":"{\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}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"UPDATE","smartSubstitution":true,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"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":"61764fbeba7e887d03bc365f","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":"61764fbeba7e887d03bc3660","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 '%{{Table1.searchText || \"\"}}%'\nORDER BY \"{{col_select.selectedOptionValue}}\" {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3666","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 '%{{Table1.searchText || \"\"}}%'\nORDER BY \"{{col_select.selectedOptionValue}}\" {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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,"body":"","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":"61764fbeba7e887d03bc3650","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,"body":"","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 = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3645","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 = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.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":{"updateMany":{"limit":"SINGLE"},"insert":{"documents":"{\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":"template_table","delete":{"limit":"SINGLE"},"command":"INSERT","smartSubstitution":true,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","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":"61764fbeba7e887d03bc3655","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"insert":{"documents":"{\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":"template_table","delete":{"limit":"SINGLE"},"command":"INSERT","smartSubstitution":true,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","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":{"next":"{}","path":"{{data_table.selectedRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"UPDATE","command":"UPDATE_DOCUMENT"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_col_1.text","update_col_5.text","data_table.selectedRow._id","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":"61764fbeba7e887d03bc365b","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"{{data_table.selectedRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"UPDATE","command":"UPDATE_DOCUMENT"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_col_1.text","update_col_5.text","data_table.selectedRow._id","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":{"next":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","path":"template_table","paginationType":"NONE","prev":"{{SelectQuery.data[0]}}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"timestampValuePath":"","startAfter":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","endBefore":"{{SelectQuery.data[0]}}","deleteKeyPath":"","orderBy":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]","limitDocuments":"1","command":"GET_COLLECTION"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter"},{"key":"formData.endBefore"},{"key":"formData.orderBy"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","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":"61764fbeba7e887d03bc365e","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"next":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","path":"template_table","paginationType":"NONE","prev":"{{SelectQuery.data[0]}}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"timestampValuePath":"","startAfter":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","endBefore":"{{SelectQuery.data[0]}}","deleteKeyPath":"","orderBy":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]","limitDocuments":"1","command":"GET_COLLECTION"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter"},{"key":"formData.endBefore"},{"key":"formData.orderBy"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3667","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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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 '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3644","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 '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"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":"{ \n\t\t\"col1\": \"{{insert_col_input1.text}}\", \n\t\t\"col2\": \"{{insert_col_input2.text}}\", \n\t\t\"col3\": \"{{insert_col_input3.text}}\", \n\t\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\t\"col5\": \"{{insert_col_input5.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"61764fbeba7e887d03bc364b","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":"{ \n\t\t\"col1\": \"{{insert_col_input1.text}}\", \n\t\t\"col2\": \"{{insert_col_input2.text}}\", \n\t\t\"col3\": \"{{insert_col_input3.text}}\", \n\t\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\t\"col5\": \"{{insert_col_input5.text}}\"\n}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"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":{"path":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{{FilePicker.files[this.params.fileIndex]}}"},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"61764fbeba7e887d03bc364c","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{{FilePicker.files[this.params.fileIndex]}}"},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"{{search_input.text}}","where":{"condition":"AND","children":[{"condition":"EQ"}]},"expiry":"{{ 60 * 24 }}","signedUrl":"YES","unSignedUrl":"YES"},"delete":{"expiry":"5"},"command":"LIST"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix"},{"key":"formData.list.expiry"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"pluginId":"amazons3-plugin","id":"61764fbeba7e887d03bc364d","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"{{search_input.text}}","where":{"condition":"AND","children":[{"condition":"EQ"}]},"expiry":"{{ 60 * 24 }}","signedUrl":"YES","unSignedUrl":"YES"},"delete":{"expiry":"5"},"command":"LIST"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix"},{"key":"formData.list.expiry"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/uepsj7o6a0hmiodonjr7xrcqj9pixe0s","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\": \"{{branch_input.text}}\"\n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"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} } ) }","branch_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.integromat.com"}},"validName":"update_template","name":"update_template","messages":[]},"pluginId":"restapi-plugin","id":"61764fbeba7e887d03bc364e","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/uepsj7o6a0hmiodonjr7xrcqj9pixe0s","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\": \"{{branch_input.text}}\"\n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"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} } ) }","branch_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.integromat.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_col_2.text}}',\n col3 = '{{update_col_3.text}}',\n col4 = '{{update_col_4.text}}',\n col5 = '{{update_col_5.text}}'\n WHERE col1 = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3646","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_col_2.text}}',\n col3 = '{{update_col_3.text}}',\n col4 = '{{update_col_4.text}}',\n col5 = '{{update_col_5.text}}'\n WHERE col1 = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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":{"updateMany":{"limit":"SINGLE"},"find":{"query":"{ col2: /{{data_table.searchText||\"\"}}/i }","limit":"{{data_table.pageSize}}","skip":"{{(data_table.pageNo - 1) * data_table.pageSize}}","sort":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"FIND","smartSubstitution":false,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","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":"61764fbeba7e887d03bc3652","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"limit":"SINGLE"},"find":{"query":"{ col2: /{{data_table.searchText||\"\"}}/i }","limit":"{{data_table.pageSize}}","skip":"{{(data_table.pageNo - 1) * data_table.pageSize}}","sort":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"collection":"template_table","delete":{"limit":"SINGLE"},"command":"FIND","smartSubstitution":false,"aggregate":{"limit":"101"}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","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":{"updateMany":{"limit":"SINGLE"},"collection":"template_table","delete":{"query":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true,"aggregate":{"limit":"101"}}},"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":"61764fbeba7e887d03bc3653","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":{"updateMany":{"limit":"SINGLE"},"collection":"template_table","delete":{"query":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true,"aggregate":{"limit":"101"}}},"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":{"next":"{}","path":"{{data_table.triggeredRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"DELETE","command":"DELETE_DOCUMENT"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc365c","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"{{data_table.triggeredRow._ref.path}}","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"DELETE","command":"DELETE_DOCUMENT"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"next":"{}","path":"template_table","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"INSERT","command":"ADD_TO_COLLECTION"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","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":"61764fbeba7e887d03bc365d","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"next":"{}","path":"template_table","paginationType":"NONE","prev":"{}","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"orderBy":"FORM","limitDocuments":"INSERT","command":"ADD_TO_COLLECTION"},"body":"{\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}"},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","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":"61764fbeba7e887d03bc3661","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":"61764fbeba7e887d03bc3662","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":"61764fbeba7e887d03bc3663","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\" = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3664","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\" = {{Table1.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["Table1.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3647","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)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \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}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_exported_app","name":"get_exported_app","messages":[]},"pluginId":"restapi-plugin","id":"61764fbeba7e887d03bc364f","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"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=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"{{datasource_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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.split(\"applications/\")[1].split(\"/\")[0]","datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","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":"61764fbeba7e887d03bc3651","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\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"{{datasource_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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.split(\"applications/\")[1].split(\"/\")[0]","datasource_input.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","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\" : \"{{mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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","mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]"],"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":"61764fbeba7e887d03bc3656","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\" : \"{{mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]}}\",\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","mongo_ds_url.text.split(\"applications/\")[1].split(\"/\")[0]"],"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":"61764fbeba7e887d03bc3657","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":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","command":"DELETE_FILE"},"body":"{\n\t\"data\": \"null\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc3658","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","command":"DELETE_FILE"},"body":"{\n\t\"data\": \"null\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"READ_FILE"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":"61764fbeba7e887d03bc3659","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{File_List.selectedItem.fileName}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"READ_FILE"},"body":"{\n\t\"data\": \"\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"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":{"path":"{{update_file_name.text}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","where":{"children":[{"condition":"EQ"}]},"expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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":"61764fbeba7e887d03bc365a","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"{{update_file_name.text}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":"assets-test.appsmith.com","read":{"usingBase64Encoding":"YES","dataType":"YES","expiry":"5"},"create":{"dataType":"YES","expiry":"5"},"list":{"prefix":"","where":{"children":[{"condition":"EQ"}]},"expiry":"5","signedUrl":"NO"},"delete":{"expiry":"5"},"command":"UPLOAD_FILE_FROM_BODY"},"body":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"body"},{"key":"path"}],"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_col_2.text}}',\n \"col3\" = '{{update_col_3.text}}',\n \"col4\" = '{{update_col_4.text}}',\n \"col5\" = '{{update_col_5.text}}'\n WHERE \"col1\" = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"61764fbeba7e887d03bc3665","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_col_2.text}}',\n \"col3\" = '{{update_col_3.text}}',\n \"col4\" = '{{update_col_4.text}}',\n \"col5\" = '{{update_col_5.text}}'\n WHERE \"col1\" = {{Table1.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","Table1.selectedRow.col1","update_col_2.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"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":"618bb2fe4c4b7031f0bf5f0f","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"}],"clientSchemaVersion":1,"publishedDefaultPageName":"PostgreSQL","unpublishedDefaultPageName":"PostgreSQL","publishedTheme":{"new":true,"isSystemTheme":true,"name":"Classic"},"serverSchemaVersion":1,"unpublishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"pageList":[{"publishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"API","jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364f"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1302,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Form1","backgroundColor":"#2E3D49","rightColumn":45,"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Text1","rightColumn":53,"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update App Template"},{"widgetName":"Text2","rightColumn":61,"textAlign":"LEFT","widgetId":"w2l08fshj2","topRow":10,"bottomRow":62,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"shouldScroll":true,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{\"<pre>\" + JSON.stringify(get_exported_app.data, null, 2) + \"</pre>\" || \"Fetch The App\"}}"},{"widgetName":"Button1","rightColumn":21,"onClick":"{{\n get_exported_app.run(() => {\n \tconst arr = JSON.parse(datasource_arr.text);\n\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n storeValue(params.name, res); \n },undefined, row)\n })\n })\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2vtg0qdlqv","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":3,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Fetch App","isDisabled":false},{"widgetName":"Button2","rightColumn":63,"onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"jg23u09rwk","topRow":72,"bottomRow":76,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":4,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}"},{"isRequired":false,"widgetName":"branch_input","rightColumn":49,"widgetId":"d6shlon0z2","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":12,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Branch name","defaultText":"update-crud-template","isDisabled":false,"validation":"true"},{"widgetName":"Text3","rightColumn":12,"textAlign":"LEFT","widgetId":"y57v1yp7vb","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"HEADING3","text":"Branch"},{"widgetName":"Text4","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"LEFT","widgetId":"fanskapltd","topRow":67,"bottomRow":71,"parentRowSpace":10,"isVisible":true,"fontStyle":"","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Note : Please use update-crud-template branch to avoid TCs failing in release"}]}]},{"widgetName":"datasource_arr","rightColumn":16,"textAlign":"LEFT","widgetId":"znji9afu2q","topRow":1,"bottomRow":35,"parentRowSpace":10,"isVisible":false,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]"}]}}],"slug":"admin","isHidden":false},"new":true,"unpublishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"API","jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364f"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1302,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Form1","backgroundColor":"#2E3D49","rightColumn":45,"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Text1","rightColumn":53,"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update App Template"},{"widgetName":"Text2","rightColumn":61,"textAlign":"LEFT","widgetId":"w2l08fshj2","topRow":10,"bottomRow":62,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"shouldScroll":true,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{\"<pre>\" + JSON.stringify(get_exported_app.data, null, 2) + \"</pre>\" || \"Fetch The App\"}}"},{"widgetName":"Button1","rightColumn":21,"onClick":"{{\n get_exported_app.run(() => {\n \tconst arr = JSON.parse(datasource_arr.text);\n\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n storeValue(params.name, res); \n },undefined, row)\n })\n })\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2vtg0qdlqv","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":3,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Fetch App","isDisabled":false},{"widgetName":"Button2","rightColumn":63,"onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"jg23u09rwk","topRow":72,"bottomRow":76,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":4,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}"},{"isRequired":false,"widgetName":"branch_input","rightColumn":49,"widgetId":"d6shlon0z2","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":12,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Branch name","defaultText":"update-crud-template","isDisabled":false,"validation":"true"},{"widgetName":"Text3","rightColumn":12,"textAlign":"LEFT","widgetId":"y57v1yp7vb","topRow":63,"bottomRow":67,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"HEADING3","text":"Branch"},{"widgetName":"Text4","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"LEFT","widgetId":"fanskapltd","topRow":67,"bottomRow":71,"parentRowSpace":10,"isVisible":true,"fontStyle":"","type":"TEXT_WIDGET","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Note : Please use update-crud-template branch to avoid TCs failing in release"}]}]},{"widgetName":"datasource_arr","rightColumn":16,"textAlign":"LEFT","widgetId":"znji9afu2q","topRow":1,"bottomRow":35,"parentRowSpace":10,"isVisible":false,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]"}]}}],"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","jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3648"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":44,"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,"dynamicBindingPathList":[],"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":"data_table","columnOrder":["col1","col2","col3","col4","rowIndex","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":6,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","defaultSelectedRow":"0","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"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"PARAGRAPH","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":1,"bottomRow":5,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","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":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","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":"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":true,"isLoading":false,"parentColumnSpace":18.8828125,"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":"Text11","rightColumn":41,"textAlign":"LEFT","widgetId":"35yoxo4oec","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":"Alert"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"delete_button","rightColumn":64,"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})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"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":60,"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":"hqtpvn9ut2","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":"ipc9o3ksyi","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hqtpvn9ut2","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{(function () {\nInsertQuery.run(() =>{ \t\tshowAlert('Item successfully inserted!','success');\ncloseModal('Insert_Modal');\nSelectQuery.run();\n}, (error) => showAlert(error,'error'));\n})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"s2jtkzz2ub","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"FormButton2","rightColumn":45,"isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"396envygmb","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"widgetName":"Text21","rightColumn":18,"textAlign":"RIGHT","widgetId":"vwgogtczul","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col1:"},{"isRequired":true,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"cbz2r2wizv","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col1}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":18,"textAlign":"RIGHT","widgetId":"t2a63abehn","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col2:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"tjrktjwn9c","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","defaultText":"","placeholderText":"{{data_table.tableData[0].col2}}","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":18,"textAlign":"RIGHT","widgetId":"0xqhj661rj","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"et0p9va1yw","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col3}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":18,"textAlign":"RIGHT","widgetId":"mxztke60bg","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"wp3nuhaz7m","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col4}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":18,"textAlign":"RIGHT","widgetId":"2xn45kukrz","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col5:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"lqhw4zvrts","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col5}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":35,"textAlign":"LEFT","widgetId":"iuydklwdo3","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"ipc9o3ksyi","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":"{{data_table.selectedRowIndex >= 0}}","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(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"isRequired":false,"widgetName":"colInput1","rightColumn":62,"widgetId":"in8e51pg3y","topRow":7,"bottomRow":11,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput2","rightColumn":62,"widgetId":"mlhvfasf31","topRow":14,"bottomRow":18,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput3","rightColumn":62,"widgetId":"0lz9vhcnr0","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput4","rightColumn":62,"widgetId":"m4esf7fww5","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":1,"bottomRow":5,"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 Index: {{data_table.selectedRow.rowIndex}}"},{"widgetName":"col_text_1","rightColumn":17,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":7,"bottomRow":11,"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":"col1:"},{"widgetName":"col_text_2","rightColumn":17,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":14,"bottomRow":18,"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":"col2:"},{"widgetName":"col_text_3","rightColumn":17,"textAlign":"RIGHT","widgetId":"l109ilp3vq","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"widgetName":"col_text_4","rightColumn":17,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"}]}]}]}}],"slug":"google-sheets","isHidden":false},"new":true,"unpublishedPage":{"name":"Google Sheets","userPermissions":[],"layouts":[{"new":false,"id":"Google Sheets","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3648"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":44,"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,"dynamicBindingPathList":[],"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":"data_table","columnOrder":["col1","col2","col3","col4","rowIndex","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":6,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","defaultSelectedRow":"0","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"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"PARAGRAPH","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":1,"bottomRow":5,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","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":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","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":"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":true,"isLoading":false,"parentColumnSpace":18.8828125,"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":"Text11","rightColumn":41,"textAlign":"LEFT","widgetId":"35yoxo4oec","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":"Alert"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"delete_button","rightColumn":64,"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})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":16,"bottomRow":20,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"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":60,"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":"hqtpvn9ut2","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":"ipc9o3ksyi","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hqtpvn9ut2","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{(function () {\nInsertQuery.run(() =>{ \t\tshowAlert('Item successfully inserted!','success');\ncloseModal('Insert_Modal');\nSelectQuery.run();\n}, (error) => showAlert(error,'error'));\n})()}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"s2jtkzz2ub","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"FormButton2","rightColumn":45,"isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"396envygmb","topRow":51,"bottomRow":55,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"widgetName":"Text21","rightColumn":18,"textAlign":"RIGHT","widgetId":"vwgogtczul","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col1:"},{"isRequired":true,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"cbz2r2wizv","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col1}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":18,"textAlign":"RIGHT","widgetId":"t2a63abehn","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col2:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"tjrktjwn9c","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","defaultText":"","placeholderText":"{{data_table.tableData[0].col2}}","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":18,"textAlign":"RIGHT","widgetId":"0xqhj661rj","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"et0p9va1yw","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col3}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":18,"textAlign":"RIGHT","widgetId":"mxztke60bg","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"wp3nuhaz7m","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col4}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":18,"textAlign":"RIGHT","widgetId":"2xn45kukrz","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col5:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"lqhw4zvrts","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"ipc9o3ksyi","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":20,"dynamicBindingPathList":[{"key":"placeholderText"}],"inputType":"TEXT","placeholderText":"{{data_table.tableData[0].col5}}","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":35,"textAlign":"LEFT","widgetId":"iuydklwdo3","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"ipc9o3ksyi","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":"{{data_table.selectedRowIndex >= 0}}","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(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"isRequired":false,"widgetName":"colInput1","rightColumn":62,"widgetId":"in8e51pg3y","topRow":7,"bottomRow":11,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput2","rightColumn":62,"widgetId":"mlhvfasf31","topRow":14,"bottomRow":18,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput3","rightColumn":62,"widgetId":"0lz9vhcnr0","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"colInput4","rightColumn":62,"widgetId":"m4esf7fww5","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":1,"bottomRow":5,"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 Index: {{data_table.selectedRow.rowIndex}}"},{"widgetName":"col_text_1","rightColumn":17,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":7,"bottomRow":11,"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":"col1:"},{"widgetName":"col_text_2","rightColumn":17,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":14,"bottomRow":18,"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":"col2:"},{"widgetName":"col_text_3","rightColumn":17,"textAlign":"RIGHT","widgetId":"l109ilp3vq","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col3:"},{"widgetName":"col_text_4","rightColumn":17,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","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":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"col4:"}]}]}]}}],"slug":"google-sheets","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1"},{"publishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365e"}]],"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":41,"minHeight":860,"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":720,"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":"data_table","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","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._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":8,"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":"{{data_table.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}},{"widgetName":"new_row_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"aiy9e38won","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Row","isDisabled":false},{"isRequired":false,"widgetName":"key_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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\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":30,"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":"","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{SelectQuery.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"qykn04gnsw","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","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":"template_table Data"}]}]},{"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":"35yoxo4oec","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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"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":true,"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":[{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":63,"widgetId":"hdw7qt67dg","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":22,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"col5","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"yy4u8kzs8p","topRow":33,"bottomRow":37,"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":"col5:"},{"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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":50,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow._ref}}","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":490,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":500,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"25okoeayc8","topRow":37,"bottomRow":41,"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":"{{data_table.selectedRow.col5}}","isDisabled":false,"validation":"true"},{"widgetName":"Text20Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"kv1pqyhxvs","topRow":37,"bottomRow":41,"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":"col5 :"},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":48,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"twwgpz5wfu","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_col_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":9,"bottomRow":13,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":16,"bottomRow":20,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":23,"bottomRow":27,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":30,"bottomRow":34,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":8,"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 ID: {{data_table.selectedRow._id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":9,"bottomRow":13,"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":"col1 :"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":16,"bottomRow":20,"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":"col2 :"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":23,"bottomRow":27,"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":"col3 :"},{"widgetName":"Text20","rightColumn":19,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":30,"bottomRow":34,"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":"col4 :"}]}]}]}}],"slug":"firestore","isHidden":false},"new":true,"unpublishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365e"}]],"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":41,"minHeight":860,"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":720,"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":"data_table","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","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._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":8,"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":"{{data_table.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}},{"widgetName":"new_row_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"aiy9e38won","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Row","isDisabled":false},{"isRequired":false,"widgetName":"key_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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\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":30,"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":"","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{SelectQuery.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"qykn04gnsw","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","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":"template_table Data"}]}]},{"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":"35yoxo4oec","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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"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,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"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":true,"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":[{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":63,"widgetId":"hdw7qt67dg","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":22,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"col5","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"yy4u8kzs8p","topRow":33,"bottomRow":37,"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":"col5:"},{"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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","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,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":50,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow._ref}}","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":490,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":500,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"25okoeayc8","topRow":37,"bottomRow":41,"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":"{{data_table.selectedRow.col5}}","isDisabled":false,"validation":"true"},{"widgetName":"Text20Copy","rightColumn":19,"textAlign":"RIGHT","widgetId":"kv1pqyhxvs","topRow":37,"bottomRow":41,"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":"col5 :"},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":48,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"twwgpz5wfu","topRow":43,"bottomRow":47,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_col_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":9,"bottomRow":13,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":16,"bottomRow":20,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":23,"bottomRow":27,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":30,"bottomRow":34,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":8,"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 ID: {{data_table.selectedRow._id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":9,"bottomRow":13,"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":"col1 :"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":16,"bottomRow":20,"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":"col2 :"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":23,"bottomRow":27,"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":"col3 :"},{"widgetName":"Text20","rightColumn":19,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":30,"bottomRow":34,"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":"col4 :"}]}]}]}}],"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","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3666"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":880,"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","col3","col4","col5","col2","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.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.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":"customColumn1","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":2,"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":3,"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":4,"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":1,"isVisible":true,"label":"col3","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":37,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"xp5u9a9nzq","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":"nh3cu4lb1g","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":"35yoxo4oec","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":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":59,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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":604},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.col1}}","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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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":6,"bottomRow":10,"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.col2.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":13,"bottomRow":17,"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.col3.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":20,"bottomRow":24,"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.col4.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":27,"bottomRow":31,"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.col5.toString()}}","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.col1}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":6,"bottomRow":10,"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":"col2:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":13,"bottomRow":17,"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":"col3:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":20,"bottomRow":24,"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":"col4:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":27,"bottomRow":31,"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":"col5:"}]}]}]}}],"slug":"postgresql","isHidden":false},"new":true,"unpublishedPage":{"name":"PostgreSQL","userPermissions":[],"layouts":[{"new":false,"id":"PostgreSQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3666"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":880,"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","col3","col4","col5","col2","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.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.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":"customColumn1","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":2,"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":3,"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":4,"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":1,"isVisible":true,"label":"col3","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":37,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"xp5u9a9nzq","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":"nh3cu4lb1g","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":"35yoxo4oec","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":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":59,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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":604},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.col1}}","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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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":6,"bottomRow":10,"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.col2.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":13,"bottomRow":17,"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.col3.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":20,"bottomRow":24,"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.col4.toString()}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":27,"bottomRow":31,"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.col5.toString()}}","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.col1}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":6,"bottomRow":10,"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":"col2:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":13,"bottomRow":17,"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":"col3:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":20,"bottomRow":24,"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":"col4:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":27,"bottomRow":31,"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":"col5:"}]}]}]}}],"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":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":45,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Tabs1","rightColumn":44,"widgetId":"jalvzswyyk","defaultTab":"SQL","topRow":13,"bottomRow":54,"shouldShowTabs":true,"parentRowSpace":10,"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":15,"dynamicBindingPathList":[],"children":[{"tabId":"tab1","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":430,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"widgetName":"tableName_input","rightColumn":63,"widgetId":"f8k5jt9mjm","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"datasource_input","rightColumn":63,"widgetId":"4j1xd4hih9","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text2","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"widgetName":"Text4","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Name"},{"widgetName":"Text6","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Columns to Select"},{"isRequired":false,"widgetName":"select_cols_input","rightColumn":63,"widgetId":"pwt5ybili3","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text7","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Column to Search"},{"isRequired":false,"widgetName":"search_col_input","rightColumn":63,"widgetId":"bnro1si5sz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"resetFormOnClick":false,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"n6220hgzzs","topRow":31,"bottomRow":35,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate"}]},{"tabId":"tab2","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":[],"children":[{"widgetName":"Text8","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"DataSource URL"},{"isRequired":false,"widgetName":"gsheet_ds_input","rightColumn":62,"widgetId":"a8kpjqdp59","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"SpreadSheet URL"},{"isRequired":false,"widgetName":"spreadsheet_input","rightColumn":62,"widgetId":"80kk95t99i","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text10","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Sheet Name"},{"isRequired":false,"widgetName":"sheet_input","rightColumn":62,"widgetId":"a35cwuivq7","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text11","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Header Index"},{"isRequired":false,"widgetName":"header_input","rightColumn":62,"widgetId":"jrhp3pwzll","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button1","rightColumn":62,"onClick":"{{generate_gsheet_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"zzsh2d5rns","topRow":30,"bottomRow":34,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]},{"tabId":"tab7qxuerb9p7","widgetName":"Canvas4","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","topRow":1,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"jalvzswyyk","minHeight":410,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text12","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"isRequired":false,"widgetName":"mongo_ds_url","rightColumn":61,"widgetId":"r8yvmt103v","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Collection Name"},{"isRequired":false,"widgetName":"collection_input","rightColumn":61,"widgetId":"sbe7jfnafu","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Keys to Fetch"},{"isRequired":false,"widgetName":"fetch_keys_input","rightColumn":61,"widgetId":"74tjl0q7x3","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text15","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key to Search"},{"isRequired":false,"widgetName":"search_keys_input","rightColumn":61,"widgetId":"ie4mp16js1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button2","rightColumn":62,"onClick":"{{generate_mongo_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"6ui5kmqebf","topRow":29,"bottomRow":33,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]}]}]}}],"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":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":45,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Tabs1","rightColumn":44,"widgetId":"jalvzswyyk","defaultTab":"SQL","topRow":13,"bottomRow":54,"shouldShowTabs":true,"parentRowSpace":10,"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":15,"dynamicBindingPathList":[],"children":[{"tabId":"tab1","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":430,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"widgetName":"tableName_input","rightColumn":63,"widgetId":"f8k5jt9mjm","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"datasource_input","rightColumn":63,"widgetId":"4j1xd4hih9","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text2","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","topRow":3,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"widgetName":"Text4","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Name"},{"widgetName":"Text6","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Columns to Select"},{"isRequired":false,"widgetName":"select_cols_input","rightColumn":63,"widgetId":"pwt5ybili3","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text7","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Column to Search"},{"isRequired":false,"widgetName":"search_col_input","rightColumn":63,"widgetId":"bnro1si5sz","topRow":25,"bottomRow":29,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"parentColumnSpace":8.35546875,"resetOnSubmit":true,"leftColumn":14,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"resetFormOnClick":false,"widgetName":"FormButton1","rightColumn":63,"onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"n6220hgzzs","topRow":31,"bottomRow":35,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate"}]},{"tabId":"tab2","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":[],"children":[{"widgetName":"Text8","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"DataSource URL"},{"isRequired":false,"widgetName":"gsheet_ds_input","rightColumn":62,"widgetId":"a8kpjqdp59","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"SpreadSheet URL"},{"isRequired":false,"widgetName":"spreadsheet_input","rightColumn":62,"widgetId":"80kk95t99i","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text10","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Sheet Name"},{"isRequired":false,"widgetName":"sheet_input","rightColumn":62,"widgetId":"a35cwuivq7","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text11","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Table Header Index"},{"isRequired":false,"widgetName":"header_input","rightColumn":62,"widgetId":"jrhp3pwzll","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":16,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button1","rightColumn":62,"onClick":"{{generate_gsheet_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"zzsh2d5rns","topRow":30,"bottomRow":34,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"neexe4fljs","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]},{"tabId":"tab7qxuerb9p7","widgetName":"Canvas4","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","topRow":1,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"jalvzswyyk","minHeight":410,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text12","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Datasource URL"},{"isRequired":false,"widgetName":"mongo_ds_url","rightColumn":61,"widgetId":"r8yvmt103v","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text13","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Collection Name"},{"isRequired":false,"widgetName":"collection_input","rightColumn":61,"widgetId":"sbe7jfnafu","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Keys to Fetch"},{"isRequired":false,"widgetName":"fetch_keys_input","rightColumn":61,"widgetId":"74tjl0q7x3","topRow":15,"bottomRow":19,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text15","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key to Search"},{"isRequired":false,"widgetName":"search_keys_input","rightColumn":61,"widgetId":"ie4mp16js1","topRow":22,"bottomRow":26,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"resetOnSubmit":true,"leftColumn":17,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Button2","rightColumn":62,"onClick":"{{generate_mongo_app.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"6ui5kmqebf","topRow":29,"bottomRow":33,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Generate","isDisabled":false}]}]}]}}],"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","jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3652"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":2192,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":"data_table","columnOrder":["customColumn1","_id","col4","col2","col3","col1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.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._id.computedValue"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"key_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\n]","onOptionChange":"{{FindQuery.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":30,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"1","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"1\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-1\"\n }\n]","onOptionChange":"{{FindQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":41,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"nj85l57r47","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":"atgojamsmw","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":"35yoxo4oec","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(() => FindQuery.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(() => FindQuery.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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"{{!!data_table.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(() => FindQuery.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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":8,"bottomRow":12,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":15,"bottomRow":19,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":22,"bottomRow":26,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":29,"bottomRow":33,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update Selected Row"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":8,"bottomRow":12,"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":"col1:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":15,"bottomRow":19,"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":"col2:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":22,"bottomRow":26,"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":"col3:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":29,"bottomRow":33,"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":"col4:"}]}]}]}}],"slug":"mongodb","isHidden":false},"new":true,"unpublishedPage":{"name":"MongoDB","userPermissions":[],"layouts":[{"new":false,"id":"MongoDB","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["key_select.selectedOptionValue","data_table.pageSize","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3652"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":2192,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"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":"data_table","columnOrder":["customColumn1","_id","col4","col2","col3","col1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.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._id.computedValue"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"{{data_table.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"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.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":"{{data_table.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":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"key_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t},\n\t{\n\t\t\"label\": \"col4\",\n\t\t\"value\": \"col4\"\n\t}\n]","onOptionChange":"{{FindQuery.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":30,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{FindQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"1","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"ASC\",\n \"value\": \"1\"\n },\n {\n \"label\": \"DESC\",\n \"value\": \"-1\"\n }\n]","onOptionChange":"{{FindQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":41,"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":"template_table Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"nj85l57r47","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":"atgojamsmw","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":"35yoxo4oec","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(() => FindQuery.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(() => FindQuery.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":"col1:"},{"isRequired":true,"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":"col1","defaultText":"","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"{{!!data_table.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(() => FindQuery.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":47,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"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_1","rightColumn":63,"widgetId":"in8e51pg3y","topRow":8,"bottomRow":12,"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":"{{data_table.selectedRow.col1}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"mlhvfasf31","topRow":15,"bottomRow":19,"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":"{{data_table.selectedRow.col2}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":22,"bottomRow":26,"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":"{{data_table.selectedRow.col3}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"m4esf7fww5","topRow":29,"bottomRow":33,"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":"{{data_table.selectedRow.col4}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update Selected Row"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":8,"bottomRow":12,"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":"col1:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":15,"bottomRow":19,"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":"col2:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":22,"bottomRow":26,"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":"col3:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":29,"bottomRow":33,"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":"col4:"}]}]}]}}],"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","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3644"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":47,"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":"","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":"template_table 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":"35yoxo4oec","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,"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,"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,"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,"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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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.col1}}","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,"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,"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.col2}}","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.col3}}","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.col4}}","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.col5}}","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.col1}}"},{"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":"col2:"},{"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":"col3:"},{"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":"col4:"},{"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":"col5:"}]}]}]}}],"slug":"sql","isHidden":false},"new":true,"unpublishedPage":{"name":"SQL","userPermissions":[],"layouts":[{"new":false,"id":"SQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3644"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":47,"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":"","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":"col1","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n\t{\n\t\t\"label\": \"col1\",\n\t\t\"value\": \"col1\"\n\t},\n\t{\n\t\t\"label\": \"col2\",\n\t\t\"value\": \"col2\"\n\t},\n\t{\n\t\t\"label\": \"col3\",\n\t\t\"value\": \"col3\"\n\t}\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":"template_table 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":"35yoxo4oec","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,"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,"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,"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,"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":"col1:"},{"isRequired":true,"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":"col1","isDisabled":false,"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":"col2:"},{"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":"col2","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":"col3:"},{"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":"col3","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":"col4:"},{"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":"col4","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":"col5:"},{"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":"col5","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.col1}}","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,"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,"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.col2}}","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.col3}}","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.col4}}","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.col5}}","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.col1}}"},{"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":"col2:"},{"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":"col3:"},{"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":"col4:"},{"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":"col5:"}]}]}]}}],"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","jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364d"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1054,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1300,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","color":"#040627","iconName":"cross","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text15Copy","rightColumn":41,"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Zoom Image"},{"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":[],"buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"image":"{{selected_files.selectedItem.base64}}","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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"backgroundColor":"#FFFFFF","widgetName":"Container3","rightColumn":37,"widgetId":"th4d9oxy8z","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"onTextChanged":"{{ListFiles.run()}}","widgetName":"search_input","rightColumn":40,"widgetId":"0llmlojupa","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"parentColumnSpace":19.5,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Search File Prefix","defaultText":"","isDisabled":false,"validation":"true"},{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","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":"CIRCLE","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","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":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","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":"CIRCLE","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":"contain","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,"enableRotation":false},"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"}},"widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":7,"bottomRow":80,"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"}],"gridType":"vertical","enhancements":true,"children":[{"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":"transparent","disallowCopy":true,"isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","containerStyle":"none","topRow":0,"bottomRow":160,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"widgetName":"FileListItemName","rightColumn":63,"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},"topRow":0,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{currentItem.fileName}}"},{"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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","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,"enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"0","key":"cw0dtdoe0g","disablePropertyPane":true,"backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"}],"key":"29vrztch46","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false}],"key":"x51ms5k6q9","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#FFFFFF","widgetId":"cjgg2thzom","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false}]}]},{"widgetName":"Text6","rightColumn":64,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","topRow":0,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#2E3D49","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"template_table Bucket"},{"widgetName":"Upload_Files_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"1fxorj7v97","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"d8io5ijwj4","topRow":0,"bottomRow":620,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"1fxorj7v97","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[],"isDisabled":false}],"width":532,"height":600},{"widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","color":"#040627","iconName":"cross","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text12","rightColumn":41,"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete File"},{"widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"Button11","rightColumn":64,"onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","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":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text13","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","topRow":5,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon4","rightColumn":64,"onClick":"{{closeModal('Edit_Modal')}}","color":"#040627","iconName":"cross","widgetId":"pstfdcc1e4","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text17","rightColumn":41,"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update File"},{"widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","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"}],"buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"widgetName":"Text18","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"File Name"},{"isRequired":false,"widgetName":"update_file_name","rightColumn":64,"widgetId":"je0ea8ma5d","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{File_List.selectedItem.fileName}}","isDisabled":true,"validation":"true"},{"widgetName":"update_file_picker","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":22,"dynamicBindingPathList":[],"isDisabled":false,"key":"h2212wpg64","isRequired":false,"rightColumn":56,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}],"isDisabled":false}],"width":456,"height":240},{"backgroundColor":"#FFFFFF","widgetName":"Container6","rightColumn":64,"widgetId":"yg1iyxq9kd","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":37,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Button8","rightColumn":46,"onClick":"{{closeModal('Upload_Files_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"bx8wok3aut","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":31,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"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":{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":23,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}","isDisabled":false},"Image2":{"image":"{{selected_files.listData.map((currentItem) => currentItem.base64)}}","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,"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,"children":["romgsruzxz"],"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":[],"dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"widgetName":"selected_files","backgroundColor":"","rightColumn":64,"listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"itemBackgroundColor":"#FFFFFF","widgetId":"0n30419eso","topRow":21,"bottomRow":73,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","type":"LIST_WIDGET","parentId":"xv97g6rzgq","gridGap":0,"isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"}],"gridType":"vertical","enhancements":true,"children":[{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":510,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":520,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":13,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text14","rightColumn":31,"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},"topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":19,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"},{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":4,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{currentItem.name}}","isDisabled":false,"validation":"true"},{"image":"{{currentItem.base64}}","widgetName":"Image2","rightColumn":18,"onClick":"{{showModal('Zoom_Modal2')}}","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},"topRow":0,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"}]}],"disablePropertyPane":true}]}]},{"isRequired":false,"widgetName":"folder_name","rightColumn":63,"widgetId":"fjh7zgcdmh","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"folder/sub-folder","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":14,"textAlign":"LEFT","widgetId":"jc21bnjh92","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Upload Folder"},{"widgetName":"Text7","rightColumn":52,"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Upload New Files"},{"widgetName":"upload_button","rightColumn":63,"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}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"widgetName":"Text19","rightColumn":52,"textAlign":"LEFT","dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"9wh2ereoy9","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"fontSize":"HEADING3","text":"Selected Files"},{"widgetName":"FilePicker","dynamicPropertyPathList":[],"displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"leftColumn":31,"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","isRequired":false,"rightColumn":58,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}]}]}]}}],"slug":"s3","isHidden":false},"new":true,"unpublishedPage":{"name":"S3","userPermissions":[],"layouts":[{"new":false,"id":"S3","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc364d"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1054,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1300,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":49,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","color":"#040627","iconName":"cross","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text15Copy","rightColumn":41,"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Zoom Image"},{"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":[],"buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"image":"{{selected_files.selectedItem.base64}}","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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"backgroundColor":"#FFFFFF","widgetName":"Container3","rightColumn":37,"widgetId":"th4d9oxy8z","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"isRequired":false,"onTextChanged":"{{ListFiles.run()}}","widgetName":"search_input","rightColumn":40,"widgetId":"0llmlojupa","topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"parentColumnSpace":19.5,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Search File Prefix","defaultText":"","isDisabled":false,"validation":"true"},{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","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":"CIRCLE","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","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":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","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":"CIRCLE","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":"contain","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,"enableRotation":false},"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"}},"widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":7,"bottomRow":80,"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"}],"gridType":"vertical","enhancements":true,"children":[{"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":"transparent","disallowCopy":true,"isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","containerStyle":"none","topRow":0,"bottomRow":160,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"link","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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#03B365","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"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":[],"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":"CIRCLE","buttonVariant":"TERTIARY"},{"widgetName":"FileListItemName","rightColumn":63,"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},"topRow":0,"bottomRow":7,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{currentItem.fileName}}"},{"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"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","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,"enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"0","key":"cw0dtdoe0g","disablePropertyPane":true,"backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"}],"key":"29vrztch46","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false}],"key":"x51ms5k6q9","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#FFFFFF","widgetId":"cjgg2thzom","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false}]}]},{"widgetName":"Text6","rightColumn":64,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","topRow":0,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#2E3D49","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"template_table Bucket"},{"widgetName":"Upload_Files_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"1fxorj7v97","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"d8io5ijwj4","topRow":0,"bottomRow":620,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"1fxorj7v97","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[],"isDisabled":false}],"width":532,"height":600},{"widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","color":"#040627","iconName":"cross","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text12","rightColumn":41,"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete File"},{"widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"Button11","rightColumn":64,"onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","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":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text13","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","topRow":5,"bottomRow":16,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Icon4","rightColumn":64,"onClick":"{{closeModal('Edit_Modal')}}","color":"#040627","iconName":"cross","widgetId":"pstfdcc1e4","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"iconSize":24},{"widgetName":"Text17","rightColumn":41,"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Update File"},{"widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","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":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"widgetName":"update_button","rightColumn":64,"onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","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"}],"buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"widgetName":"Text18","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"File Name"},{"isRequired":false,"widgetName":"update_file_name","rightColumn":64,"widgetId":"je0ea8ma5d","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"6i7m9kpuky","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{File_List.selectedItem.fileName}}","isDisabled":true,"validation":"true"},{"widgetName":"update_file_picker","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":22,"dynamicBindingPathList":[],"isDisabled":false,"key":"h2212wpg64","isRequired":false,"rightColumn":56,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}],"isDisabled":false}],"width":456,"height":240},{"backgroundColor":"#FFFFFF","widgetName":"Container6","rightColumn":64,"widgetId":"yg1iyxq9kd","containerStyle":"card","topRow":5,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"leftColumn":37,"dynamicBindingPathList":[],"children":[{"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":[],"children":[{"widgetName":"Button8","rightColumn":46,"onClick":"{{closeModal('Upload_Files_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"bx8wok3aut","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":31,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Cancel","isDisabled":false},{"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":{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":1,"bottomRow":5,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":23,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}","isDisabled":false},"Image2":{"image":"{{selected_files.listData.map((currentItem) => currentItem.base64)}}","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,"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,"children":["romgsruzxz"],"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":[],"dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"widgetName":"selected_files","backgroundColor":"","rightColumn":64,"listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"itemBackgroundColor":"#FFFFFF","widgetId":"0n30419eso","topRow":21,"bottomRow":73,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","type":"LIST_WIDGET","parentId":"xv97g6rzgq","gridGap":0,"isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"}],"gridType":"vertical","enhancements":true,"children":[{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":510,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":520,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":13,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"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":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text14","rightColumn":31,"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},"topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":19,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"},{"isRequired":false,"widgetName":"update_files_name","rightColumn":63,"widgetId":"7zziet357m","logBlackList":{"isRequired":true,"widgetName":true,"rightColumn":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"label":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"inputType":true,"isDisabled":true},"topRow":4,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{currentItem.name}}","isDisabled":false,"validation":"true"},{"image":"{{currentItem.base64}}","widgetName":"Image2","rightColumn":18,"onClick":"{{showModal('Zoom_Modal2')}}","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},"topRow":0,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"}]}],"disablePropertyPane":true}]}]},{"isRequired":false,"widgetName":"folder_name","rightColumn":63,"widgetId":"fjh7zgcdmh","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"folder/sub-folder","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":14,"textAlign":"LEFT","widgetId":"jc21bnjh92","topRow":6,"bottomRow":10,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Upload Folder"},{"widgetName":"Text7","rightColumn":52,"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Upload New Files"},{"widgetName":"upload_button","rightColumn":63,"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}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"#03B365","widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"isDisabled"}],"buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"widgetName":"Text19","rightColumn":52,"textAlign":"LEFT","dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"9wh2ereoy9","topRow":17,"bottomRow":21,"parentRowSpace":10,"isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"fontSize":"HEADING3","text":"Selected Files"},{"widgetName":"FilePicker","dynamicPropertyPathList":[],"displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"leftColumn":31,"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","isRequired":false,"rightColumn":58,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"files":[],"maxNumFiles":1}]}]}]}}],"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","jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365f"},{"pluginType":"DB","jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3663"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":41,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"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"}],"children":[{"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":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"3apd2wkt91","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"hhh0296qfj","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_value_input","rightColumn":63,"widgetId":"07ker1hdod","topRow":8,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{FetchValue.data[0].result}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","topRow":0,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Key: {{data_table.selectedRow.result}}"}]}]},{"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,"children":[{"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":[],"children":[{"widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","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"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"tefed053r1","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,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"widgetName":"new_key_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"2rlp4irwh0","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Key","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{FetchKeys.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o9t8fslxdi","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","isDisabled":false},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Redis Data"}]}]},{"widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":590,"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":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","color":"#040627","iconName":"cross","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text21","rightColumn":41,"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"New Key"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false},{"widgetName":"Button2","rightColumn":64,"onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Insert","isDisabled":false},{"isRequired":false,"widgetName":"insert_key_input","rightColumn":64,"widgetId":"ozz6gi7zmm","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key"},{"widgetName":"Text23","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","topRow":16,"bottomRow":20,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Value"},{"isRequired":false,"widgetName":"insert_value_input","rightColumn":64,"widgetId":"pevr27mh87","topRow":16,"bottomRow":50,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":260,"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","color":"#040627","iconName":"cross","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text24","rightColumn":41,"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Value for Key: {{data_table.selectedRow.result}}"},{"widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Close","isDisabled":false},{"widgetName":"Text25","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","topRow":6,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"v8n3d5aecd","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{FetchValue.data[0].result}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"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":[],"children":[{"widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","color":"#040627","iconName":"cross","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text26","rightColumn":41,"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Key"},{"widgetName":"Button6","rightColumn":64,"onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[],"text":"Confirm","isDisabled":false},{"widgetName":"Text27","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","topRow":7,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}"},{"widgetName":"Button7","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lsvqrab5v2","topRow":18,"bottomRow":22,"recaptchaV2":false,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false}],"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","jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc365f"},{"pluginType":"DB","jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"61764fbeba7e887d03bc3663"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":41,"minHeight":860,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"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"}],"children":[{"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":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"3apd2wkt91","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":47,"dynamicBindingPathList":[],"text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":46,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"hhh0296qfj","topRow":39,"bottomRow":43,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Reset"},{"isRequired":true,"widgetName":"update_value_input","rightColumn":63,"widgetId":"07ker1hdod","topRow":8,"bottomRow":37,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{FetchValue.data[0].result}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","topRow":0,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Key: {{data_table.selectedRow.result}}"}]}]},{"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,"children":[{"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":[],"children":[{"widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","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"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.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":"tefed053r1","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,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"widgetName":"new_key_button","rightColumn":64,"onClick":"{{showModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"2rlp4irwh0","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"text":"New Key","isDisabled":false},{"widgetName":"refresh_button","rightColumn":51,"onClick":"{{FetchKeys.run()}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o9t8fslxdi","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Refresh","isDisabled":false},{"widgetName":"Text16","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Redis Data"}]}]},{"widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":590,"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":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","color":"#040627","iconName":"cross","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text21","rightColumn":41,"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"New Key"},{"widgetName":"Button1","rightColumn":48,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false},{"widgetName":"Button2","rightColumn":64,"onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Insert","isDisabled":false},{"isRequired":false,"widgetName":"insert_key_input","rightColumn":64,"widgetId":"ozz6gi7zmm","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"},{"widgetName":"Text22","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","topRow":9,"bottomRow":13,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Key"},{"widgetName":"Text23","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","topRow":16,"bottomRow":20,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Value"},{"isRequired":false,"widgetName":"insert_value_input","rightColumn":64,"widgetId":"pevr27mh87","topRow":16,"bottomRow":50,"parentRowSpace":10,"isVisible":true,"label":"","type":"INPUT_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"parentColumnSpace":8,"resetOnSubmit":true,"leftColumn":19,"inputType":"TEXT","isDisabled":false,"validation":"true"}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":260,"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":[],"children":[{"widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","color":"#040627","iconName":"cross","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text24","rightColumn":41,"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Value for Key: {{data_table.selectedRow.result}}"},{"widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Close","isDisabled":false},{"widgetName":"Text25","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","topRow":6,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"v8n3d5aecd","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{FetchValue.data[0].result}}"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"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":[],"children":[{"widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","color":"#040627","iconName":"cross","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"iconSize":24},{"widgetName":"Text26","rightColumn":41,"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Key"},{"widgetName":"Button6","rightColumn":64,"onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"recaptchaV2":false,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[],"text":"Confirm","isDisabled":false},{"widgetName":"Text27","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","topRow":7,"bottomRow":17,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}"},{"widgetName":"Button7","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lsvqrab5v2","topRow":18,"bottomRow":22,"recaptchaV2":false,"parentRowSpace":10,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"buttonVariant":"OUTLINE","text":"Cancel","isDisabled":false}],"isDisabled":false}],"width":456,"height":240}]}}],"slug":"redis","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6"}],"publishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"actionCollectionList":[],"exportedApplication":{"new":true,"color":"#D9E7FF","name":"CRUD App Templates","appIsExample":false,"icon":"bag","isPublic":false,"unreadCommentThreads":0,"slug":"crud-app-templates"}}
\ No newline at end of file
|
3aedf0149f6963dc0fe14fbe09a4266d756fa67c
|
2023-12-20 10:38:32
|
Ankit Srivastava
|
chore: added intercom consent analytics event (#29722)
| false
|
added intercom consent analytics event (#29722)
|
chore
|
diff --git a/app/client/src/ce/utils/analyticsUtilTypes.ts b/app/client/src/ce/utils/analyticsUtilTypes.ts
index a91b94d5b9c1..a4af7ce25560 100644
--- a/app/client/src/ce/utils/analyticsUtilTypes.ts
+++ b/app/client/src/ce/utils/analyticsUtilTypes.ts
@@ -347,6 +347,7 @@ export type EventName =
| "STARTER_BUILDING_BLOCK_HOVER"
| "STARTER_BUILDING_BLOCK_CONNECT_DATA_CLICK"
| "START_FROM_TEMPLATES_CLICK_SKIP_BUTTON"
+ | "SUPPORT_REQUEST_INITIATED"
| ONBOARDING_FLOW_EVENTS;
export type ONBOARDING_FLOW_EVENTS =
diff --git a/app/client/src/pages/Editor/HelpButton.tsx b/app/client/src/pages/Editor/HelpButton.tsx
index 5f4b2ba6a614..e943d8f9d513 100644
--- a/app/client/src/pages/Editor/HelpButton.tsx
+++ b/app/client/src/pages/Editor/HelpButton.tsx
@@ -106,6 +106,7 @@ export function IntercomConsent({
const dispatch = useDispatch();
const sendUserDataToIntercom = () => {
+ const { email } = user || {};
updateIntercomProperties(instanceId, user);
dispatch(
updateUserDetails({
@@ -114,6 +115,14 @@ export function IntercomConsent({
);
dispatch(updateIntercomConsent());
showIntercomConsent(false);
+
+ if (user?.enableTelemetry) {
+ AnalyticsUtil.identifyUser(user, true);
+ AnalyticsUtil.logEvent("SUPPORT_REQUEST_INITIATED", {
+ email,
+ });
+ }
+
window.Intercom("show");
};
return (
diff --git a/app/client/src/utils/AnalyticsUtil.tsx b/app/client/src/utils/AnalyticsUtil.tsx
index 19d972455a91..57f15782327e 100644
--- a/app/client/src/utils/AnalyticsUtil.tsx
+++ b/app/client/src/utils/AnalyticsUtil.tsx
@@ -179,8 +179,8 @@ class AnalyticsUtil {
}
}
- static identifyUser(userData: User) {
- const { segment, sentry, smartLook } = getAppsmithConfigs();
+ static identifyUser(userData: User, sendAdditionalData?: boolean) {
+ const { appVersion, segment, sentry, smartLook } = getAppsmithConfigs();
const windowDoc: any = window;
const userId = userData.username;
if (windowDoc.analytics) {
@@ -205,6 +205,14 @@ class AnalyticsUtil {
const userProperties = {
userId: AnalyticsUtil.cachedAnonymoustId,
source: "ce",
+ ...(sendAdditionalData
+ ? {
+ id: AnalyticsUtil.cachedAnonymoustId,
+ email: userData.email,
+ appsmithVersion: `Appsmith ${appVersion.edition} ${appVersion.id}`,
+ instanceId: AnalyticsUtil.instanceId,
+ }
+ : {}),
};
log.debug(
"Identify Anonymous User " + AnalyticsUtil.cachedAnonymoustId,
|
cf425249cae54cc654acb7bb037f7995d8d85b32
|
2022-04-07 11:28:45
|
Pawan Kumar
|
chore: update theming stylesheet config (#12645) - skipChangeLog
| false
|
update theming stylesheet config (#12645) - skipChangeLog
|
chore
|
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 99a8ba0d6453..30258c8786a3 100644
--- a/app/server/appsmith-server/src/main/resources/system-themes.json
+++ b/app/server/appsmith-server/src/main/resources/system-themes.json
@@ -39,22 +39,24 @@
},
"stylesheet": {
"AUDIO_RECORDER_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_GROUP_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
},
"CAMERA_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
@@ -62,24 +64,18 @@
},
"CHART_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CHECKBOX_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CHECKBOX_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CONTAINER_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CIRCULAR_PROGRESS_WIDGET": {
@@ -87,21 +83,18 @@
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CURRENCY_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PHONE_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DATE_PICKER_WIDGET2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"FILE_PICKER_WIDGET_V2": {
@@ -112,19 +105,16 @@
},
"FORM_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"FORM_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"ICON_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"IFRAME_WIDGET": {
@@ -138,26 +128,118 @@
"boxShadow": "none"
},
"INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"INPUT_WIDGET_V2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
},
"LIST_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_CHART_WIDGET": {
@@ -167,30 +249,25 @@
"MENU_BUTTON_WIDGET": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MODAL_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DROP_DOWN_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PROGRESSBAR_WIDGET": {
@@ -201,55 +278,66 @@
"activeColor": "{{appsmith.theme.colors.primaryColor}}"
},
"RADIO_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"RICH_TEXT_EDITOR_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"STATBOX_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SWITCH_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"SWITCH_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
},
"SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"TABLE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
},
"TABS_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"VIDEO_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SINGLE_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
}
},
@@ -309,22 +397,24 @@
},
"stylesheet": {
"AUDIO_RECORDER_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_GROUP_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
},
"CAMERA_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
@@ -332,24 +422,18 @@
},
"CHART_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CHECKBOX_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CHECKBOX_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CONTAINER_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CIRCULAR_PROGRESS_WIDGET": {
@@ -357,21 +441,18 @@
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CURRENCY_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PHONE_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DATE_PICKER_WIDGET2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"FILE_PICKER_WIDGET_V2": {
@@ -382,19 +463,16 @@
},
"FORM_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"FORM_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"ICON_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"IFRAME_WIDGET": {
@@ -408,26 +486,118 @@
"boxShadow": "none"
},
"INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"INPUT_WIDGET_V2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
},
"LIST_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_CHART_WIDGET": {
@@ -437,30 +607,25 @@
"MENU_BUTTON_WIDGET": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MODAL_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DROP_DOWN_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PROGRESSBAR_WIDGET": {
@@ -471,55 +636,66 @@
"activeColor": "{{appsmith.theme.colors.primaryColor}}"
},
"RADIO_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"RICH_TEXT_EDITOR_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"STATBOX_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SWITCH_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"SWITCH_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
},
"SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"TABLE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
},
"TABS_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"VIDEO_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SINGLE_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
}
},
@@ -545,7 +721,7 @@
"config": {
"colors": {
"primaryColor": "#3B7DDD",
- "backgroundColor": "#153D77"
+ "backgroundColor": "#fff"
},
"borderRadius": {
"appBorderRadius": {
@@ -579,22 +755,24 @@
},
"stylesheet": {
"AUDIO_RECORDER_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_GROUP_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
},
"CAMERA_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
@@ -602,24 +780,18 @@
},
"CHART_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CHECKBOX_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CHECKBOX_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CONTAINER_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CIRCULAR_PROGRESS_WIDGET": {
@@ -627,21 +799,18 @@
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CURRENCY_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PHONE_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DATE_PICKER_WIDGET2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"FILE_PICKER_WIDGET_V2": {
@@ -652,19 +821,16 @@
},
"FORM_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"FORM_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"ICON_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"IFRAME_WIDGET": {
@@ -678,26 +844,118 @@
"boxShadow": "none"
},
"INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"INPUT_WIDGET_V2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
},
"LIST_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_CHART_WIDGET": {
@@ -707,30 +965,25 @@
"MENU_BUTTON_WIDGET": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MODAL_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DROP_DOWN_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PROGRESSBAR_WIDGET": {
@@ -741,62 +994,73 @@
"activeColor": "{{appsmith.theme.colors.primaryColor}}"
},
"RADIO_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"RICH_TEXT_EDITOR_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"STATBOX_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SWITCH_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"SWITCH_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
},
"SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"TABLE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
},
"TABS_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"VIDEO_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SINGLE_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
}
},
"properties": {
"colors": {
"primaryColor": "#3B7DDD",
- "backgroundColor": "#153D77"
+ "backgroundColor": "#fff"
},
"borderRadius": {
"appBorderRadius": "0px"
@@ -849,22 +1113,24 @@
},
"stylesheet": {
"AUDIO_RECORDER_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"BUTTON_GROUP_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
},
"CAMERA_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
@@ -872,24 +1138,18 @@
},
"CHART_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CHECKBOX_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CHECKBOX_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CONTAINER_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"CIRCULAR_PROGRESS_WIDGET": {
@@ -897,21 +1157,18 @@
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"CURRENCY_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PHONE_INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DATE_PICKER_WIDGET2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"FILE_PICKER_WIDGET_V2": {
@@ -922,19 +1179,16 @@
},
"FORM_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"FORM_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"ICON_BUTTON_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"IFRAME_WIDGET": {
@@ -948,26 +1202,118 @@
"boxShadow": "none"
},
"INPUT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"INPUT_WIDGET_V2": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "none"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
},
"LIST_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"MAP_CHART_WIDGET": {
@@ -977,30 +1323,25 @@
"MENU_BUTTON_WIDGET": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MODAL_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"MULTI_SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"DROP_DOWN_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"PROGRESSBAR_WIDGET": {
@@ -1011,55 +1352,66 @@
"activeColor": "{{appsmith.theme.colors.primaryColor}}"
},
"RADIO_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"RICH_TEXT_EDITOR_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"STATBOX_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SWITCH_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"boxShadow": "none"
},
"SWITCH_GROUP_WIDGET": {
- "backgroundColor": "{{appsmith.theme.colors.primaryColor}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
},
"SELECT_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
},
"TABLE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
- "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
},
"TABS_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
"VIDEO_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"SINGLE_SELECT_TREE_WIDGET": {
- "primaryColor": "{{appsmith.theme.colors.primaryColor}}",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"boxShadow": "none"
}
},
@@ -1079,4 +1431,4 @@
}
}
}
-]
\ No newline at end of file
+]
|
5254f8e7f3d7352420abd0259128f5c4650e0a96
|
2022-03-03 19:27:22
|
Paul Li
|
feat: Internal property to detect changes in a form
| false
|
Internal property to detect changes in a form
|
feat
|
diff --git a/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx b/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx
index a4ebaa6fe391..6d7da7e4967c 100644
--- a/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx
+++ b/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx
@@ -2,7 +2,7 @@ import React from "react";
import BaseWidget, { WidgetProps, WidgetState } from "widgets/BaseWidget";
import { WidgetType } from "constants/WidgetConstants";
import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
-import { isArray, isString, isNumber } from "lodash";
+import { isArray, isEqual, isString, isNumber, xorWith } from "lodash";
import {
ValidationResponse,
ValidationTypes,
@@ -190,7 +190,7 @@ class MultiSelectWidget extends BaseWidget<
fn: defaultOptionValueValidation,
expected: {
type: "Array of values",
- example: `['option1', 'option2'] | [{ "label": "label1", "value": "value1" }]`,
+ example: ` "option1, option2" | ['option1', 'option2'] | [{ "label": "label1", "value": "value1" }]`,
autocompleteDataType: AutocompleteDataType.ARRAY,
},
},
@@ -419,7 +419,11 @@ class MultiSelectWidget extends BaseWidget<
componentDidUpdate(prevProps: MultiSelectWidgetProps): void {
if (
- this.props.defaultOptionValue !== prevProps.defaultOptionValue &&
+ xorWith(
+ this.props.defaultOptionValue,
+ prevProps.defaultOptionValue,
+ isEqual,
+ ).length > 0 &&
this.props.isDirty
) {
this.props.updateWidgetMetaProperty("isDirty", false);
diff --git a/app/client/src/widgets/RichTextEditorWidget/widget/index.tsx b/app/client/src/widgets/RichTextEditorWidget/widget/index.tsx
index 4a4e97136147..e80c5216d610 100644
--- a/app/client/src/widgets/RichTextEditorWidget/widget/index.tsx
+++ b/app/client/src/widgets/RichTextEditorWidget/widget/index.tsx
@@ -147,7 +147,6 @@ class RichTextEditorWidget extends BaseWidget<
return {
value: `{{this.text}}`,
isValid: `{{ this.isRequired ? this.text && this.text.length : true }}`,
- isDirty: `{{ this.inputType === "html" ? this.text !== this.defaultTextHtml : this.text !== this.defaultTextMarkdown }}`,
};
}
diff --git a/app/client/src/widgets/SelectWidget/widget/index.tsx b/app/client/src/widgets/SelectWidget/widget/index.tsx
index 459f4d6e8861..4deed0aef75e 100644
--- a/app/client/src/widgets/SelectWidget/widget/index.tsx
+++ b/app/client/src/widgets/SelectWidget/widget/index.tsx
@@ -11,7 +11,7 @@ import {
import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory";
import { MinimumPopupRows, GRID_DENSITY_MIGRATION_V1 } from "widgets/constants";
import { AutocompleteDataType } from "utils/autocomplete/TernServer";
-import { findIndex, isArray, isNumber, isString } from "lodash";
+import { findIndex, isArray, isEqual, isNumber, isString } from "lodash";
export function defaultOptionValueValidation(
value: unknown,
@@ -352,12 +352,11 @@ class SelectWidget extends BaseWidget<SelectWidgetProps, WidgetState> {
}
componentDidUpdate(prevProps: SelectWidgetProps): void {
- const defaultOptionValue =
- this.props.defaultOptionValue.value ?? this.props.defaultOptionValue;
- const prevDefaultOptionValue =
- prevProps.defaultOptionValue.value ?? prevProps.defaultOptionValue;
// Reset isDirty to false if defaultOptionValue changes
- if (defaultOptionValue !== prevDefaultOptionValue && this.props.isDirty) {
+ if (
+ !isEqual(this.props.defaultOptionValue, prevProps.defaultOptionValue) &&
+ this.props.isDirty
+ ) {
this.props.updateWidgetMetaProperty("isDirty", false);
}
}
|
e16d50d15bfc8c0c379c421ab9e86632c82169a1
|
2024-05-03 14:01:15
|
Valera Melnikov
|
fix: widget wrapper width (#33105)
| false
|
widget wrapper width (#33105)
|
fix
|
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/alignedWidgetRow/AlignedWidgetRowComp.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/alignedWidgetRow/AlignedWidgetRowComp.tsx
index a4e9905e3852..c2da9b8fad76 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/alignedWidgetRow/AlignedWidgetRowComp.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/alignedWidgetRow/AlignedWidgetRowComp.tsx
@@ -10,6 +10,7 @@ import {
} from "layoutSystems/anvil/utils/constants";
import { FlexLayerAlignment } from "layoutSystems/common/utils/constants";
import { renderWidgets } from "layoutSystems/anvil/utils/layouts/renderUtils";
+import { isEditOnlyModeSelector } from "../../../../../selectors/editorSelectors";
import { FlexLayout, type FlexLayoutProps } from "../FlexLayout";
import { isFillWidgetPresentInList } from "layoutSystems/anvil/utils/layouts/widgetUtils";
import { getAnvilLayoutDOMId } from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils";
@@ -92,6 +93,11 @@ const AlignedWidgetRowComp = (props: LayoutComponentProps) => {
setIsAnyAlignmentOverflowing(shouldOverrideStyle);
}, [hasFillWidget, renderMode, shouldOverrideStyle]);
+ const isEditMode = useSelector(isEditOnlyModeSelector);
+ const isStartVisible = () => startChildren.length > 0 || isEditMode;
+ const isCenterVisible = () => centerChildren.length > 0 || isEditMode;
+ const isEndVisible = () => endChildren.length > 0 || isEditMode;
+
const commonProps: Omit<
FlexLayoutProps,
"children" | "layoutId" | "layoutIndex"
@@ -112,6 +118,7 @@ const AlignedWidgetRowComp = (props: LayoutComponentProps) => {
? { base: "wrap" }
: { base: "wrap", [`${MOBILE_BREAKPOINT}px`]: "nowrap" },
className: props.className,
+ maxWidth: "100%",
};
}, [isAnyAlignmentOverflowing]);
@@ -145,48 +152,54 @@ const AlignedWidgetRowComp = (props: LayoutComponentProps) => {
// WDS Flex can be used as a replacement.
return (
<>
- <FlexLayout
- {...commonProps}
- justifyContent="start"
- key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Start]}`}
- layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Start]}`}
- layoutIndex={AlignmentIndexMap[FlexLayerAlignment.Start]}
- >
- {renderWidgets({
- ...props,
- layout: startChildren,
- })}
- </FlexLayout>
- <FlexLayout
- {...commonProps}
- justifyContent="center"
- key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Center]}`}
- layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Center]}`}
- layoutIndex={AlignmentIndexMap[FlexLayerAlignment.Center]}
- >
- {renderWidgets(
- {
- ...props,
- layout: centerChildren,
- },
- startChildren?.length,
- )}
- </FlexLayout>
- <FlexLayout
- {...commonProps}
- justifyContent="end"
- key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.End]}`}
- layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.End]}`}
- layoutIndex={AlignmentIndexMap[FlexLayerAlignment.End]}
- >
- {renderWidgets(
- {
+ {isStartVisible() && (
+ <FlexLayout
+ {...commonProps}
+ justifyContent="start"
+ key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Start]}`}
+ layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Start]}`}
+ layoutIndex={AlignmentIndexMap[FlexLayerAlignment.Start]}
+ >
+ {renderWidgets({
...props,
- layout: endChildren,
- },
- startChildren?.length + centerChildren?.length,
- )}
- </FlexLayout>
+ layout: startChildren,
+ })}
+ </FlexLayout>
+ )}
+ {isCenterVisible() && (
+ <FlexLayout
+ {...commonProps}
+ justifyContent="center"
+ key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Center]}`}
+ layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.Center]}`}
+ layoutIndex={AlignmentIndexMap[FlexLayerAlignment.Center]}
+ >
+ {renderWidgets(
+ {
+ ...props,
+ layout: centerChildren,
+ },
+ startChildren?.length,
+ )}
+ </FlexLayout>
+ )}
+ {isEndVisible() && (
+ <FlexLayout
+ {...commonProps}
+ justifyContent="end"
+ key={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.End]}`}
+ layoutId={`${layoutId}-${AlignmentIndexMap[FlexLayerAlignment.End]}`}
+ layoutIndex={AlignmentIndexMap[FlexLayerAlignment.End]}
+ >
+ {renderWidgets(
+ {
+ ...props,
+ layout: endChildren,
+ },
+ startChildren?.length + centerChildren?.length,
+ )}
+ </FlexLayout>
+ )}
</>
);
};
|
a2a881991ea5d97730d13ea4ca84c054440a0a3a
|
2023-06-23 16:12:27
|
Rishabh Rathod
|
chore: Add analytics for JSObject variable (#24740)
| false
|
Add analytics for JSObject variable (#24740)
|
chore
|
diff --git a/app/client/src/ce/workers/Evaluation/evalWorkerActions.ts b/app/client/src/ce/workers/Evaluation/evalWorkerActions.ts
index a7930571e9af..4f33c822ec06 100644
--- a/app/client/src/ce/workers/Evaluation/evalWorkerActions.ts
+++ b/app/client/src/ce/workers/Evaluation/evalWorkerActions.ts
@@ -32,5 +32,6 @@ export enum MAIN_THREAD_ACTION {
PROCESS_LOGS = "PROCESS_LOGS",
LINT_TREE = "LINT_TREE",
PROCESS_JS_FUNCTION_EXECUTION = "PROCESS_JS_FUNCTION_EXECUTION",
+ PROCESS_JS_VAR_MUTATION_EVENTS = "PROCESS_JS_VAR_MUTATION_EVENTS",
UPDATE_DATATREE = "UPDATE_DATATREE",
}
diff --git a/app/client/src/reducers/entityReducers/metaReducer/index.ts b/app/client/src/reducers/entityReducers/metaReducer/index.ts
index 85446968a743..c66c83a3a09d 100644
--- a/app/client/src/reducers/entityReducers/metaReducer/index.ts
+++ b/app/client/src/reducers/entityReducers/metaReducer/index.ts
@@ -30,6 +30,8 @@ export const metaReducer = createReducer(initialState, {
) => {
const { evalMetaUpdates } = action.payload;
+ if (!evalMetaUpdates.length) return state;
+
// if metaObject is updated in dataTree we also update meta values, to keep meta state in sync.
const newMetaState = produce(state, (draftMetaState) => {
evalMetaUpdates.forEach(({ metaPropertyPath, value, widgetId }) => {
diff --git a/app/client/src/sagas/EvalWorkerActionSagas.ts b/app/client/src/sagas/EvalWorkerActionSagas.ts
index 5855d28e0b9a..819b4b2a2d02 100644
--- a/app/client/src/sagas/EvalWorkerActionSagas.ts
+++ b/app/client/src/sagas/EvalWorkerActionSagas.ts
@@ -2,7 +2,10 @@ import { all, call, put, spawn, take } from "redux-saga/effects";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions";
import log from "loglevel";
-import { evalErrorHandler } from "../sagas/PostEvaluationSagas";
+import {
+ evalErrorHandler,
+ logJSVarMutationEvent,
+} from "../sagas/PostEvaluationSagas";
import type { Channel } from "redux-saga";
import { storeLogs } from "../sagas/DebuggerSagas";
import type {
@@ -19,7 +22,10 @@ import {
} from "../sagas/EvaluationsSaga";
import { logJSFunctionExecution } from "@appsmith/sagas/JSFunctionExecutionSaga";
import { handleStoreOperations } from "./ActionExecution/StoreActionSaga";
-import type { EvalTreeResponseData } from "workers/Evaluation/types";
+import type {
+ EvalTreeResponseData,
+ JSVarMutatedEvents,
+} from "workers/Evaluation/types";
import isEmpty from "lodash/isEmpty";
import type { UnEvalTree } from "entities/DataTree/dataTreeFactory";
@@ -175,6 +181,11 @@ export function* handleEvalWorkerMessage(message: TMessage<any>) {
unevalTree,
requiresLogging: false,
});
+ break;
+ }
+ case MAIN_THREAD_ACTION.PROCESS_JS_VAR_MUTATION_EVENTS: {
+ const jsVarMutatedEvents: JSVarMutatedEvents = data;
+ yield call(logJSVarMutationEvent, jsVarMutatedEvents);
}
}
diff --git a/app/client/src/sagas/EvaluationsSaga.ts b/app/client/src/sagas/EvaluationsSaga.ts
index f2d898fec4db..8b433e5e12cf 100644
--- a/app/client/src/sagas/EvaluationsSaga.ts
+++ b/app/client/src/sagas/EvaluationsSaga.ts
@@ -50,6 +50,7 @@ import {
dynamicTriggerErrorHandler,
evalErrorHandler,
handleJSFunctionExecutionErrorLog,
+ logJSVarCreatedEvent,
logSuccessfulBindings,
postEvalActionDispatcher,
updateTernDefinitions,
@@ -149,6 +150,7 @@ export function* updateDataTreeHandler(
staleMetaIds,
undefinedEvalValuesMap,
unEvalUpdates,
+ jsVarsCreatedEvent,
} = evalTreeResponse;
const appMode: ReturnType<typeof getAppMode> = yield select(getAppMode);
@@ -224,6 +226,8 @@ export function* updateDataTreeHandler(
if (postEvalActionsToDispatch && postEvalActionsToDispatch.length) {
yield call(postEvalActionDispatcher, postEvalActionsToDispatch);
}
+
+ yield call(logJSVarCreatedEvent, jsVarsCreatedEvent);
}
/**
diff --git a/app/client/src/sagas/PostEvaluationSagas.ts b/app/client/src/sagas/PostEvaluationSagas.ts
index 4c5b66b2ab96..9a7b46c1b171 100644
--- a/app/client/src/sagas/PostEvaluationSagas.ts
+++ b/app/client/src/sagas/PostEvaluationSagas.ts
@@ -50,6 +50,10 @@ import SuccessfulBindingMap from "utils/SuccessfulBindingsMap";
import { logActionExecutionError } from "./ActionExecution/errorUtils";
import { getCurrentWorkspaceId } from "@appsmith/selectors/workspaceSelectors";
import { getInstanceId } from "@appsmith/selectors/tenantSelectors";
+import type {
+ EvalTreeResponseData,
+ JSVarMutatedEvents,
+} from "workers/Evaluation/types";
let successfulBindingsMap: SuccessfulBindingMap | undefined;
@@ -321,6 +325,30 @@ export function* evalErrorHandler(
});
}
+export function* logJSVarCreatedEvent(
+ jsVarsCreatedEvent: EvalTreeResponseData["jsVarsCreatedEvent"],
+) {
+ if (!jsVarsCreatedEvent) return;
+
+ jsVarsCreatedEvent.forEach(({ path, type }) => {
+ AnalyticsUtil.logEvent("JS_VARIABLE_CREATED", {
+ path,
+ type,
+ });
+ });
+}
+
+export function* logJSVarMutationEvent(
+ jsVarsMutationEvent: JSVarMutatedEvents,
+) {
+ Object.values(jsVarsMutationEvent).forEach(({ path, type }) => {
+ AnalyticsUtil.logEvent("JS_VARIABLE_MUTATED", {
+ path,
+ type,
+ });
+ });
+}
+
export function* dynamicTriggerErrorHandler(errors: any[]) {
if (errors.length > 0) {
for (const error of errors) {
diff --git a/app/client/src/utils/AnalyticsUtil.tsx b/app/client/src/utils/AnalyticsUtil.tsx
index ff1ed7eb5934..d8ac2672ded5 100644
--- a/app/client/src/utils/AnalyticsUtil.tsx
+++ b/app/client/src/utils/AnalyticsUtil.tsx
@@ -329,6 +329,8 @@ export type EventName =
| "LEARN_MORE_TELEMETRY_CALLOUT"
| AI_EVENTS
| ONE_CLICK_BINDING_EVENT_NAMES
+ | "JS_VARIABLE_CREATED"
+ | "JS_VARIABLE_MUTATED"
| "EXPLORER_WIDGET_CLICK"
| "WIDGET_SEARCH";
diff --git a/app/client/src/workers/Evaluation/JSObject/JSVariableEvents.ts b/app/client/src/workers/Evaluation/JSObject/JSVariableEvents.ts
new file mode 100644
index 000000000000..3c1712acbf0f
--- /dev/null
+++ b/app/client/src/workers/Evaluation/JSObject/JSVariableEvents.ts
@@ -0,0 +1,59 @@
+import { get, isEmpty } from "lodash";
+import { diff as deepDiff } from "deep-diff";
+import type { JSUpdate } from "utils/JSPaneUtils";
+import { dataTreeEvaluator } from "../handlers/evalTree";
+import { getType } from "utils/TypeHelpers";
+
+type JSUpdates = Record<string, JSUpdate>;
+
+let prevJSUpdates: JSUpdates;
+
+function getVariableObject(jsUpdates: JSUpdates) {
+ const prevJSObjects = Object.entries(jsUpdates);
+ const prevJSObjectVar: Record<string, unknown> = {};
+
+ for (const [jsObjectName, jsObjectBody] of prevJSObjects) {
+ const variables = jsObjectBody.parsedBody?.variables;
+ if (!variables?.length) continue;
+ const varKeyMap: Record<string, string> = {};
+ variables.forEach(({ name }) => {
+ varKeyMap[name] = name;
+ });
+ prevJSObjectVar[jsObjectName] = varKeyMap;
+ }
+
+ return prevJSObjectVar;
+}
+
+function getVariableDiff(jsUpdates: JSUpdates) {
+ if (isEmpty(jsUpdates)) return;
+
+ if (!prevJSUpdates) {
+ prevJSUpdates = jsUpdates;
+ return;
+ }
+
+ const prevJSObjectVar = getVariableObject(prevJSUpdates);
+ const jsObjectVar = getVariableObject(jsUpdates);
+ const diff = deepDiff(prevJSObjectVar, jsObjectVar);
+
+ prevJSUpdates = jsUpdates;
+ return diff;
+}
+
+export function getJSVariableCreatedEvents(jsUpdates: JSUpdates) {
+ const jsVarDiff = getVariableDiff(jsUpdates);
+
+ const jsVarsCreated: { path: string; type: string }[] = [];
+
+ jsVarDiff?.forEach((diff) => {
+ if (diff.kind === "N" && diff.path?.length === 2) {
+ const evalTree = dataTreeEvaluator?.getEvalTree() || {};
+ const value = get(evalTree, diff.path);
+ const type = getType(value);
+ jsVarsCreated.push({ path: diff.path?.join("."), type });
+ }
+ });
+
+ return jsVarsCreated;
+}
diff --git a/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts b/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts
index ad375a57ab49..c6db5726619f 100644
--- a/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts
+++ b/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts
@@ -13,6 +13,11 @@ jest.mock("../JSVariableUpdates.ts", () => ({
},
}));
+jest.mock("../../../../utils/MessageUtil.ts", () => ({
+ ...jest.requireActual("../../../../utils/MessageUtil.ts"),
+ sendMessage: jest.fn(),
+}));
+
TriggerEmitter.on(
"process_js_variable_updates",
jsVariableUpdatesHandlerWrapper,
diff --git a/app/client/src/workers/Evaluation/JSObject/__test__/mutation.test.ts b/app/client/src/workers/Evaluation/JSObject/__test__/mutation.test.ts
index be533b908523..6a4e3a7cd39a 100644
--- a/app/client/src/workers/Evaluation/JSObject/__test__/mutation.test.ts
+++ b/app/client/src/workers/Evaluation/JSObject/__test__/mutation.test.ts
@@ -21,6 +21,11 @@ jest.mock("../JSVariableUpdates.ts", () => ({
},
}));
+jest.mock("../../../../utils/MessageUtil.ts", () => ({
+ ...jest.requireActual("../../../../utils/MessageUtil.ts"),
+ sendMessage: jest.fn(),
+}));
+
jest.mock("../../handlers/evalTree", () => {
const evalTree = {
JSObject1: {
diff --git a/app/client/src/workers/Evaluation/evalTreeWithChanges.ts b/app/client/src/workers/Evaluation/evalTreeWithChanges.ts
index 6d97d5fadab5..72fc018f70ac 100644
--- a/app/client/src/workers/Evaluation/evalTreeWithChanges.ts
+++ b/app/client/src/workers/Evaluation/evalTreeWithChanges.ts
@@ -80,6 +80,7 @@ export function evalTreeWithChanges(updatedValuePaths: string[][]) {
pathsToClearErrorsFor,
isNewWidgetAdded: false,
undefinedEvalValuesMap: dataTreeEvaluator?.undefinedEvalValuesMap || {},
+ jsVarsCreatedEvent: [],
};
const data: UpdateDataTreeMessageData = {
diff --git a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts
index 099a3433a6fd..d46c4a303c5f 100644
--- a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts
+++ b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts
@@ -7,6 +7,10 @@ import type {
} from "workers/Evaluation/JSObject/JSVariableUpdates";
import { applyJSVariableUpdatesToEvalTree } from "workers/Evaluation/JSObject/JSVariableUpdates";
import ExecutionMetaData from "./ExecutionMetaData";
+import { get } from "lodash";
+import { getType } from "utils/TypeHelpers";
+import type { JSVarMutatedEvents } from "workers/Evaluation/types";
+import { dataTreeEvaluator } from "workers/Evaluation/handlers/evalTree";
const _internalSetTimeout = self.setTimeout;
const _internalClearTimeout = self.clearTimeout;
@@ -18,6 +22,7 @@ export enum BatchKey {
process_batched_fn_execution = "process_batched_fn_execution",
process_js_variable_updates = "process_js_variable_updates",
process_batched_fn_invoke_log = "process_batched_fn_invoke_log",
+ process_js_var_mutation_events = "process_js_var_mutation_events",
}
const TriggerEmitter = new EventEmitter();
@@ -52,12 +57,12 @@ export function priorityBatchedActionHandler<T>(
* @param deferredTask
* @returns
*/
-export const deferredBatchedActionHandler = function (
- deferredTask: (batchedData: unknown) => void,
+export function deferredBatchedActionHandler<T>(
+ deferredTask: (batchedData: T[]) => void,
) {
- let batchedData: unknown[] = [];
+ let batchedData: T[] = [];
let timerId: number | null = null;
- return (data: unknown) => {
+ return (data: T) => {
batchedData.push(data);
if (timerId) _internalClearTimeout(timerId);
timerId = _internalSetTimeout(() => {
@@ -65,7 +70,7 @@ export const deferredBatchedActionHandler = function (
batchedData = [];
});
};
-};
+}
const logsHandler = deferredBatchedActionHandler((batchedData) =>
WorkerMessenger.ping({
@@ -125,13 +130,43 @@ TriggerEmitter.on(
fnExecutionDataHandler,
);
+export const jsVariableMutationEventHandler = deferredBatchedActionHandler(
+ (batchedUpdatesMap: UpdatedPathsMap[]) => {
+ const jsVarMutatedEvents: JSVarMutatedEvents = {};
+ for (const batchedUpdateMap of batchedUpdatesMap) {
+ for (const path in batchedUpdateMap) {
+ const variableValue = get(dataTreeEvaluator?.getEvalTree() || {}, path);
+ jsVarMutatedEvents[path] = {
+ path,
+ type: getType(variableValue),
+ };
+ }
+ }
+
+ WorkerMessenger.ping({
+ method: MAIN_THREAD_ACTION.PROCESS_JS_VAR_MUTATION_EVENTS,
+ data: jsVarMutatedEvents,
+ });
+ },
+);
+
+TriggerEmitter.on(
+ BatchKey.process_js_var_mutation_events,
+ jsVariableMutationEventHandler,
+);
+
const jsVariableUpdatesHandler = priorityBatchedActionHandler<Patch>(
(batchedData) => {
const updatesMap: UpdatedPathsMap = {};
for (const patch of batchedData) {
updatesMap[patch.path] = patch;
}
+
applyJSVariableUpdatesToEvalTree(updatesMap);
+
+ TriggerEmitter.emit(BatchKey.process_js_var_mutation_events, {
+ ...updatesMap,
+ });
},
);
diff --git a/app/client/src/workers/Evaluation/handlers/evalTree.ts b/app/client/src/workers/Evaluation/handlers/evalTree.ts
index afdd7ecd9f85..fb3ca3f45aa0 100644
--- a/app/client/src/workers/Evaluation/handlers/evalTree.ts
+++ b/app/client/src/workers/Evaluation/handlers/evalTree.ts
@@ -27,6 +27,7 @@ import { asyncJsFunctionInDataFields } from "../JSObject/asyncJSFunctionBoundToD
import type { LintTreeSagaRequestData } from "workers/Linting/types";
import { WorkerMessenger } from "../fns/utils/Messenger";
import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions";
+import { getJSVariableCreatedEvents } from "../JSObject/JSVariableEvents";
export let replayMap: Record<string, ReplayEntity<any>> | undefined;
export let dataTreeEvaluator: DataTreeEvaluator | undefined;
export const CANVAS = "canvas";
@@ -261,6 +262,8 @@ export default function (request: EvalWorkerSyncRequest) {
unEvalUpdates = [];
}
+ const jsVarsCreatedEvent = getJSVariableCreatedEvents(jsUpdates);
+
const evalTreeResponse: EvalTreeResponseData = {
dataTree,
dependencies,
@@ -276,6 +279,7 @@ export default function (request: EvalWorkerSyncRequest) {
pathsToClearErrorsFor,
isNewWidgetAdded,
undefinedEvalValuesMap: dataTreeEvaluator?.undefinedEvalValuesMap || {},
+ jsVarsCreatedEvent,
};
return evalTreeResponse;
diff --git a/app/client/src/workers/Evaluation/types.ts b/app/client/src/workers/Evaluation/types.ts
index 399dd5c0fc59..117af9a8388c 100644
--- a/app/client/src/workers/Evaluation/types.ts
+++ b/app/client/src/workers/Evaluation/types.ts
@@ -57,4 +57,7 @@ export interface EvalTreeResponseData {
pathsToClearErrorsFor: any[];
isNewWidgetAdded: boolean;
undefinedEvalValuesMap: Record<string, boolean>;
+ jsVarsCreatedEvent?: { path: string; type: string }[];
}
+
+export type JSVarMutatedEvents = Record<string, { path: string; type: string }>;
|
a971d49a1efe8dfa84315cd40408c47a7ced3bc1
|
2021-09-23 10:35:59
|
akash-codemonk
|
chore: Fix remaining empty fields in property pane shown in error state (#7537)
| false
|
Fix remaining empty fields in property pane shown in error state (#7537)
|
chore
|
diff --git a/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx b/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
index 8a8bb5db3786..5d22a8d146b3 100644
--- a/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
+++ b/app/client/src/widgets/FilePickerWidgetV2/widget/index.tsx
@@ -68,7 +68,7 @@ class FilePickerWidget extends BaseWidget<
isTriggerProperty: false,
validation: {
type: ValidationTypes.NUMBER,
- params: { min: 1, max: 100, default: 5, required: true },
+ params: { min: 1, max: 100, default: 5 },
},
},
{
diff --git a/app/client/src/widgets/FilepickerWidget/widget/index.tsx b/app/client/src/widgets/FilepickerWidget/widget/index.tsx
index adc07ce6cf0e..dcbc17331243 100644
--- a/app/client/src/widgets/FilepickerWidget/widget/index.tsx
+++ b/app/client/src/widgets/FilepickerWidget/widget/index.tsx
@@ -67,7 +67,7 @@ class FilePickerWidget extends BaseWidget<
isTriggerProperty: false,
validation: {
type: ValidationTypes.NUMBER,
- params: { min: 1, max: 100, default: 5, required: true },
+ params: { min: 1, max: 100, default: 5 },
},
},
{
diff --git a/app/client/src/widgets/RateWidget/widget/index.tsx b/app/client/src/widgets/RateWidget/widget/index.tsx
index fd3d2c4fae14..823593fabac7 100644
--- a/app/client/src/widgets/RateWidget/widget/index.tsx
+++ b/app/client/src/widgets/RateWidget/widget/index.tsx
@@ -19,6 +19,13 @@ function validateDefaultRate(value: unknown, props: any, _: any) {
parsed = Number(value);
isValid = true;
} else {
+ if (value === "") {
+ return {
+ isValid: true,
+ parsed: 0,
+ };
+ }
+
return {
isValid: false,
parsed: 0,
diff --git a/app/client/src/widgets/TabsWidget/widget/index.tsx b/app/client/src/widgets/TabsWidget/widget/index.tsx
index 59475461326f..307e2818c581 100644
--- a/app/client/src/widgets/TabsWidget/widget/index.tsx
+++ b/app/client/src/widgets/TabsWidget/widget/index.tsx
@@ -23,7 +23,7 @@ export function selectedTabValidation(
}> = props.tabsObj ? Object.values(props.tabsObj) : props.tabs || [];
const tabNames = tabs.map((i: { label: string; id: string }) => i.label);
return {
- isValid: tabNames.includes(value as string),
+ isValid: value === "" ? true : tabNames.includes(value as string),
parsed: value,
message: `Tab name ${value} does not exist`,
};
diff --git a/app/client/src/workers/validations.test.ts b/app/client/src/workers/validations.test.ts
index b4e886a4d098..dec9f2124bee 100644
--- a/app/client/src/workers/validations.test.ts
+++ b/app/client/src/workers/validations.test.ts
@@ -29,7 +29,7 @@ describe("Validate Validators", () => {
allowedValues: ["abc", "123", "mno", "test"],
},
};
- const inputs = ["abc", "xyz", undefined, null, {}, [], 123];
+ const inputs = ["abc", "xyz", undefined, null, {}, [], 123, ""];
const expected = [
{
isValid: true,
@@ -64,6 +64,31 @@ describe("Validate Validators", () => {
isValid: true,
parsed: "123",
},
+ {
+ isValid: true,
+ parsed: "",
+ },
+ ];
+ inputs.forEach((input, index) => {
+ const result = validate(validation, input, DUMMY_WIDGET);
+ expect(result).toStrictEqual(expected[index]);
+ });
+ });
+
+ it("correctly validates text when required is set to false", () => {
+ const validation = {
+ type: ValidationTypes.TEXT,
+ params: {
+ default: "abc",
+ allowedValues: ["abc", "123", "mno", "test"],
+ },
+ };
+ const inputs = [""];
+ const expected = [
+ {
+ isValid: true,
+ parsed: "",
+ },
];
inputs.forEach((input, index) => {
const result = validate(validation, input, DUMMY_WIDGET);
diff --git a/app/client/src/workers/validations.ts b/app/client/src/workers/validations.ts
index 450956457e52..ed1f78a09fe7 100644
--- a/app/client/src/workers/validations.ts
+++ b/app/client/src/workers/validations.ts
@@ -286,6 +286,7 @@ export const VALIDATORS: Record<ValidationTypes, Validator> = {
message: `${WIDGET_TYPE_VALIDATION_ERROR} ${getExpectedType(config)}`,
};
}
+
return {
isValid: true,
parsed: config.params?.default || "",
@@ -313,7 +314,9 @@ export const VALIDATORS: Record<ValidationTypes, Validator> = {
};
}
}
- if (config.params?.allowedValues) {
+ // If the value is an empty string we skip
+ // as we do not mark the field as an error
+ if (config.params?.allowedValues && value !== "") {
if (!config.params?.allowedValues.includes((parsed as string).trim())) {
return {
parsed: config.params?.default || "",
|
8c132c780fc8cfccc43be424c7ddb6ba6bb802eb
|
2023-12-03 14:53:15
|
Arpit Mohan
|
ci: Cleaning up CI workflows from warnings and unnecessary logs (#29280)
| false
|
Cleaning up CI workflows from warnings and unnecessary logs (#29280)
|
ci
|
diff --git a/.github/workflows/add-label.yml b/.github/workflows/add-label.yml
index 99826672128e..6eb1107c847b 100644
--- a/.github/workflows/add-label.yml
+++ b/.github/workflows/add-label.yml
@@ -17,7 +17,7 @@ jobs:
# get all the files changes in the cypress/e2e folder
- name: Get changed files in the cypress/e2e folder
id: files
- uses: umani/[email protected]
+ uses: umani/[email protected]
with:
repo-token: ${{ secrets.APPSMITH_CI_TEST_PAT }}
pattern: "app/client/cypress/.*"
diff --git a/.github/workflows/build-client-server.yml b/.github/workflows/build-client-server.yml
index b86bdeedfd81..e792ae144ddf 100644
--- a/.github/workflows/build-client-server.yml
+++ b/.github/workflows/build-client-server.yml
@@ -95,7 +95,7 @@ jobs:
- name: Comment the filenames if PR is there
if: steps.check_files.outputs.non_ts_files_count != 0 && steps.args.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ fromJson(steps.args.outputs.pr) }}
body: |
@@ -107,7 +107,7 @@ jobs:
- name: Add a comment on the PR with link to workflow run
if: success() && steps.args.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ fromJson(steps.args.outputs.pr) }}
body: |
@@ -271,23 +271,23 @@ jobs:
- name: Add a comment on the PR with new CI failures
if: needs.ci-test-limited.result != 'success' && needs.file-check.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{fromJson(needs.file-check.outputs.pr)}}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
- Cypress dashboard: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
+ Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
- To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypressdashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
+ To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
- name: Add a comment on the PR when ci-test-limited is success
if: needs.ci-test-limited.result == 'success' && needs.file-check.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{fromJson(needs.file-check.outputs.pr)}}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
- Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
+ Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
- name: Check ci-test-limited set status
@@ -388,23 +388,23 @@ jobs:
- name: Add a comment on the PR with new CI failures
if: needs.ci-test-limited-existing-docker-image.result != 'success' && needs.file-check.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{fromJson(needs.file-check.outputs.pr)}}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
- Cypress dashboard: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
+ Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
- To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypressdashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
+ To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
- name: Add a comment on the PR when ci-test-limited-existing-docker-image is success
if: needs.ci-test-limited-existing-docker-image.result == 'success' && needs.file-check.outputs.pr != '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{fromJson(needs.file-check.outputs.pr)}}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
- Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
+ Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
- name: Check ci-test-limited-existing-docker-image set status
diff --git a/.github/workflows/ci-merge-check.yml b/.github/workflows/ci-merge-check.yml
index 140c5f2c06e1..8ba24d10ad63 100644
--- a/.github/workflows/ci-merge-check.yml
+++ b/.github/workflows/ci-merge-check.yml
@@ -1,15 +1,15 @@
on:
#This workflow is only triggered by the ok to test command dispatch
repository_dispatch:
- types: [ ci-merge-check-command ]
-
+ types: [ci-merge-check-command]
+
jobs:
- ci-merge-check:
+ ci-merge-check:
runs-on: ubuntu-latest
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
@@ -21,15 +21,15 @@ jobs:
id: find-comment
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
- body-includes: 'Appsmith External Integration Test Workflow'
+ body-includes: "Appsmith External Integration Test Workflow"
comment-author: github-actions[bot]
direction: last
-
+
- name: Get the workflow run_id
id: workflow
run: |
echo "run_id=$(echo '${{ steps.find-comment.outputs.comment-body }}' | grep -o 'runs/[0-9]\+' | cut -d/ -f2)" >> $GITHUB_OUTPUT
-
+
- name: Get ci-test-result status from the run_id
id: ci_test_result_status
run: |
@@ -58,7 +58,7 @@ jobs:
pr_reviews_link="https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.client_payload.pull_request.number}}/reviews"
pr_reviews=`curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" $pr_reviews_link`
echo "approved_pr_reviews=`echo $pr_reviews | jq -r 'if length > 0 then [.[]|select(.state | contains ("APPROVED"))]|length else 0 end'`" >> $GITHUB_OUTPUT
-
+
- name: Verify all the checks
id: verify_checks
run: |
@@ -91,8 +91,8 @@ jobs:
fi
- name: Add a comment on the PR after all checks
- if: always()
- uses: peter-evans/create-or-update-comment@v2
+ if: always()
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
@@ -108,25 +108,5 @@ jobs:
method: merge
repo: ${{ github.repository }}
- - run : |
+ - run: |
echo ${{ steps.automerge.outputs }}
-
- # - name: Add comment once merge is success-full
- # if: steps.automerge.outputs.mergeResult == 'merged'
- # uses: peter-evans/create-or-update-comment@v2
- # with:
- # issue-number: ${{ github.event.client_payload.pull_request.number }}
- # body: |
- # Pull request ${{ steps.automerge.outputs.pullRequestNumber }} Auto-merged!
-
- # - name: Comment if it is not merged
- # if: steps.automerge.outputs.mergeResult != 'merged'
- # uses: peter-evans/create-or-update-comment@v2
- # with:
- # issue-number: ${{ github.event.client_payload.pull_request.number }}
- # body: |
- # Auto merge has been failed. Probably for the following reasons:
- # 2. There might be some merge conflicts.
- # 3. There are some failed checks.
-
- # Please ask someone with merge access to review and merge.
diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml
index cda0ac6f61ae..7f3a1ef3e06d 100644
--- a/.github/workflows/ci-test-custom-script.yml
+++ b/.github/workflows/ci-test-custom-script.yml
@@ -389,7 +389,7 @@ jobs:
CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }}
CYPRESS_grepTags: ${{ inputs.tags }} # This is a comma separated list of tags to run a subset of the suite
CYPRESS_SKIP_FLAKY: true
- DEBUG: "@cypress/grep"
+ DEBUG: ${{secrets.CYPRESS_GREP_DEBUG }} # This is derived from secrets so that we can toggle it without having to change any workflow. Only acceptable value is: @cypress/grep
with:
browser: ${{ env.BROWSER_PATH }}
install: false
@@ -453,15 +453,6 @@ jobs:
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
- # Force store previous run result to cache
- - name: Store the previous run result
- if: success()
- uses: actions/cache/save@v3
- with:
- path: |
- ~/cypress_url
- key: ${{ github.run_id }}-dashboard-url-${{ github.run_number }}
-
# Upload the log artifact so that it can be used by the test & deploy job in the workflow
- name: Upload server logs bundle on failure
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml
index 42d2863df43c..fa20112fc0d5 100644
--- a/.github/workflows/ci-test-hosted.yml
+++ b/.github/workflows/ci-test-hosted.yml
@@ -295,11 +295,11 @@ jobs:
id: slack_notification
run: |
if [[ "${{ steps.test_status.outputs.run_result }}" == "failedtest" ]]; then
- echo "slack_message=There are test failures in the run. Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail|Click here!>" >> $GITHUB_OUTPUT
+ echo "slack_message=There are test failures in the run. Cypress Dashboard: <https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail|Click here!>" >> $GITHUB_OUTPUT
echo "slack_color=#FF0000" >> $GITHUB_OUTPUT
echo "slack_icon=:parachute:" >> $GITHUB_OUTPUT
else
- echo "slack_message=All tests passed successfully :tada: . Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}|Click here!>" >> $GITHUB_OUTPUT
+ echo "slack_message=All tests passed successfully :tada: . Cypress Dashboard: <https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}|Click here!>" >> $GITHUB_OUTPUT
echo "slack_color=#00FF00" >> $GITHUB_OUTPUT
echo "slack_icon=:eight_spoked_asterisk:" >> $GITHUB_OUTPUT
fi
diff --git a/.github/workflows/ci-test-with-documentdb.yml b/.github/workflows/ci-test-with-documentdb.yml
index 934ddbf0e632..e55604043fa3 100644
--- a/.github/workflows/ci-test-with-documentdb.yml
+++ b/.github/workflows/ci-test-with-documentdb.yml
@@ -593,25 +593,6 @@ jobs:
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
- # - name: get cypress url dashboard url
- # id: dashboard_url
- # if: always()
- # run: |
- # if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
- # echo "" >> ~/cypress_url
- # fi
-
- # Force store previous run result to cache
- - name: Store the previous run result
- if: success()
- uses: actions/cache/save@v3
- with:
- path: |
- ~/cypress_url
- key: ${{ github.run_id }}-dashboard-url-${{ github.run_number }}
-
# Upload the log artifact so that it can be used by the test & deploy job in the workflow
- name: Upload server logs bundle on failure
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index bbf0e3ac44b6..b5c790a94429 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -497,25 +497,6 @@ jobs:
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
- # - name: get cypress url dashboard url
- # id: dashboard_url
- # if: always()
- # run: |
- # if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
- # echo ${{ steps.cypress_test.outputs.resultsUrl }} >> ~/cypress_url
- # elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
- # echo ${{ steps.cypress_test_failedtest.outputs.resultsUrl }} >> ~/cypress_url
- # fi
-
- # Force store previous run result to cache
- - name: Store the previous run result
- if: success()
- uses: actions/cache/save@v3
- with:
- path: |
- ~/cypress_url
- key: ${{ github.run_id }}-dashboard-url-${{ github.run_attempt }}
-
# Upload the log artifact so that it can be used by the test & deploy job in the workflow
- name: Upload server logs bundle on failure
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml
index d3b3b4554a0c..f6cbde710446 100644
--- a/.github/workflows/client-build.yml
+++ b/.github/workflows/client-build.yml
@@ -27,7 +27,6 @@ on:
type: string
default: "true"
-
# Change the working directory for all the jobs in this workflow
defaults:
run:
@@ -74,17 +73,17 @@ jobs:
with:
fetch-depth: 0
- # get all the files changes in the cypress/e2e folder
+ # get all the files changes in the cypress/e2e folder
- name: Get added files in cypress/e2e folder
if: inputs.pr != 0
id: files
- uses: umani/[email protected]
+ uses: umani/[email protected]
with:
repo-token: ${{ secrets.APPSMITH_CI_TEST_PAT }}
- pattern: 'app/client/cypress/e2e/.*'
+ pattern: "app/client/cypress/e2e/.*"
pr-number: ${{ inputs.pr }}
-
- # Check all the newly added files are in ts
+
+ # Check all the newly added files are in ts
- name: Check the newly added files are written in ts
if: inputs.check-test-files == 'true' && inputs.pr != 0
id: check_files
@@ -98,11 +97,11 @@ jobs:
done
echo "non_ts_files=${non_ts_files[@]}" >> $GITHUB_OUTPUT
echo "non_ts_files_count=${#non_ts_files[@]}" >> $GITHUB_OUTPUT
-
- # Comment in PR if test files are not written in ts and fail the workflow
+
+ # Comment in PR if test files are not written in ts and fail the workflow
- name: Comment in PR if test files are not written in ts
if: steps.check_files.outputs.non_ts_files_count != 0 && inputs.check-test-files == 'true' && inputs.pr != 0
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ inputs.pr }}
body: |
@@ -111,17 +110,17 @@ jobs:
<ol>${{ steps.check_files.outputs.non_ts_files }}</ol>
- if: steps.check_files.outputs.non_ts_files_count != 0 && inputs.check-test-files == 'true' && inputs.pr != 0
run: exit 1
-
+
- name: Get all the added or changed files in client/src folder
if: inputs.ads-compliant-check == 'true' && inputs.pr != 0 && github.pull_request.base.ref == 'release'
id: client_files
- uses: umani/[email protected]
+ uses: umani/[email protected]
with:
repo-token: ${{ secrets.APPSMITH_CI_TEST_PAT }}
- pattern: 'app/client/src/.*'
+ pattern: "app/client/src/.*"
pr-number: ${{ inputs.pr }}
- # Check all the newly added files are in ts
+ # Check all the newly added files are in ts
- name: ADS compliant check
if: inputs.ads-compliant-check == 'true' && inputs.pr != 0 && github.pull_request.base.ref == 'release'
id: ads_check
@@ -140,10 +139,10 @@ jobs:
echo "ads_non_compliant_files=$unique_files" >> $GITHUB_OUTPUT
echo "ads_non_compliant_count=${#unique_files[@]}" >> $GITHUB_OUTPUT
- # Comment in PR if test files are not written in ts and fail the workflow
+ # Comment in PR if test files are not written in ts and fail the workflow
- name: Comment in PR if test files are not written in ts
if: steps.ads_check.outputs.ads_non_compliant_count != 0 && inputs.ads-compliant-check == 'true' && inputs.pr != 0 && github.pull_request.base.ref == 'release'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ inputs.pr }}
body: |
diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml
index 8c653a611a48..6aa572823376 100644
--- a/.github/workflows/integration-tests-command.yml
+++ b/.github/workflows/integration-tests-command.yml
@@ -11,14 +11,12 @@ jobs:
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Tests running at: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Workflow: `${{ github.workflow }}`.
- Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- PR: ${{ github.event.client_payload.pull_request.number }}.
Tags: `${{ github.event.client_payload.slash_command.args.named.tags }}`.
server-build:
@@ -176,36 +174,36 @@ jobs:
- name: Add a comment on the PR with new CI failures
if: needs.ci-test.result != 'success' && steps.combine_ci.outputs.specs_failed == '1'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- Cypress dashboard: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
+ Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
- To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypressdashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
+ To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
- name: Add a comment on the PR when ci-test is failed but no specs found
if: needs.ci-test.result != 'success' && steps.combine_ci.outputs.specs_failed == '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
+ Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
It seems like there are some failures 😔. We are not able to recognize it, please check this manually <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" target="_blank">here.</a>
- name: Add a comment on the PR when ci-test is success
if: needs.ci-test.result == 'success' && steps.combine_ci.outputs.specs_failed == '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
+ Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
# Update check run called "ci-test-result"
diff --git a/.github/workflows/integration-tests-with-documentdb-command.yml b/.github/workflows/integration-tests-with-documentdb-command.yml
index f2edea48a0ae..a3acddcb3e6e 100644
--- a/.github/workflows/integration-tests-with-documentdb-command.yml
+++ b/.github/workflows/integration-tests-with-documentdb-command.yml
@@ -11,14 +11,13 @@ jobs:
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Tests running at: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Workflow: `${{ github.workflow }}`.
- Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- PR: ${{ github.event.client_payload.pull_request.number }}.
+ Tags: `${{ github.event.client_payload.slash_command.args.named.tags }}`.
server-build:
name: server-build
@@ -69,6 +68,7 @@ jobs:
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
+ tags: ${{ github.event.client_payload.slash_command.args.named.tags }}
ci-test-result:
needs: [ci-test]
@@ -91,23 +91,11 @@ jobs:
rm -f ~/failed_spec_ci
rm -f ~/combined_failed_spec_ci
- # Force store previous cypress dashboard url from cache
- - name: Store the previous cypress dashboard url
- continue-on-error: true
- if: success()
- uses: actions/cache@v3
- with:
- path: |
- ~/cypress_url
- key: ${{ github.run_id }}-dashboard-url-${{ github.run_attempt }}
- restore-keys: |
- ${{ github.run_id }}-dashboard-url
-
- name: Print cypress dashboard url
continue-on-error: true
id: dashboard_url
run: |
- cypress_url="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}"
+ cypress_url="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}"
echo "dashboard_url=$cypress_url" >> $GITHUB_OUTPUT
# Download failed_spec list for all jobs
@@ -159,25 +147,25 @@ jobs:
- name: Add a comment on the PR with new CI failures
if: needs.ci-test.result != 'success' && steps.combine_ci.outputs.specs_failed == '1'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- Cypress dashboard: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
+ Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
- To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypressdashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
+ To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-6541e22b0c243558fe2288ca?branch=master" target="_blank">Refer here</a>
- name: Add a comment on the PR when ci-test is success
if: needs.ci-test.result == 'success' || steps.combine_ci.outputs.specs_failed == '0'
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
- Cypress dashboard: <a href="https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
+ Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
# Update check run called "ci-test-result"
diff --git a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
index ea7992df4ff6..496f144df0f1 100644
--- a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
+++ b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml
@@ -3,7 +3,7 @@ name: On demand build Docker image and deploy preview
on:
# This workflow is only triggered by the `/build-deploy-preview` command dispatch
repository_dispatch:
- types: [ build-deploy-preview-command ]
+ types: [build-deploy-preview-command]
jobs:
notify-job-details:
@@ -11,7 +11,7 @@ jobs:
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
@@ -47,7 +47,7 @@ jobs:
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
- skip-tests: ${{ github.event.client_payload.slash_command.args.named.skip-tests }}
+ skip-tests: ${{ github.event.client_payload.slash_command.args.named.skip-tests }}
vercel-build:
name: vercel-build
@@ -114,13 +114,11 @@ jobs:
body: bodyLines.join("\n"),
})
-
push-image:
needs: [client-build, rts-build, server-build]
runs-on: ubuntu-latest
if: success()
steps:
-
# Check out merge commit
- name: Checkout PR
uses: actions/checkout@v3
@@ -202,7 +200,6 @@ jobs:
if: success()
steps:
-
- name: Checkout PR
uses: actions/checkout@v3
with:
@@ -263,7 +260,7 @@ jobs:
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to Deploy-Preview
- uses: peter-evans/create-or-update-comment@v2
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
diff --git a/.github/workflows/perf-tests-command.yml b/.github/workflows/perf-tests-command.yml
index dc4266b73828..786eade24894 100644
--- a/.github/workflows/perf-tests-command.yml
+++ b/.github/workflows/perf-tests-command.yml
@@ -11,7 +11,7 @@ jobs:
steps:
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
- uses: peter-evans/create-or-update-comment@v1
+ uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
@@ -42,7 +42,7 @@ jobs:
pr: ${{ github.event.client_payload.pull_request.number }}
build-docker-image:
- needs: [ client-build, server-build, rts-build ]
+ needs: [client-build, server-build, rts-build]
# Only run if the build step is successful
if: success()
name: build-docker-image
@@ -50,9 +50,9 @@ jobs:
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
-
+
perf-test:
- needs: [ build-docker-image ]
+ needs: [build-docker-image]
# Only run if the build step is successful
if: success()
name: perf-test
@@ -62,11 +62,11 @@ jobs:
pr: ${{ github.event.client_payload.pull_request.number }}
perf-test-v2:
- needs: [ build-docker-image ]
+ 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
+ pr: ${{ github.event.client_payload.pull_request.number }}
diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml
index 68c7b22110d7..ac2cf79f4064 100644
--- a/.github/workflows/test-build-docker-image.yml
+++ b/.github/workflows/test-build-docker-image.yml
@@ -112,11 +112,11 @@ jobs:
eventCommit=$(echo ${{env.EVENT_COMMITS}} | sed "s/'//g")
echo "slack_username=$(echo "$eventCommit" | awk -F '\\\\n' '{print $1}' | sed 's/^"//;s/"$//')" >> $GITHUB_OUTPUT
if [[ ${{ needs.ci-test.result }} == 'failure' ]]; then
- echo "slack_message=There are test failures in the run. Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail|Click here!>" >> $GITHUB_OUTPUT
+ echo "slack_message=There are test failures in the run. Cypress Dashboard: <https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail|Click here!>" >> $GITHUB_OUTPUT
echo "slack_color=#FF0000" >> $GITHUB_OUTPUT
echo "slack_icon=:no_entry:" >> $GITHUB_OUTPUT
elif [[ ${{ needs.ci-test.result }} == 'success' ]]; then
- echo "slack_message=All tests passed successfully :tada: Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}|Click here!>" >> $GITHUB_OUTPUT
+ echo "slack_message=All tests passed successfully :tada: Cypress Dashboard: <https://internal.appsmith.com/app/cypress-dashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}|Click here!>" >> $GITHUB_OUTPUT
echo "slack_color=#00FF00" >> $GITHUB_OUTPUT
echo "slack_icon=:white_check_mark:" >> $GITHUB_OUTPUT
else
|
56d6c458055c603c5a09ff4cfe6152a6295327c9
|
2024-05-09 17:17:58
|
Vemparala Surya Vamsi
|
chore: added unit test cases for disableLogs and microDiff (#33292)
| false
|
added unit test cases for disableLogs and microDiff (#33292)
|
chore
|
diff --git a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
index a5159dec4582..bebadfac5957 100644
--- a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
+++ b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts
@@ -2,6 +2,7 @@ import type { DependencyMap, EvaluationError } from "utils/DynamicBindingUtils";
import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils";
import { RenderModes } from "constants/WidgetConstants";
import { ValidationTypes } from "constants/WidgetValidation";
+import microDiff from "microdiff";
import type {
WidgetEntity,
@@ -19,6 +20,7 @@ import type {
DataTree,
} from "entities/DataTree/dataTreeTypes";
import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils";
+import { convertMicroDiffToDeepDiff } from "@appsmith/workers/Evaluation/evaluationUtils";
import {
addErrorToEntityProperty,
convertJSFunctionsToString,
@@ -981,3 +983,39 @@ describe("convertJSFunctionsToString", () => {
expect(expectedResult).toStrictEqual(actualResult);
});
+describe("convertMicroDiffToDeepDiff", () => {
+ it("should generate edit deepDiff updates", () => {
+ const microDiffUpdates = microDiff({ a: 1, b: 2 }, { a: 1, b: 3 });
+ const deepDiffUpdates = convertMicroDiffToDeepDiff(microDiffUpdates);
+ expect(deepDiffUpdates).toStrictEqual([
+ {
+ kind: "E",
+ lhs: 2,
+ path: ["b"],
+ rhs: 3,
+ },
+ ]);
+ });
+ it("should generate create deepDiff updates", () => {
+ const microDiffUpdates = microDiff({ a: 1 }, { a: 1, b: 3 });
+ const deepDiffUpdates = convertMicroDiffToDeepDiff(microDiffUpdates);
+ expect(deepDiffUpdates).toStrictEqual([
+ {
+ kind: "N",
+ path: ["b"],
+ rhs: 3,
+ },
+ ]);
+ });
+ it("should generate delete deepDiff updates", () => {
+ const microDiffUpdates = microDiff({ a: 1, b: 3 }, { a: 1 });
+ const deepDiffUpdates = convertMicroDiffToDeepDiff(microDiffUpdates);
+ expect(deepDiffUpdates).toStrictEqual([
+ {
+ kind: "D",
+ path: ["b"],
+ lhs: 3,
+ },
+ ]);
+ });
+});
diff --git a/app/client/src/sagas/EvaluationsSaga.test.ts b/app/client/src/sagas/EvaluationsSaga.test.ts
new file mode 100644
index 000000000000..cbae471f98ba
--- /dev/null
+++ b/app/client/src/sagas/EvaluationsSaga.test.ts
@@ -0,0 +1,70 @@
+import { evaluateTreeSaga, evalWorker } from "./EvaluationsSaga";
+import { expectSaga } from "redux-saga-test-plan";
+import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions";
+import { select } from "redux-saga/effects";
+import { getMetaWidgets, getWidgets, getWidgetsMeta } from "./selectors";
+import { getAllActionValidationConfig } from "@appsmith//selectors/entitiesSelector";
+import { getSelectedAppTheme } from "selectors/appThemingSelectors";
+import { getAppMode } from "@appsmith/selectors/applicationSelectors";
+import * as log from "loglevel";
+jest.mock("loglevel");
+
+describe("evaluateTreeSaga", () => {
+ afterAll(() => {
+ jest.unmock("loglevel");
+ });
+ test("should set 'shouldRespondWithLogs'to evaluations when the log level is debug", async () => {
+ (log.getLevel as any).mockReturnValue(log.levels.DEBUG);
+ const unEvalAndConfigTree = { unEvalTree: {}, configTree: {} };
+ return expectSaga(evaluateTreeSaga, unEvalAndConfigTree)
+ .provide([
+ [select(getAllActionValidationConfig), {}],
+ [select(getWidgets), {}],
+ [select(getMetaWidgets), {}],
+ [select(getSelectedAppTheme), {}],
+ [select(getAppMode), false],
+ [select(getWidgetsMeta), {}],
+ ])
+ .call(evalWorker.request, EVAL_WORKER_ACTIONS.EVAL_TREE, {
+ unevalTree: unEvalAndConfigTree,
+ widgetTypeConfigMap: undefined,
+ widgets: {},
+ theme: {},
+ shouldReplay: true,
+ allActionValidationConfig: {},
+ forceEvaluation: false,
+ metaWidgets: {},
+ appMode: false,
+ widgetsMeta: {},
+ shouldRespondWithLogs: true,
+ })
+ .run();
+ });
+ test("should set 'shouldRespondWithLogs' to false when the log level is not debug", async () => {
+ (log.getLevel as any).mockReturnValue(log.levels.INFO);
+ const unEvalAndConfigTree = { unEvalTree: {}, configTree: {} };
+ return expectSaga(evaluateTreeSaga, unEvalAndConfigTree)
+ .provide([
+ [select(getAllActionValidationConfig), {}],
+ [select(getWidgets), {}],
+ [select(getMetaWidgets), {}],
+ [select(getSelectedAppTheme), {}],
+ [select(getAppMode), false],
+ [select(getWidgetsMeta), {}],
+ ])
+ .call(evalWorker.request, EVAL_WORKER_ACTIONS.EVAL_TREE, {
+ unevalTree: unEvalAndConfigTree,
+ widgetTypeConfigMap: undefined,
+ widgets: {},
+ theme: {},
+ shouldReplay: true,
+ allActionValidationConfig: {},
+ forceEvaluation: false,
+ metaWidgets: {},
+ appMode: false,
+ widgetsMeta: {},
+ shouldRespondWithLogs: false,
+ })
+ .run();
+ });
+});
|
ecf047a32d1d66dacee64e37e2305ddc18906662
|
2023-12-11 14:55:53
|
Shrikant Sharat Kandula
|
fix: Fix version name's `v` prefix in info.json (#29508)
| false
|
Fix version name's `v` prefix in info.json (#29508)
|
fix
|
diff --git a/scripts/generate_info_json.sh b/scripts/generate_info_json.sh
index 39dc5f44a6b8..7e8eab104a7b 100755
--- a/scripts/generate_info_json.sh
+++ b/scripts/generate_info_json.sh
@@ -9,7 +9,7 @@ commit_sha="$(git rev-parse HEAD)"
base_url="$(git remote get-url origin | sed 's,^git@github\.com:,https://github.com/,; s/\.git$//')"
if [[ "${GITHUB_REF-}" =~ ^refs/tags/v ]]; then
- version="${GITHUB_REF#refs/tags/v}"
+ version="${GITHUB_REF#refs/tags/}"
else
latest_released_version="$(git ls-remote --tags --sort=-v:refname "$(git remote | head -1)" 'v*' | awk -F/ '{print $NF; exit}')"
echo "latest_released_version = $latest_released_version" >&2
|
2e8e307a95e8fc54bebb09dedbdbeed27496944b
|
2023-12-12 09:42:36
|
Rahul Barwal
|
fix: Community templates UX issue (#29164)
| false
|
Community templates UX issue (#29164)
|
fix
|
diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx
index cdeb1efee569..70ba1d87a162 100644
--- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx
+++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx
@@ -81,13 +81,7 @@ const CommunityTemplateForm = ({ onPublishSuccess }: Props) => {
AnalyticsUtil.logEvent("COMMUNITY_TEMPLATE_PUBLISH_CLICK", {
id: currentApplication?.id,
});
- let pageId = currentPageId;
- if (currentApplication?.pages) {
- const defaultPageInfo = currentApplication.pages.filter(
- (page) => page.isDefault,
- );
- pageId = defaultPageInfo[0]?.id;
- }
+ const pageId = currentApplication?.defaultPageId || currentPageId;
dispatch(
publishCommunityTemplate({
title: templateName,
diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx
index 2145fc606f8b..2f03bceda12a 100644
--- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx
+++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx
@@ -28,6 +28,7 @@ const ApplicationSettings = ({
</Text>
<Switch
data-testid="t--community-template-app-settting-public-switch"
+ isDisabled
isSelected={isPublic}
onChange={setIsPublic}
>
@@ -37,6 +38,7 @@ const ApplicationSettings = ({
</Switch>
<Switch
data-testid="t--community-template-app-settting-forkable-switch"
+ isDisabled
isSelected={isForkable}
onChange={setIsForkable}
>
diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx
index 775fb9a184b9..974a4559a45b 100644
--- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx
+++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx
@@ -130,7 +130,10 @@ const UseCasesSelect = ({
data-testid="t--community-template-usecases-input"
getPopupContainer={(triggerNode) => triggerNode.parentNode.parentNode}
isMultiSelect
+ maxTagCount="responsive"
+ maxTagTextLength={20}
onChange={setTemplateUseCases}
+ showSearch
value={templateUseCases}
>
{useCases &&
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/AnalyticsEvents.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/AnalyticsEvents.java
index 79ddf8159faf..bea915c1cd7e 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/AnalyticsEvents.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/AnalyticsEvents.java
@@ -88,7 +88,9 @@ public enum AnalyticsEvents {
PARTIAL_IMPORT,
- PARTIAL_EXPORT;
+ PARTIAL_EXPORT,
+
+ COMMUNITY_TEMPLATE_PUBLISHED;
private final String eventName;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationTemplateServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationTemplateServiceImpl.java
index e944629c61c8..09957ce4d1a9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationTemplateServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ApplicationTemplateServiceImpl.java
@@ -27,7 +27,8 @@ public ApplicationTemplateServiceImpl(
ApplicationService applicationService,
ResponseUtils responseUtils,
ApplicationPermission applicationPermission,
- ObjectMapper objectMapper) {
+ ObjectMapper objectMapper,
+ SessionUserService sessionUserService) {
super(
cloudServicesConfig,
releaseNotesService,
@@ -38,6 +39,7 @@ public ApplicationTemplateServiceImpl(
applicationService,
responseUtils,
applicationPermission,
- objectMapper);
+ objectMapper,
+ sessionUserService);
}
}
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 0ac1933fa39d..cb8ae50476ce 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
@@ -7,6 +7,7 @@
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.ApplicationMode;
+import com.appsmith.server.domains.User;
import com.appsmith.server.dtos.*;
import com.appsmith.server.exceptions.AppsmithError;
import com.appsmith.server.exceptions.AppsmithException;
@@ -14,6 +15,7 @@
import com.appsmith.server.helpers.ResponseUtils;
import com.appsmith.server.imports.internal.ImportApplicationService;
import com.appsmith.server.services.AnalyticsService;
+import com.appsmith.server.services.SessionUserService;
import com.appsmith.server.services.UserDataService;
import com.appsmith.server.solutions.ApplicationPermission;
import com.appsmith.server.solutions.ReleaseNotesService;
@@ -54,8 +56,8 @@ public class ApplicationTemplateServiceCEImpl implements ApplicationTemplateServ
private final ApplicationService applicationService;
private final ResponseUtils responseUtils;
private final ApplicationPermission applicationPermission;
-
private final ObjectMapper objectMapper;
+ private final SessionUserService sessionUserService;
public ApplicationTemplateServiceCEImpl(
CloudServicesConfig cloudServicesConfig,
@@ -67,7 +69,8 @@ public ApplicationTemplateServiceCEImpl(
ApplicationService applicationService,
ResponseUtils responseUtils,
ApplicationPermission applicationPermission,
- ObjectMapper objectMapper) {
+ ObjectMapper objectMapper,
+ SessionUserService sessionUserService) {
this.cloudServicesConfig = cloudServicesConfig;
this.releaseNotesService = releaseNotesService;
this.importApplicationService = importApplicationService;
@@ -78,6 +81,7 @@ public ApplicationTemplateServiceCEImpl(
this.responseUtils = responseUtils;
this.applicationPermission = applicationPermission;
this.objectMapper = objectMapper;
+ this.sessionUserService = sessionUserService;
}
@Override
@@ -331,7 +335,8 @@ private Mono<ApplicationTemplate> uploadCommunityTemplateToCS(CommunityTemplateU
String payload;
try {
// Please don't use the default ObjectMapper.
- // The default mapper is registered with views.public.class and removes few attributes due to this
+ // The default mapper is registered with views.public.class and removes few
+ // attributes due to this
// The templates flow has different requirement hence not using the same
ObjectMapper ow = new ObjectMapper();
ow.registerModule(new JavaTimeModule());
@@ -375,8 +380,22 @@ public Mono<Application> publishAsCommunityTemplate(CommunityTemplateDTO resourc
.flatMap(application -> {
ApplicationAccessDTO applicationAccessDTO = new ApplicationAccessDTO();
applicationAccessDTO.setPublicAccess(true);
- return applicationService.changeViewAccess(
- application.getId(), resource.getBranchName(), applicationAccessDTO);
+ return applicationService
+ .changeViewAccess(application.getId(), resource.getBranchName(), applicationAccessDTO)
+ .zipWith(sessionUserService.getCurrentUser());
+ })
+ .flatMap(tuple -> {
+ Application application = tuple.getT1();
+ User user = tuple.getT2();
+ final Map<String, Object> data = Map.of(
+ FieldName.APPLICATION_ID, application.getId(),
+ FieldName.WORKSPACE_ID, application.getWorkspaceId());
+ return analyticsService
+ .sendEvent(
+ AnalyticsEvents.COMMUNITY_TEMPLATE_PUBLISHED.getEventName(),
+ user.getUsername(),
+ data)
+ .thenReturn(application);
});
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationTemplateServiceUnitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationTemplateServiceUnitTest.java
index 522acc5af246..e8fed2de459a 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationTemplateServiceUnitTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationTemplateServiceUnitTest.java
@@ -32,7 +32,8 @@
import static org.assertj.core.api.Assertions.assertThat;
/**
- * This test is written based on the inspiration from the tutorial: https://www.baeldung.com/spring-mocking-webclient
+ * This test is written based on the inspiration from the tutorial:
+ * https://www.baeldung.com/spring-mocking-webclient
*/
@ExtendWith(SpringExtension.class)
public class ApplicationTemplateServiceUnitTest {
@@ -67,6 +68,9 @@ public class ApplicationTemplateServiceUnitTest {
@MockBean
private ResponseUtils responseUtils;
+ @MockBean
+ private SessionUserService sessionUserService;
+
@BeforeAll
public static void setUp() throws IOException {
mockCloudServices = new MockWebServer();
@@ -82,7 +86,8 @@ public static void tearDown() throws IOException {
public void initialize() {
String baseUrl = String.format("http://localhost:%s", mockCloudServices.getPort());
- // mock the cloud services config so that it returns mock server url as cloud service base url
+ // mock the cloud services config so that it returns mock server url as cloud
+ // service base url
Mockito.when(cloudServicesConfig.getBaseUrl()).thenReturn(baseUrl);
applicationTemplateService = new ApplicationTemplateServiceImpl(
@@ -95,7 +100,8 @@ public void initialize() {
applicationService,
responseUtils,
applicationPermission,
- objectMapper);
+ objectMapper,
+ sessionUserService);
}
private ApplicationTemplate create(String id, String title) {
|
74e663bb7c1d0879f09b4c0f44d71727fbd7b080
|
2023-06-08 15:20:25
|
Rudraprasad Das
|
fix: git repo button is unresponsive (#24206)
| false
|
git repo button is unresponsive (#24206)
|
fix
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/GitBugs_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/GitBugs_Spec.ts
index 6e4efce130b5..e38bcd1b59ac 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/GitBugs_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/GitBugs_Spec.ts
@@ -1,6 +1,8 @@
import * as _ from "../../../../support/Objects/ObjectsCore";
let repoName: any;
+let tempBranch: any;
+
describe("Git Bugs", function () {
before(() => {
_.homePage.NavigateToHome();
@@ -25,16 +27,19 @@ describe("Git Bugs", function () {
it("2. Bug 18665 : Creates a new Git branch, Create datasource, discard it and check current branch", function () {
_.gitSync.CreateNConnectToGit();
- _.gitSync.CreateGitBranch();
- _.dataSources.NavigateToDSCreateNew();
- _.dataSources.CreatePlugIn("PostgreSQL");
- _.dataSources.SaveDSFromDialog(false);
- _.agHelper.AssertElementVisible(_.gitSync._branchButton);
- cy.get("@gitRepoName").then((repName) => {
- repoName = repName;
+ _.gitSync.CreateGitBranch(tempBranch, false);
+
+ cy.get("@gitbranchName").then((branchName) => {
+ tempBranch = branchName;
+ _.dataSources.NavigateToDSCreateNew();
+ _.dataSources.CreatePlugIn("PostgreSQL");
+ _.dataSources.SaveDSFromDialog(false);
+ _.agHelper.AssertElementVisible(_.gitSync._branchButton);
+ cy.get("@gitRepoName").then((repName) => {
+ repoName = repName;
+ });
});
});
-
it("3. Bug 18376: navigateTo fails to set queryParams if the app is connected to Git", () => {
_.entityExplorer.AddNewPage();
_.entityExplorer.DragDropWidgetNVerify(_.draggableWidgets.TEXT);
@@ -64,6 +69,21 @@ describe("Git Bugs", function () {
_.agHelper.ValidateURL("testQP=Yes"); //Validate we also ve the Query Params from Page1
});
+ it("4. Bug 24206 : Open repository button is not functional in git sync modal", function () {
+ _.gitSync.SwitchGitBranch("master");
+ _.entityExplorer.DragDropWidgetNVerify("modalwidget", 50, 50);
+ _.gitSync.CommitAndPush();
+ _.gitSync.SwitchGitBranch(tempBranch);
+ _.gitSync.CommitAndPush();
+ _.gitSync.CheckMergeConflicts("master");
+ cy.window().then((win) => {
+ cy.stub(win, "open", (url) => {
+ win.location.href = "http://host.docker.internal/";
+ }).as("repoURL");
+ });
+ _.gitSync.OpenRepositoryAndVerify();
+ cy.get("@repoURL").should("be.called");
+ });
// it.only("4. Import application json and validate headers", () => {
// _.homePage.NavigateToHome();
// _.homePage.ImportApp("DeleteGitRepos.json");
diff --git a/app/client/cypress/support/Pages/GitSync.ts b/app/client/cypress/support/Pages/GitSync.ts
index 9628d089d951..99edc4f12bc0 100644
--- a/app/client/cypress/support/Pages/GitSync.ts
+++ b/app/client/cypress/support/Pages/GitSync.ts
@@ -29,6 +29,15 @@ export class GitSync {
branch +
"']";
_checkMergeability = "//span[contains(text(), 'Checking mergeability')]";
+ private _branchListItem = "[data-testid=t--branch-list-item]";
+ private _spinner = ".ads-v2-spinner";
+ private _bottomBarMergeButton = ".t--bottom-bar-merge";
+ private _mergeBranchDropdownDestination =
+ ".t--merge-branch-dropdown-destination";
+ private _dropdownmenu = ".rc-select-item-option-content";
+ private _openRepoButton = "[data-testid=t--git-repo-button]";
+ private _commitButton = ".t--commit-button";
+ private _commitCommentInput = ".t--commit-comment-input textarea";
OpenGitSyncModal() {
this.agHelper.GetNClick(this._connectGitBottomBar);
@@ -155,6 +164,67 @@ export class GitSync {
});
}
+ SwitchGitBranch(branch: string, expectError?: false) {
+ this.agHelper.AssertElementExist(this._bottomBarPull);
+ this.agHelper.GetNClick(this._branchButton);
+ this.agHelper.TypeText(
+ this._branchSearchInput,
+ `{selectall}` + `${branch}`,
+ 0,
+ true,
+ );
+ cy.wait(1000);
+ //cy.get(gitSyncLocators.branchListItem).contains(branch).click();
+ this.agHelper.GetNClickByContains(this._branchListItem, branch);
+ if (!expectError) {
+ // increasing timeout to reduce flakyness
+ cy.get(this._spinner, { timeout: 45000 }).should("exist");
+ cy.get(this._spinner, { timeout: 45000 }).should("not.exist");
+ }
+
+ this.agHelper.Sleep(2000);
+ }
+
+ CheckMergeConflicts(destinationBranch: string) {
+ this.agHelper.AssertElementExist(this._bottomBarPull);
+ this.agHelper.GetNClick(this._bottomBarMergeButton);
+ cy.wait(2000);
+ this.agHelper.GetNClick(this._mergeBranchDropdownDestination);
+ // cy.get(commonLocators.dropdownmenu).contains(destinationBranch).click();
+ this.agHelper.GetNClickByContains(this._dropdownmenu, destinationBranch);
+
+ this.agHelper.AssertElementAbsence(this._checkMergeability, 35000);
+ }
+
+ OpenRepositoryAndVerify() {
+ this.agHelper.GetNClick(this._openRepoButton);
+ }
+
+ CommitAndPush(assertFailure?: true) {
+ this.agHelper.GetNClick(this.locator._publishButton);
+ this.agHelper.AssertElementExist(this._bottomBarPull);
+ //cy.get(gitSyncLocators.commitCommentInput).type("Initial Commit");
+ this.agHelper.TypeText(this._commitCommentInput, "Initial commit", 0, true);
+ this.agHelper.GetNClick(this._commitButton);
+ if (!assertFailure) {
+ // check for commit success
+ //adding timeout since commit is taking longer sometimes
+ cy.wait("@commit", { timeout: 35000 }).should(
+ "have.nested.property",
+ "response.body.responseMeta.status",
+ 201,
+ );
+ cy.wait(3000);
+ } else {
+ cy.wait("@commit", { timeout: 35000 }).then((interception: any) => {
+ const status = interception.response.body.responseMeta.status;
+ expect(status).to.be.gte(400);
+ });
+ }
+
+ this.CloseGitSyncModal();
+ }
+
//#region Unused methods
private AuthorizeLocalGitSSH(remoteUrl: string, assertConnect = true) {
diff --git a/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx b/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx
index 03ffb1df9329..c4ddb3669b6e 100644
--- a/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx
@@ -32,6 +32,10 @@ export default function ConflictInfo({
browserSupportedRemoteUrl,
learnMoreLink,
}: Props) {
+ const handleClickOnOpenRepo = () => {
+ window.open(browserSupportedRemoteUrl, "_blank");
+ };
+
return (
<ConflictInfoContainer data-testid="t--conflict-info-container">
<Callout
@@ -49,9 +53,9 @@ export default function ConflictInfo({
<Space size={3} />
<Row>
<StyledButton
- className="t--commit-button"
- href={browserSupportedRemoteUrl}
+ data-testid="t--git-repo-button"
kind="secondary"
+ onClick={handleClickOnOpenRepo}
>
{createMessage(OPEN_REPO)}
</StyledButton>
|
c8615a853d5aa08690132228c07dde5897e6c185
|
2023-05-19 21:43:09
|
Aishwarya-U-R
|
ci: Update ci-test.yml-for ADS run (#23557)
| false
|
Update ci-test.yml-for ADS run (#23557)
|
ci
|
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index fcd49d3a1cec..a50389e5ce37 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- job: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 ]
+ job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]
# Service containers to run with this job. Required for running tests
services:
@@ -240,6 +240,7 @@ jobs:
APPSMITH_DISABLE_TELEMETRY: true
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
POSTGRES_PASSWORD: postgres
+ CYPRESS_VERIFY_TIMEOUT: 100000
run: |
cd app/client
chmod a+x ./cypress/setup-test-ci.sh
@@ -297,15 +298,16 @@ jobs:
APPSMITH_DISABLE_TELEMETRY: true
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
+ CYPRESS_VERIFY_TIMEOUT: 100000
with:
browser: ${{ env.BROWSER_PATH }}
headless: true
record: true
install: false
parallel: true
- config-file: cypress_ci.json
+ config-file: cypress_ci.config.ts
group: "Electrons on Github Action Fat Container"
- spec: "cypress/integration/**/**/*"
+ spec: "cypress/e2e/**/**/*"
working-directory: app/client
# tag will be either "push" or "pull_request"
tag: ${{ github.event_name }}
@@ -364,7 +366,7 @@ jobs:
record: true
install: false
parallel: true
- config-file: cypress_ci.json
+ config-file: cypress_ci.config.ts
group: "Electrons on Github Action Fat Container"
spec: ${{ env.failed_spec_env }}
working-directory: app/client
@@ -404,7 +406,7 @@ jobs:
if: failure()
run: |
cd ${{ github.workspace }}/app/client/cypress/
- find screenshots -type f \( -iname "*\(attempt 2\).png" -o -iname "*before all hook*" -o -iname "*after all hook*" \) | sed 's/screenshots/cypress\/integration/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }}
+ find screenshots -type f \( -iname "*\(attempt 2\).png" -o -iname "*before all hook*" -o -iname "*after all hook*" \) | sed 's/screenshots/cypress\/e2e/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }}
# reset the failed_spec_ci file in case of success
- name: In case of test success reset the failed_spec_ci file
|
3be086710ebd47ba0785a8b95d09c439a6ce870d
|
2023-10-05 10:02:38
|
Nirmal Sarswat
|
feat: PAC Service code split for configuration (#27821)
| false
|
PAC Service code split for configuration (#27821)
|
feat
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationService.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationService.java
new file mode 100644
index 000000000000..1c7ce4bdf5cd
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationService.java
@@ -0,0 +1,5 @@
+package com.appsmith.server.services;
+
+import com.appsmith.server.services.ce_compatible.PACConfigurationServiceCECompatible;
+
+public interface PACConfigurationService extends PACConfigurationServiceCECompatible {}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationServiceImpl.java
new file mode 100644
index 000000000000..fcaf9edcf0b3
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/PACConfigurationServiceImpl.java
@@ -0,0 +1,10 @@
+package com.appsmith.server.services;
+
+import com.appsmith.server.services.ce_compatible.PACConfigurationServiceCECompatibleImpl;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Service;
+
+@Service
+@Slf4j
+public class PACConfigurationServiceImpl extends PACConfigurationServiceCECompatibleImpl
+ implements PACConfigurationService {}
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 81ca44347f09..9f53632fe718 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
@@ -49,7 +49,8 @@ public UserServiceImpl(
UserUtils userUtils,
EmailVerificationTokenRepository emailVerificationTokenRepository,
EmailService emailService,
- RateLimitService rateLimitService) {
+ RateLimitService rateLimitService,
+ PACConfigurationService pacConfigurationService) {
super(
scheduler,
validator,
@@ -74,6 +75,7 @@ public UserServiceImpl(
userUtils,
emailVerificationTokenRepository,
emailService,
- rateLimitService);
+ rateLimitService,
+ pacConfigurationService);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCE.java
new file mode 100644
index 000000000000..371ce06cea15
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCE.java
@@ -0,0 +1,10 @@
+package com.appsmith.server.services.ce;
+
+import com.appsmith.server.domains.User;
+import com.appsmith.server.dtos.UserProfileDTO;
+import reactor.core.publisher.Mono;
+
+public interface PACConfigurationServiceCE {
+ Mono<UserProfileDTO> setRolesAndGroups(
+ UserProfileDTO profile, User user, boolean showUsersAndGroups, boolean isCloudHosting);
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCEImpl.java
new file mode 100644
index 000000000000..debabcf11ec7
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PACConfigurationServiceCEImpl.java
@@ -0,0 +1,24 @@
+package com.appsmith.server.services.ce;
+
+import com.appsmith.server.domains.User;
+import com.appsmith.server.dtos.UserProfileDTO;
+import org.springframework.stereotype.Service;
+import reactor.core.publisher.Mono;
+
+import java.util.List;
+
+import static com.appsmith.server.constants.ce.AccessControlConstantsCE.UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC;
+
+@Service
+public class PACConfigurationServiceCEImpl implements PACConfigurationServiceCE {
+ @Override
+ public Mono<UserProfileDTO> setRolesAndGroups(
+ UserProfileDTO profile, User user, boolean showUsersAndGroups, boolean isCloudHosting) {
+ profile.setRoles(
+ List.of(UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
+ profile.setGroups(
+ List.of(UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
+
+ return Mono.just(profile);
+ }
+}
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 d37e028e065d..f412879c08c5 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
@@ -37,6 +37,7 @@
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.BaseService;
import com.appsmith.server.services.EmailService;
+import com.appsmith.server.services.PACConfigurationService;
import com.appsmith.server.services.PermissionGroupService;
import com.appsmith.server.services.SessionUserService;
import com.appsmith.server.services.TenantService;
@@ -88,7 +89,6 @@
import java.util.regex.Pattern;
import static com.appsmith.server.acl.AclPermission.MANAGE_USERS;
-import static com.appsmith.server.constants.AccessControlConstants.UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC;
import static com.appsmith.server.helpers.RedirectHelper.DEFAULT_REDIRECT_URL;
import static com.appsmith.server.helpers.ValidationUtils.LOGIN_PASSWORD_MAX_LENGTH;
import static com.appsmith.server.helpers.ValidationUtils.LOGIN_PASSWORD_MIN_LENGTH;
@@ -116,6 +116,7 @@ public class UserServiceCEImpl extends BaseService<UserRepository, User, String>
private final UserUtils userUtils;
private final EmailService emailService;
private final RateLimitService rateLimitService;
+ private final PACConfigurationService pacConfigurationService;
private static final WebFilterChain EMPTY_WEB_FILTER_CHAIN = serverWebExchange -> Mono.empty();
private static final String FORGOT_PASSWORD_CLIENT_URL_FORMAT = "%s/user/resetPassword?token=%s";
@@ -154,7 +155,8 @@ public UserServiceCEImpl(
UserUtils userUtils,
EmailVerificationTokenRepository emailVerificationTokenRepository,
EmailService emailService,
- RateLimitService rateLimitService) {
+ RateLimitService rateLimitService,
+ PACConfigurationService pacConfigurationService) {
super(scheduler, validator, mongoConverter, reactiveMongoTemplate, repository, analyticsService);
this.workspaceService = workspaceService;
@@ -172,6 +174,7 @@ public UserServiceCEImpl(
this.rateLimitService = rateLimitService;
this.emailVerificationTokenRepository = emailVerificationTokenRepository;
this.emailService = emailService;
+ this.pacConfigurationService = pacConfigurationService;
}
@Override
@@ -758,20 +761,11 @@ public Mono<UserProfileDTO> buildUserProfileDTO(User user) {
commonConfig.isCloudHosting() ? true : userData.isIntercomConsentGiven());
profile.setSuperUser(isSuperUser);
profile.setConfigurable(!StringUtils.isEmpty(commonConfig.getEnvFilePath()));
- return setRolesAndGroups(profile, userFromDb, true, commonConfig.isCloudHosting());
+ return pacConfigurationService.setRolesAndGroups(
+ profile, userFromDb, true, commonConfig.isCloudHosting());
});
}
- protected Mono<UserProfileDTO> setRolesAndGroups(
- UserProfileDTO profile, User user, boolean showRolesAndGroups, boolean isCloudHosting) {
- profile.setRoles(
- List.of(UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
- profile.setGroups(
- List.of(UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
-
- return Mono.just(profile);
- }
-
private EmailTokenDTO parseValueFromEncryptedToken(String encryptedToken) {
String decryptString = encryptionService.decryptString(encryptedToken);
List<NameValuePair> nameValuePairs = URLEncodedUtils.parse(decryptString, StandardCharsets.UTF_8);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatible.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatible.java
new file mode 100644
index 000000000000..e71f31baf6f7
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatible.java
@@ -0,0 +1,10 @@
+package com.appsmith.server.services.ce_compatible;
+
+import com.appsmith.server.services.ce.PACConfigurationServiceCE;
+
+/**
+ * PACConfigurationService - Controls the configurations for PAC
+ * <br>
+ * - PAC : programmatic access control
+ */
+public interface PACConfigurationServiceCECompatible extends PACConfigurationServiceCE {}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatibleImpl.java
new file mode 100644
index 000000000000..4fd6076df52c
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/PACConfigurationServiceCECompatibleImpl.java
@@ -0,0 +1,10 @@
+package com.appsmith.server.services.ce_compatible;
+
+import com.appsmith.server.services.ce.PACConfigurationServiceCEImpl;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Service;
+
+@Service
+@Slf4j
+public class PACConfigurationServiceCECompatibleImpl extends PACConfigurationServiceCEImpl
+ implements PACConfigurationServiceCECompatible {}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/UserServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/UserServiceCECompatibleImpl.java
index d27345aa6b27..79c8d40398fb 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/UserServiceCECompatibleImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/UserServiceCECompatibleImpl.java
@@ -12,6 +12,7 @@
import com.appsmith.server.repositories.UserRepository;
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.EmailService;
+import com.appsmith.server.services.PACConfigurationService;
import com.appsmith.server.services.PermissionGroupService;
import com.appsmith.server.services.SessionUserService;
import com.appsmith.server.services.TenantService;
@@ -53,7 +54,8 @@ public UserServiceCECompatibleImpl(
UserUtils userUtils,
EmailVerificationTokenRepository emailVerificationTokenRepository,
EmailService emailService,
- RateLimitService rateLimitService) {
+ RateLimitService rateLimitService,
+ PACConfigurationService pacConfigurationService) {
super(
scheduler,
validator,
@@ -78,6 +80,7 @@ public UserServiceCECompatibleImpl(
userUtils,
emailVerificationTokenRepository,
emailService,
- rateLimitService);
+ rateLimitService,
+ pacConfigurationService);
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/PACConfigurationServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/PACConfigurationServiceCETest.java
new file mode 100644
index 000000000000..9365e186efdf
--- /dev/null
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/PACConfigurationServiceCETest.java
@@ -0,0 +1,42 @@
+package com.appsmith.server.services.ce;
+
+import com.appsmith.server.dtos.UserProfileDTO;
+import com.appsmith.server.services.PACConfigurationService;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+import reactor.core.publisher.Mono;
+import reactor.test.StepVerifier;
+
+import java.util.List;
+
+import static com.appsmith.server.constants.ce.AccessControlConstantsCE.UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC;
+import static org.assertj.core.api.Assertions.assertThat;
+
+@ExtendWith(SpringExtension.class)
+@SpringBootTest
+class PACConfigurationServiceCETest {
+ @Autowired
+ PACConfigurationService pacConfigurationService;
+
+ @Test
+ public void test_setRolesAndGroups_featureFlagDisabled() {
+ UserProfileDTO userProfileDTO = new UserProfileDTO();
+ Mono<UserProfileDTO> userProfileDTOMono =
+ pacConfigurationService.setRolesAndGroups(userProfileDTO, null, false, false);
+ StepVerifier.create(userProfileDTOMono)
+ .assertNext(userProfileDTO1 -> {
+ assertThat(userProfileDTO1.getRoles())
+ .isEqualTo(
+ List.of(
+ UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
+ assertThat(userProfileDTO1.getGroups())
+ .isEqualTo(
+ List.of(
+ UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC));
+ })
+ .verifyComplete();
+ }
+}
|
1078a03b23da5606f53b80f09f5d3c8e3596f15d
|
2024-12-04 10:33:25
|
Manish Kumar
|
feat: added commit changes (#37922)
| false
|
added commit changes (#37922)
|
feat
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java
index 9e5d38dfd713..e59d74b7ae67 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java
@@ -317,4 +317,9 @@ public Application getNewArtifact(String workspaceId, String repoName) {
newApplication.setGitApplicationMetadata(new GitArtifactMetadata());
return newApplication;
}
+
+ @Override
+ public Mono<Application> publishArtifactPostCommit(Artifact committedArtifact) {
+ return publishArtifact(committedArtifact, true);
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/GitRedisUtils.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/GitRedisUtils.java
index f61661f02e85..6c27759f3ea3 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/GitRedisUtils.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/GitRedisUtils.java
@@ -23,15 +23,20 @@ public class GitRedisUtils {
private final RedisUtils redisUtils;
private final ObservationRegistry observationRegistry;
- public Mono<Boolean> addFileLock(String defaultApplicationId, String commandName, Boolean isRetryAllowed) {
+ /**
+ * Adds a baseArtifact id as a key in redis, the presence of this key represents a symbolic lock, essentially meaning that no new operations
+ * should be performed till this key remains present.
+ * @param baseArtifactId : base id of the artifact for which the key is getting added.
+ * @param commandName : Name of the operation which is trying to acquire the lock, this value will be added against the key
+ * @param isRetryAllowed : Boolean for whether retries for adding the value is allowed
+ * @return a boolean publisher for the added file locks
+ */
+ public Mono<Boolean> addFileLock(String baseArtifactId, String commandName, Boolean isRetryAllowed) {
long numberOfRetries = Boolean.TRUE.equals(isRetryAllowed) ? MAX_RETRIES : 0L;
- log.info(
- "Git command {} is trying to acquire the lock for application id {}",
- commandName,
- defaultApplicationId);
+ log.info("Git command {} is trying to acquire the lock for application id {}", commandName, baseArtifactId);
return redisUtils
- .addFileLock(defaultApplicationId, commandName)
+ .addFileLock(baseArtifactId, commandName)
.retryWhen(Retry.fixedDelay(numberOfRetries, RETRY_DELAY)
.onRetryExhaustedThrow((retryBackoffSpec, retrySignal) -> {
if (retrySignal.failure() instanceof AppsmithException) {
@@ -54,4 +59,38 @@ public Mono<Boolean> releaseFileLock(String defaultApplicationId) {
.name(GitSpan.RELEASE_FILE_LOCK)
.tap(Micrometer.observation(observationRegistry));
}
+
+ /**
+ * This is a wrapper method for acquiring git lock, since multiple ops are used in sequence
+ * for a complete composite operation not all ops require to acquire the lock hence a dummy flag is sent back for
+ * operations in that is getting executed in between
+ * @param baseArtifactId : id of the base artifact for which ops would be locked
+ * @param isLockRequired : is lock really required or is it a proxy function
+ * @return : Boolean for whether the lock is acquired
+ */
+ // TODO @Manish add artifactType reference in incoming prs.
+ public Mono<Boolean> acquireGitLock(String baseArtifactId, String commandName, boolean isLockRequired) {
+ if (!Boolean.TRUE.equals(isLockRequired)) {
+ return Mono.just(Boolean.TRUE);
+ }
+
+ return addFileLock(baseArtifactId, commandName);
+ }
+
+ /**
+ * This is a wrapper method for releasing git lock, since multiple ops are used in sequence
+ * for a complete composite operation not all ops require to acquire the lock hence a dummy flag is sent back for
+ * operations in that is getting executed in between
+ * @param baseArtifactId : id of the base artifact for which ops would be locked
+ * @param isLockRequired : is lock really required or is it a proxy function
+ * @return : Boolean for whether the lock is released
+ */
+ // TODO @Manish add artifactType reference in incoming prs
+ public Mono<Boolean> releaseFileLock(String baseArtifactId, boolean isLockRequired) {
+ if (!Boolean.TRUE.equals(isLockRequired)) {
+ return Mono.just(Boolean.TRUE);
+ }
+
+ return releaseFileLock(baseArtifactId);
+ }
}
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 acc212ab68aa..38c19abeb8cc 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.git.dto.CommitDTO;
import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.domains.Artifact;
import com.appsmith.server.dtos.ArtifactImportDTO;
@@ -17,4 +18,7 @@ Mono<? extends Artifact> connectArtifactToGit(
String originHeader,
ArtifactType artifactType,
GitType gitType);
+
+ Mono<String> commitArtifact(
+ CommitDTO commitDTO, String branchedArtifactId, ArtifactType artifactType, GitType gitType);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCECompatibleImpl.java
index 909f7ffee583..b996e5849121 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCECompatibleImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCECompatibleImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.datasources.base.DatasourceService;
import com.appsmith.server.exports.internal.ExportService;
+import com.appsmith.server.git.GitRedisUtils;
import com.appsmith.server.git.resolver.GitArtifactHelperResolver;
import com.appsmith.server.git.resolver.GitHandlingServiceResolver;
import com.appsmith.server.git.utils.GitAnalyticsUtils;
@@ -12,6 +13,7 @@
import com.appsmith.server.services.UserDataService;
import com.appsmith.server.services.WorkspaceService;
import com.appsmith.server.solutions.DatasourcePermission;
+import io.micrometer.observation.ObservationRegistry;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@@ -32,7 +34,9 @@ public CentralGitServiceCECompatibleImpl(
WorkspaceService workspaceService,
PluginService pluginService,
ImportService importService,
- ExportService exportService) {
+ ExportService exportService,
+ GitRedisUtils gitRedisUtils,
+ ObservationRegistry observationRegistry) {
super(
gitProfileUtils,
gitAnalyticsUtils,
@@ -45,6 +49,8 @@ public CentralGitServiceCECompatibleImpl(
workspaceService,
pluginService,
importService,
- exportService);
+ exportService,
+ gitRedisUtils,
+ observationRegistry);
}
}
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 b075fc7048f5..097cf8e56a05 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.git.constants.GitConstants;
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.DatasourceStorage;
import com.appsmith.git.dto.CommitDTO;
@@ -24,6 +25,7 @@
import com.appsmith.server.exceptions.AppsmithError;
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.exports.internal.ExportService;
+import com.appsmith.server.git.GitRedisUtils;
import com.appsmith.server.git.dtos.ArtifactJsonTransformationDTO;
import com.appsmith.server.git.resolver.GitArtifactHelperResolver;
import com.appsmith.server.git.resolver.GitHandlingServiceResolver;
@@ -36,6 +38,7 @@
import com.appsmith.server.services.UserDataService;
import com.appsmith.server.services.WorkspaceService;
import com.appsmith.server.solutions.DatasourcePermission;
+import io.micrometer.observation.ObservationRegistry;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.eclipse.jgit.api.errors.InvalidRemoteException;
@@ -43,6 +46,7 @@
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
+import reactor.core.observability.micrometer.Micrometer;
import reactor.core.publisher.Mono;
import reactor.util.function.Tuple2;
@@ -54,10 +58,15 @@
import java.util.concurrent.TimeoutException;
import static com.appsmith.external.git.constants.ce.GitConstantsCE.DEFAULT_COMMIT_MESSAGE;
+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.helpers.AppsmithBeanUtils.copyNestedNonNullProperties;
import static com.appsmith.server.constants.FieldName.DEFAULT;
import static com.appsmith.server.constants.SerialiseArtifactObjective.VERSION_CONTROL;
import static java.lang.Boolean.FALSE;
+import static java.lang.Boolean.TRUE;
+import static org.springframework.util.StringUtils.hasText;
@Slf4j
@Service
@@ -82,6 +91,9 @@ public class CentralGitServiceCEImpl implements CentralGitServiceCE {
private final ImportService importService;
private final ExportService exportService;
+ private final GitRedisUtils gitRedisUtils;
+ private final ObservationRegistry observationRegistry;
+
protected Mono<Boolean> isRepositoryLimitReachedForWorkspace(String workspaceId, Boolean isRepositoryPrivate) {
if (!isRepositoryPrivate) {
return Mono.just(FALSE);
@@ -195,7 +207,7 @@ public Mono<? extends ArtifactImportDTO> importArtifactFromGit(
ArtifactJsonTransformationDTO jsonMorphDTO = new ArtifactJsonTransformationDTO();
jsonMorphDTO.setWorkspaceId(workspaceId);
- jsonMorphDTO.setArtifactId(artifact.getId());
+ jsonMorphDTO.setBaseArtifactId(artifact.getId());
jsonMorphDTO.setArtifactType(artifactType);
jsonMorphDTO.setRepoName(gitArtifactMetadata.getRepoName());
jsonMorphDTO.setRefType(RefType.BRANCH);
@@ -274,7 +286,7 @@ private Mono<? extends Artifact> deleteArtifactCreatedFromGitImport(
return gitHandlingService
.removeRepository(artifactJsonTransformationDTO)
- .zipWith(gitArtifactHelper.deleteArtifact(artifactJsonTransformationDTO.getArtifactId()))
+ .zipWith(gitArtifactHelper.deleteArtifact(artifactJsonTransformationDTO.getBaseArtifactId()))
.map(Tuple2::getT2);
}
@@ -443,7 +455,7 @@ public Mono<? extends Artifact> connectArtifactToGit(
ArtifactJsonTransformationDTO jsonTransformationDTO =
new ArtifactJsonTransformationDTO();
jsonTransformationDTO.setWorkspaceId(artifact.getWorkspaceId());
- jsonTransformationDTO.setArtifactId(artifact.getId());
+ jsonTransformationDTO.setBaseArtifactId(artifact.getId());
jsonTransformationDTO.setRepoName(repoName);
jsonTransformationDTO.setArtifactType(artifactType);
@@ -468,7 +480,7 @@ public Mono<? extends Artifact> connectArtifactToGit(
ArtifactJsonTransformationDTO jsonTransformationDTO = new ArtifactJsonTransformationDTO();
jsonTransformationDTO.setWorkspaceId(artifact.getWorkspaceId());
- jsonTransformationDTO.setArtifactId(artifact.getId());
+ jsonTransformationDTO.setBaseArtifactId(artifact.getId());
jsonTransformationDTO.setRepoName(repoName);
jsonTransformationDTO.setArtifactType(artifactType);
@@ -524,7 +536,7 @@ public Mono<? extends Artifact> connectArtifactToGit(
.flatMap(artifact -> {
ArtifactJsonTransformationDTO jsonTransformationDTO = new ArtifactJsonTransformationDTO();
jsonTransformationDTO.setWorkspaceId(artifact.getWorkspaceId());
- jsonTransformationDTO.setArtifactId(artifact.getId());
+ jsonTransformationDTO.setBaseArtifactId(artifact.getId());
jsonTransformationDTO.setArtifactType(artifactType);
jsonTransformationDTO.setRepoName(repoName);
@@ -556,7 +568,7 @@ public Mono<? extends Artifact> connectArtifactToGit(
commitDTO.setIsAmendCommit(FALSE);
commitDTO.setMessage(commitMessage);
- return this.commitArtifact(baseArtifactId, commitDTO, artifactType, gitType)
+ return this.commitArtifact(commitDTO, artifact.getId(), artifactType, gitType)
.onErrorResume(error ->
// If the push fails remove all the cloned files from local repo
this.detachRemote(baseArtifactId, artifactType)
@@ -592,13 +604,251 @@ public Mono<? extends Artifact> connectArtifactToGit(
sink -> connectedArtifactMono.subscribe(sink::success, sink::error, null, sink.currentContext()));
}
- /**
- * TODO: commit artifact
- * @return
- */
- public Mono<? extends Artifact> commitArtifact(
- String baseArtifactId, CommitDTO commitDTO, ArtifactType artifactType, GitType gitType) {
- return null;
+ @Override
+ public Mono<String> commitArtifact(
+ CommitDTO commitDTO, String branchedArtifactId, ArtifactType artifactType, GitType gitType) {
+ return commitArtifact(commitDTO, branchedArtifactId, artifactType, gitType, TRUE);
+ }
+
+ public Mono<String> commitArtifact(
+ CommitDTO commitDTO,
+ String branchedArtifactId,
+ ArtifactType artifactType,
+ GitType gitType,
+ Boolean isFileLock) {
+ /*
+ 1. Check if application exists and user have sufficient permissions
+ 2. Check if branch name exists in git metadata
+ 3. Save application to the existing local repo
+ 4. Commit application : git add, git commit (Also check if git init required)
+ */
+
+ String commitMessage = commitDTO.getMessage();
+
+ if (commitMessage == null || commitMessage.isEmpty()) {
+ commitDTO.setMessage(DEFAULT_COMMIT_MESSAGE + GitDefaultCommitMessage.CONNECT_FLOW.getReason());
+ }
+
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ AclPermission artifactEditPermission = gitArtifactHelper.getArtifactEditPermission();
+ Mono<Tuple2<? extends Artifact, ? extends Artifact>> baseAndBranchedArtifactMono = getBaseAndBranchedArtifacts(
+ branchedArtifactId, artifactType, artifactEditPermission)
+ .cache();
+
+ return baseAndBranchedArtifactMono.flatMap(artifactTuples -> {
+ Artifact baseArtifact = artifactTuples.getT1();
+ Artifact branchedArtifact = artifactTuples.getT2();
+
+ GitUser author = commitDTO.getAuthor();
+ Mono<GitUser> gitUserMono = Mono.justOrEmpty(author)
+ .flatMap(gitUser -> {
+ if (author == null
+ || !StringUtils.hasText(author.getEmail())
+ || !StringUtils.hasText(author.getName())) {
+ return getGitUserForArtifactId(baseArtifact.getId());
+ }
+
+ return Mono.just(gitUser);
+ })
+ .switchIfEmpty(getGitUserForArtifactId(baseArtifact.getId()));
+
+ return gitUserMono.flatMap(gitUser -> {
+ commitDTO.setAuthor(gitUser);
+ commitDTO.setCommitter(gitUser);
+ return commitArtifact(commitDTO, baseArtifact, branchedArtifact, gitType, isFileLock);
+ });
+ });
+ }
+
+ private Mono<String> commitArtifact(
+ CommitDTO commitDTO,
+ Artifact baseArtifact,
+ Artifact branchedArtifact,
+ GitType gitType,
+ boolean isFileLock) {
+
+ String commitMessage = commitDTO.getMessage();
+
+ if (commitMessage == null || commitMessage.isEmpty()) {
+ commitDTO.setMessage(DEFAULT_COMMIT_MESSAGE + GitDefaultCommitMessage.CONNECT_FLOW.getReason());
+ }
+
+ GitUser author = commitDTO.getAuthor();
+ if (author == null || !StringUtils.hasText(author.getEmail()) || !StringUtils.hasText(author.getName())) {
+
+ String errorMessage = "Unable to find git author configuration for logged-in user. You can set "
+ + "up a git profile from the user profile section.";
+
+ return gitAnalyticsUtils
+ .addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT,
+ branchedArtifact,
+ AppsmithError.INVALID_GIT_CONFIGURATION.getErrorType(),
+ AppsmithError.INVALID_GIT_CONFIGURATION.getMessage(errorMessage),
+ branchedArtifact.getGitArtifactMetadata().getIsRepoPrivate())
+ .then(Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, errorMessage)));
+ }
+
+ boolean isSystemGenerated = commitDTO.getMessage().contains(DEFAULT_COMMIT_MESSAGE);
+
+ GitArtifactHelper<?> gitArtifactHelper =
+ gitArtifactHelperResolver.getArtifactHelper(baseArtifact.getArtifactType());
+ GitHandlingService gitHandlingService = gitHandlingServiceResolver.getGitHandlingService(gitType);
+ GitArtifactMetadata baseGitMetadata = baseArtifact.getGitArtifactMetadata();
+ GitArtifactMetadata branchedGitMetadata = branchedArtifact.getGitArtifactMetadata();
+
+ if (isBaseGitMetadataInvalid(baseGitMetadata, gitType)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, GIT_CONFIG_ERROR));
+ }
+
+ if (branchedGitMetadata == null) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, GIT_CONFIG_ERROR));
+ }
+
+ final String branchName = branchedGitMetadata.getBranchName();
+ if (!hasText(branchName)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.BRANCH_NAME));
+ }
+
+ Mono<Boolean> isBranchProtectedMono = gitPrivateRepoHelper.isBranchProtected(baseGitMetadata, branchName);
+ Mono<String> commitMono = isBranchProtectedMono
+ .flatMap(isBranchProtected -> {
+ if (!TRUE.equals(isBranchProtected)) {
+ return gitRedisUtils.acquireGitLock(
+ baseGitMetadata.getDefaultArtifactId(),
+ GitConstants.GitCommandConstants.COMMIT,
+ isFileLock);
+ }
+
+ return Mono.error(new AppsmithException(
+ AppsmithError.GIT_ACTION_FAILED,
+ "commit",
+ "Cannot commit to protected branch " + branchName));
+ })
+ .flatMap(fileLocked -> {
+ // Check if the repo is public for current artifact and if the user have changed the access after
+ // the connection
+
+ return gitHandlingService.isRepoPrivate(baseGitMetadata).flatMap(isPrivate -> {
+ // Check the repo limit if the visibility status is updated, or it is private
+ // TODO: split both of these conditions @Manish
+ if (isPrivate.equals(baseGitMetadata.getIsRepoPrivate() && !Boolean.TRUE.equals(isPrivate))) {
+ return Mono.just(baseArtifact);
+ }
+
+ baseGitMetadata.setIsRepoPrivate(isPrivate);
+ baseArtifact.setGitArtifactMetadata(baseGitMetadata);
+
+ /**
+ * A separate GitAuth object has been created in which the private key for
+ * authentication is held. It's done to avoid getting the encrypted value back
+ * for private key after mongo save.
+ *
+ * When an object having an encrypted attribute is saved, the response is still encrypted.
+ * The value in db would be corrupted if it's saved again,
+ * as it would encrypt and already encrypted field
+ * Private key is using encrypted annotation, which means that it's encrypted before
+ * being persisted in the db. When it's fetched from db, the listener decrypts it.
+ */
+ GitAuth copiedGitAuth = new GitAuth();
+ copyNestedNonNullProperties(baseGitMetadata.getGitAuth(), copiedGitAuth);
+
+ return gitArtifactHelper
+ .saveArtifact(baseArtifact)
+ .map(artifact -> {
+ baseArtifact.getGitArtifactMetadata().setGitAuth(copiedGitAuth);
+ return artifact;
+ })
+ .then(Mono.defer(
+ () -> gitArtifactHelper.isPrivateRepoLimitReached(baseArtifact, false)));
+ });
+ })
+ .flatMap(artifact -> {
+ String errorEntity = "";
+ if (!StringUtils.hasText(branchedGitMetadata.getBranchName())) {
+ errorEntity = "branch name";
+ } else if (!StringUtils.hasText(branchedGitMetadata.getDefaultArtifactId())) {
+ errorEntity = "default artifact";
+ } else if (!StringUtils.hasText(branchedGitMetadata.getRepoName())) {
+ errorEntity = "repository name";
+ }
+
+ if (!errorEntity.isEmpty()) {
+ return Mono.error(new AppsmithException(
+ AppsmithError.INVALID_GIT_CONFIGURATION, "Unable to find " + errorEntity));
+ }
+
+ return exportService.exportByArtifactId(
+ branchedArtifact.getId(), VERSION_CONTROL, branchedArtifact.getArtifactType());
+ })
+ .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(
+ branchedArtifact.getGitArtifactMetadata().getBranchName());
+
+ return gitHandlingService
+ .prepareChangesToBeCommitted(jsonTransformationDTO, artifactExchangeJson)
+ .then(updateArtifactWithGitMetadataGivenPermission(branchedArtifact, branchedGitMetadata));
+ })
+ .flatMap(updatedBranchedArtifact -> {
+ GitArtifactMetadata gitArtifactMetadata = updatedBranchedArtifact.getGitArtifactMetadata();
+ ArtifactJsonTransformationDTO jsonTransformationDTO = new ArtifactJsonTransformationDTO();
+ jsonTransformationDTO.setRefType(RefType.BRANCH);
+ jsonTransformationDTO.setWorkspaceId(updatedBranchedArtifact.getWorkspaceId());
+ jsonTransformationDTO.setBaseArtifactId(gitArtifactMetadata.getDefaultArtifactId());
+ jsonTransformationDTO.setRepoName(gitArtifactMetadata.getRepoName());
+ jsonTransformationDTO.setArtifactType(branchedArtifact.getArtifactType());
+ jsonTransformationDTO.setRefName(gitArtifactMetadata.getBranchName());
+
+ return gitHandlingService
+ .commitArtifact(updatedBranchedArtifact, commitDTO, jsonTransformationDTO)
+ .onErrorResume(error -> {
+ return gitAnalyticsUtils
+ .addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT,
+ updatedBranchedArtifact,
+ error.getClass().getName(),
+ error.getMessage(),
+ gitArtifactMetadata.getIsRepoPrivate())
+ .then(Mono.error(new AppsmithException(
+ AppsmithError.GIT_ACTION_FAILED, "commit", error.getMessage())));
+ });
+ })
+ .flatMap(tuple2 -> {
+ return Mono.zip(
+ Mono.just(tuple2.getT2()), gitArtifactHelper.publishArtifactPostCommit(tuple2.getT1()));
+ })
+ .flatMap(tuple -> {
+ String status = tuple.getT1();
+ Artifact artifactFromBranch = tuple.getT2();
+ Mono<Boolean> releaseFileLockMono = gitRedisUtils.releaseFileLock(
+ artifactFromBranch.getGitArtifactMetadata().getDefaultArtifactId(), isFileLock);
+
+ Mono<? extends Artifact> updatedArtifactMono =
+ gitArtifactHelper.updateArtifactWithSchemaVersions(artifactFromBranch);
+
+ return Mono.zip(updatedArtifactMono, releaseFileLockMono)
+ .then(gitAnalyticsUtils.addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT,
+ artifactFromBranch,
+ "",
+ "",
+ artifactFromBranch.getGitArtifactMetadata().getIsRepoPrivate(),
+ isSystemGenerated))
+ .thenReturn(status)
+ .name(OPS_COMMIT)
+ .tap(Micrometer.observation(observationRegistry));
+ });
+
+ return Mono.create(sink -> {
+ commitMono.subscribe(sink::success, sink::error, null, sink.currentContext());
+ });
}
/**
@@ -618,4 +868,86 @@ private boolean isBaseGitMetadataInvalid(GitArtifactMetadata gitArtifactMetadata
.getGitHandlingService(gitType)
.isGitAuthInvalid(gitArtifactMetadata.getGitAuth());
}
+
+ /**
+ * Returns baseArtifact and branchedArtifact
+ * This operation is quite frequently used, hence providing the right set
+ *
+ * @param branchedArtifactId : id of the branchedArtifactId
+ * @param artifactPermission : permission required for getting artifact.
+ * @return : A tuple of Artifacts
+ */
+ protected Mono<Tuple2<? extends Artifact, ? extends Artifact>> getBaseAndBranchedArtifacts(
+ String branchedArtifactId, ArtifactType artifactType, AclPermission artifactPermission) {
+ if (!hasText(branchedArtifactId)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.ID));
+ }
+
+ GitArtifactHelper<?> artifactGitHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ Mono<? extends Artifact> branchedArtifactMono = artifactGitHelper
+ .getArtifactById(branchedArtifactId, artifactPermission)
+ .cache();
+
+ return branchedArtifactMono.flatMap(branchedArtifact -> {
+ GitArtifactMetadata branchedMetadata = branchedArtifact.getGitArtifactMetadata();
+ if (branchedMetadata == null || !hasText(branchedMetadata.getDefaultArtifactId())) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, GIT_CONFIG_ERROR));
+ }
+
+ String baseArtifactId = branchedMetadata.getDefaultArtifactId();
+ Mono<? extends Artifact> baseArtifactMono = Mono.just(branchedArtifact);
+
+ if (!baseArtifactId.equals(branchedArtifactId)) {
+ baseArtifactMono = artifactGitHelper.getArtifactById(baseArtifactId, artifactPermission);
+ }
+
+ return baseArtifactMono.zipWith(branchedArtifactMono);
+ });
+ }
+
+ protected Mono<Tuple2<? extends Artifact, ? extends Artifact>> getBaseAndBranchedArtifacts(
+ String branchedArtifactId, ArtifactType artifactType) {
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ AclPermission artifactPermission = gitArtifactHelper.getArtifactEditPermission();
+ return getBaseAndBranchedArtifacts(branchedArtifactId, artifactType, artifactPermission);
+ }
+
+ private Mono<GitUser> getGitUserForArtifactId(String baseArtifactId) {
+ Mono<UserData> currentUserMono = userDataService
+ .getForCurrentUser()
+ .filter(userData -> !CollectionUtils.isEmpty(userData.getGitProfiles()))
+ .switchIfEmpty(
+ Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, GIT_PROFILE_ERROR)));
+
+ return currentUserMono.map(userData -> {
+ GitProfile profile = userData.getGitProfileByKey(baseArtifactId);
+ if (profile == null
+ || Boolean.TRUE.equals(profile.getUseGlobalProfile())
+ || !StringUtils.hasText(profile.getAuthorName())) {
+ profile = userData.getGitProfileByKey(DEFAULT);
+ }
+
+ GitUser gitUser = new GitUser();
+ gitUser.setName(profile.getAuthorName());
+ gitUser.setEmail(profile.getAuthorEmail());
+ return gitUser;
+ });
+ }
+
+ private Mono<? extends Artifact> updateArtifactWithGitMetadataGivenPermission(
+ Artifact artifact, GitArtifactMetadata gitMetadata) {
+
+ if (gitMetadata == null) {
+ return Mono.error(
+ new AppsmithException(AppsmithError.INVALID_PARAMETER, "Git metadata values cannot be null"));
+ }
+
+ artifact.setGitArtifactMetadata(gitMetadata);
+ // For default application we expect a GitAuth to be a part of gitMetadata. We are using save method to leverage
+ // @Encrypted annotation used for private SSH keys
+ // applicationService.save sets the transient fields so no need to set it again from this method
+ return gitArtifactHelperResolver
+ .getArtifactHelper(artifact.getArtifactType())
+ .saveArtifact(artifact);
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceImpl.java
index 49c110d6dca8..7c642d832d0e 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.datasources.base.DatasourceService;
import com.appsmith.server.exports.internal.ExportService;
+import com.appsmith.server.git.GitRedisUtils;
import com.appsmith.server.git.resolver.GitArtifactHelperResolver;
import com.appsmith.server.git.resolver.GitHandlingServiceResolver;
import com.appsmith.server.git.utils.GitAnalyticsUtils;
@@ -12,6 +13,7 @@
import com.appsmith.server.services.UserDataService;
import com.appsmith.server.services.WorkspaceService;
import com.appsmith.server.solutions.DatasourcePermission;
+import io.micrometer.observation.ObservationRegistry;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@@ -31,7 +33,9 @@ public CentralGitServiceImpl(
WorkspaceService workspaceService,
PluginService pluginService,
ImportService importService,
- ExportService exportService) {
+ ExportService exportService,
+ GitRedisUtils gitRedisUtils,
+ ObservationRegistry observationRegistry) {
super(
gitProfileUtils,
gitAnalyticsUtils,
@@ -44,6 +48,8 @@ public CentralGitServiceImpl(
workspaceService,
pluginService,
importService,
- exportService);
+ exportService,
+ gitRedisUtils,
+ observationRegistry);
}
}
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 66fc2dcbffb3..747bddbd34be 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
@@ -8,6 +8,7 @@
import com.appsmith.server.dtos.GitConnectDTO;
import com.appsmith.server.git.dtos.ArtifactJsonTransformationDTO;
import reactor.core.publisher.Mono;
+import reactor.util.function.Tuple2;
import java.util.Set;
@@ -19,6 +20,8 @@ public interface GitHandlingServiceCE {
Mono<Boolean> isRepoPrivate(GitConnectDTO gitConnectDTO);
+ Mono<Boolean> isRepoPrivate(GitArtifactMetadata gitArtifactMetadata);
+
// TODO: modify git auth class for native implementation
Mono<GitAuth> getGitAuthForUser();
@@ -44,4 +47,10 @@ Mono<Boolean> initialiseReadMe(
String originHeader);
Mono<String> createFirstCommit(ArtifactJsonTransformationDTO jsonTransformationDTO, CommitDTO commitDTO);
+
+ Mono<Boolean> prepareChangesToBeCommitted(
+ ArtifactJsonTransformationDTO jsonTransformationDTO, ArtifactExchangeJson artifactExchangeJson);
+
+ Mono<Tuple2<? extends Artifact, String>> commitArtifact(
+ Artifact branchedArtifact, CommitDTO commitDTO, ArtifactJsonTransformationDTO jsonTransformationDTO);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/dtos/ArtifactJsonTransformationDTO.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/dtos/ArtifactJsonTransformationDTO.java
index 899a545b28ba..8000d539c75c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/dtos/ArtifactJsonTransformationDTO.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/dtos/ArtifactJsonTransformationDTO.java
@@ -15,7 +15,7 @@ public class ArtifactJsonTransformationDTO {
String workspaceId;
- String artifactId;
+ String baseArtifactId;
String repoName;
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 563a34b15b34..5199170230b5 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
@@ -1,10 +1,13 @@
package com.appsmith.server.git.fs;
import com.appsmith.external.constants.AnalyticsEvents;
+import com.appsmith.external.git.constants.GitConstants;
import com.appsmith.external.git.constants.GitSpan;
import com.appsmith.external.git.handler.FSGitHandler;
import com.appsmith.git.dto.CommitDTO;
+import com.appsmith.server.acl.AclPermission;
import com.appsmith.server.configurations.EmailConfig;
+import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.datasources.base.DatasourceService;
import com.appsmith.server.domains.Artifact;
import com.appsmith.server.domains.GitArtifactMetadata;
@@ -38,13 +41,16 @@
import io.micrometer.observation.ObservationRegistry;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
+import org.eclipse.jgit.api.errors.EmptyCommitException;
import org.eclipse.jgit.api.errors.InvalidRemoteException;
import org.eclipse.jgit.api.errors.TransportException;
+import org.eclipse.jgit.errors.RepositoryNotFoundException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.reactive.TransactionalOperator;
import org.springframework.util.StringUtils;
import reactor.core.observability.micrometer.Micrometer;
import reactor.core.publisher.Mono;
+import reactor.util.function.Tuple2;
import java.io.IOException;
import java.nio.file.Path;
@@ -52,6 +58,9 @@
import java.util.Set;
import java.util.concurrent.TimeoutException;
+import static com.appsmith.external.git.constants.ce.GitConstantsCE.EMPTY_COMMIT_ERROR_MESSAGE;
+import static com.appsmith.external.git.constants.ce.GitConstantsCE.GIT_CONFIG_ERROR;
+
@Slf4j
@Service
@RequiredArgsConstructor
@@ -140,7 +149,16 @@ public String getRepoName(GitConnectDTO gitConnectDTO) {
@Override
public Mono<Boolean> isRepoPrivate(GitConnectDTO gitConnectDTO) {
- return GitUtils.isRepoPrivate(GitUtils.convertSshUrlToBrowserSupportedUrl(gitConnectDTO.getRemoteUrl()));
+ return isRepoPrivate(gitConnectDTO.getRemoteUrl());
+ }
+
+ @Override
+ public Mono<Boolean> isRepoPrivate(GitArtifactMetadata gitArtifactMetadata) {
+ return isRepoPrivate(gitArtifactMetadata.getRemoteUrl());
+ }
+
+ private Mono<Boolean> isRepoPrivate(String remoteUrl) {
+ return GitUtils.isRepoPrivate(GitUtils.convertSshUrlToBrowserSupportedUrl(remoteUrl));
}
@Override
@@ -213,7 +231,7 @@ public Mono<? extends ArtifactExchangeJson> reconstructArtifactJsonFromGitReposi
ArtifactJsonTransformationDTO artifactJsonTransformationDTO) {
return commonGitFileUtils.reconstructArtifactExchangeJsonFromGitRepoWithAnalytics(
artifactJsonTransformationDTO.getWorkspaceId(),
- artifactJsonTransformationDTO.getArtifactId(),
+ artifactJsonTransformationDTO.getBaseArtifactId(),
artifactJsonTransformationDTO.getRepoName(),
artifactJsonTransformationDTO.getRefName(),
artifactJsonTransformationDTO.getArtifactType());
@@ -225,7 +243,7 @@ public Mono<Boolean> removeRepository(ArtifactJsonTransformationDTO artifactJson
gitArtifactHelperResolver.getArtifactHelper(artifactJsonTransformationDTO.getArtifactType());
Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(
artifactJsonTransformationDTO.getWorkspaceId(),
- artifactJsonTransformationDTO.getArtifactId(),
+ artifactJsonTransformationDTO.getBaseArtifactId(),
artifactJsonTransformationDTO.getRepoName());
return commonGitFileUtils.deleteLocalRepo(repoSuffix);
}
@@ -236,7 +254,7 @@ public Mono<Boolean> validateEmptyRepository(ArtifactJsonTransformationDTO artif
gitArtifactHelperResolver.getArtifactHelper(artifactJsonTransformationDTO.getArtifactType());
Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(
artifactJsonTransformationDTO.getWorkspaceId(),
- artifactJsonTransformationDTO.getArtifactId(),
+ artifactJsonTransformationDTO.getBaseArtifactId(),
artifactJsonTransformationDTO.getRepoName());
try {
@@ -257,7 +275,7 @@ public Mono<Boolean> initialiseReadMe(
gitArtifactHelperResolver.getArtifactHelper(jsonTransformationDTO.getArtifactType());
Path readmePath = gitArtifactHelper.getRepoSuffixPath(
jsonTransformationDTO.getWorkspaceId(),
- jsonTransformationDTO.getArtifactId(),
+ jsonTransformationDTO.getBaseArtifactId(),
jsonTransformationDTO.getRepoName());
try {
return gitArtifactHelper
@@ -275,7 +293,7 @@ public Mono<String> createFirstCommit(ArtifactJsonTransformationDTO jsonTransfor
gitArtifactHelperResolver.getArtifactHelper(jsonTransformationDTO.getArtifactType());
Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(
jsonTransformationDTO.getWorkspaceId(),
- jsonTransformationDTO.getArtifactId(),
+ jsonTransformationDTO.getBaseArtifactId(),
jsonTransformationDTO.getRepoName());
return fsGitHandler.commitArtifact(
@@ -286,4 +304,239 @@ public Mono<String> createFirstCommit(ArtifactJsonTransformationDTO jsonTransfor
true,
commitDTO.getIsAmendCommit());
}
+
+ @Override
+ public Mono<Boolean> prepareChangesToBeCommitted(
+ ArtifactJsonTransformationDTO jsonTransformationDTO, ArtifactExchangeJson artifactExchangeJson) {
+ String workspaceId = jsonTransformationDTO.getWorkspaceId();
+ String baseArtifactId = jsonTransformationDTO.getBaseArtifactId();
+ String repoName = jsonTransformationDTO.getRepoName();
+ String branchName = jsonTransformationDTO.getRefName();
+
+ ArtifactType artifactType = jsonTransformationDTO.getArtifactType();
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(workspaceId, baseArtifactId, repoName);
+
+ return commonGitFileUtils
+ .saveArtifactToLocalRepoWithAnalytics(repoSuffix, artifactExchangeJson, branchName)
+ .map(ignore -> Boolean.TRUE)
+ .onErrorResume(e -> {
+ log.error("Error in commit flow: ", e);
+ if (e instanceof RepositoryNotFoundException) {
+ return Mono.error(new AppsmithException(AppsmithError.REPOSITORY_NOT_FOUND, baseArtifactId));
+ } else if (e instanceof AppsmithException) {
+ return Mono.error(e);
+ }
+ return Mono.error(new AppsmithException(AppsmithError.GIT_FILE_SYSTEM_ERROR, e.getMessage()));
+ });
+ }
+
+ @Override
+ public Mono<Tuple2<? extends Artifact, String>> commitArtifact(
+ Artifact branchedArtifact, CommitDTO commitDTO, ArtifactJsonTransformationDTO jsonTransformationDTO) {
+ String workspaceId = jsonTransformationDTO.getWorkspaceId();
+ String baseArtifactId = jsonTransformationDTO.getBaseArtifactId();
+ String repoName = jsonTransformationDTO.getRepoName();
+
+ ArtifactType artifactType = jsonTransformationDTO.getArtifactType();
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(workspaceId, baseArtifactId, repoName);
+
+ StringBuilder result = new StringBuilder();
+ result.append("Commit Result : ");
+
+ Mono<String> gitCommitMono = fsGitHandler
+ .commitArtifact(
+ repoSuffix,
+ commitDTO.getMessage(),
+ commitDTO.getAuthor().getName(),
+ commitDTO.getAuthor().getEmail(),
+ true,
+ false)
+ .onErrorResume(error -> {
+ if (error instanceof EmptyCommitException) {
+ return Mono.just(EMPTY_COMMIT_ERROR_MESSAGE);
+ }
+
+ return Mono.error(error);
+ });
+
+ return Mono.zip(gitCommitMono, gitArtifactHelper.getArtifactById(branchedArtifact.getId(), null))
+ .flatMap(tuple -> {
+ String commitStatus = tuple.getT1();
+ result.append(commitStatus);
+
+ result.append(".\nPush Result : ");
+ return Mono.zip(
+ Mono.just(tuple.getT2()),
+ pushArtifact(tuple.getT2(), false)
+ .map(pushResult -> result.append(pushResult).toString()));
+ });
+ }
+
+ /**
+ * Used for pushing commits present in the given branched artifact.
+ * @param branchedArtifactId : id of the branched artifact.
+ * @param artifactType : type of the artifact
+ * @return : returns a string which has details of operations
+ */
+ public Mono<String> pushArtifact(String branchedArtifactId, ArtifactType artifactType) {
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ AclPermission artifactEditPermission = gitArtifactHelper.getArtifactEditPermission();
+
+ return gitArtifactHelper
+ .getArtifactById(branchedArtifactId, artifactEditPermission)
+ .flatMap(branchedArtifact -> pushArtifact(branchedArtifact, true));
+ }
+
+ /**
+ * Push flow for dehydrated apps
+ *
+ * @param branchedArtifact application which needs to be pushed to remote repo
+ * @return Success message
+ */
+ protected Mono<String> pushArtifact(Artifact branchedArtifact, boolean isFileLock) {
+ GitArtifactHelper<?> gitArtifactHelper =
+ gitArtifactHelperResolver.getArtifactHelper(branchedArtifact.getArtifactType());
+ Mono<GitArtifactMetadata> gitArtifactMetadataMono = Mono.just(branchedArtifact.getGitArtifactMetadata());
+
+ if (!branchedArtifact
+ .getId()
+ .equals(branchedArtifact.getGitArtifactMetadata().getDefaultArtifactId())) {
+ gitArtifactMetadataMono = gitArtifactHelper
+ .getArtifactById(branchedArtifact.getGitArtifactMetadata().getDefaultArtifactId(), null)
+ .map(baseArtifact -> {
+ branchedArtifact
+ .getGitArtifactMetadata()
+ .setGitAuth(
+ baseArtifact.getGitArtifactMetadata().getGitAuth());
+ return branchedArtifact.getGitArtifactMetadata();
+ });
+ }
+
+ // Make sure that ssh Key is unEncrypted for the use.
+ Mono<String> gitPushResult = gitArtifactMetadataMono
+ .flatMap(gitMetadata -> {
+ return gitRedisUtils
+ .acquireGitLock(
+ gitMetadata.getDefaultArtifactId(),
+ GitConstants.GitCommandConstants.PUSH,
+ isFileLock)
+ .thenReturn(branchedArtifact);
+ })
+ .flatMap(artifact -> {
+ GitArtifactMetadata gitData = artifact.getGitArtifactMetadata();
+
+ if (gitData == null
+ || !StringUtils.hasText(gitData.getBranchName())
+ || !StringUtils.hasText(gitData.getDefaultArtifactId())
+ || !StringUtils.hasText(gitData.getGitAuth().getPrivateKey())) {
+
+ return Mono.error(
+ new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, GIT_CONFIG_ERROR));
+ }
+
+ Path baseRepoSuffix = gitArtifactHelper.getRepoSuffixPath(
+ artifact.getWorkspaceId(), gitData.getDefaultArtifactId(), gitData.getRepoName());
+ GitAuth gitAuth = gitData.getGitAuth();
+
+ return fsGitHandler
+ .checkoutToBranch(
+ baseRepoSuffix,
+ artifact.getGitArtifactMetadata().getBranchName())
+ .then(Mono.defer(() -> fsGitHandler
+ .pushApplication(
+ baseRepoSuffix,
+ gitData.getRemoteUrl(),
+ gitAuth.getPublicKey(),
+ gitAuth.getPrivateKey(),
+ gitData.getBranchName())
+ .zipWith(Mono.just(artifact))))
+ .onErrorResume(error -> gitAnalyticsUtils
+ .addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH,
+ artifact,
+ error.getClass().getName(),
+ error.getMessage(),
+ artifact.getGitArtifactMetadata().getIsRepoPrivate())
+ .flatMap(application1 -> {
+ if (error instanceof TransportException) {
+ return Mono.error(
+ new AppsmithException(AppsmithError.INVALID_GIT_SSH_CONFIGURATION));
+ }
+ return Mono.error(new AppsmithException(
+ AppsmithError.GIT_ACTION_FAILED, "push", error.getMessage()));
+ }));
+ })
+ .flatMap(tuple -> {
+ String pushResult = tuple.getT1();
+ Artifact artifact = tuple.getT2();
+ return pushArtifactErrorRecovery(pushResult, artifact).zipWith(Mono.just(artifact));
+ })
+ // Add BE analytics
+ .flatMap(tuple2 -> {
+ String pushStatus = tuple2.getT1();
+ Artifact artifact = tuple2.getT2();
+ Mono<Boolean> fileLockReleasedMono = Mono.just(Boolean.TRUE).flatMap(flag -> {
+ if (!Boolean.TRUE.equals(isFileLock)) {
+ return Mono.just(flag);
+ }
+ return Mono.defer(() -> releaseFileLock(
+ artifact.getGitArtifactMetadata().getDefaultArtifactId()));
+ });
+
+ return pushArtifactErrorRecovery(pushStatus, artifact)
+ .then(fileLockReleasedMono)
+ .then(gitAnalyticsUtils.addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH,
+ artifact,
+ artifact.getGitArtifactMetadata().getIsRepoPrivate()))
+ .thenReturn(pushStatus);
+ })
+ .name(GitSpan.OPS_PUSH)
+ .tap(Micrometer.observation(observationRegistry));
+
+ return Mono.create(sink -> gitPushResult.subscribe(sink::success, sink::error, null, sink.currentContext()));
+ }
+
+ /**
+ * This method is used to recover from the errors that can occur during the push operation
+ * Mostly happens when the remote branch is protected or any specific rules in place on the branch.
+ * Since the users will be in a bad state where the changes are committed locally, but they are
+ * not able to push them changes or revert the changes either.
+ * 1. Push rejected due to branch protection rules on remote, reset hard prev commit
+ *
+ * @param pushResult status of git push operation
+ * @param artifact artifact data to be used for analytics
+ * @return status of the git push flow
+ */
+ private Mono<String> pushArtifactErrorRecovery(String pushResult, Artifact artifact) {
+ GitArtifactMetadata gitMetadata = artifact.getGitArtifactMetadata();
+ GitArtifactHelper<?> gitArtifactHelper =
+ gitArtifactHelperResolver.getArtifactHelper(artifact.getArtifactType());
+
+ if (pushResult.contains("REJECTED_NONFASTFORWARD")) {
+ return gitAnalyticsUtils
+ .addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH,
+ artifact,
+ AppsmithError.GIT_UPSTREAM_CHANGES.getErrorType(),
+ AppsmithError.GIT_UPSTREAM_CHANGES.getMessage(),
+ gitMetadata.getIsRepoPrivate())
+ .flatMap(application1 -> Mono.error(new AppsmithException(AppsmithError.GIT_UPSTREAM_CHANGES)));
+ } else if (pushResult.contains("REJECTED_OTHERREASON") || pushResult.contains("pre-receive hook declined")) {
+
+ Path path = gitArtifactHelper.getRepoSuffixPath(
+ artifact.getWorkspaceId(), gitMetadata.getDefaultArtifactId(), gitMetadata.getRepoName());
+
+ return fsGitHandler
+ .resetHard(path, gitMetadata.getBranchName())
+ .then(Mono.error(new AppsmithException(
+ AppsmithError.GIT_ACTION_FAILED,
+ "push",
+ "Unable to push changes as pre-receive hook declined. Please make sure that you don't have any rules enabled on the branch "
+ + gitMetadata.getBranchName())));
+ }
+ return Mono.just(pushResult);
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitArtifactHelperCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitArtifactHelperCE.java
index 434f3bf4baa0..346c0149b4f7 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitArtifactHelperCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitArtifactHelperCE.java
@@ -66,4 +66,6 @@ public interface GitArtifactHelperCE<T extends Artifact> {
Boolean isContextInArtifactEmpty(ArtifactExchangeJson artifactExchangeJson);
T getNewArtifact(String workspaceId, String repoName);
+
+ Mono<T> publishArtifactPostCommit(Artifact committedArtifact);
}
|
bdd130d95cee02b6b3cd1507240630a44bbfbd2b
|
2024-04-05 12:09:02
|
Shrikant Sharat Kandula
|
ci: Show TED tag used in run name and summary (#32445)
| false
|
Show TED tag used in run name and summary (#32445)
|
ci
|
diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml
index f10b03b3f7ef..047ae63f505c 100644
--- a/.github/workflows/test-build-docker-image.yml
+++ b/.github/workflows/test-build-docker-image.yml
@@ -1,5 +1,8 @@
name: Test, build and push Docker Image
+run-name: >
+ ${{ github.workflow }} with TED:${{ inputs.ted_tag }}
+
on:
# This workflow will run everyday at 7:00AM, 1:00PM IST on weekdays
schedule:
@@ -34,6 +37,12 @@ jobs:
tags: ${{ steps.setup.outputs.tags }}
matrix: ${{ steps.setup.outputs.matrix }}
steps:
+ - name: "Post inputs to run summary"
+ env:
+ INPUTS: "${{ toJSON(inputs) }}"
+ run: |
+ echo $'## Inputs\n```\n'"$INPUTS"$'\n```' > "$GITHUB_STEP_SUMMARY"
+
- name: Set tags and matrix runner
id: setup
run: |
|
bd07a6d0dd9ce0ac1ee99f0edf3ae17f9041313d
|
2025-03-10 10:40:02
|
Ayush Pahwa
|
chore: code split for approval page crud modal (#39615)
| false
|
code split for approval page crud modal (#39615)
|
chore
|
diff --git a/app/client/src/ce/pages/AppIDE/components/AppIDEModals.tsx b/app/client/src/ce/pages/AppIDE/components/AppIDEModals.tsx
new file mode 100644
index 000000000000..5a0b7d342951
--- /dev/null
+++ b/app/client/src/ce/pages/AppIDE/components/AppIDEModals.tsx
@@ -0,0 +1,26 @@
+import React from "react";
+import { GitModals } from "pages/AppIDE/components/GitModals";
+import TemplatesModal from "pages/Templates/TemplatesModal";
+import ImportedApplicationSuccessModal from "pages/Editor/gitSync/ImportSuccessModal";
+import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal";
+import SignpostingOverlay from "pages/Editor/FirstTimeUserOnboarding/Overlay";
+import { PartialExportModal } from "components/editorComponents/PartialImportExport/PartialExportModal";
+import { PartialImportModal } from "components/editorComponents/PartialImportExport/PartialImportModal";
+import { AppCURLImportModal } from "ee/pages/Editor/CurlImport";
+import GeneratePageModal from "pages/Editor/GeneratePage";
+
+export function AppIDEModals() {
+ return (
+ <>
+ <GitModals />
+ <TemplatesModal />
+ <ImportedApplicationSuccessModal />
+ <ReconnectDatasourceModal />
+ <SignpostingOverlay />
+ <PartialExportModal />
+ <PartialImportModal />
+ <AppCURLImportModal />
+ <GeneratePageModal />
+ </>
+ );
+}
diff --git a/app/client/src/ce/pages/AppIDE/hooks/useGenPageItems.tsx b/app/client/src/ce/pages/AppIDE/hooks/useGenPageItems.tsx
new file mode 100644
index 000000000000..b1f6f53dc07f
--- /dev/null
+++ b/app/client/src/ce/pages/AppIDE/hooks/useGenPageItems.tsx
@@ -0,0 +1,58 @@
+import { isAirgapped } from "ee/utils/airgapHelpers";
+import {
+ ADD_PAGE_FROM_TEMPLATE,
+ createMessage,
+ GENERATE_PAGE_ACTION_TITLE,
+} from "ee/constants/messages";
+import {
+ LayoutSystemFeatures,
+ useLayoutSystemFeatures,
+} from "layoutSystems/common/useLayoutSystemFeatures";
+import { openGeneratePageModal } from "pages/Editor/GeneratePage/store/generatePageActions";
+import { useDispatch } from "react-redux";
+import { showTemplatesModal } from "actions/templateActions";
+import { useMemo } from "react";
+
+export const useGenPageItems = () => {
+ const dispatch = useDispatch();
+ const isAirgappedInstance = isAirgapped();
+
+ const checkLayoutSystemFeatures = useLayoutSystemFeatures();
+ const [enableGenerateCrud, enableForkingFromTemplates] =
+ checkLayoutSystemFeatures([
+ LayoutSystemFeatures.ENABLE_GENERATE_CRUD_APP,
+ LayoutSystemFeatures.ENABLE_FORKING_FROM_TEMPLATES,
+ ]);
+
+ return useMemo(() => {
+ const items = [];
+
+ if (enableGenerateCrud) {
+ items.push({
+ title: createMessage(GENERATE_PAGE_ACTION_TITLE),
+ icon: "database-2-line",
+ onClick: () => dispatch(openGeneratePageModal()),
+ "data-testid": "generate-page",
+ key: "GENERATE_PAGE",
+ });
+ }
+
+ if (enableForkingFromTemplates && !isAirgappedInstance) {
+ items.push({
+ title: createMessage(ADD_PAGE_FROM_TEMPLATE),
+ icon: "layout-2-line",
+ onClick: () =>
+ dispatch(showTemplatesModal({ isOpenFromCanvas: false })),
+ "data-testid": "add-page-from-template",
+ key: "ADD_PAGE_FROM_TEMPLATE",
+ });
+ }
+
+ return items;
+ }, [
+ dispatch,
+ enableGenerateCrud,
+ enableForkingFromTemplates,
+ isAirgappedInstance,
+ ]);
+};
diff --git a/app/client/src/ee/pages/AppIDE/components/AppIDEModals.tsx b/app/client/src/ee/pages/AppIDE/components/AppIDEModals.tsx
new file mode 100644
index 000000000000..798fd780d3f9
--- /dev/null
+++ b/app/client/src/ee/pages/AppIDE/components/AppIDEModals.tsx
@@ -0,0 +1 @@
+export * from "ce/pages/AppIDE/components/AppIDEModals";
diff --git a/app/client/src/ee/pages/AppIDE/hooks/useGenPageItems.tsx b/app/client/src/ee/pages/AppIDE/hooks/useGenPageItems.tsx
new file mode 100644
index 000000000000..65c9f4d50772
--- /dev/null
+++ b/app/client/src/ee/pages/AppIDE/hooks/useGenPageItems.tsx
@@ -0,0 +1 @@
+export * from "ce/pages/AppIDE/hooks/useGenPageItems";
diff --git a/app/client/src/pages/AppIDE/AppIDE.tsx b/app/client/src/pages/AppIDE/AppIDE.tsx
index 6dd21b0cb0f5..3f96f5b2290c 100644
--- a/app/client/src/pages/AppIDE/AppIDE.tsx
+++ b/app/client/src/pages/AppIDE/AppIDE.tsx
@@ -28,25 +28,17 @@ import GlobalHotKeys from "pages/Editor/GlobalHotKeys";
import { setupPageAction, updateCurrentPage } from "actions/pageActions";
import { getCurrentPageId } from "selectors/editorSelectors";
import { getSearchQuery } from "utils/helpers";
-import ImportedApplicationSuccessModal from "pages/Editor/gitSync/ImportSuccessModal";
import { getIsBranchUpdated } from "../utils";
import { APP_MODE } from "entities/App";
import { GIT_BRANCH_QUERY_KEY } from "constants/routes";
-import TemplatesModal from "pages/Templates/TemplatesModal";
-import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal";
import { Spinner } from "@appsmith/ads";
-import SignpostingOverlay from "pages/Editor/FirstTimeUserOnboarding/Overlay";
import { editorInitializer } from "utils/editor/EditorUtils";
import { widgetInitialisationSuccess } from "actions/widgetActions";
import urlBuilder from "ee/entities/URLRedirect/URLAssembly";
-import { PartialExportModal } from "components/editorComponents/PartialImportExport/PartialExportModal";
-import { PartialImportModal } from "components/editorComponents/PartialImportExport/PartialImportModal";
import type { Page } from "entities/Page";
-import { AppCURLImportModal } from "ee/pages/Editor/CurlImport";
import { IDE_HEADER_HEIGHT } from "@appsmith/ads";
-import GeneratePageModal from "pages/Editor/GeneratePage";
-import { GitModals } from "./components/GitModals";
import { GitApplicationContextProvider } from "git-artifact-helpers/application/components";
+import { AppIDEModals } from "ee/pages/AppIDE/components/AppIDEModals";
interface EditorProps {
currentApplicationId?: string;
@@ -193,15 +185,7 @@ class Editor extends Component<Props> {
<GitApplicationContextProvider>
<GlobalHotKeys>
<IDE />
- <GitModals />
- <TemplatesModal />
- <ImportedApplicationSuccessModal />
- <ReconnectDatasourceModal />
- <SignpostingOverlay />
- <PartialExportModal />
- <PartialImportModal />
- <AppCURLImportModal />
- <GeneratePageModal />
+ <AppIDEModals />
</GlobalHotKeys>
</GitApplicationContextProvider>
</div>
diff --git a/app/client/src/pages/AppIDE/components/PageList/AddPageContextMenu.tsx b/app/client/src/pages/AppIDE/components/PageList/AddPageContextMenu.tsx
index 804b04f23a61..af1e923924b6 100644
--- a/app/client/src/pages/AppIDE/components/PageList/AddPageContextMenu.tsx
+++ b/app/client/src/pages/AppIDE/components/PageList/AddPageContextMenu.tsx
@@ -5,17 +5,11 @@ import {
} from "pages/Editor/Explorer/Entity";
import EntityAddButton from "pages/Editor/Explorer/Entity/AddButton";
import styled from "styled-components";
-import { useParams } from "react-router";
-import { useDispatch } from "react-redux";
-import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers";
-import { showTemplatesModal } from "actions/templateActions";
import {
- ADD_PAGE_FROM_TEMPLATE,
ADD_PAGE_TOOLTIP,
CANVAS_NEW_PAGE_CARD,
createMessage,
CREATE_PAGE,
- GENERATE_PAGE_ACTION_TITLE,
} from "ee/constants/messages";
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import type { ButtonSizes } from "@appsmith/ads";
@@ -27,13 +21,8 @@ import {
Tooltip,
Text,
} from "@appsmith/ads";
-import { isAirgapped } from "ee/utils/airgapHelpers";
import { TOOLTIP_HOVER_ON_DELAY_IN_S } from "constants/AppConstants";
-import {
- LayoutSystemFeatures,
- useLayoutSystemFeatures,
-} from "layoutSystems/common/useLayoutSystemFeatures";
-import { openGeneratePageModal } from "pages/Editor/GeneratePage/store/generatePageActions";
+import { useGenPageItems } from "ee/pages/AppIDE/hooks/useGenPageItems";
const Wrapper = styled.div`
.title {
@@ -61,17 +50,8 @@ function AddPageContextMenu({
openMenu,
}: SubMenuProps) {
const [show, setShow] = useState(openMenu);
- const dispatch = useDispatch();
- const { basePageId } = useParams<ExplorerURLParams>();
- const isAirgappedInstance = isAirgapped();
-
- const checkLayoutSystemFeatures = useLayoutSystemFeatures();
- const [enableForkingFromTemplates, enableGenerateCrud] =
- checkLayoutSystemFeatures([
- LayoutSystemFeatures.ENABLE_FORKING_FROM_TEMPLATES,
- LayoutSystemFeatures.ENABLE_GENERATE_CRUD_APP,
- ]);
+ const ContextMenuGeneratePageItems = useGenPageItems();
const ContextMenuItems = useMemo(() => {
const items = [
{
@@ -81,31 +61,11 @@ function AddPageContextMenu({
"data-testid": "add-page",
key: "CREATE_PAGE",
},
+ ...ContextMenuGeneratePageItems,
];
- if (enableGenerateCrud) {
- items.push({
- title: createMessage(GENERATE_PAGE_ACTION_TITLE),
- icon: "database-2-line",
- onClick: () => dispatch(openGeneratePageModal()),
- "data-testid": "generate-page",
- key: "GENERATE_PAGE",
- });
- }
-
- if (enableForkingFromTemplates && !isAirgappedInstance) {
- items.push({
- title: createMessage(ADD_PAGE_FROM_TEMPLATE),
- icon: "layout-2-line",
- onClick: () =>
- dispatch(showTemplatesModal({ isOpenFromCanvas: false })),
- "data-testid": "add-page-from-template",
- key: "ADD_PAGE_FROM_TEMPLATE",
- });
- }
-
return items;
- }, [basePageId, enableGenerateCrud]);
+ }, [createPageCallback, ContextMenuGeneratePageItems]);
const handleOpenChange = (open: boolean) => {
if (open) {
|
b6dbce0bf79f00949414f35908212746d3423e91
|
2023-04-18 09:03:22
|
dependabot[bot]
|
chore: bump snowflake-jdbc from 3.13.26 to 3.13.29 in /app/server/appsmith-plugins/snowflakePlugin (#22444)
| false
|
bump snowflake-jdbc from 3.13.26 to 3.13.29 in /app/server/appsmith-plugins/snowflakePlugin (#22444)
|
chore
|
diff --git a/app/server/appsmith-plugins/snowflakePlugin/pom.xml b/app/server/appsmith-plugins/snowflakePlugin/pom.xml
index 75b2dff3b236..c16f3615759c 100644
--- a/app/server/appsmith-plugins/snowflakePlugin/pom.xml
+++ b/app/server/appsmith-plugins/snowflakePlugin/pom.xml
@@ -19,7 +19,7 @@
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-jdbc</artifactId>
- <version>3.13.26</version>
+ <version>3.13.29</version>
</dependency>
<dependency>
|
4d0aa11225279a02696b24c59486b9a151752edc
|
2023-01-13 10:44:15
|
Ankita Kinger
|
fix: Updating UI for invite modal when the user doesn't have share access (#19678)
| false
|
Updating UI for invite modal when the user doesn't have share access (#19678)
|
fix
|
diff --git a/app/client/src/pages/workspace/AppInviteUsersForm.tsx b/app/client/src/pages/workspace/AppInviteUsersForm.tsx
index 6797238be8c0..01f9407c991a 100644
--- a/app/client/src/pages/workspace/AppInviteUsersForm.tsx
+++ b/app/client/src/pages/workspace/AppInviteUsersForm.tsx
@@ -35,8 +35,9 @@ const ShareToggle = styled.div`
height: 23px;
`;
-const BottomContainer = styled.div`
- border-top: 1px solid ${Colors.GREY_200};
+const BottomContainer = styled.div<{ canInviteToWorkspace?: boolean }>`
+ ${({ canInviteToWorkspace }) =>
+ canInviteToWorkspace ? `border-top: 1px solid ${Colors.GREY_200}` : ``};
`;
function AppInviteUsersForm(props: any) {
@@ -93,7 +94,12 @@ function AppInviteUsersForm(props: any) {
workspaceId={props.workspaceId}
/>
)}
- <BottomContainer className="flex space-between mt-6 pt-5">
+ <BottomContainer
+ canInviteToWorkspace={canInviteToWorkspace}
+ className={`flex space-between ${
+ canInviteToWorkspace ? "mt-6 pt-5" : ""
+ }`}
+ >
<div
className="flex gap-1.5 cursor-pointer"
data-cy={"copy-application-url"}
|
53cdd053b89cc5ebcfe9d6a2e0ff9acf19967f29
|
2023-03-27 09:58:14
|
PiyushPushkar02
|
fix: API Url Whitespace Bug Fix (#21711)
| false
|
API Url Whitespace Bug Fix (#21711)
|
fix
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/InitUtils.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/InitUtils.java
index 8b07c233347b..491c6d8f0874 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/InitUtils.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/InitUtils.java
@@ -13,7 +13,7 @@ public class InitUtils {
public String initializeRequestUrl(ActionConfiguration actionConfiguration,
DatasourceConfiguration datasourceConfiguration ) {
String path = (actionConfiguration.getPath() == null) ? "" : actionConfiguration.getPath();
- return datasourceConfiguration.getUrl() + path;
+ return datasourceConfiguration.getUrl().trim() + path;
}
public void initializeResponseWithError(ActionExecutionResult result) {
diff --git a/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java b/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java
index 6544a2d359a1..e08720008510 100644
--- a/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java
+++ b/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java
@@ -161,6 +161,40 @@ public void testValidGraphQLApiExecutionWithQueryVariablesWithHttpPost() {
.verifyComplete();
}
+ @Test
+ public void testValidGraphQLApiExecutionWithWhitespacesInUrl() {
+ DatasourceConfiguration dsConfig = getDefaultDatasourceConfig();
+ ActionConfiguration actionConfig = getDefaultActionConfiguration();
+
+ //changing the url to add whitespaces at the start and end of the url
+ String url = dsConfig.getUrl();
+ url = String.format("%-" + (url.length() + 4) + "s" ,url);
+ url = String.format("%" + (url.length() + 4) + "s" ,url);
+ dsConfig.setUrl(url);
+ String queryBody = "query($limit: Int) {\n" +
+ "\tallPosts(first: $limit) {\n" +
+ "\t\tnodes {\n" +
+ "\t\t\tid\n" +
+ "\t\t}\n" +
+ "\t}\n" +
+ "}";
+ actionConfig.setBody(queryBody);
+ List<Property> properties = new ArrayList<Property>();
+ properties.add(new Property("", "true"));
+ properties.add(new Property("", "{\n" +
+ " \"limit\": 2\n" +
+ "}"));
+ actionConfig.setPluginSpecifiedTemplates(properties);
+ Mono<ActionExecutionResult> resultMono = pluginExecutor.executeParameterized(null, new ExecuteActionDTO(), dsConfig, actionConfig);
+
+ StepVerifier.create(resultMono)
+ .assertNext(result -> {
+ assertTrue(result.getIsExecutionSuccess());
+ assertNotNull(result.getBody());
+ })
+ .verifyComplete();
+ }
+
@Test
public void testValidGraphQLApiExecutionWithQueryVariablesWithHttpGet() {
DatasourceConfiguration dsConfig = getDefaultDatasourceConfig();
diff --git a/app/server/appsmith-plugins/restApiPlugin/src/test/java/com/external/plugins/RestApiPluginTest.java b/app/server/appsmith-plugins/restApiPlugin/src/test/java/com/external/plugins/RestApiPluginTest.java
index b95ebd8c75a2..b9a3bb4bf501 100644
--- a/app/server/appsmith-plugins/restApiPlugin/src/test/java/com/external/plugins/RestApiPluginTest.java
+++ b/app/server/appsmith-plugins/restApiPlugin/src/test/java/com/external/plugins/RestApiPluginTest.java
@@ -135,6 +135,27 @@ public void testValidJsonApiExecution() {
.verifyComplete();
}
+ @Test
+ public void testValidApiExecutionWithWhitespacesInUrl() {
+ DatasourceConfiguration dsConfig = new DatasourceConfiguration();
+ //added whitespaces in url to validate successful execution of the same
+ dsConfig.setUrl(" https://postman-echo.com/post ");
+
+ ActionConfiguration actionConfig = new ActionConfiguration();
+ final List<Property> headers = List.of(new Property("content-type", "application/json"));
+ actionConfig.setHeaders(headers);
+ actionConfig.setHttpMethod(HttpMethod.POST);
+ String requestBody = "{\"key\":\"value\"}";
+ actionConfig.setBody(requestBody);
+
+ Mono<ActionExecutionResult> resultMono = pluginExecutor.executeParameterized(null, new ExecuteActionDTO(), dsConfig, actionConfig);
+ StepVerifier.create(resultMono)
+ .assertNext(result -> {
+ assertTrue(result.getIsExecutionSuccess());
+ assertNotNull(result.getBody());
+ })
+ .verifyComplete();
+ }
@Test
public void testExecuteApiWithPaginationForPreviousUrl() throws IOException {
|
54579a4e6cfdab813992e56456dcd87227071ec5
|
2021-12-09 17:32:47
|
Paul Li
|
feat: Switch Group widget (#7590)
| false
|
Switch Group widget (#7590)
|
feat
|
diff --git a/app/client/cypress/fixtures/SwitchGroupWidgetDsl.json b/app/client/cypress/fixtures/SwitchGroupWidgetDsl.json
new file mode 100644
index 000000000000..acc93d08183e
--- /dev/null
+++ b/app/client/cypress/fixtures/SwitchGroupWidgetDsl.json
@@ -0,0 +1,65 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1206.35,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 710,
+ "containerStyle": "none",
+ "snapRows": 125,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 45,
+ "minHeight": 690,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "SwitchGroup1",
+ "isCanvas": false,
+ "displayName": "Switch Group",
+ "iconSVG": "/static/media/icon.086a7201.svg",
+ "topRow": 11,
+ "bottomRow": 17,
+ "parentRowSpace": 10,
+ "type": "SWITCH_GROUP_WIDGET",
+ "hideCard": false,
+ "parentColumnSpace": 18.66171875,
+ "leftColumn": 6,
+ "options": [
+ {
+ "label": "Blue",
+ "value": "BLUE"
+ },
+ {
+ "label": "Green",
+ "value": "GREEN"
+ },
+ {
+ "label": "Red",
+ "value": "RED"
+ }
+ ],
+ "isDisabled": false,
+ "key": "4dddg71qr8",
+ "isRequired": false,
+ "rightColumn": 24,
+ "defaultSelectedValues": [
+ "BLUE"
+ ],
+ "widgetId": "lexxd4wyb1",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "isInline": true
+ }
+ ]
+}
+}
diff --git a/app/client/cypress/fixtures/newFormDsl.json b/app/client/cypress/fixtures/newFormDsl.json
index bf53a552a92e..fde4b7029727 100644
--- a/app/client/cypress/fixtures/newFormDsl.json
+++ b/app/client/cypress/fixtures/newFormDsl.json
@@ -307,6 +307,45 @@
"bottomRow": 17,
"parentId": "kipfh779n5",
"widgetId": "zbzrlbiose"
+ },
+ {
+ "widgetName": "SwitchGroup1",
+ "isCanvas": false,
+ "displayName": "Switch Group",
+ "iconSVG": "/static/media/icon.086a7201.svg",
+ "topRow": 8,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "SWITCH_GROUP_WIDGET",
+ "hideCard": false,
+ "parentColumnSpace": 6.6856445312499995,
+ "leftColumn": 2,
+ "options": [
+ {
+ "label": "Blue",
+ "value": "BLUE"
+ },
+ {
+ "label": "Green",
+ "value": "GREEN"
+ },
+ {
+ "label": "Red",
+ "value": "RED"
+ }
+ ],
+ "isDisabled": false,
+ "key": "vrhzyvir7s",
+ "isRequired": false,
+ "rightColumn": 20,
+ "defaultSelectedValues": "BLUE",
+ "widgetId": "egtjazr1wh",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "xbbqrz2ncf",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "isInline": true
}
],
"widgetId": "e3tq9qwta6",
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/SwitchGroup_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/SwitchGroup_spec.js
new file mode 100644
index 000000000000..497326be8724
--- /dev/null
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/SwitchGroup_spec.js
@@ -0,0 +1,103 @@
+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() {
+ before(() => {
+ cy.addDsl(dsl);
+ });
+
+ beforeEach(() => {
+ cy.openPropertyPane("switchgroupwidget");
+ });
+
+ afterEach(() => {
+ cy.goToEditFromPublish();
+ });
+
+ it("Widget name changes", function() {
+ /**
+ * @param{Text} Random Text
+ * @param{RadioWidget}Mouseover
+ * @param{RadioPre Css} Assertion
+ */
+
+ cy.widgetText(
+ "switchgrouptest",
+ formWidgetsPage.switchGroupWidget,
+ formWidgetsPage.switchGroupInput,
+ );
+ cy.closePropertyPane();
+ });
+
+ it("Property: options", function() {
+ // Add a new option
+ const optionToAdd = { label: "Yellow", value: "YELLOW" };
+ cy.get(".t--property-control-options .CodeMirror textarea")
+ .first()
+ .focus({ force: true })
+ .type("{ctrl}{end}", { force: true })
+ .type("{ctrl}{uparrow}", { force: true })
+ .type("{end}", { force: true })
+ .type(",{enter}")
+ .type(JSON.stringify(optionToAdd), {
+ parseSpecialCharSequences: false,
+ });
+ // Assert
+ cy.get(formWidgetsPage.labelSwitchGroup)
+ .should("have.length", 4)
+ .eq(3)
+ .contains("Yellow");
+ cy.closePropertyPane();
+ });
+
+ it("Property: defaultSelectedValues", function() {
+ // Add a new option
+ const valueToAdd = "GREEN";
+ cy.get(".t--property-control-defaultselectedvalues .CodeMirror textarea")
+ .first()
+ .focus({ force: true })
+ .type("{ctrl}{end}", { force: true })
+ .type("{ctrl}{uparrow}", { force: true })
+ .type("{end}", { force: true })
+ .type(",{enter}")
+ .type(`"${valueToAdd}"`);
+ // Assert
+ cy.get(`${formWidgetsPage.labelSwitchGroup} input:checked`)
+ .should("have.length", 2)
+ .eq(1)
+ .parent()
+ .contains("Green");
+ cy.closePropertyPane();
+ });
+
+ it("Property: isVisible === FALSE", function() {
+ cy.togglebarDisable(commonlocators.visibleCheckbox);
+ cy.PublishtheApp();
+ cy.get(publish.switchGroupWidget + " " + "input").should("not.exist");
+ });
+
+ it("Property: isVisible === TRUE", function() {
+ cy.togglebar(commonlocators.visibleCheckbox);
+ cy.PublishtheApp();
+ cy.get(publish.switchGroupWidget + " " + "input")
+ .eq(0)
+ .should("exist");
+ });
+
+ it("Property: onSelectionChange", function() {
+ // create an alert modal and verify its name
+ cy.createModal(this.data.ModalName);
+ cy.PublishtheApp();
+ cy.get(publish.switchGroupWidget + " " + "label.bp3-switch")
+ .children()
+ .first()
+ .click({ force: true });
+ cy.get(modalWidgetPage.modelTextField).should(
+ "have.text",
+ this.data.ModalName,
+ );
+ });
+});
diff --git a/app/client/cypress/locators/FormWidgets.json b/app/client/cypress/locators/FormWidgets.json
index 1f2b0bc8fc63..b49525cffe0f 100644
--- a/app/client/cypress/locators/FormWidgets.json
+++ b/app/client/cypress/locators/FormWidgets.json
@@ -8,6 +8,7 @@
"dropdownSelectionType": ".t--property-control-selectiontype .bp3-popover-target",
"radioWidget": ".t--draggable-radiogroupwidget",
"checkboxGroupWidget": ".t--draggable-checkboxgroupwidget",
+ "switchGroupWidget": ".t--draggable-switchgroupwidget",
"radioOnSelectionChangeDropdown": ".t--property-control-onselectionchange",
"nextDayBtn": ".DayPicker-Day[aria-selected='true'] + div.DayPicker-Day",
"datepickerWidget": ".t--draggable-datepickerwidget",
@@ -28,6 +29,7 @@
"treeSelectInput": ".rc-tree-select-selection-search-input",
"labelradio": ".t--draggable-radiogroupwidget label",
"labelCheckboxGroup": ".t--draggable-checkboxgroupwidget label",
+ "labelSwitchGroup": ".t--draggable-switchgroupwidget label",
"deleteradiovalue": ".t--property-control-options svg.remixicon-icon ",
"inputRadio": ".t--draggable-radiogroupwidget input",
"defaultSelect": ".t--property-control-defaultselectedvalue .CodeMirror-code",
@@ -35,6 +37,7 @@
"formInner": ".t--draggable-formwidget span.t--widget-name",
"radioInput": ".t--draggable-radiogroupwidget span.t--widget-name",
"checkboxGroupInput": ".t--draggable-checkboxgroupwidget span.t--widget-name",
+ "switchGroupInput": ".t--draggable-switchgroupwidget span.t--widget-name",
"radioAddButton": ".t--property-control-options button",
"formD": "div[type='FORM_WIDGET']",
"datepickerFooter": ".bp3-datepicker-footer span",
diff --git a/app/client/cypress/locators/publishWidgetspage.json b/app/client/cypress/locators/publishWidgetspage.json
index db8943f52357..34c5fb661d8c 100644
--- a/app/client/cypress/locators/publishWidgetspage.json
+++ b/app/client/cypress/locators/publishWidgetspage.json
@@ -9,6 +9,7 @@
"switchwidget": ".t--widget-switchwidget",
"radioWidget": ".t--widget-radiogroupwidget",
"checkboxGroupWidget": ".t--widget-checkboxgroupwidget",
+ "switchGroupWidget": ".t--widget-switchgroupwidget",
"formWidget": ".t--widget-formwidget",
"imageWidget": ".t--widget-imagewidget",
"dropdownWidget": ".t--widget-dropdownwidget",
diff --git a/app/client/package.json b/app/client/package.json
index 6f4e2113d237..4b0bfec42a4e 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -146,7 +146,7 @@
"tinycolor2": "^1.4.2",
"toposort": "^2.0.2",
"ts-loader": "^6.0.4",
- "tslib": "^2.1.0",
+ "tslib": "^2.3.1",
"typescript": "^4.1.3",
"unescape-js": "^1.1.4",
"url-search-params-polyfill": "^8.0.0",
diff --git a/app/client/src/assets/icons/widget/switch-group.svg b/app/client/src/assets/icons/widget/switch-group.svg
new file mode 100755
index 000000000000..fcaa891f23a6
--- /dev/null
+++ b/app/client/src/assets/icons/widget/switch-group.svg
@@ -0,0 +1,9 @@
+<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>
diff --git a/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx b/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx
index 1191abffadc8..b7368bdeb5df 100644
--- a/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx
+++ b/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx
@@ -90,6 +90,7 @@ export enum EventType {
ON_LIST_PAGE_CHANGE = "ON_LIST_PAGE_CHANGE",
ON_RECORDING_START = "ON_RECORDING_START",
ON_RECORDING_COMPLETE = "ON_RECORDING_COMPLETE",
+ ON_SWITCH_GROUP_SELECTION_CHANGE = "ON_SWITCH_GROUP_SELECTION_CHANGE",
}
export interface PageAction {
diff --git a/app/client/src/constants/HelpConstants.ts b/app/client/src/constants/HelpConstants.ts
index 25be69f7318b..ba079d7b7a2a 100644
--- a/app/client/src/constants/HelpConstants.ts
+++ b/app/client/src/constants/HelpConstants.ts
@@ -167,6 +167,10 @@ export const HelpMap: Record<string, { path: string; searchKey: string }> = {
path: "/widget-reference/audio-recorder",
searchKey: "Audio Recorder",
},
+ SWITCH_GROUP_WIDGET: {
+ path: "/widget-reference/switch-group",
+ searchKey: "Switch Group",
+ },
};
export const HelpBaseURL = "https://docs.appsmith.com";
diff --git a/app/client/src/icons/WidgetIcons.tsx b/app/client/src/icons/WidgetIcons.tsx
index f779ef22f77d..b0dbbbae4588 100644
--- a/app/client/src/icons/WidgetIcons.tsx
+++ b/app/client/src/icons/WidgetIcons.tsx
@@ -34,6 +34,7 @@ import { ReactComponent as StatboxIcon } from "assets/icons/widget/statbox.svg";
import { ReactComponent as CheckboxGroupIcon } from "assets/icons/widget/checkbox-group.svg";
import { ReactComponent as AudioRecorderIcon } from "assets/icons/widget/audio-recorder.svg";
import { ReactComponent as ButtonGroupIcon } from "assets/icons/widget/button-group.svg";
+import { ReactComponent as SwitchGroupIcon } from "assets/icons/widget/switch-group.svg";
import styled from "styled-components";
import { Colors } from "constants/Colors";
@@ -225,6 +226,11 @@ export const WidgetIcons: {
<ButtonGroupIcon />
</StyledIconWrapper>
),
+ SWITCH_GROUP_WIDGET: (props: IconProps) => (
+ <StyledIconWrapper {...props}>
+ <SwitchGroupIcon />
+ </StyledIconWrapper>
+ ),
};
export type WidgetIcon = typeof WidgetIcons[keyof typeof WidgetIcons];
diff --git a/app/client/src/utils/AppsmithUtils.test.ts b/app/client/src/utils/AppsmithUtils.test.ts
new file mode 100644
index 000000000000..57fe7efb7b55
--- /dev/null
+++ b/app/client/src/utils/AppsmithUtils.test.ts
@@ -0,0 +1,13 @@
+import { getCamelCaseString } from "utils/AppsmithUtils";
+
+describe("getCamelCaseString", () => {
+ it("Should return a string in camelCase", () => {
+ const inputs = ["abcd", "ab12cd", "开关", "😃 😃 😃"];
+ const expected = ["abcd", "ab12Cd", "", ""];
+
+ inputs.forEach((input, index) => {
+ const result = getCamelCaseString(input);
+ expect(result).toStrictEqual(expected[index]);
+ });
+ });
+});
diff --git a/app/client/src/utils/AppsmithUtils.tsx b/app/client/src/utils/AppsmithUtils.tsx
index 9d1d5a2ad406..83b110785cc1 100644
--- a/app/client/src/utils/AppsmithUtils.tsx
+++ b/app/client/src/utils/AppsmithUtils.tsx
@@ -372,6 +372,26 @@ export const parseBlobUrl = (blobId: string) => {
};
/**
+ * Convert a string into camelCase
+ * @param sourceString input string
+ * @returns camelCase string
+ */
+export const getCamelCaseString = (sourceString: string) => {
+ let out = "";
+ // Split the input string to separate words using RegEx
+ const regEx = /[A-Z\xC0-\xD6\xD8-\xDE]?[a-z\xDF-\xF6\xF8-\xFF]+|[A-Z\xC0-\xD6\xD8-\xDE]+(?![a-z\xDF-\xF6\xF8-\xFF])|\d+/g;
+ const words = sourceString.match(regEx);
+ if (words) {
+ words.forEach(function(el, idx) {
+ const add = el.toLowerCase();
+ out += idx === 0 ? add : add[0].toUpperCase() + add.slice(1);
+ });
+ }
+
+ return out;
+};
+
+/*
* gets the page url
*
* Note: for edit mode, the page will have different url ( contains '/edit' at the end )
diff --git a/app/client/src/utils/WidgetRegistry.tsx b/app/client/src/utils/WidgetRegistry.tsx
index ba1fabdbee00..bd3975dfe41a 100644
--- a/app/client/src/utils/WidgetRegistry.tsx
+++ b/app/client/src/utils/WidgetRegistry.tsx
@@ -93,7 +93,6 @@ import FilePickerWidgetV2, {
import AudioWidget, {
CONFIG as AUDIO_WIDGET_CONFIG,
} from "widgets/AudioWidget";
-
import AudioRecorderWidget, {
CONFIG as AUDIO_RECORDER_WIDGET_CONFIG,
} from "widgets/AudioRecorderWidget";
@@ -103,14 +102,17 @@ import DocumentViewerWidget, {
import ButtonGroupWidget, {
CONFIG as BUTTON_GROUP_CONFIG,
} from "widgets/ButtonGroupWidget";
-
-import log from "loglevel";
import SingleSelectTreeWidget, {
CONFIG as SINGLE_SELECT_TREE_WIDGET_CONFIG,
} from "widgets/SingleSelectTreeWidget";
import MultiSelectTreeWidget, {
CONFIG as MULTI_SELECT_TREE_WIDGET_CONFIG,
} from "widgets/MultiSelectTreeWidget";
+import SwitchGroupWidget, {
+ CONFIG as SWITCH_GROUP_WIDGET_CONFIG,
+} from "widgets/SwitchGroupWidget";
+
+import log from "loglevel";
export const registerWidgets = () => {
const start = performance.now();
@@ -154,6 +156,7 @@ export const registerWidgets = () => {
registerWidget(ButtonGroupWidget, BUTTON_GROUP_CONFIG);
registerWidget(MultiSelectTreeWidget, MULTI_SELECT_TREE_WIDGET_CONFIG);
registerWidget(SingleSelectTreeWidget, SINGLE_SELECT_TREE_WIDGET_CONFIG);
+ registerWidget(SwitchGroupWidget, SWITCH_GROUP_WIDGET_CONFIG);
registerWidget(AudioWidget, AUDIO_WIDGET_CONFIG);
log.debug("Widget registration took: ", performance.now() - start, "ms");
diff --git a/app/client/src/utils/autocomplete/EntityDefinitions.ts b/app/client/src/utils/autocomplete/EntityDefinitions.ts
index 2263e985a65f..89c116e1e81f 100644
--- a/app/client/src/utils/autocomplete/EntityDefinitions.ts
+++ b/app/client/src/utils/autocomplete/EntityDefinitions.ts
@@ -422,6 +422,12 @@ export const entityDefinitions: Record<string, unknown> = {
dataURL: "string",
rawBinary: "string",
},
+ SWITCH_GROUP_WIDGET: {
+ "!doc":
+ "Switch group widget allows users to create many switch components which can easily by used in a form",
+ "!url": "https://docs.appsmith.com/widget-reference/switch-group",
+ selectedValues: "[string]",
+ },
};
export const GLOBAL_DEFS = {
diff --git a/app/client/src/widgets/SwitchGroupWidget/component/index.tsx b/app/client/src/widgets/SwitchGroupWidget/component/index.tsx
new file mode 100644
index 000000000000..4bf8ee01b404
--- /dev/null
+++ b/app/client/src/widgets/SwitchGroupWidget/component/index.tsx
@@ -0,0 +1,143 @@
+import React from "react";
+import styled from "styled-components";
+import { Alignment, Switch } from "@blueprintjs/core";
+
+import { ThemeProp } from "components/ads/common";
+import { BlueprintControlTransform } from "constants/DefaultTheme";
+import { Colors } from "constants/Colors";
+
+export interface OptionProps {
+ label?: string;
+ value: string;
+}
+
+export interface SwitchGroupContainerProps {
+ alignment: Alignment;
+ inline?: boolean;
+ optionCount: number;
+ valid?: boolean;
+}
+
+export const SwitchGroupContainer = styled.div<
+ ThemeProp & SwitchGroupContainerProps
+>`
+ display: ${({ inline }) => (inline ? "inline-flex" : "flex")};
+ ${({ alignment, inline }) => `
+ flex-direction: ${inline ? "row" : "column"};
+ align-items: ${
+ inline
+ ? "center"
+ : alignment === Alignment.LEFT
+ ? "flex-start"
+ : "flex-end"
+ };
+ ${inline && "flex-wrap: wrap"};
+ `}
+ justify-content: ${({ alignment, inline, optionCount }) =>
+ optionCount > 1
+ ? `space-between`
+ : inline
+ ? alignment === Alignment.LEFT
+ ? `flex-start`
+ : `flex-end`
+ : `center`};
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ border: 1px solid transparent;
+ ${({ theme, valid }) =>
+ !valid &&
+ `
+ border: 1px solid ${theme.colors.error};
+ `}
+ padding: 2px 4px;
+
+ ${BlueprintControlTransform}
+`;
+
+export interface StyledSwitchProps {
+ disabled?: boolean;
+ inline?: boolean;
+ optionCount: number;
+ rowSpace: number;
+}
+
+const StyledSwitch = styled(Switch)<ThemeProp & StyledSwitchProps>`
+ height: ${({ rowSpace }) => rowSpace}px;
+
+ &.bp3-control.bp3-switch {
+ margin-top: ${({ inline, optionCount }) =>
+ (inline || optionCount === 1) && `4px`};
+ ${({ alignIndicator }) =>
+ alignIndicator === Alignment.RIGHT && `margin-right: 0`};
+ input:checked ~ .bp3-control-indicator,
+ &:hover input:checked ~ .bp3-control-indicator {
+ background-color: ${Colors.GREEN};
+ }
+ }
+`;
+
+function SwitchGroupComponent(props: SwitchGroupComponentProps) {
+ const {
+ alignment,
+ disabled,
+ inline,
+ onChange,
+ options,
+ rowSpace,
+ selected,
+ valid,
+ } = props;
+
+ return (
+ <SwitchGroupContainer
+ alignment={alignment}
+ inline={inline}
+ optionCount={(options || []).length}
+ valid={valid}
+ >
+ {Array.isArray(options) &&
+ options.length > 0 &&
+ options.map((option: OptionProps) => (
+ <StyledSwitch
+ alignIndicator={alignment}
+ checked={selected.includes(option.value)}
+ disabled={disabled}
+ inline={inline}
+ key={option.value}
+ label={option.label}
+ onChange={onChange(option.value)}
+ optionCount={options.length}
+ rowSpace={rowSpace}
+ />
+ ))}
+ </SwitchGroupContainer>
+ );
+}
+
+export interface Item {
+ widgetId: string;
+ id: string;
+ index: number;
+ isVisible?: boolean;
+ isDisabled?: boolean;
+ label?: string;
+ value: string;
+ alignIndicator?: Alignment;
+ defaultChecked?: boolean;
+ checked?: boolean;
+}
+
+export interface SwitchGroupComponentProps {
+ alignment: Alignment;
+ disabled?: boolean;
+ inline?: boolean;
+ options: OptionProps[];
+ onChange: (value: string) => React.FormEventHandler<HTMLInputElement>;
+ required?: boolean;
+ rowSpace: number;
+ selected: string[];
+ valid?: boolean;
+}
+
+export default SwitchGroupComponent;
diff --git a/app/client/src/widgets/SwitchGroupWidget/icon.svg b/app/client/src/widgets/SwitchGroupWidget/icon.svg
new file mode 100755
index 000000000000..fcaa891f23a6
--- /dev/null
+++ b/app/client/src/widgets/SwitchGroupWidget/icon.svg
@@ -0,0 +1,9 @@
+<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>
diff --git a/app/client/src/widgets/SwitchGroupWidget/index.ts b/app/client/src/widgets/SwitchGroupWidget/index.ts
new file mode 100644
index 000000000000..964f38f26f0b
--- /dev/null
+++ b/app/client/src/widgets/SwitchGroupWidget/index.ts
@@ -0,0 +1,38 @@
+import { Alignment } from "@blueprintjs/core";
+
+import Widget from "./widget";
+import IconSVG from "./icon.svg";
+import { GRID_DENSITY_MIGRATION_V1 } from "widgets/constants";
+
+export const CONFIG = {
+ type: Widget.getWidgetType(),
+ name: "Switch Group", // The display name which will be made in uppercase and show in the widgets panel ( can have spaces )
+ iconSVG: IconSVG,
+ needsMeta: true, // Defines if this widget adds any meta properties
+ isCanvas: false, // Defines if this widget has a canvas within in which we can drop other widgets
+ defaults: {
+ widgetName: "SwitchGroup",
+ rows: 1.5 * GRID_DENSITY_MIGRATION_V1,
+ columns: 4.5 * GRID_DENSITY_MIGRATION_V1,
+ options: [
+ { label: "Blue", value: "BLUE" },
+ { label: "Green", value: "GREEN" },
+ { label: "Red", value: "RED" },
+ ],
+ defaultSelectedValues: ["BLUE"],
+ isDisabled: false,
+ isRequired: false,
+ isInline: true,
+ isVisible: true,
+ alignment: Alignment.LEFT,
+ version: 1,
+ },
+ properties: {
+ derived: Widget.getDerivedPropertiesMap(),
+ default: Widget.getDefaultPropertiesMap(),
+ meta: Widget.getMetaPropertiesMap(),
+ config: Widget.getPropertyPaneConfig(),
+ },
+};
+
+export default Widget;
diff --git a/app/client/src/widgets/SwitchGroupWidget/widget/index.tsx b/app/client/src/widgets/SwitchGroupWidget/widget/index.tsx
new file mode 100644
index 000000000000..e8617fbc8fde
--- /dev/null
+++ b/app/client/src/widgets/SwitchGroupWidget/widget/index.tsx
@@ -0,0 +1,254 @@
+import React from "react";
+import { Alignment } from "@blueprintjs/core";
+
+import BaseWidget, { WidgetProps, WidgetState } from "widgets/BaseWidget";
+import { DerivedPropertiesMap } from "utils/WidgetFactory";
+import { ValidationTypes } from "constants/WidgetValidation";
+import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
+import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory";
+
+import SwitchGroupComponent, { OptionProps } from "../component";
+
+class SwitchGroupWidget extends BaseWidget<
+ SwitchGroupWidgetProps,
+ WidgetState
+> {
+ static getPropertyPaneConfig() {
+ return [
+ {
+ sectionName: "General",
+ children: [
+ {
+ helpText:
+ "Displays a list of options for a user to select. Values must be unique",
+ propertyName: "options",
+ label: "Options",
+ controlType: "INPUT_TEXT",
+ placeholderText: '[{ "label": "Option1", "value": "Option2" }]',
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.ARRAY,
+ params: {
+ children: {
+ type: ValidationTypes.OBJECT,
+ params: {
+ allowedKeys: [
+ {
+ name: "label",
+ type: ValidationTypes.TEXT,
+ params: {
+ default: "",
+ required: true,
+ unique: true,
+ },
+ },
+ {
+ name: "value",
+ type: ValidationTypes.TEXT,
+ params: {
+ default: "",
+ required: true,
+ unique: true,
+ },
+ },
+ ],
+ },
+ },
+ },
+ },
+ evaluationSubstitutionType:
+ EvaluationSubstitutionType.SMART_SUBSTITUTE,
+ },
+ {
+ helpText:
+ "Selects values of the options checked by default. Enter comma separated values for multiple selected",
+ propertyName: "defaultSelectedValues",
+ label: "Default Selected Values",
+ placeholderText: "Enter option values",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.ARRAY,
+ params: {
+ default: [],
+ children: {
+ type: ValidationTypes.TEXT,
+ },
+ strict: true,
+ },
+ },
+ },
+ {
+ propertyName: "isInline",
+ helpText:
+ "Whether switches are to be displayed inline horizontally",
+ label: "Inline",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ propertyName: "isRequired",
+ label: "Required",
+ helpText: "Makes input to the widget mandatory",
+ 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: "isDisabled",
+ helpText: "Disables input to the widget",
+ label: "Disabled",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ propertyName: "alignment",
+ helpText: "Sets the alignment of the widget",
+ label: "Alignment",
+ controlType: "DROP_DOWN",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ options: [
+ {
+ label: "Left",
+ value: Alignment.LEFT,
+ },
+ {
+ label: "Right",
+ value: Alignment.RIGHT,
+ },
+ ],
+ },
+ ],
+ },
+ {
+ sectionName: "Actions",
+ children: [
+ {
+ helpText:
+ "Triggers an action when a switch state inside the group is changed",
+ propertyName: "onSelectionChange",
+ label: "onSelectionChange",
+ controlType: "ACTION_SELECTOR",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
+ ],
+ },
+ ];
+ }
+
+ static getDefaultPropertiesMap(): Record<string, string> {
+ return {
+ selectedValuesArray: "defaultSelectedValues",
+ };
+ }
+
+ static getMetaPropertiesMap(): Record<string, any> {
+ return {
+ selectedValuesArray: undefined,
+ };
+ }
+
+ static getDerivedPropertiesMap(): DerivedPropertiesMap {
+ return {
+ isValid: `{{ this.isRequired ? !!this.selectedValues.length : true }}`,
+ selectedValues: `{{
+ this.selectedValuesArray.filter(
+ selectedValue => this.options.map(option => option.value).includes(selectedValue)
+ )
+ }}`,
+ };
+ }
+
+ static getWidgetType(): string {
+ return "SWITCH_GROUP_WIDGET";
+ }
+
+ getPageView() {
+ const {
+ alignment,
+ isDisabled,
+ isInline,
+ isRequired,
+ isValid,
+ options,
+ parentRowSpace,
+ selectedValues,
+ } = this.props;
+
+ return (
+ <SwitchGroupComponent
+ alignment={alignment}
+ disabled={isDisabled}
+ inline={isInline}
+ onChange={this.handleSwitchStateChange}
+ options={options}
+ required={isRequired}
+ rowSpace={parentRowSpace}
+ selected={selectedValues}
+ valid={isValid}
+ />
+ );
+ }
+
+ private handleSwitchStateChange = (value: string) => {
+ return (event: React.FormEvent<HTMLElement>) => {
+ let { selectedValuesArray } = this.props;
+ const isChecked = (event.target as HTMLInputElement).checked;
+ if (isChecked) {
+ selectedValuesArray = [...selectedValuesArray, value];
+ } else {
+ selectedValuesArray = selectedValuesArray.filter(
+ (item: string) => item !== value,
+ );
+ }
+
+ this.props.updateWidgetMetaProperty(
+ "selectedValuesArray",
+ selectedValuesArray,
+ {
+ triggerPropertyName: "onSelectionChange",
+ dynamicString: this.props.onSelectionChange,
+ event: {
+ type: EventType.ON_SWITCH_GROUP_SELECTION_CHANGE,
+ },
+ },
+ );
+ };
+ };
+}
+
+export interface SwitchGroupWidgetProps extends WidgetProps {
+ options: OptionProps[];
+ defaultSelectedValues: string[];
+ isInline: boolean;
+ isRequired?: boolean;
+ isValid?: boolean;
+ isDisabled?: boolean;
+ alignment: Alignment;
+ onSelectionChange?: boolean;
+}
+
+export default SwitchGroupWidget;
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index 4b1dae572972..5d8da2320a8c 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -16019,7 +16019,7 @@ tslib@^1.10.0, 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.1.0:
+tslib@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
e68cf543600d0e76bd47cffe1223131a696df756
|
2024-02-07 11:25:23
|
Hetu Nandu
|
chore: Make App Sidebar Generally Available (#30923)
| false
|
Make App Sidebar Generally Available (#30923)
|
chore
|
diff --git a/app/client/src/actions/appSettingsPaneActions.ts b/app/client/src/actions/appSettingsPaneActions.ts
index eb3413825600..2622aed914b1 100644
--- a/app/client/src/actions/appSettingsPaneActions.ts
+++ b/app/client/src/actions/appSettingsPaneActions.ts
@@ -1,22 +1,5 @@
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
-import type {
- AppSettingsPaneContext,
- AppSettingsPaneReduxState,
-} from "reducers/uiReducers/appSettingsPaneReducer";
-import type { Action } from "redux";
-
-export const openAppSettingsPaneAction = (context?: AppSettingsPaneContext) => {
- return {
- type: ReduxActionTypes.OPEN_APP_SETTINGS_PANE,
- payload: context,
- };
-};
-
-export const closeAppSettingsPaneAction = (): Action => {
- return {
- type: ReduxActionTypes.CLOSE_APP_SETTINGS_PANE,
- };
-};
+import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer";
export const updateAppSettingsPaneSelectedTabAction = (
payload: AppSettingsPaneReduxState,
diff --git a/app/client/src/ce/entities/FeatureFlag.ts b/app/client/src/ce/entities/FeatureFlag.ts
index ecf36a4f0e38..72c8c15e1503 100644
--- a/app/client/src/ce/entities/FeatureFlag.ts
+++ b/app/client/src/ce/entities/FeatureFlag.ts
@@ -22,7 +22,6 @@ export const FEATURE_FLAG = {
release_anvil_enabled: "release_anvil_enabled",
ab_show_templates_instead_of_blank_canvas_enabled:
"ab_show_templates_instead_of_blank_canvas_enabled",
- release_app_sidebar_enabled: "release_app_sidebar_enabled",
release_server_dsl_migrations_enabled:
"release_server_dsl_migrations_enabled",
license_git_branch_protection_enabled:
@@ -36,9 +35,6 @@ export const FEATURE_FLAG = {
license_widget_rtl_support_enabled: "license_widget_rtl_support_enabled",
release_custom_widgets_enabled: "release_custom_widgets_enabled",
ab_create_new_apps_enabled: "ab_create_new_apps_enabled",
- release_show_new_sidebar_announcement_enabled:
- "release_show_new_sidebar_announcement_enabled",
- rollout_app_sidebar_enabled: "rollout_app_sidebar_enabled",
release_show_partial_import_export_enabled:
"release_show_partial_import_export_enabled",
release_show_new_sidebar_pages_pane_enabled:
@@ -77,7 +73,6 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
license_gac_enabled: false,
release_anvil_enabled: false,
ab_show_templates_instead_of_blank_canvas_enabled: false,
- release_app_sidebar_enabled: false,
release_server_dsl_migrations_enabled: false,
license_git_branch_protection_enabled: false,
release_git_autocommit_feature_enabled: false,
@@ -86,8 +81,6 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
license_widget_rtl_support_enabled: false,
release_custom_widgets_enabled: false,
ab_create_new_apps_enabled: false,
- release_show_new_sidebar_announcement_enabled: false,
- rollout_app_sidebar_enabled: false,
release_show_partial_import_export_enabled: false,
release_show_new_sidebar_pages_pane_enabled: false,
ab_one_click_learning_popover_enabled: false,
diff --git a/app/client/src/ce/pages/Editor/IDE/MainPane/useRoutes.ts b/app/client/src/ce/pages/Editor/IDE/MainPane/useRoutes.ts
index ed88e0f45bd1..4fd0bc7b0d55 100644
--- a/app/client/src/ce/pages/Editor/IDE/MainPane/useRoutes.ts
+++ b/app/client/src/ce/pages/Editor/IDE/MainPane/useRoutes.ts
@@ -24,7 +24,6 @@ import {
WIDGETS_EDITOR_ID_PATH,
} from "constants/routes";
import CreateNewDatasourceTab from "pages/Editor/IntegrationEditor/CreateNewDatasourceTab";
-import IntegrationEditor from "pages/Editor/IntegrationEditor";
import OnboardingChecklist from "pages/Editor/FirstTimeUserOnboarding/Checklist";
import ApiEditor from "pages/Editor/APIEditor";
import QueryEditor from "pages/Editor/QueryEditor";
@@ -42,7 +41,6 @@ import DataSourceEditor from "pages/Editor/DataSourceEditor";
import DatasourceBlankState from "pages/Editor/DataSourceEditor/DatasourceBlankState";
import GeneratePage from "pages/Editor/GeneratePage";
import type { RouteProps } from "react-router";
-import { useIsAppSidebarEnabled } from "navigation/featureFlagHooks";
import { JSBlankState } from "pages/Editor/JSEditor/JSBlankState";
import { QueriesBlankState } from "pages/Editor/QueryEditor/QueriesBlankState";
import { useSelector } from "react-redux";
@@ -59,7 +57,6 @@ export interface RouteReturnType extends RouteProps {
*/
function useRoutes(path: string): RouteReturnType[] {
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
const isSideBySideEnabled = useSelector(getIsSideBySideEnabled);
const editorMode = useSelector(getIDEViewMode);
@@ -104,9 +101,7 @@ function useRoutes(path: string): RouteReturnType[] {
},
{
key: "Datasource Create and Active",
- component: isAppSidebarEnabled
- ? CreateNewDatasourceTab
- : IntegrationEditor,
+ component: CreateNewDatasourceTab,
exact: true,
path: `${path}${INTEGRATION_EDITOR_PATH}`,
},
@@ -159,9 +154,7 @@ function useRoutes(path: string): RouteReturnType[] {
},
{
key: "Datasource Create and Active",
- component: isAppSidebarEnabled
- ? CreateNewDatasourceTab
- : IntegrationEditor,
+ component: CreateNewDatasourceTab,
exact: true,
path: `${path}${INTEGRATION_EDITOR_PATH}`,
},
diff --git a/app/client/src/ce/pages/Editor/routes.tsx b/app/client/src/ce/pages/Editor/routes.tsx
index f40b56e73b9f..e4b83864b890 100644
--- a/app/client/src/ce/pages/Editor/routes.tsx
+++ b/app/client/src/ce/pages/Editor/routes.tsx
@@ -2,7 +2,6 @@ import React, { useEffect } from "react";
import { Route, Switch } from "react-router-dom";
import { useLocation, useRouteMatch } from "react-router";
import ApiEditor from "pages/Editor/APIEditor";
-import IntegrationEditor from "pages/Editor/IntegrationEditor";
import QueryEditor from "pages/Editor/QueryEditor";
import JSEditor from "pages/Editor/JSEditor";
import GeneratePage from "pages/Editor/GeneratePage";
@@ -23,15 +22,13 @@ import { SaaSEditorRoutes } from "pages/Editor/SaaSEditor/routes";
import OnboardingChecklist from "pages/Editor/FirstTimeUserOnboarding/Checklist";
import { DatasourceEditorRoutes } from "pages/routes";
import CurlImportEditor from "pages/Editor/APIEditor/CurlImportEditor";
-import CreateNewDatasourceTab from "../../../pages/Editor/IntegrationEditor/CreateNewDatasourceTab";
-import { useIsAppSidebarEnabled } from "../../../navigation/featureFlagHooks";
+import CreateNewDatasourceTab from "pages/Editor/IntegrationEditor/CreateNewDatasourceTab";
const SentryRoute = Sentry.withSentryRouting(Route);
function EditorRoutes() {
const { path } = useRouteMatch();
const { pathname } = useLocation();
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
useEffect(() => {
return () => {
@@ -45,9 +42,7 @@ function EditorRoutes() {
return (
<Switch key={path}>
<SentryRoute
- component={
- isAppSidebarEnabled ? CreateNewDatasourceTab : IntegrationEditor
- }
+ component={CreateNewDatasourceTab}
exact
path={`${path}${INTEGRATION_EDITOR_PATH}`}
/>
diff --git a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
index d4e614ce43ba..c2bc512f7c28 100644
--- a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
+++ b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
@@ -13,13 +13,9 @@ import { useDispatch, useSelector } from "react-redux";
import PerformanceTracker, {
PerformanceTransactionName,
} from "utils/PerformanceTracker";
-import {
- setExplorerActiveAction,
- updateExplorerWidthAction,
-} from "actions/explorerActions";
+import { updateExplorerWidthAction } from "actions/explorerActions";
import {
getExplorerActive,
- getExplorerPinned,
getExplorerWidth,
} from "selectors/explorerSelector";
import { tailwindLayers } from "constants/Layers";
@@ -27,12 +23,9 @@ import { Tooltip } from "design-system";
import useHorizontalResize from "utils/hooks/useHorizontalResize";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
import { SIDEBAR_ID } from "constants/Explorer";
-import { EntityClassNames } from "pages/Editor/Explorer/Entity";
-import { getEditingEntityName } from "@appsmith/selectors/entitiesSelector";
import styled from "styled-components";
import moment from "moment";
import AnalyticsUtil from "../../utils/AnalyticsUtil";
-import { useIsAppSidebarEnabled } from "../../navigation/featureFlagHooks";
const StyledResizer = styled.div<{ resizing: boolean }>`
${(props) =>
@@ -59,8 +52,6 @@ export const EntityExplorerSidebar = memo(({ children }: Props) => {
const width = useSelector(getExplorerWidth);
const active = useSelector(getExplorerActive);
const sidebarRef = useRef<HTMLDivElement>(null);
- const pinned = useSelector(getExplorerPinned);
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
/**
* on entity explorer sidebar width change
@@ -82,82 +73,11 @@ export const EntityExplorerSidebar = memo(({ children }: Props) => {
const resizer = useHorizontalResize(sidebarRef, onWidthChange, onDragEnd);
const [tooltipIsOpen, setTooltipIsOpen] = useState(false);
- const isEditingEntityName = useSelector(getEditingEntityName);
PerformanceTracker.startTracking(PerformanceTransactionName.SIDE_BAR_MOUNT);
useEffect(() => {
PerformanceTracker.stopTracking();
});
- // registering event listeners
- useEffect(() => {
- document.addEventListener("mousemove", onMouseMove);
-
- return () => {
- document.removeEventListener("mousemove", onMouseMove);
- };
- }, [active, pinned, resizer.resizing, isEditingEntityName]);
-
- /**
- * passing the event to touch move on mouse move
- *
- * @param event
- */
- const onMouseMove = (event: MouseEvent) => {
- const eventWithTouches = Object.assign({}, event, {
- touches: [{ clientX: event.clientX, clientY: event.clientY }],
- });
- onTouchMove(eventWithTouches);
- };
-
- /**
- * Is a context menu of any of the explorer entities open
- */
- const isContextMenuOpen = () => {
- const menus = document.getElementsByClassName(
- EntityClassNames.CONTEXT_MENU_CONTENT,
- );
- const node = menus[0];
- if (!document.body.contains(node)) {
- return false;
- }
-
- return true;
- };
-
- /**
- * calculate the new width based on the pixel moved
- *
- * @param event
- */
- const onTouchMove = (
- event:
- | TouchEvent
- | (MouseEvent & { touches: { clientX: number; clientY: number }[] }),
- ) => {
- const currentX = event.touches[0].clientX;
-
- // only calculate the following in unpin mode
- if (!pinned) {
- if (active) {
- // if user cursor is out of the entity explorer width ( with some extra window = 20px ), make the
- // entity explorer inactive. Also, 20px here is to increase the window in which a user can drag the resizer
- if (
- currentX >= width + 20 &&
- !resizer.resizing &&
- !isContextMenuOpen() &&
- !isEditingEntityName
- ) {
- dispatch(setExplorerActiveAction(false));
- }
- } else {
- // check if user cursor is at extreme left when the explorer is inactive, if yes, make the explorer active
- if (currentX <= 20) {
- dispatch(setExplorerActiveAction(true));
- }
- }
- }
- };
-
/**
* on hover of resizer, show tooltip
*/
@@ -179,15 +99,15 @@ export const EntityExplorerSidebar = memo(({ children }: Props) => {
* resizer left position
*/
const resizerLeft = useMemo(() => {
- return !pinned && !active ? 0 : width;
- }, [pinned, active, width]);
+ return !active ? 0 : width;
+ }, [active, width]);
useEffect(() => {
dispatch({
type: ReduxActionTypes.SET_ENTITY_INFO,
payload: { show: false },
});
- }, [resizerLeft, pinned]);
+ }, [resizerLeft]);
const [hoverStartTime, setHoverStartTime] = useState(0);
@@ -206,13 +126,9 @@ export const EntityExplorerSidebar = memo(({ children }: Props) => {
return (
<div
className={classNames({
- "js-entity-explorer t--entity-explorer transition-transform transform flex h-full duration-400":
+ "js-entity-explorer t--entity-explorer transition-transform transform flex h-full duration-400 relative":
true,
- "border-r": !isAppSidebarEnabled,
- relative: pinned,
- "-translate-x-80": !pinned && !active,
- "shadow-xl": !pinned,
- fixed: !pinned,
+ "-translate-x-80": !active,
})}
data-testid={active ? "sidebar-active" : "sidebar"}
id={SIDEBAR_ID}
diff --git a/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx b/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
index 406a9046e377..2303ff737c3e 100644
--- a/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
+++ b/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
@@ -15,9 +15,6 @@ import { getIsDraggingForSelection } from "selectors/canvasSelectors";
import MultiSelectPropertyPane from "pages/Editor/MultiSelectPropertyPane";
import { getIsDraggingOrResizing } from "selectors/widgetSelectors";
import { selectedWidgetsPresentInCanvas } from "selectors/propertyPaneSelectors";
-import { getIsAppSettingsPaneOpen } from "selectors/appSettingsPaneSelectors";
-import AppSettingsPane from "pages/Editor/AppSettingsPane";
-import { APP_SETTINGS_PANE_WIDTH } from "constants/AppConstants";
import styled from "styled-components";
import WalkthroughContext from "components/featureWalkthrough/walkthroughContext";
import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants";
@@ -54,7 +51,6 @@ export const PropertyPaneSidebar = memo((props: Props) => {
const selectedWidgetIds = useSelector(getSelectedWidgets);
const isDraggingOrResizing = useSelector(getIsDraggingOrResizing);
- const isAppSettingsPaneOpen = useSelector(getIsAppSettingsPaneOpen);
const { isOpened: isWalkthroughOpened, popFeature } =
useContext(WalkthroughContext) || {};
//while dragging or resizing and
@@ -86,7 +82,6 @@ export const PropertyPaneSidebar = memo((props: Props) => {
/**
* renders the property pane:
- * 1. if isAppSettingsPaneOpen -> AppSettingsPane
* 2. if no widget is selected -> CanvasPropertyPane
* 3. if more than one widget is selected -> MultiWidgetPropertyPane
* 4. if user is dragging for selection -> CanvasPropertyPane
@@ -94,8 +89,6 @@ export const PropertyPaneSidebar = memo((props: Props) => {
*/
const propertyPane = useMemo(() => {
switch (true) {
- case isAppSettingsPaneOpen:
- return <AppSettingsPane />;
case selectedWidgetsLength > 1:
return <MultiSelectPropertyPane />;
case selectedWidgetsLength === 1:
@@ -107,7 +100,6 @@ export const PropertyPaneSidebar = memo((props: Props) => {
return <CanvasPropertyPane />;
}
}, [
- isAppSettingsPaneOpen,
selectedWidgetsLength,
isDraggingForSelection,
shouldNotRenderPane,
@@ -138,33 +130,26 @@ export const PropertyPaneSidebar = memo((props: Props) => {
ref={sidebarRef}
>
{/* RESIZER */}
- {!isAppSettingsPaneOpen && (
- <StyledResizer
- className={`absolute top-0 left-0 w-2 h-full -ml-1 group cursor-ew-resize ${tailwindLayers.resizer}`}
- onMouseDown={onMouseDown}
- onTouchEnd={onMouseUp}
- onTouchStart={onTouchStart}
- resizing={resizing}
- >
- <div
- className={classNames({
- "w-1 h-full bg-transparent transform transition flex items-center":
- true,
- })}
- />
- </StyledResizer>
- )}
+ <StyledResizer
+ className={`absolute top-0 left-0 w-2 h-full -ml-1 group cursor-ew-resize ${tailwindLayers.resizer}`}
+ onMouseDown={onMouseDown}
+ onTouchEnd={onMouseUp}
+ onTouchStart={onTouchStart}
+ resizing={resizing}
+ >
+ <div
+ className={classNames({
+ "w-1 h-full bg-transparent transform transition flex items-center":
+ true,
+ })}
+ />
+ </StyledResizer>
<div
className={classNames({
- "h-full p-0 overflow-y-auto min-w-72": true,
- "max-w-104": !isAppSettingsPaneOpen,
+ "h-full p-0 overflow-y-auto min-w-72 max-w-104": true,
"transition-all duration-100": !resizing,
})}
- style={{
- width: isAppSettingsPaneOpen
- ? APP_SETTINGS_PANE_WIDTH
- : props.width,
- }}
+ style={{ width: props.width }}
>
{propertyPane}
</div>
diff --git a/app/client/src/navigation/featureFlagHooks.ts b/app/client/src/navigation/featureFlagHooks.ts
deleted file mode 100644
index 80ec54398137..000000000000
--- a/app/client/src/navigation/featureFlagHooks.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { useFeatureFlag } from "../utils/hooks/useFeatureFlag";
-import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
-
-export const useIsAppSidebarEnabled = () => {
- const isAppSidebarEnabled = useFeatureFlag(
- FEATURE_FLAG.release_app_sidebar_enabled,
- );
-
- const isAppSidebarRolloutEnabled = useFeatureFlag(
- FEATURE_FLAG.rollout_app_sidebar_enabled,
- );
-
- return isAppSidebarEnabled || isAppSidebarRolloutEnabled;
-};
diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx
index a1492c6f2132..63e7b1df8dda 100644
--- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx
+++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx
@@ -28,10 +28,7 @@ import {
import { Colors } from "constants/Colors";
import EmbedSettings from "./EmbedSettings";
import NavigationSettings from "./NavigationSettings";
-import {
- closeAppSettingsPaneAction,
- updateAppSettingsPaneSelectedTabAction,
-} from "actions/appSettingsPaneActions";
+import { updateAppSettingsPaneSelectedTabAction } from "actions/appSettingsPaneActions";
import AnalyticsUtil from "utils/AnalyticsUtil";
import { Divider } from "design-system";
import { ImportAppSettings } from "./ImportAppSettings";
@@ -79,7 +76,7 @@ const PageSectionTitle = styled.p`
const ThemeContentWrapper = styled.div`
height: calc(100% - 48px);
- overflow-y: overlay;
+ overflow-y: scroll;
`;
function AppSettings() {
@@ -116,9 +113,13 @@ function AppSettings() {
},
}),
);
-
return () => {
- dispatch(closeAppSettingsPaneAction());
+ dispatch(
+ updateAppSettingsPaneSelectedTabAction({
+ isOpen: false,
+ context: undefined,
+ }),
+ );
};
}, [selectedTab]);
@@ -196,7 +197,7 @@ function AppSettings() {
{SectionHeadersConfig.map((config) => (
<SectionHeader key={config.name} {...config} />
))}
- <Divider />
+ <Divider orientation={"horizontal"} />
<PageSectionTitle>{PAGE_SETTINGS_SECTION_HEADER()}</PageSectionTitle>
<DraggablePageList
onPageSelect={(pageId: string) =>
diff --git a/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx b/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx
index a2ecf97a77df..9018fe871b9a 100644
--- a/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx
+++ b/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx
@@ -1,15 +1,6 @@
import React from "react";
import styled from "styled-components";
-import { closeAppSettingsPaneAction } from "actions/appSettingsPaneActions";
-import {
- APP_SETTINGS_CLOSE_TOOLTIP,
- APP_SETTINGS_PANE_HEADER,
-} from "@appsmith/constants/messages";
-import { Tooltip } from "design-system";
-import { useDispatch } from "react-redux";
-import { Button } from "design-system";
-import classNames from "classnames";
-import { useIsAppSidebarEnabled } from "../../../navigation/featureFlagHooks";
+import { APP_SETTINGS_PANE_HEADER } from "@appsmith/constants/messages";
const StyledHeader = styled.div`
height: 48px;
@@ -24,29 +15,8 @@ const StyledText = styled.div`
`;
function PaneHeader() {
- const dispatch = useDispatch();
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
-
return (
- <StyledHeader
- className={classNames({
- "flex justify-start items-center py-2.5": !isAppSidebarEnabled,
- "flex items-center py-2.5 pl-4": isAppSidebarEnabled,
- })}
- >
- {!isAppSidebarEnabled && (
- <Tooltip content={APP_SETTINGS_CLOSE_TOOLTIP()} placement="bottom">
- <Button
- className="ml-2 pr-2"
- id="t--close-app-settings-pane"
- isIconButton
- kind="tertiary"
- onClick={() => dispatch(closeAppSettingsPaneAction())}
- size="md"
- startIcon={"double-arrow-right"}
- />
- </Tooltip>
- )}
+ <StyledHeader className={"flex items-center py-2.5 pl-4"}>
<StyledText>{APP_SETTINGS_PANE_HEADER()}</StyledText>
</StyledHeader>
);
diff --git a/app/client/src/pages/Editor/AppSettingsPane/index.tsx b/app/client/src/pages/Editor/AppSettingsPane/index.tsx
index bb771761be2a..2938c98a7102 100644
--- a/app/client/src/pages/Editor/AppSettingsPane/index.tsx
+++ b/app/client/src/pages/Editor/AppSettingsPane/index.tsx
@@ -1,58 +1,11 @@
-import { closeAppSettingsPaneAction } from "actions/appSettingsPaneActions";
import React, { useRef } from "react";
-import { useDispatch } from "react-redux";
-import { useOnClickOutside } from "utils/hooks/useOnClickOutside";
import AppSettings from "./AppSettings";
import PaneHeader from "./PaneHeader";
function AppSettingsPane() {
- const dispatch = useDispatch();
const paneRef = useRef(null);
const portalRef = useRef(null);
- // Close app settings pane when clicked outside
- useOnClickOutside([paneRef, portalRef], (event) => {
- if (document.getElementById("save-theme-modal")) return;
- if (document.getElementById("delete-theme-modal")) return;
- if (document.getElementById("manual-upgrades-modal")) return;
- if (document.getElementById("confirm-fork-modal")) return;
-
- // If logo configuration navigation setting dropdown is open
- if (
- document.getElementsByClassName(
- "t--navigation-settings-logo-configuration",
- )?.[0] &&
- document.getElementsByClassName("bp3-overlay-open")?.[0]
- ) {
- return;
- }
-
- // No id property for `Dialog` component, so using class name
- if (document.querySelector(".t--import-application-modal")) {
- return;
- }
-
- // When we select a new theme font
- if (
- document
- .querySelector(".t--theme-font-dropdown")
- ?.contains(event?.target as Node)
- ) {
- return;
- }
-
- // When interacting with the save theme menu
- if (
- document
- .querySelector(".t--save-theme-menu")
- ?.contains(event?.target as Node)
- ) {
- return;
- }
-
- dispatch(closeAppSettingsPaneAction());
- });
-
return (
<div className="h-full" ref={paneRef}>
<div
diff --git a/app/client/src/pages/Editor/CanvasPropertyPane/index.tsx b/app/client/src/pages/Editor/CanvasPropertyPane/index.tsx
index 75d96ab007c3..b1820cee30e4 100644
--- a/app/client/src/pages/Editor/CanvasPropertyPane/index.tsx
+++ b/app/client/src/pages/Editor/CanvasPropertyPane/index.tsx
@@ -1,20 +1,13 @@
import * as Sentry from "@sentry/react";
import React from "react";
-import { useDispatch } from "react-redux";
-
-import { Button, Tooltip } from "design-system";
-
-import { openAppSettingsPaneAction } from "actions/appSettingsPaneActions";
import ConversionButton from "../CanvasLayoutConversion/ConversionButton";
import styled from "styled-components";
-import AnalyticsUtil from "utils/AnalyticsUtil";
import {
LayoutSystemFeatures,
useLayoutSystemFeatures,
} from "../../../layoutSystems/common/useLayoutSystemFeatures";
import { MainContainerWidthToggles } from "../MainContainerWidthToggles";
-import { useIsAppSidebarEnabled } from "../../../navigation/featureFlagHooks";
const Title = styled.p`
color: var(--ads-v2-color-fg);
@@ -23,14 +16,6 @@ const MainHeading = styled.h3`
color: var(--ads-v2-color-fg-emphasis);
`;
export function CanvasPropertyPane() {
- const dispatch = useDispatch();
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
-
- const openAppSettingsPane = () => {
- AnalyticsUtil.logEvent("APP_SETTINGS_BUTTON_CLICK");
- dispatch(openAppSettingsPaneAction());
- };
-
const checkLayoutSystemFeatures = useLayoutSystemFeatures();
const [enableLayoutControl, enableLayoutConversion] =
checkLayoutSystemFeatures([
@@ -53,27 +38,6 @@ export function CanvasPropertyPane() {
</>
)}
{enableLayoutConversion && <ConversionButton />}
- {!isAppSidebarEnabled && (
- <Tooltip
- content={
- <>
- <p className="text-center">Update your app theme, URL</p>
- <p className="text-center">and other settings</p>
- </>
- }
- placement="bottom"
- >
- <Button
- UNSAFE_width="100%"
- className="t--app-settings-cta"
- kind="secondary"
- onClick={openAppSettingsPane}
- size="md"
- >
- App settings
- </Button>
- </Tooltip>
- )}
</div>
</div>
</div>
diff --git a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
index 9b39378ebbc6..6c9b18061f31 100644
--- a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
+++ b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx
@@ -7,7 +7,6 @@ import type { ControlProps } from "components/formControls/BaseControl";
import type { Datasource } from "entities/Datasource";
import { isHidden, isKVArray } from "components/formControls/utils";
import log from "loglevel";
-import CloseEditor from "components/editorComponents/CloseEditor";
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag";
export const FormContainer = styled.div`
@@ -49,20 +48,9 @@ export class JSONtoForm<
SS = any,
> extends React.Component<JSONtoFormProps & P, S, SS> {
renderForm = (formContent: any) => {
- const { featureFlags } = this.props;
- const isSidebarEnabled =
- featureFlags?.release_app_sidebar_enabled === true ||
- featureFlags?.rollout_app_sidebar_enabled === true;
- const isPagePaneSegmentsEnabled =
- featureFlags?.release_show_new_sidebar_pages_pane_enabled;
return (
// <MainContainer>
<FormContainer className="t--json-to-form-wrapper">
- {isSidebarEnabled ||
- isPagePaneSegmentsEnabled ||
- !!this.props.isOnboardingFlow ? null : (
- <CloseEditor />
- )}
<FormContainerBody className="t--json-to-form-body">
{formContent}
</FormContainerBody>
diff --git a/app/client/src/pages/Editor/DataSourceEditor/index.tsx b/app/client/src/pages/Editor/DataSourceEditor/index.tsx
index 06d62697e68c..6892f76c36be 100644
--- a/app/client/src/pages/Editor/DataSourceEditor/index.tsx
+++ b/app/client/src/pages/Editor/DataSourceEditor/index.tsx
@@ -61,7 +61,6 @@ import SaveOrDiscardDatasourceModal from "./SaveOrDiscardDatasourceModal";
import { toast, Callout } from "design-system";
import styled from "styled-components";
-import CloseEditor from "components/editorComponents/CloseEditor";
import {
isDatasourceAuthorizedForQueryCreation,
isEnabledForPreviewData,
@@ -91,12 +90,8 @@ import { DEFAULT_ENV_ID } from "@appsmith/api/ApiUtils";
import { isStorageEnvironmentCreated } from "@appsmith/utils/Environments";
import type { CalloutKind } from "design-system";
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag";
-import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
-import {
- selectFeatureFlagCheck,
- selectFeatureFlags,
-} from "@appsmith/selectors/featureFlagsSelectors";
+import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors";
import AnalyticsUtil from "utils/AnalyticsUtil";
import { setCurrentEditingEnvironmentID } from "@appsmith/actions/environmentAction";
import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors";
@@ -107,7 +102,6 @@ import {
} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers";
import DatasourceTabs from "../DatasourceInfo/DatasorceTabs";
import DatasourceInformation, { ViewModeWrapper } from "./DatasourceSection";
-import { getIsAppSidebarEnabled } from "../../../selectors/ideSelectors";
interface ReduxStateProps {
canDeleteDatasource: boolean;
@@ -144,8 +138,6 @@ interface ReduxStateProps {
showDebugger: boolean;
featureFlags?: FeatureFlags;
isPluginAllowedToPreviewData: boolean;
- isAppSidebarEnabled: boolean;
- isPagePaneSegmentsEnabled: boolean;
isOnboardingFlow?: boolean;
}
@@ -903,12 +895,10 @@ class DatasourceEditorRouter extends React.Component<Props, State> {
datasourceId,
formData,
history,
- isAppSidebarEnabled,
isDeleting,
isInsideReconnectModal,
isNewDatasource,
isOnboardingFlow,
- isPagePaneSegmentsEnabled,
isPluginAuthorized,
isSaving,
isTesting,
@@ -962,11 +952,6 @@ class DatasourceEditorRouter extends React.Component<Props, State> {
e.preventDefault();
}}
>
- {isAppSidebarEnabled ||
- isPagePaneSegmentsEnabled ||
- !!isOnboardingFlow ? null : (
- <CloseEditor />
- )}
{!isInsideReconnectModal && (
<DSFormHeader
canDeleteDatasource={canDeleteDatasource}
@@ -1141,12 +1126,6 @@ const mapStateToProps = (state: AppState, props: any): ReduxStateProps => {
const isPluginAllowedToPreviewData =
!!plugin && isEnabledForPreviewData(datasource as Datasource, plugin);
- const isAppSidebarEnabled = getIsAppSidebarEnabled(state);
- const isPagePaneSegmentsEnabled = selectFeatureFlagCheck(
- state,
- FEATURE_FLAG.release_show_new_sidebar_pages_pane_enabled,
- );
-
return {
canDeleteDatasource,
canManageDatasource,
@@ -1181,8 +1160,6 @@ const mapStateToProps = (state: AppState, props: any): ReduxStateProps => {
defaultKeyValueArrayConfig,
initialValue,
showDebugger,
- isAppSidebarEnabled,
- isPagePaneSegmentsEnabled,
};
};
diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx
index 520142113032..b22b83010dc5 100644
--- a/app/client/src/pages/Editor/EditorHeader.tsx
+++ b/app/client/src/pages/Editor/EditorHeader.tsx
@@ -3,7 +3,6 @@ import { ThemeProvider } from "styled-components";
import AppInviteUsersForm from "pages/workspace/AppInviteUsersForm";
import AnalyticsUtil from "utils/AnalyticsUtil";
import {
- combinedPreviewModeSelector,
getCurrentApplicationId,
getCurrentPageId,
getIsPageSaving,
@@ -65,7 +64,6 @@ import {
import { viewerURL } from "@appsmith/RouteBuilder";
import { useHref } from "./utils";
import { getAppsmithConfigs } from "@appsmith/configs";
-import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors";
import type { NavigationSetting } from "constants/AppConstants";
import CommunityTemplatesPublishInfo from "./CommunityTemplates/Modals/CommunityTemplatesPublishInfo";
import PublishCommunityTemplateModal from "./CommunityTemplates/Modals/PublishCommunityTemplate";
@@ -73,14 +71,11 @@ import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import { getEmbedSnippetForm } from "@appsmith/utils/BusinessFeatures/privateEmbedHelpers";
import { HeaderSection, HeaderWrapper } from "./commons/EditorHeaderComponents";
-import { LockEntityExplorer } from "./commons/LockEntityExplorer";
import { Omnibar } from "./commons/Omnibar";
import { EditorShareButton } from "./EditorShareButton";
import { HelperBarInHeader } from "./HelpBarInHeader";
import { AppsmithLink } from "./AppsmithLink";
-import { getIsFirstTimeUserOnboardingEnabled } from "selectors/onboardingSelectors";
import { GetNavigationMenuData } from "./EditorName/NavigationMenuData";
-import { useIsAppSidebarEnabled } from "../../navigation/featureFlagHooks";
const { cloudHosting } = getAppsmithConfigs();
@@ -93,8 +88,6 @@ export function EditorHeader() {
const isGitConnected = useSelector(getIsGitConnected);
const isErroredSavingName = useSelector(getIsErroredSavingAppName);
const applicationList = useSelector(getApplicationList);
- const isPreviewMode = useSelector(combinedPreviewModeSelector);
- const signpostingEnabled = useSelector(getIsFirstTimeUserOnboardingEnabled);
const workspaceId = useSelector(getCurrentWorkspaceId);
const currentWorkspace = useSelector(getCurrentAppWorkspace);
const applicationId = useSelector(getCurrentApplicationId);
@@ -107,11 +100,6 @@ export function EditorHeader() {
const isProtectedMode = useSelector(protectedModeSelector);
const deployLink = useHref(viewerURL, { pageId });
- const isAppSettingsPaneWithNavigationTabOpen = useSelector(
- getIsAppSettingsPaneWithNavigationTabOpen,
- );
- const isPreviewingApp =
- isPreviewMode || isAppSettingsPaneWithNavigationTabOpen;
const [isPopoverOpen, setIsPopoverOpen] = useState<boolean>(false);
const [showModal, setShowModal] = useState(false);
@@ -120,10 +108,6 @@ export function EditorHeader() {
setShowPublishCommunityTemplateModal,
] = useState(false);
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
-
- const showEntityExplorerLock = !isAppSidebarEnabled && !signpostingEnabled;
-
const handlePublish = () => {
if (applicationId) {
dispatch(publishApplication(applicationId));
@@ -204,11 +188,7 @@ export function EditorHeader() {
data-testid="t--appsmith-editor-header"
>
<HeaderSection className="space-x-2">
- {showEntityExplorerLock ? (
- <LockEntityExplorer isPreviewingApp={isPreviewingApp} />
- ) : (
- <div />
- )}
+ <div />
<AppsmithLink />
diff --git a/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts b/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
index d0a87c61ffaa..af652c35ce4c 100644
--- a/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
+++ b/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
@@ -19,12 +19,9 @@ import { Colors } from "constants/Colors";
import { getCurrentApplicationId } from "selectors/editorSelectors";
import { redoAction, undoAction } from "actions/pageActions";
import { redoShortCut, undoShortCut } from "utils/helpers";
-import { openAppSettingsPaneAction } from "actions/appSettingsPaneActions";
import { toast } from "design-system";
import type { ThemeProp } from "WidgetProvider/constants";
import { DISCORD_URL, DOCS_BASE_URL } from "constants/ThirdPartyConstants";
-import { protectedModeSelector } from "selectors/gitSyncSelectors";
-import { useIsAppSidebarEnabled } from "../../../navigation/featureFlagHooks";
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
@@ -39,8 +36,6 @@ export const GetNavigationMenuData = ({
}: NavigationMenuDataProps): MenuItemData[] => {
const dispatch = useDispatch();
const history = useHistory();
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
- const isProtectedMode = useSelector(protectedModeSelector);
const applicationId = useSelector(getCurrentApplicationId);
@@ -84,8 +79,6 @@ export const GetNavigationMenuData = ({
});
};
- const openAppSettingsPane = () => dispatch(openAppSettingsPaneAction());
-
const deleteApplication = () => {
if (applicationId && applicationId.length > 0) {
dispatch({
@@ -166,12 +159,6 @@ export const GetNavigationMenuData = ({
},
],
},
- {
- text: "Settings",
- onClick: openAppSettingsPane,
- type: MenuTypes.MENU,
- isVisible: !isAppSidebarEnabled && !isProtectedMode,
- },
{
text: "Help",
type: MenuTypes.PARENT,
diff --git a/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx b/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx
index 72fdb5a1a5d9..ea4362147e36 100644
--- a/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx
+++ b/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx
@@ -146,13 +146,6 @@ describe("Entity Explorer tests", () => {
<WidgetsEditorEntityExplorer />
</MockPageDSL>,
);
- const widgetsTree: any = component.queryByText("Widgets", {
- selector: "div.t--entity-name",
- });
- act(() => {
- fireEvent.click(widgetsTree);
- jest.runAllTimers();
- });
const tabsWidget = component.queryByText(children[0].widgetName);
expect(tabsWidget).toBeTruthy();
});
@@ -178,6 +171,13 @@ describe("Entity Explorer tests", () => {
<WidgetsEditorEntityExplorer />
</MockPageDSL>,
);
+ const widgetsTree: any = component.queryByText("Widgets", {
+ selector: "div.t--entity-name",
+ });
+ act(() => {
+ fireEvent.click(widgetsTree);
+ jest.runAllTimers();
+ });
const tabsWidget: any = component.queryByText(children[0].widgetName);
act(() => {
fireEvent.click(tabsWidget);
diff --git a/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx b/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx
index 6c99756b357b..c66d8caeed9c 100644
--- a/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx
+++ b/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx
@@ -1,7 +1,6 @@
-import React, { useRef, useCallback, useEffect, useContext } from "react";
+import React, { useRef, useCallback, useEffect } from "react";
import styled from "styled-components";
import { NonIdealState, Classes } from "@blueprintjs/core";
-import JSDependencies from "./Libraries";
import PerformanceTracker, {
PerformanceTransactionName,
} from "utils/PerformanceTracker";
@@ -13,7 +12,6 @@ import { getIsFirstTimeUserOnboardingEnabled } from "selectors/onboardingSelecto
import { toggleInOnboardingWidgetSelection } from "actions/onboardingActions";
import { forceOpenWidgetPanel } from "actions/widgetSidebarActions";
-import Datasources from "./Datasources";
import Files from "./Files";
import ExplorerWidgetGroup from "./Widgets/WidgetGroup";
import { builderURL } from "@appsmith/RouteBuilder";
@@ -28,14 +26,6 @@ import { importSvg } from "design-system-old";
import AnalyticsUtil from "utils/AnalyticsUtil";
import { EntityExplorerWrapper } from "./Common/EntityExplorerWrapper";
import { getCurrentApplicationId } from "selectors/editorSelectors";
-import { INTEGRATION_TABS } from "constants/routes";
-import {
- getExplorerStatus,
- saveExplorerStatus,
-} from "@appsmith/pages/Editor/Explorer/helpers";
-import { integrationEditorURL } from "@appsmith/RouteBuilder";
-import WalkthroughContext from "components/featureWalkthrough/walkthroughContext";
-import { useIsAppSidebarEnabled } from "../../../navigation/featureFlagHooks";
import { FilesContextProvider } from "./Files/FilesContextProvider";
import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers";
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
@@ -100,11 +90,7 @@ function EntityExplorer({ isActive }: { isActive: boolean }) {
dispatch(fetchWorkspace(currentWorkspaceId));
}, [currentWorkspaceId]);
- const { isOpened: isWalkthroughOpened, popFeature } =
- useContext(WalkthroughContext) || {};
const applicationId = useSelector(getCurrentApplicationId);
- const isDatasourcesOpen = getExplorerStatus(applicationId, "datasource");
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
const pagePermissions = useSelector(getPagePermissions);
@@ -117,45 +103,6 @@ function EntityExplorer({ isActive }: { isActive: boolean }) {
const showWorkflows = useSelector(getShowWorkflowFeature);
- const closeWalkthrough = useCallback(() => {
- if (isWalkthroughOpened && popFeature) {
- popFeature("EXPLORER_DATASOURCE_ADD");
- }
- }, [isWalkthroughOpened, popFeature]);
-
- const addDatasource = useCallback(
- (entryPoint: string) => {
- history.push(
- integrationEditorURL({
- pageId,
- selectedTab: INTEGRATION_TABS.NEW,
- }),
- );
- // Event for datasource creation click
- AnalyticsUtil.logEvent("NAVIGATE_TO_CREATE_NEW_DATASOURCE_PAGE", {
- entryPoint,
- });
- closeWalkthrough();
- },
- [pageId, closeWalkthrough],
- );
-
- const listDatasource = useCallback(() => {
- history.push(
- integrationEditorURL({
- pageId,
- selectedTab: INTEGRATION_TABS.ACTIVE,
- }),
- );
- }, [pageId]);
-
- const onDatasourcesToggle = useCallback(
- (isOpen: boolean) => {
- saveExplorerStatus(applicationId, "datasource", isOpen);
- },
- [applicationId],
- );
-
return (
<EntityExplorerWrapper explorerRef={explorerRef} isActive={isActive}>
<ExplorerWidgetGroup
@@ -180,19 +127,6 @@ function EntityExplorer({ isActive }: { isActive: boolean }) {
title="No entities found"
/>
)}
-
- {!isAppSidebarEnabled && (
- <>
- <Datasources
- addDatasource={addDatasource}
- entityId={pageId}
- isDatasourcesOpen={isDatasourcesOpen}
- listDatasource={listDatasource}
- onDatasourcesToggle={onDatasourcesToggle}
- />
- <JSDependencies />
- </>
- )}
</EntityExplorerWrapper>
);
}
diff --git a/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx
index 369ad26c055d..039be50fd0dc 100644
--- a/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx
+++ b/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx
@@ -18,12 +18,9 @@ import {
CONTEXT_DELETE,
CONFIRM_CONTEXT_DELETE,
createMessage,
- CONTEXT_SETTINGS,
CONTEXT_PARTIAL_EXPORT,
CONTEXT_PARTIAL_IMPORT,
} from "@appsmith/constants/messages";
-import { openAppSettingsPaneAction } from "actions/appSettingsPaneActions";
-import { AppSettingsTabs } from "pages/Editor/AppSettingsPane/AppSettings";
import { getPageById } from "selectors/editorSelectors";
import {
getCurrentApplication,
@@ -65,9 +62,6 @@ export function PageContextMenu(props: {
const [showPartialExportModal, setShowPartialExportModal] = useState(false);
const [showPartialImportModal, setShowPartialImportModal] = useState(false);
const [confirmDelete, setConfirmDelete] = useState(false);
- const isAppSidebarEnabled = useFeatureFlag(
- FEATURE_FLAG.release_app_sidebar_enabled,
- );
const partialImportExportLoadingState = useSelector(
getPartialImportExportLoadingState,
@@ -151,14 +145,6 @@ export function PageContextMenu(props: {
],
);
- const openAppSettingsPane = () =>
- dispatch(
- openAppSettingsPaneAction({
- type: AppSettingsTabs.Page,
- pageId: props.pageId,
- }),
- );
-
const openPartialExportModal = () => setShowPartialExportModal(true);
const openPartialImportModal = () => setShowPartialImportModal(true);
@@ -232,11 +218,6 @@ export function PageContextMenu(props: {
onSelect: openPartialImportModal,
label: createMessage(CONTEXT_PARTIAL_IMPORT),
},
- !isAppSidebarEnabled && {
- value: "settings",
- onSelect: openAppSettingsPane,
- label: createMessage(CONTEXT_SETTINGS),
- },
!props.isDefaultPage &&
canDeletePages && {
className: "t--apiFormDeleteBtn single-select",
diff --git a/app/client/src/pages/Editor/IDE/LeftPane/index.tsx b/app/client/src/pages/Editor/IDE/LeftPane/index.tsx
index 1da4851bb493..57938bd7e23f 100644
--- a/app/client/src/pages/Editor/IDE/LeftPane/index.tsx
+++ b/app/client/src/pages/Editor/IDE/LeftPane/index.tsx
@@ -14,7 +14,6 @@ import {
import AppSettingsPane from "./AppSettings";
import DataSidePane from "./DataSidePane";
import LibrarySidePane from "./LibrarySidePane";
-import { useIsAppSidebarEnabled } from "../../../../navigation/featureFlagHooks";
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import EditorPane from "../EditorPane";
@@ -26,14 +25,10 @@ export const LeftPaneContainer = styled.div`
`;
const LeftPane = () => {
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
const isPagesPaneEnabled = useFeatureFlag(
FEATURE_FLAG.release_show_new_sidebar_pages_pane_enabled,
);
const { path } = useRouteMatch();
- if (!isAppSidebarEnabled) {
- return <WidgetsEditorEntityExplorer />;
- }
return (
<LeftPaneContainer>
<Switch>
diff --git a/app/client/src/pages/Editor/IDE/Sidebar/SidebarComponent.tsx b/app/client/src/pages/Editor/IDE/Sidebar/SidebarComponent.tsx
index 0d7065d3ca6e..9bb3618c285f 100644
--- a/app/client/src/pages/Editor/IDE/Sidebar/SidebarComponent.tsx
+++ b/app/client/src/pages/Editor/IDE/Sidebar/SidebarComponent.tsx
@@ -1,14 +1,7 @@
-import React, { useState } from "react";
+import React from "react";
import styled from "styled-components";
import SidebarButton from "./SidebarButton";
import type { SidebarButton as SidebarButtonType } from "@appsmith/entities/IDE/constants";
-import {
- AnnouncementPopover,
- AnnouncementPopoverTrigger,
- AnnouncementPopoverContent,
- Button,
-} from "design-system";
-import { useIsAppSidebarEnabled } from "navigation/featureFlagHooks";
const Container = styled.div`
width: 50px;
@@ -21,72 +14,18 @@ const Container = styled.div`
position: relative;
`;
-const DummyTrigger = styled.div`
- width: 0;
- height: 0;
- position: absolute;
- right: 0;
- top: 10%;
-`;
-
interface SidebarComponentProps {
topButtons: SidebarButtonType[];
bottomButtons: SidebarButtonType[];
appState: string;
onClick: (suffix: string) => void;
- isAppSidebarAnnouncementEnabled: boolean;
}
function SidebarComponent(props: SidebarComponentProps) {
- const {
- appState,
- bottomButtons,
- isAppSidebarAnnouncementEnabled,
- onClick,
- topButtons,
- } = props;
- const [isPopoverOpen, setIsPopoverOpen] = useState(true);
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
- const isAppSidebarAnnouncementDismissed =
- localStorage.getItem("isAppSidebarAnnouncementDismissed") === "true";
-
- const handlePopoverClose = () => {
- setIsPopoverOpen(false);
- localStorage.setItem(
- "isAppSidebarAnnouncementDismissed",
- JSON.stringify(true),
- );
- };
-
- if (!isAppSidebarEnabled) {
- return null;
- }
+ const { appState, bottomButtons, onClick, topButtons } = props;
return (
<Container className="t--sidebar" id="t--app-sidebar">
- {isAppSidebarAnnouncementEnabled &&
- !isAppSidebarAnnouncementDismissed && (
- <AnnouncementPopover open={isPopoverOpen}>
- <AnnouncementPopoverTrigger>
- <DummyTrigger className="sidebar-popover-trigger" />
- </AnnouncementPopoverTrigger>
- <AnnouncementPopoverContent
- align="center"
- arrowFillColor="#F6F2FA"
- banner="https://assets.appsmith.com/new-sidebar-banner.svg"
- collisionPadding={{ top: 20 }}
- description="Navigate faster through datasources, pages, and app settings."
- footer={
- <Button kind="primary" onClick={handlePopoverClose} size="md">
- Got it
- </Button>
- }
- onCloseButtonClick={handlePopoverClose}
- side="right"
- title="App-level items have a new home!"
- />
- </AnnouncementPopover>
- )}
<div>
{topButtons.map((b) => (
<SidebarButton
diff --git a/app/client/src/pages/Editor/IDE/Sidebar/index.tsx b/app/client/src/pages/Editor/IDE/Sidebar/index.tsx
index 842e7fd445b0..35968c3099e4 100644
--- a/app/client/src/pages/Editor/IDE/Sidebar/index.tsx
+++ b/app/client/src/pages/Editor/IDE/Sidebar/index.tsx
@@ -1,5 +1,4 @@
import React, { useCallback, useEffect } from "react";
-import { getIsAppSidebarAnnouncementEnabled } from "selectors/ideSelectors";
import { useSelector, useDispatch } from "react-redux";
import { builderURL } from "@appsmith/RouteBuilder";
import { getCurrentPageId } from "selectors/editorSelectors";
@@ -13,9 +12,6 @@ import { BottomButtons, TopButtons } from "@appsmith/entities/IDE/constants";
function Sidebar() {
const dispatch = useDispatch();
const appState = useCurrentAppState();
- const isAppSidebarAnnouncementEnabled = useSelector(
- getIsAppSidebarAnnouncementEnabled,
- );
const pageId = useSelector(getCurrentPageId);
const currentWorkspaceId = useSelector(getCurrentWorkspaceId);
@@ -43,7 +39,6 @@ function Sidebar() {
<SidebarComponent
appState={appState}
bottomButtons={BottomButtons}
- isAppSidebarAnnouncementEnabled={isAppSidebarAnnouncementEnabled}
onClick={onClick}
topButtons={TopButtons}
/>
diff --git a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
index 6b030714d10f..66c3bd5ef3a2 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
@@ -25,8 +25,6 @@ import NewQueryScreen from "./NewQuery";
import { isAirgapped } from "@appsmith/utils/airgapHelpers";
import history from "utils/history";
import { showDebuggerFlag } from "../../../selectors/debuggerSelectors";
-import classNames from "classnames";
-import { getIsAppSidebarEnabled } from "../../../selectors/ideSelectors";
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import {
createMessage,
@@ -241,7 +239,6 @@ interface CreateNewDatasourceScreenProps {
canCreateDatasource?: boolean;
showDebugger: boolean;
pageId: string;
- isAppSidebarEnabled: boolean;
isEnabledForCreateNew: boolean;
isOnboardingScreen?: boolean;
}
@@ -273,7 +270,6 @@ class CreateNewDatasourceTab extends React.Component<
const {
canCreateDatasource = false,
dataSources,
- isAppSidebarEnabled,
isCreating,
isEnabledForCreateNew,
isOnboardingScreen,
@@ -288,12 +284,7 @@ class CreateNewDatasourceTab extends React.Component<
/>
) : null;
return (
- <NewIntegrationsContainer
- className={classNames({
- "p-4": isAppSidebarEnabled,
- })}
- id="new-integrations-wrapper"
- >
+ <NewIntegrationsContainer className="p-4" id="new-integrations-wrapper">
{dataSources.length === 0 && <AddDatasourceSecurely />}
{dataSources.length === 0 && this.props.mockDatasources.length > 0 && (
<>
@@ -384,7 +375,6 @@ const mapStateToProps = (state: AppState) => {
const isEnabledForCreateNew =
!!featureFlags[FEATURE_FLAG.ab_create_new_apps_enabled];
- const isAppSidebarEnabled = getIsAppSidebarEnabled(state);
return {
dataSources: getDatasources(state),
mockDatasources: getMockDatasources(state),
@@ -393,7 +383,6 @@ const mapStateToProps = (state: AppState) => {
canCreateDatasource,
showDebugger,
pageId,
- isAppSidebarEnabled,
isEnabledForCreateNew,
};
};
diff --git a/app/client/src/pages/Editor/WidgetsEditor/NavigationPreview.tsx b/app/client/src/pages/Editor/WidgetsEditor/NavigationPreview.tsx
index 524200ef18ae..0dbc32d63a44 100644
--- a/app/client/src/pages/Editor/WidgetsEditor/NavigationPreview.tsx
+++ b/app/client/src/pages/Editor/WidgetsEditor/NavigationPreview.tsx
@@ -4,13 +4,18 @@ import classNames from "classnames";
import { useSelector } from "react-redux";
import { combinedPreviewModeSelector } from "selectors/editorSelectors";
import { Navigation } from "pages/AppViewer/Navigation";
+import { useCurrentAppState } from "../IDE/hooks";
+import { EditorState } from "@appsmith/entities/IDE/constants";
+import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors";
const NavigationPreview = forwardRef(
- (
- props: { isAppSettingsPaneWithNavigationTabOpen?: boolean },
- ref: LegacyRef<HTMLDivElement> | undefined,
- ) => {
- const { isAppSettingsPaneWithNavigationTabOpen } = props;
+ (props: unknown, ref: LegacyRef<HTMLDivElement> | undefined) => {
+ const isNavigationSelectedInSettings = useSelector(
+ getIsAppSettingsPaneWithNavigationTabOpen,
+ );
+ const appState = useCurrentAppState();
+ const isAppSettingsPaneWithNavigationTabOpen =
+ appState === EditorState.SETTINGS && isNavigationSelectedInSettings;
const isPreviewMode = useSelector(combinedPreviewModeSelector);
return (
diff --git a/app/client/src/pages/Editor/WidgetsEditor/index.tsx b/app/client/src/pages/Editor/WidgetsEditor/index.tsx
index 1558987e37a5..87c6fbe8e5e5 100644
--- a/app/client/src/pages/Editor/WidgetsEditor/index.tsx
+++ b/app/client/src/pages/Editor/WidgetsEditor/index.tsx
@@ -51,6 +51,8 @@ import {
} from "layoutSystems/common/useLayoutSystemFeatures";
import OverlayCanvasContainer from "layoutSystems/common/WidgetNamesCanvas";
import { protectedModeSelector } from "selectors/gitSyncSelectors";
+import { useCurrentAppState } from "pages/Editor/IDE/hooks";
+import { EditorState } from "@appsmith/entities/IDE/constants";
const BannerWrapper = styled.div`
z-index: calc(var(--on-canvas-ui-z-index) + 1);
@@ -72,9 +74,12 @@ function WidgetsEditor() {
const appSettingsPaneContext = useSelector(getAppSettingsPaneContext);
const navigationPreviewRef = useRef(null);
const [navigationHeight, setNavigationHeight] = useState(0);
- const isAppSettingsPaneWithNavigationTabOpen = useSelector(
+ const isNavigationSelectedInSettings = useSelector(
getIsAppSettingsPaneWithNavigationTabOpen,
);
+ const appState = useCurrentAppState();
+ const isAppSettingsPaneWithNavigationTabOpen =
+ appState === EditorState.SETTINGS && isNavigationSelectedInSettings;
const canvasWidth = useSelector(getCanvasWidth);
const appMode = useSelector(getAppMode);
@@ -172,14 +177,7 @@ function WidgetsEditor() {
const showNavigation = () => {
if (isPreviewingNavigation) {
- return (
- <NavigationPreview
- isAppSettingsPaneWithNavigationTabOpen={
- isAppSettingsPaneWithNavigationTabOpen
- }
- ref={navigationPreviewRef}
- />
- );
+ return <NavigationPreview ref={navigationPreviewRef} />;
}
};
diff --git a/app/client/src/selectors/appSettingsPaneSelectors.tsx b/app/client/src/selectors/appSettingsPaneSelectors.tsx
index bf1008d73074..19dac8840e85 100644
--- a/app/client/src/selectors/appSettingsPaneSelectors.tsx
+++ b/app/client/src/selectors/appSettingsPaneSelectors.tsx
@@ -2,23 +2,9 @@ import { AppSettingsTabs } from "pages/Editor/AppSettingsPane/AppSettings";
import type { AppState } from "@appsmith/reducers";
import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer";
import { createSelector } from "reselect";
-import { getIsAppSidebarEnabled } from "./ideSelectors";
export const getAppSettingsPane = (state: AppState) => state.ui.appSettingsPane;
-export const getIsAppSettingsPaneOpen = createSelector(
- getAppSettingsPane,
- getIsAppSidebarEnabled,
- (
- appSettingsPane: AppSettingsPaneReduxState,
- isAppSidebarEnabled: boolean,
- ) => {
- // When sidebar is enabled we depend only on the url
- if (isAppSidebarEnabled) return false;
- return appSettingsPane.isOpen;
- },
-);
-
export const getAppSettingsPaneContext = createSelector(
getAppSettingsPane,
(appSettingsPane: AppSettingsPaneReduxState) => appSettingsPane.context,
diff --git a/app/client/src/selectors/ideSelectors.tsx b/app/client/src/selectors/ideSelectors.tsx
index 11fc5e67b7bf..ed97b66ded3f 100644
--- a/app/client/src/selectors/ideSelectors.tsx
+++ b/app/client/src/selectors/ideSelectors.tsx
@@ -4,17 +4,6 @@ import type { AppState } from "@appsmith/reducers";
import { getPageActions } from "@appsmith/selectors/entitiesSelector";
import { EditorEntityTab } from "@appsmith/entities/IDE/constants";
-export const getIsAppSidebarEnabled = createSelector(
- selectFeatureFlags,
- (flags) =>
- !!flags?.release_app_sidebar_enabled || flags?.rollout_app_sidebar_enabled,
-);
-
-export const getIsAppSidebarAnnouncementEnabled = createSelector(
- selectFeatureFlags,
- (flags) => !!flags?.release_show_new_sidebar_announcement_enabled,
-);
-
export const getIsSideBySideEnabled = createSelector(
selectFeatureFlags,
(flags) => flags.release_side_by_side_ide_enabled,
diff --git a/app/client/src/utils/hooks/useDynamicAppLayout.tsx b/app/client/src/utils/hooks/useDynamicAppLayout.tsx
index a64a07d6530b..4b73ab520cdb 100644
--- a/app/client/src/utils/hooks/useDynamicAppLayout.tsx
+++ b/app/client/src/utils/hooks/useDynamicAppLayout.tsx
@@ -4,10 +4,7 @@ import { useDispatch, useSelector } from "react-redux";
import { updateLayoutForMobileBreakpointAction } from "actions/autoLayoutActions";
import { updateCanvasLayoutAction } from "actions/editorActions";
-import {
- APP_SETTINGS_PANE_WIDTH,
- APP_SIDEBAR_WIDTH,
-} from "constants/AppConstants";
+import { APP_SIDEBAR_WIDTH } from "constants/AppConstants";
import {
DefaultLayoutType,
layoutConfigurations,
@@ -22,15 +19,9 @@ import {
getMainCanvasProps,
} from "selectors/editorSelectors";
import { getAppMode } from "@appsmith/selectors/entitiesSelector";
-import {
- getExplorerPinned,
- getExplorerWidth,
-} from "selectors/explorerSelector";
+import { getExplorerWidth } from "selectors/explorerSelector";
import { getIsCanvasInitialized } from "selectors/mainCanvasSelectors";
-import {
- getIsAppSettingsPaneOpen,
- getIsAppSettingsPaneWithNavigationTabOpen,
-} from "selectors/appSettingsPaneSelectors";
+import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors";
import {
getAppSidebarPinned,
getCurrentApplication,
@@ -45,7 +36,6 @@ import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
import { useLocation } from "react-router";
import { CANVAS_VIEWPORT } from "constants/componentClassNameConstants";
import { getLayoutSystemType } from "selectors/layoutSystemSelectors";
-import { useIsAppSidebarEnabled } from "../../navigation/featureFlagHooks";
import { getIDEViewMode } from "selectors/ideSelectors";
import {
EditorEntityTab,
@@ -60,7 +50,6 @@ export const useDynamicAppLayout = () => {
const dispatch = useDispatch();
const explorerWidth = useSelector(getExplorerWidth);
const propertyPaneWidth = useSelector(getPropertyPaneWidth);
- const isExplorerPinned = useSelector(getExplorerPinned);
const appMode: APP_MODE | undefined = useSelector(getAppMode);
const { width: screenWidth } = useWindowSizeHooks();
const mainCanvasProps = useSelector(getMainCanvasProps);
@@ -68,7 +57,6 @@ export const useDynamicAppLayout = () => {
const currentPageId = useSelector(getCurrentPageId);
const isCanvasInitialized = useSelector(getIsCanvasInitialized);
const appLayout = useSelector(getCurrentApplicationLayout);
- const isAppSettingsPaneOpen = useSelector(getIsAppSettingsPaneOpen);
const layoutSystemType = useSelector(getLayoutSystemType);
const isAppSidebarPinned = useSelector(getAppSidebarPinned);
const sidebarWidth = useSelector(getSidebarWidth);
@@ -85,7 +73,6 @@ export const useDynamicAppLayout = () => {
const queryParams = new URLSearchParams(search);
const isEmbed = queryParams.get("embed");
const isNavbarVisibleInEmbeddedApp = queryParams.get("navbar");
- const isAppSidebarEnabled = useIsAppSidebarEnabled();
const editorMode = useSelector(getIDEViewMode);
const { segment } = useCurrentEditorState();
@@ -142,33 +129,16 @@ export const useDynamicAppLayout = () => {
layoutSystemType === LayoutSystemTypes.AUTO ? 0 : GUTTER_WIDTH;
// if preview mode is not on and the app setting pane is not opened, we need to subtract the width of the property pane
- if (
- isPreviewing === false &&
- !isAppSettingsPaneOpen &&
- appMode === APP_MODE.EDIT
- ) {
+ if (!isPreviewing && appMode === APP_MODE.EDIT) {
calculatedWidth -= propertyPaneWidth;
}
- // if app setting pane is open, we need to subtract the width of app setting page width
- if (
- isAppSettingsPaneOpen === true &&
- appMode === APP_MODE.EDIT &&
- !isAppSidebarEnabled
- ) {
- calculatedWidth -= APP_SETTINGS_PANE_WIDTH;
- }
-
// if explorer is closed or its preview mode, we don't need to subtract the EE width
- if (
- isExplorerPinned === true &&
- !isPreviewing &&
- appMode === APP_MODE.EDIT
- ) {
+ if (!isPreviewing && appMode === APP_MODE.EDIT) {
calculatedWidth -= explorerWidth;
}
- if (appMode === APP_MODE.EDIT && isAppSidebarEnabled) {
+ if (appMode === APP_MODE.EDIT) {
calculatedWidth -= APP_SIDEBAR_WIDTH;
}
@@ -323,9 +293,7 @@ export const useDynamicAppLayout = () => {
explorerWidth,
sidebarWidth,
propertyPaneWidth,
- isExplorerPinned,
propertyPaneWidth,
- isAppSettingsPaneOpen,
isAppSidebarPinned,
currentApplicationDetails?.applicationDetail?.navigationSetting
?.orientation,
|
edea8ef0945eeb94e03430a62888ec494cfac99a
|
2023-09-19 09:09:29
|
Shrikant Sharat Kandula
|
chore(deps): Upgrade graphql-java version to gev fix for CVE-2023-2976 (#27400)
| false
|
Upgrade graphql-java version to gev fix for CVE-2023-2976 (#27400)
|
chore
|
diff --git a/app/server/appsmith-plugins/graphqlPlugin/pom.xml b/app/server/appsmith-plugins/graphqlPlugin/pom.xml
index 06bbe4b95c28..b8eae32f0c71 100644
--- a/app/server/appsmith-plugins/graphqlPlugin/pom.xml
+++ b/app/server/appsmith-plugins/graphqlPlugin/pom.xml
@@ -92,7 +92,7 @@
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
- <version>20.1</version>
+ <version>21.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
diff --git a/app/server/appsmith-server/pom.xml b/app/server/appsmith-server/pom.xml
index a7904e6feb4a..a1a8ae5efe59 100644
--- a/app/server/appsmith-server/pom.xml
+++ b/app/server/appsmith-server/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
- <version>20.1</version>
+ <version>21.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
|
9e55ca9ff0bf61480cc8191862f2123d8555acfc
|
2021-10-26 14:01:27
|
Anand Srinivasan
|
fix: table widget design (#8426)
| false
|
table widget design (#8426)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/DisplayWidgets/Table_PropertyPane_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/DisplayWidgets/Table_PropertyPane_spec.js
index 9d8629470c78..7c6bdf8782cf 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/DisplayWidgets/Table_PropertyPane_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/DisplayWidgets/Table_PropertyPane_spec.js
@@ -290,7 +290,7 @@ describe("Table Widget property pane feature validation", function() {
cy.get(widgetsPage.selectedRow).should(
"have.css",
"background-color",
- "rgba(106, 134, 206, 0.1)",
+ "rgb(236, 249, 243)",
);
cy.get(publish.backToEditor).click();
});
diff --git a/app/client/src/assets/icons/widget/table/checkbox-check.svg b/app/client/src/assets/icons/widget/table/checkbox-check.svg
new file mode 100644
index 000000000000..ff870bfb5347
--- /dev/null
+++ b/app/client/src/assets/icons/widget/table/checkbox-check.svg
@@ -0,0 +1,4 @@
+<svg fill="none" height="10" width="10">
+ <path d="M8.10387 0.500001L9 1.40822L3.48269 7L0.5 3.97705L1.39613 3.06883L3.48269 5.18305L8.10387 0.500001Z"
+ fill="white" transform="translate(0.5,1.5)" />
+</svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/table/checkbox-line.svg b/app/client/src/assets/icons/widget/table/checkbox-line.svg
new file mode 100644
index 000000000000..96757ad3fb22
--- /dev/null
+++ b/app/client/src/assets/icons/widget/table/checkbox-line.svg
@@ -0,0 +1,4 @@
+<svg fill="none" height="10" width="10">
+ <path d="M0.0820312 0.583313L5.91537 0.583313L5.91537 1.41665L0.0820312 1.41665L0.0820312 0.583313Z" fill="white"
+ transform="translate(2, 4.5)" />
+</svg>
\ No newline at end of file
diff --git a/app/client/src/components/ads/Dropdown.tsx b/app/client/src/components/ads/Dropdown.tsx
index d3d7111b75f7..69b67ccf11ea 100644
--- a/app/client/src/components/ads/Dropdown.tsx
+++ b/app/client/src/components/ads/Dropdown.tsx
@@ -205,10 +205,10 @@ export const DropdownWrapper = styled.div<{
background-color: ${(props) => props.theme.colors.dropdown.menu.bg};
border: 1px solid ${(props) => props.theme.colors.dropdown.menu.border};
padding: ${(props) => props.theme.spaces[3]}px 0;
- .dropdown-search {
- margin: 4px 12px 8px;
- width: calc(100% - 24px);
- }
+`;
+
+const SearchComponentWrapper = styled.div`
+ margin: 0px 5px;
`;
const DropdownOptionsWrapper = styled.div<{
@@ -488,12 +488,13 @@ export function RenderDropdownOptions(props: DropdownOptionsProps) {
width={optionWidth}
>
{props.enableSearch && (
- <SearchComponent
- className="dropdown-search"
- onSearch={onOptionSearch}
- placeholder={props.searchPlaceholder || ""}
- value={searchValue}
- />
+ <SearchComponentWrapper>
+ <SearchComponent
+ onSearch={onOptionSearch}
+ placeholder={props.searchPlaceholder || ""}
+ value={searchValue}
+ />
+ </SearchComponentWrapper>
)}
{props.headerLabel && <HeaderWrapper>{props.headerLabel}</HeaderWrapper>}
<DropdownOptionsWrapper
diff --git a/app/client/src/components/designSystems/appsmith/SearchComponent.tsx b/app/client/src/components/designSystems/appsmith/SearchComponent.tsx
index f680cee7979b..19e929994b4e 100644
--- a/app/client/src/components/designSystems/appsmith/SearchComponent.tsx
+++ b/app/client/src/components/designSystems/appsmith/SearchComponent.tsx
@@ -3,6 +3,7 @@ import styled from "styled-components";
import { InputGroup } from "@blueprintjs/core";
import { debounce } from "lodash";
import { Colors } from "constants/Colors";
+import { ReactComponent as CrossIcon } from "assets/icons/ads/cross.svg";
interface SearchProps {
onSearch: (value: any) => void;
@@ -11,20 +12,63 @@ interface SearchProps {
className?: string;
}
-const SearchInputWrapper = styled(InputGroup)`
- &&& input {
- box-shadow: none;
- font-size: 12px;
- color: ${Colors.SILVER_CHALICE};
+const SearchComponentWrapper = styled.div`
+ position: relative;
+ width: 100%;
+`;
+
+const CrossIconWrapper = styled.div`
+ width: 20px;
+ height: 20px;
+ position: absolute;
+ cursor: pointer;
+ top: 5px;
+ right: 5px;
+ .cross-icon {
+ width: 10px;
+ height: 10px;
+ position: absolute;
+ top: 5px;
+ left: 5px;
}
- &&& svg {
- path {
- fill: ${Colors.SILVER_CHALICE};
+`;
+
+// Firefox doesn't have a default search cancel button
+const HideDefaultSearchCancelIcon = `
+ // chrome, safari
+ input[type="search"]::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+ }
+
+ // MS-edge
+ input[type="search"]::-ms-clear {
+ appearance: none;
+ }
+`;
+
+const SearchInputWrapper = styled(InputGroup)`
+ &&& {
+ input {
+ border-radius: 0;
+ box-shadow: none;
+ font-size: 12px;
+ color: ${Colors.GREY_10};
+ }
+ input:focus {
+ border: 1.2px solid ${Colors.FERN_GREEN};
+ box-sizing: border-box;
+ }
+ input:active {
+ box-shadow: 0px 0px 0px 3px ${Colors.JAGGED_ICE};
+ }
+ ${HideDefaultSearchCancelIcon}
+ svg {
+ path {
+ fill: ${Colors.GREY_7};
+ }
}
}
- margin: 5px 16px;
- width: 250px;
- min-width: 150px;
+ width: 100%;
`;
class SearchComponent extends React.Component<
@@ -54,16 +98,29 @@ class SearchComponent extends React.Component<
this.setState({ localValue: search });
this.onDebouncedSearch(search);
};
+
+ clearSearch = () => {
+ this.setState({ localValue: "" });
+ this.onDebouncedSearch("");
+ };
+
render() {
return (
- <SearchInputWrapper
- className={`${this.props.className} t--search-input`}
- leftIcon="search"
- onChange={this.handleSearch}
- placeholder={this.props.placeholder}
- type="search"
- value={this.state.localValue}
- />
+ <SearchComponentWrapper>
+ <SearchInputWrapper
+ className={`${this.props.className} t--search-input`}
+ leftIcon="search"
+ onChange={this.handleSearch}
+ placeholder={this.props.placeholder}
+ type="search"
+ value={this.state.localValue}
+ />
+ {this.state.localValue && (
+ <CrossIconWrapper onClick={this.clearSearch}>
+ <CrossIcon className="cross-icon" />
+ </CrossIconWrapper>
+ )}
+ </SearchComponentWrapper>
);
}
}
diff --git a/app/client/src/constants/Colors.tsx b/app/client/src/constants/Colors.tsx
index b335b999cc1e..9c0ffe4cc224 100644
--- a/app/client/src/constants/Colors.tsx
+++ b/app/client/src/constants/Colors.tsx
@@ -44,6 +44,9 @@ export const Colors = {
GREEN: "#03B365",
JUNGLE_GREEN: "#24BA91",
JUNGLE_GREEN_DARKER: "#30A481",
+ FERN_GREEN: "#50AF6C",
+ NARVIK_GREEN: "#ECF9F3",
+ JAGGED_ICE: "#CAECDC",
EUCALYPTUS: "#218358",
RED: "#B30338",
ERROR_RED: "#E22C2C",
diff --git a/app/client/src/widgets/TableWidget/component/TableHeader.tsx b/app/client/src/widgets/TableWidget/component/TableHeader.tsx
index 55f5b1dd9765..a5665a35e6a0 100644
--- a/app/client/src/widgets/TableWidget/component/TableHeader.tsx
+++ b/app/client/src/widgets/TableWidget/component/TableHeader.tsx
@@ -39,6 +39,11 @@ const PageNumberInputWrapper = styled(NumericInput)`
margin: 0 8px;
`;
+const SearchComponentWrapper = styled.div`
+ margin: 3px 10px;
+ flex: 0 0 200px;
+`;
+
function PageNumberInput(props: {
pageNo: number;
pageCount: number;
@@ -125,11 +130,13 @@ function TableHeader(props: TableHeaderProps) {
return (
<>
{props.isVisibleSearch && (
- <SearchComponent
- onSearch={props.searchTableData}
- placeholder="Search..."
- value={props.searchKey}
- />
+ <SearchComponentWrapper>
+ <SearchComponent
+ onSearch={props.searchTableData}
+ placeholder="Search..."
+ value={props.searchKey}
+ />
+ </SearchComponentWrapper>
)}
{(props.isVisibleFilters || props.isVisibleDownload) && (
<CommonFunctionsMenuWrapper tableSizes={props.tableSizes}>
diff --git a/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx b/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
index b811e8b7dbe0..4ddefc22a47e 100644
--- a/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
+++ b/app/client/src/widgets/TableWidget/component/TableStyledWrappers.tsx
@@ -61,13 +61,10 @@ export const TableWrapper = styled.div<{
cursor: ${(props) => props.triggerRowSelection && "pointer"};
background: ${Colors.WHITE};
&.selected-row {
- background: ${Colors.OPAQ_BLUE}!important;
- &:hover {
- background: ${Colors.OPAQ_BLUE};
- }
+ background: ${Colors.NARVIK_GREEN}!important;
}
&:hover {
- background: ${Colors.ATHENS_GRAY};
+ background: ${Colors.NARVIK_GREEN};
}
}
.th,
@@ -430,40 +427,36 @@ export const CellWrapper = styled.div<{
export const CellCheckboxWrapper = styled(CellWrapper)<{ isChecked?: boolean }>`
justify-content: center;
width: 40px;
- background: ${Colors.WHITE};
& > div {
- background: ${(props) => (props.isChecked ? Colors.DANUBE : "")};
+ ${(props) =>
+ props.isChecked
+ ? `
+ background: ${Colors.FERN_GREEN};
+ &:hover {
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
+ ${Colors.FERN_GREEN};
+ }
+ `
+ : `
+ border: 1px solid ${Colors.GREY_3};
+ &:hover {
+ border: 1px solid ${Colors.GREY_5};
+ }
+ `};
}
-
- ${(props) =>
- props.isChecked
- ? `
- background: #FAFAFA;
- &:hover {
- background: ${Colors.OPAQ_BLUE};
- }
- `
- : `
- &:hover {
- & > div {
- background: ${Colors.Gallery};
- }
- }
- `}
`;
export const CellCheckbox = styled.div`
- height: 15px;
- width: 15px;
- border: 0.5px solid ${Colors.GEYSER_LIGHT};
+ height: 14px;
+ width: 14px;
+ background: ${Colors.WHITE};
+ cursor: pointer;
position: relative;
.th-svg {
display: block;
position: absolute;
- left: -1px;
- top: -1px;
- height: 15px;
- width: 15px;
+ left: 2px;
+ top: 2px;
}
`;
diff --git a/app/client/src/widgets/TableWidget/component/TableUtilities.tsx b/app/client/src/widgets/TableWidget/component/TableUtilities.tsx
index 612058c6eb1e..9f56822fe5f7 100644
--- a/app/client/src/widgets/TableWidget/component/TableUtilities.tsx
+++ b/app/client/src/widgets/TableWidget/component/TableUtilities.tsx
@@ -38,6 +38,9 @@ import { Select, IItemRendererProps } from "@blueprintjs/select";
import { FontStyleTypes, TextSizes } from "constants/WidgetConstants";
import { noop } from "utils/AppsmithUtils";
+import { ReactComponent as CheckBoxLineIcon } from "assets/icons/widget/table/checkbox-line.svg";
+import { ReactComponent as CheckBoxCheckIcon } from "assets/icons/widget/table/checkbox-check.svg";
+
import {
ButtonVariant,
ButtonBoxShadow,
@@ -437,46 +440,15 @@ function TableAction(props: {
);
}
-function CheckBoxLineIcon() {
- return (
- <svg
- className="th-svg t--table-multiselect-header-half-check-svg"
- fill="none"
- height="15"
- width="15"
- >
- <path
- d="M11.183673404886235,7.5 H3.81632661819458 "
- stroke="white"
- strokeLinecap="round"
- strokeLinejoin="round"
- strokeOpacity="0.9"
- />
- </svg>
- );
-}
-
-function CheckBoxCheckIcon() {
- return (
- <svg className="th-svg" fill="none" height="15" width="15">
- <path
- d="M3.523326302644791,8.068102895600848 L5.7957131234862,10.340476082148596 L11.476673358442884,4.659524027768102 "
- stroke="white"
- strokeLinecap="round"
- strokeLinejoin="round"
- strokeOpacity="0.9"
- />
- </svg>
- );
-}
-
export const renderCheckBoxCell = (isChecked: boolean) => (
<CellCheckboxWrapper
className="td t--table-multiselect"
isCellVisible
isChecked={isChecked}
>
- <CellCheckbox>{isChecked && <CheckBoxCheckIcon />}</CellCheckbox>
+ <CellCheckbox>
+ {isChecked && <CheckBoxCheckIcon className="th-svg" />}
+ </CellCheckbox>
</CellCheckboxWrapper>
);
@@ -492,8 +464,10 @@ export const renderCheckBoxHeaderCell = (
style={{ padding: "0px", justifyContent: "center" }}
>
<CellCheckbox>
- {checkState === 1 && <CheckBoxCheckIcon />}
- {checkState === 2 && <CheckBoxLineIcon />}
+ {checkState === 1 && <CheckBoxCheckIcon className="th-svg" />}
+ {checkState === 2 && (
+ <CheckBoxLineIcon className="th-svg t--table-multiselect-header-half-check-svg" />
+ )}
</CellCheckbox>
</CellCheckboxWrapper>
);
|
fbae2dc83ce78047133e7289bf628fb6ad1cddd7
|
2024-04-05 01:15:24
|
Manish Kumar
|
chore: server autocommit (#32387)
| false
|
server autocommit (#32387)
|
chore
|
diff --git a/app/server/appsmith-git/src/main/java/com/appsmith/git/constants/CommonConstants.java b/app/server/appsmith-git/src/main/java/com/appsmith/git/constants/CommonConstants.java
index 8df84c9b8efb..0f13d4d5ebb6 100644
--- a/app/server/appsmith-git/src/main/java/com/appsmith/git/constants/CommonConstants.java
+++ b/app/server/appsmith-git/src/main/java/com/appsmith/git/constants/CommonConstants.java
@@ -5,6 +5,8 @@ public class CommonConstants {
// feature)
public static Integer fileFormatVersion = 5;
public static String FILE_FORMAT_VERSION = "fileFormatVersion";
+ public static final String SERVER_SCHEMA_VERSION = "serverSchemaVersion";
+ public static final String CLIENT_SCHEMA_VERSION = "clientSchemaVersion";
public static final String CANVAS = "canvas";
diff --git a/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/ce/FileUtilsCEImpl.java b/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/ce/FileUtilsCEImpl.java
index 28656762eef9..491d44b99e31 100644
--- a/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/ce/FileUtilsCEImpl.java
+++ b/app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/ce/FileUtilsCEImpl.java
@@ -1127,4 +1127,27 @@ public static String getJsLibFileName(String uidString) {
}
return stringBuilder.toString();
}
+
+ @Override
+ public Mono<Object> reconstructMetadataFromGitRepo(
+ String workspaceId, String defaultArtifactId, String repoName, String branchName, Path baseRepoSuffix) {
+ Mono<Object> metadataMono;
+ try {
+ // instead of checking out to last branch we are first cleaning the git repo,
+ // then checking out to the desired branch
+ metadataMono = gitExecutor
+ .resetToLastCommit(baseRepoSuffix, branchName)
+ .map(isSwitched -> {
+ Path baseRepoPath =
+ Paths.get(gitServiceConfig.getGitRootPath()).resolve(baseRepoSuffix);
+ Object metadata = readFile(
+ baseRepoPath.resolve(CommonConstants.METADATA + CommonConstants.JSON_EXTENSION));
+ return metadata;
+ });
+ } catch (GitAPIException | IOException exception) {
+ metadataMono = Mono.error(exception);
+ }
+
+ return metadataMono.subscribeOn(scheduler);
+ }
}
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/git/FileInterface.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/git/FileInterface.java
index c1483019c2df..d55495108948 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/git/FileInterface.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/git/FileInterface.java
@@ -45,6 +45,19 @@ Mono<Path> saveApplicationToGitRepo(
Mono<ApplicationGitReference> reconstructApplicationReferenceFromGitRepo(
String organisationId, String defaultApplicationId, String repoName, String branchName);
+ /**
+ * This method just reconstructs the metdata of the json from git repo.
+ *
+ * @param workspaceId
+ * @param defaultApplicationId
+ * @param repoName
+ * @param branchName
+ * @param repoSuffixPath
+ * @return
+ */
+ Mono<Object> reconstructMetadataFromGitRepo(
+ String workspaceId, String defaultApplicationId, String repoName, String branchName, Path repoSuffixPath);
+
/**
* Once the user connects the existing application to a remote repo, we will initialize the repo with Readme.md -
* Url to the deployed app(view and edit mode)
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
index ae3edd388a54..7c75c923f753 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java
@@ -8,6 +8,7 @@
import com.appsmith.external.models.ArtifactGitReference;
import com.appsmith.external.models.BaseDomain;
import com.appsmith.external.models.DatasourceStorage;
+import com.appsmith.git.constants.CommonConstants;
import com.appsmith.git.helpers.FileUtilsImpl;
import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.constants.FieldName;
@@ -26,9 +27,12 @@
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.helpers.ArtifactGitFileUtils;
import com.appsmith.server.helpers.CollectionUtils;
+import com.appsmith.server.migrations.JsonSchemaVersions;
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.SessionUserService;
import com.google.gson.Gson;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import net.minidev.json.JSONObject;
@@ -54,6 +58,9 @@
import java.util.Map;
import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNestedNonNullProperties;
+import static com.appsmith.git.constants.CommonConstants.CLIENT_SCHEMA_VERSION;
+import static com.appsmith.git.constants.CommonConstants.FILE_FORMAT_VERSION;
+import static com.appsmith.git.constants.CommonConstants.SERVER_SCHEMA_VERSION;
@Slf4j
@RequiredArgsConstructor
@@ -482,4 +489,53 @@ private void setNewPagesInApplicationJson(
public Mono<Long> deleteIndexLockFile(Path path) {
return fileUtils.deleteIndexLockFile(path, INDEX_LOCK_FILE_STALE_TIME);
}
+
+ public Mono<Map<String, Integer>> reconstructMetadataFromRepo(
+ String workspaceId, String applicationId, String repoName, String branchName, Path baseRepoSuffix) {
+ return fileUtils
+ .reconstructMetadataFromGitRepo(workspaceId, applicationId, repoName, branchName, baseRepoSuffix)
+ .onErrorResume(error -> Mono.error(
+ new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "checkout", error.getMessage())))
+ .map(metadata -> {
+ Gson gson = new Gson();
+ JsonObject metadataJsonObject =
+ gson.toJsonTree(metadata, Object.class).getAsJsonObject();
+ Integer serverSchemaVersion = getServerSchemaVersion(metadataJsonObject);
+ Integer clientSchemaVersion = getClientSchemaVersion(metadataJsonObject);
+ Integer fileFormatVersion = getFileFormatVersion(metadataJsonObject);
+
+ Map<String, Integer> metadataMap = new HashMap<>();
+ metadataMap.put(SERVER_SCHEMA_VERSION, serverSchemaVersion);
+ metadataMap.put(CLIENT_SCHEMA_VERSION, clientSchemaVersion);
+ metadataMap.put(FILE_FORMAT_VERSION, fileFormatVersion);
+ return metadataMap;
+ });
+ }
+
+ private Integer getServerSchemaVersion(JsonObject metadataJsonObject) {
+ if (metadataJsonObject == null) {
+ return JsonSchemaVersions.serverVersion;
+ }
+
+ JsonElement serverSchemaVersion = metadataJsonObject.get(SERVER_SCHEMA_VERSION);
+ return serverSchemaVersion.getAsInt();
+ }
+
+ private Integer getClientSchemaVersion(JsonObject metadataJsonObject) {
+ if (metadataJsonObject == null) {
+ return JsonSchemaVersions.clientVersion;
+ }
+
+ JsonElement clientSchemaVersion = metadataJsonObject.get(CommonConstants.CLIENT_SCHEMA_VERSION);
+ return clientSchemaVersion.getAsInt();
+ }
+
+ private Integer getFileFormatVersion(JsonObject metadataJsonObject) {
+ if (metadataJsonObject == null) {
+ return 1;
+ }
+
+ JsonElement fileFormatVersion = metadataJsonObject.get(CommonConstants.FILE_FORMAT_VERSION);
+ return fileFormatVersion.getAsInt();
+ }
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java
new file mode 100644
index 000000000000..670901de55a6
--- /dev/null
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java
@@ -0,0 +1,237 @@
+package com.appsmith.server.git;
+
+import com.appsmith.external.models.ApplicationGitReference;
+import com.appsmith.server.constants.ArtifactType;
+import com.appsmith.server.constants.SerialiseArtifactObjective;
+import com.appsmith.server.domains.Workspace;
+import com.appsmith.server.dtos.ApplicationImportDTO;
+import com.appsmith.server.dtos.ApplicationJson;
+import com.appsmith.server.exports.internal.ExportService;
+import com.appsmith.server.helpers.CommonGitFileUtils;
+import com.appsmith.server.helpers.MockPluginExecutor;
+import com.appsmith.server.helpers.PluginExecutorHelper;
+import com.appsmith.server.imports.internal.ImportService;
+import com.appsmith.server.services.WorkspaceService;
+import com.google.gson.Gson;
+import com.google.gson.JsonObject;
+import lombok.extern.slf4j.Slf4j;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.mockito.Mockito;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.autoconfigure.data.mongo.AutoConfigureDataMongo;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.boot.test.mock.mockito.SpyBean;
+import org.springframework.core.io.buffer.DataBuffer;
+import org.springframework.core.io.buffer.DataBufferUtils;
+import org.springframework.core.io.buffer.DefaultDataBufferFactory;
+import org.springframework.http.MediaType;
+import org.springframework.http.codec.multipart.FilePart;
+import org.springframework.security.test.context.support.WithUserDetails;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+import reactor.test.StepVerifier;
+
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.nio.file.Path;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.mockito.ArgumentMatchers.any;
+
+/**
+ * This class tests the enforcement of server schema migrations within the Appsmith platform.
+ * It ensures that any changes to the domain models or their serialization that could affect
+ * git-connected applications are detected. The test fails by design when such changes are detected,
+ * prompting developers to take corrective actions to maintain schema compatibility.
+ */
+/**
+ * The purpose of this test file is to detect if code in Appsmith has changed in a way which would reflect
+ * as uncommitted changes in git-connected applications.
+ * This test case would fail if we have added new domains, changed the underlying structure of the domains,
+ * or how it's represented in domains.
+ * It is intentionally kept to fail so that developers could identify if their code has brought about these changes.
+ *
+ * In order to make the test case pass, we would need to add the following steps:
+ *
+ * 1. Once the test starts failing, that would mean that we need to increment the serverSchemaVersion
+ * which is a constant in JsonSchemaVersions.java by 1 count.
+ * After that, an increment logic addition would be required change in JsonSchemaMigrations to
+ * update the version number for incoming imports.
+ *
+ * This is important so that the server code could detect that an auto-commit is
+ * required for git-connected applications for a seamless experience.
+ * 2. After step 1, this test case would still fail.
+ * In order to make the test case work again, please replace the respective JSON with the updated application JSON.
+ * Please take note that the Serialisation Objective should be VERSION_CONTROL.
+ * In order to retrieve the updated JSON, one could simply copy the serialized files from the test case itself.
+ */
+@Slf4j
+@ExtendWith(SpringExtension.class)
+@AutoConfigureDataMongo
+@SpringBootTest
+@DirtiesContext
+public class ServerSchemaMigrationEnforcerTest {
+
+ @Autowired
+ Gson gson;
+
+ @Autowired
+ WorkspaceService workspaceService;
+
+ @SpyBean
+ ImportService importService;
+
+ @Autowired
+ ExportService exportService;
+
+ @Autowired
+ CommonGitFileUtils commonGitFileUtils;
+
+ @MockBean
+ PluginExecutorHelper pluginExecutorHelper;
+
+ public static final String CUSTOM_JS_LIB_LIST = "jsLibraries";
+ public static final String EXPORTED_APPLICATION = "application";
+ public static final String UNPUBLISHED_CUSTOM_JS_LIBS = "unpublishedCustomJSLibs";
+ public static final String PUBLISHED_CUSTOM_JS_LIBS = "publishedCustomJSLibs";
+
+ @BeforeEach
+ public void setup() {
+ Mockito.when(pluginExecutorHelper.getPluginExecutor(any())).thenReturn(Mono.just(new MockPluginExecutor()));
+ }
+
+ public static void verifyAssertions(
+ JsonObject exportedApplicationJsonObject, JsonObject importApplicationGitReferenceObject) {
+
+ assertThat(exportedApplicationJsonObject.get(EXPORTED_APPLICATION).getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject
+ .get(EXPORTED_APPLICATION)
+ .getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("metadata").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("metadata").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("theme").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("theme").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("actions").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("actions").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("actionBody").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("actionBody").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("actionCollections").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject
+ .get("actionCollections")
+ .getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("actionCollectionBody").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject
+ .get("actionCollectionBody")
+ .getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("pages").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("pages").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("pageDsl").getAsJsonObject())
+ .isEqualTo(importApplicationGitReferenceObject.get("pageDsl").getAsJsonObject());
+
+ assertThat(exportedApplicationJsonObject.get("datasources").getAsJsonObject())
+ .isEqualTo(
+ importApplicationGitReferenceObject.get("datasources").getAsJsonObject());
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void importApplication_ThenExportApplication_MatchJson_equals_Success() throws URISyntaxException {
+ String filePath = "ce-automation-test.json";
+ FilePart filePart = createFilePart(filePath);
+ Workspace newWorkspace = new Workspace();
+ newWorkspace.setName("Template Workspace");
+ Mono<Workspace> workspaceMono = workspaceService.create(newWorkspace).cache();
+
+ ApplicationJson applicationJsonToBeImported = importService
+ .extractArtifactExchangeJson(filePart)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson)
+ .block();
+
+ applicationJsonToBeImported.setModifiedResources(null);
+ ApplicationGitReference importApplicationGitReference =
+ (ApplicationGitReference) commonGitFileUtils.createArtifactReference(applicationJsonToBeImported);
+
+ JsonObject importApplicationGitReferenceObject = gson.toJsonTree(
+ importApplicationGitReference, ApplicationGitReference.class)
+ .getAsJsonObject();
+ removeCustomJsLibsEntries(importApplicationGitReferenceObject);
+
+ final Mono<ApplicationImportDTO> resultMono = workspaceMono
+ .flatMap(workspace ->
+ importService.extractArtifactExchangeJsonAndSaveArtifact(filePart, workspace.getId(), null))
+ .map(importableArtifactDTO -> (ApplicationImportDTO) importableArtifactDTO);
+
+ final Mono<ApplicationJson> exportApplicationMono = resultMono.flatMap(applicationImportDTO -> {
+ return exportService
+ .exportByArtifactId(
+ applicationImportDTO.getApplication().getId(),
+ SerialiseArtifactObjective.VERSION_CONTROL,
+ ArtifactType.APPLICATION)
+ .map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
+ });
+
+ // The logic over here is that we are comparing the imported json and exported json,
+ // if exported changes has diff from the imported one
+ StepVerifier.create(exportApplicationMono)
+ .assertNext(exportedApplicationJson -> {
+ assertThat(exportedApplicationJson).isNotNull();
+ exportedApplicationJson.setModifiedResources(null);
+
+ ApplicationGitReference exportedApplicationGitReference = (ApplicationGitReference)
+ commonGitFileUtils.createArtifactReference(exportedApplicationJson);
+
+ JsonObject exportedApplicationGitReferenceObject = gson.toJsonTree(
+ exportedApplicationGitReference, ApplicationGitReference.class)
+ .getAsJsonObject();
+ removeCustomJsLibsEntries(exportedApplicationGitReferenceObject);
+ verifyAssertions(exportedApplicationGitReferenceObject, importApplicationGitReferenceObject);
+ })
+ .verifyComplete();
+ }
+
+ private FilePart createFilePart(String filePath) throws URISyntaxException {
+ FilePart filePart = Mockito.mock(FilePart.class, Mockito.RETURNS_DEEP_STUBS);
+ URL resource = this.getClass().getResource(filePath);
+ Flux<DataBuffer> dataBufferFlux = DataBufferUtils.read(
+ Path.of(resource.toURI()), new DefaultDataBufferFactory(), 4096)
+ .cache();
+
+ Mockito.when(filePart.content()).thenReturn(dataBufferFlux);
+ Mockito.when(filePart.headers().getContentType()).thenReturn(MediaType.APPLICATION_JSON);
+
+ return filePart;
+ }
+
+ private void removeCustomJsLibsEntries(JsonObject applicationObjectNode) {
+ // Remove customJsLib entry from json
+ if (applicationObjectNode.has(CUSTOM_JS_LIB_LIST)) {
+ applicationObjectNode.remove(CUSTOM_JS_LIB_LIST);
+ }
+
+ // Remove customJsLibList entries from exported Json
+ if (applicationObjectNode.has(EXPORTED_APPLICATION)) {
+ JsonObject exportedApplicationNode =
+ applicationObjectNode.get(EXPORTED_APPLICATION).getAsJsonObject();
+ if (exportedApplicationNode.has(PUBLISHED_CUSTOM_JS_LIBS)) {
+ exportedApplicationNode.remove(PUBLISHED_CUSTOM_JS_LIBS);
+ }
+
+ if (exportedApplicationNode.has(UNPUBLISHED_CUSTOM_JS_LIBS)) {
+ exportedApplicationNode.remove(UNPUBLISHED_CUSTOM_JS_LIBS);
+ }
+ }
+ }
+}
diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json
new file mode 100644
index 000000000000..f346369a4fa5
--- /dev/null
+++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json
@@ -0,0 +1,28015 @@
+{
+ "artifactJsonType": "APPLICATION",
+ "clientSchemaVersion": 1,
+ "serverSchemaVersion": 7,
+ "exportedApplication": {
+ "name": "CE-automation-test",
+ "isPublic": false,
+ "pages": [
+ {
+ "id": "Page 3",
+ "isDefault": false
+ },
+ {
+ "id": "Navigated Page",
+ "isDefault": false
+ },
+ {
+ "id": "Page 4",
+ "isDefault": false
+ },
+ {
+ "id": "Page 2",
+ "isDefault": true
+ },
+ {
+ "id": "Page 1",
+ "isDefault": false
+ },
+ {
+ "id": "--Playground1",
+ "isDefault": false
+ },
+ {
+ "id": "--Playground",
+ "isDefault": false
+ },
+ {
+ "id": "Page 5",
+ "isDefault": false
+ }
+ ],
+ "publishedPages": [],
+ "viewMode": false,
+ "appIsExample": false,
+ "unreadCommentThreads": 0,
+ "color": "#FFEBFB",
+ "icon": "flight",
+ "slug": "ce-automation-test",
+ "unpublishedCustomJSLibs": [
+ {
+ "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js"
+ },
+ {
+ "uidString": "jsonwebtoken_/libraries/[email protected]"
+ },
+ {
+ "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js"
+ },
+ {
+ "uidString": "UUID_https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js"
+ },
+ {
+ "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js"
+ }
+ ],
+ "publishedCustomJSLibs": [],
+ "evaluationVersion": 2,
+ "applicationVersion": 2,
+ "embedSetting": {
+ "height": "720px",
+ "width": "1024px",
+ "showNavigationBar": true
+ },
+ "isManualUpdate": false,
+ "deleted": false
+ },
+ "datasourceList": [
+ {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace1"
+ },
+ {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace2"
+ },
+ {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bacd8_660d3e57a59c5e33b46bace3"
+ }
+ ],
+ "customJSLibList": [
+ {
+ "name": "AWS",
+ "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js",
+ "accessor": [
+ "AWS"
+ ],
+ "url": "https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js",
+ "version": "",
+ "defs": "{\"!name\":\"LIB/AWS\",\"AWS\":{\"util\":{\"environment\":{\"!type\":\"string\"},\"engine\":{\"!type\":\"fn()\",\"prototype\":{}},\"userAgent\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscape\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscapePath\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlFormat\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryStringParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryParamsToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"readFileSync\":{\"!type\":\"fn()\",\"prototype\":{}},\"base64\":{\"encode\":{},\"decode\":{}},\"buffer\":{\"toStream\":{},\"concat\":{}},\"string\":{\"byteLength\":{},\"upperFirst\":{},\"lowerFirst\":{}},\"ini\":{\"parse\":{}},\"fn\":{\"noop\":{},\"callback\":{},\"makeAsync\":{}},\"date\":{\"getDate\":{},\"iso8601\":{},\"rfc822\":{},\"unixTimestamp\":{},\"from\":{},\"format\":{},\"parseTimestamp\":{}},\"crypto\":{\"crc32Table\":{},\"crc32\":{},\"hmac\":{},\"md5\":{},\"sha256\":{},\"hash\":{},\"toHex\":{},\"createHash\":{},\"lib\":{}},\"abort\":{},\"each\":{\"!type\":\"fn()\",\"prototype\":{}},\"arrayEach\":{\"!type\":\"fn()\",\"prototype\":{}},\"update\":{\"!type\":\"fn()\",\"prototype\":{}},\"merge\":{\"!type\":\"fn()\",\"prototype\":{}},\"copy\":{\"!type\":\"fn()\",\"prototype\":{}},\"isEmpty\":{\"!type\":\"fn()\",\"prototype\":{}},\"arraySliceFn\":{\"!type\":\"fn()\",\"prototype\":{}},\"isType\":{\"!type\":\"fn()\",\"prototype\":{}},\"typeName\":{\"!type\":\"fn()\",\"prototype\":{}},\"error\":{\"!type\":\"fn()\",\"prototype\":{}},\"inherit\":{\"!type\":\"fn()\",\"prototype\":{}},\"mixin\":{\"!type\":\"fn()\",\"prototype\":{}},\"hideProperties\":{\"!type\":\"fn()\",\"prototype\":{}},\"property\":{\"!type\":\"fn()\",\"prototype\":{}},\"memoizedProperty\":{\"!type\":\"fn()\",\"prototype\":{}},\"hoistPayloadMember\":{\"!type\":\"fn()\",\"prototype\":{}},\"computeSha256\":{\"!type\":\"fn()\",\"prototype\":{}},\"isClockSkewed\":{\"!type\":\"fn()\",\"prototype\":{}},\"applyClockOffset\":{\"!type\":\"fn()\",\"prototype\":{}},\"extractRequestId\":{\"!type\":\"fn()\",\"prototype\":{}},\"addPromises\":{\"!type\":\"fn()\",\"prototype\":{}},\"promisifyMethod\":{\"!type\":\"fn()\",\"prototype\":{}},\"isDualstackAvailable\":{\"!type\":\"fn()\",\"prototype\":{}},\"calculateRetryDelay\":{\"!type\":\"fn()\",\"prototype\":{}},\"handleRequestWithRetries\":{\"!type\":\"fn()\",\"prototype\":{}},\"uuid\":{\"v4\":{}},\"convertPayloadToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"defer\":{\"!type\":\"fn()\",\"prototype\":{}},\"defaultProfile\":{\"!type\":\"string\"},\"configOptInEnv\":{\"!type\":\"string\"},\"sharedCredentialsFileEnv\":{\"!type\":\"string\"},\"sharedConfigFileEnv\":{\"!type\":\"string\"},\"imdsDisabledEnv\":{\"!type\":\"string\"},\"Buffer\":{\"!type\":\"fn()\",\"prototype\":{},\"TYPED_ARRAY_SUPPORT\":{},\"poolSize\":{},\"_augment\":{},\"from\":{},\"alloc\":{},\"allocUnsafe\":{},\"allocUnsafeSlow\":{},\"isBuffer\":{},\"compare\":{},\"isEncoding\":{},\"concat\":{},\"byteLength\":{}},\"url\":{\"parse\":{},\"resolve\":{},\"resolveObject\":{},\"format\":{},\"Url\":{}},\"querystring\":{\"parse\":{},\"decode\":{},\"stringify\":{},\"encode\":{}},\"realClock\":{\"now\":{}},\"createEventStream\":{\"!type\":\"fn()\",\"prototype\":{}},\"isBrowser\":{\"!type\":\"fn()\",\"prototype\":{}},\"isNode\":{\"!type\":\"fn()\",\"prototype\":{}}},\"VERSION\":{\"!type\":\"string\"},\"Signers\":{\"RequestSigner\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getVersion\":{}},\"V2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3Https\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V4\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Presign\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}}},\"Protocol\":{\"Json\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Query\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Rest\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{},\"generateURI\":{}},\"RestJson\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"RestXml\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}}},\"XML\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"JSON\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"Model\":{\"Api\":{\"!type\":\"fn()\",\"prototype\":{}},\"Operation\":{\"!type\":\"fn()\",\"prototype\":{}},\"Shape\":{\"!type\":\"fn()\",\"prototype\":{},\"normalizedTypes\":{},\"types\":{},\"resolve\":{},\"create\":{},\"shapes\":{}},\"Paginator\":{\"!type\":\"fn()\",\"prototype\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{}}},\"apiLoader\":{\"!type\":\"fn()\",\"prototype\":{},\"services\":{\"sts\":{},\"cognitoidentity\":{},\"acm\":{},\"apigateway\":{},\"applicationautoscaling\":{},\"autoscaling\":{},\"cloudformation\":{},\"cloudfront\":{},\"cloudhsm\":{},\"cloudtrail\":{},\"cloudwatch\":{},\"cloudwatchevents\":{},\"cloudwatchlogs\":{},\"codebuild\":{},\"codecommit\":{},\"codedeploy\":{},\"codepipeline\":{},\"cognitoidentityserviceprovider\":{},\"cognitosync\":{},\"configservice\":{},\"cur\":{},\"devicefarm\":{},\"directconnect\":{},\"dynamodb\":{},\"dynamodbstreams\":{},\"ec2\":{},\"ecr\":{},\"ecs\":{},\"efs\":{},\"elasticache\":{},\"elasticbeanstalk\":{},\"elb\":{},\"elbv2\":{},\"emr\":{},\"elastictranscoder\":{},\"firehose\":{},\"gamelift\":{},\"inspector\":{},\"iot\":{},\"iotdata\":{},\"kinesis\":{},\"kms\":{},\"lambda\":{},\"lexruntime\":{},\"machinelearning\":{},\"marketplacecommerceanalytics\":{},\"mturk\":{},\"mobileanalytics\":{},\"opsworks\":{},\"polly\":{},\"rds\":{},\"redshift\":{},\"rekognition\":{},\"route53\":{},\"route53domains\":{},\"s3\":{},\"servicecatalog\":{},\"ses\":{},\"sns\":{},\"sqs\":{},\"ssm\":{},\"storagegateway\":{},\"waf\":{},\"workdocs\":{},\"lexmodelbuildingservice\":{},\"pricing\":{},\"mediastoredata\":{},\"comprehend\":{},\"kinesisvideoarchivedmedia\":{},\"kinesisvideomedia\":{},\"kinesisvideo\":{},\"translate\":{},\"secretsmanager\":{}}},\"EndpointCache\":{\"!type\":\"fn()\",\"prototype\":{\"size\":{}},\"getKeyString\":{}},\"SequentialExecutor\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Service\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defineMethods\":{},\"defineService\":{},\"addVersions\":{},\"defineServiceApi\":{},\"hasService\":{},\"addDefaultMonitoringListeners\":{},\"_serviceMap\":{}},\"Credentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"CredentialProviderChain\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defaultProviders\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Config\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"config\":{\"credentials\":{},\"credentialProvider\":{},\"region\":{},\"logger\":{},\"apiVersions\":{},\"apiVersion\":{},\"endpoint\":{},\"httpOptions\":{},\"maxRetries\":{},\"maxRedirects\":{},\"paramValidation\":{},\"sslEnabled\":{},\"s3ForcePathStyle\":{},\"s3BucketEndpoint\":{},\"s3DisableBodySigning\":{},\"computeChecksums\":{},\"convertResponseTypes\":{},\"correctClockSkew\":{},\"customUserAgent\":{},\"dynamoDbCrc32\":{},\"systemClockOffset\":{},\"signatureVersion\":{},\"signatureCache\":{},\"retryDelayOptions\":{},\"useAccelerateEndpoint\":{},\"clientSideMonitoring\":{},\"endpointDiscoveryEnabled\":{},\"endpointCacheSize\":{},\"hostPrefixEnabled\":{},\"getCredentials\":{},\"update\":{},\"loadFromPath\":{},\"clear\":{},\"set\":{},\"keys\":{},\"extractCredentials\":{},\"setPromisesDependency\":{},\"getPromisesDependency\":{}},\"Endpoint\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpRequest\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpResponse\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getInstance\":{},\"streamsApiVersion\":{}},\"EventListeners\":{\"Core\":{},\"CorePost\":{},\"Logger\":{},\"Json\":{},\"Rest\":{},\"RestJson\":{},\"RestXml\":{},\"Query\":{}},\"Request\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Response\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ParamValidator\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"events\":{\"_events\":{},\"listeners\":{},\"on\":{},\"onAsync\":{},\"removeListener\":{},\"removeAllListeners\":{},\"emit\":{},\"callListeners\":{},\"addListeners\":{},\"addNamedListener\":{},\"addNamedAsyncListener\":{},\"addNamedListeners\":{},\"addListener\":{}},\"endpointCache\":{\"maxSize\":{},\"cache\":{},\"size\":{},\"put\":{},\"get\":{},\"populateValue\":{},\"empty\":{},\"remove\":{}},\"STS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"TemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ChainableTemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"WebIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"CognitoIdentity\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"SAMLCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"XHRClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ACM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"APIGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ApplicationAutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"AutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFormation\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFront\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"CloudHSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudTrail\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatch\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchEvents\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchLogs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeBuild\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeCommit\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeDeploy\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodePipeline\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityServiceProvider\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoSync\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ConfigService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CUR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DeviceFarm\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DirectConnect\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DynamoDB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Converter\":{},\"DocumentClient\":{}},\"DynamoDBStreams\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EC2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EFS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElastiCache\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticBeanstalk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELBv2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EMR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticTranscoder\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Firehose\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"GameLift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Inspector\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Iot\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"IotData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Kinesis\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KMS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Lambda\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexRuntime\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MachineLearning\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MarketplaceCommerceAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MTurk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MobileAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"OpsWorks\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Polly\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Presigner\":{}},\"RDS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"Redshift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Rekognition\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53Domains\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"ManagedUpload\":{}},\"ServiceCatalog\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SES\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SNS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SQS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"StorageGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WAF\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WorkDocs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexModelBuildingService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Pricing\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MediaStoreData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Comprehend\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoArchivedMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideo\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Translate\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SecretsManager\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "uuidjs",
+ "uidString": "UUID_https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
+ "accessor": [
+ "UUID"
+ ],
+ "url": "https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
+ "version": "4.2.12",
+ "defs": "{\"!name\":\"LIB/UUID\",\"UUID\":{\"!type\":\"fn()\",\"prototype\":{\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"generate\":{\"!type\":\"fn()\",\"prototype\":{}},\"_getRandomInt\":{\"!type\":\"fn()\",\"prototype\":{}},\"_hexAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"overwrittenUUID\":{\"!type\":\"?\"},\"useMathRandom\":{\"!type\":\"fn()\",\"prototype\":{}},\"FIELD_NAMES\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"FIELD_SIZES\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"genV4\":{\"!type\":\"fn()\",\"prototype\":{}},\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"_binAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"NIL\":{\"intFields\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"timeLow\":{\"!type\":\"number\"},\"timeMid\":{\"!type\":\"number\"},\"timeHiAndVersion\":{\"!type\":\"number\"},\"clockSeqHiAndReserved\":{\"!type\":\"number\"},\"clockSeqLow\":{\"!type\":\"number\"},\"node\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"bitFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"hexFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"version\":{\"!type\":\"number\"},\"bitString\":{\"!type\":\"string\"},\"hexNoDelim\":{\"!type\":\"string\"},\"hexString\":{\"!type\":\"string\"},\"urn\":{\"!type\":\"string\"},\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"genV1\":{\"!type\":\"fn()\",\"prototype\":{}},\"resetState\":{\"!type\":\"fn()\",\"prototype\":{}},\"_tsRatio\":{\"!type\":\"number\"},\"_state\":{\"!type\":\"?\"},\"_getTimeFieldValues\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "@amplitude/analytics-browser",
+ "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
+ "accessor": [
+ "amplitude"
+ ],
+ "url": "https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
+ "version": "1.6.1",
+ "defs": "{\"!name\":\"LIB/amplitude\",\"amplitude\":{\"Identify\":{\"!type\":\"fn()\",\"prototype\":{}},\"Revenue\":{\"!type\":\"fn()\",\"prototype\":{}},\"Types\":{\"ServerZone\":{},\"SpecialEventType\":{},\"IdentifyOperation\":{},\"RevenueProperty\":{},\"LogLevel\":{},\"PluginType\":{},\"Status\":{},\"TransportType\":{}},\"add\":{},\"createInstance\":{},\"flush\":{},\"getDeviceId\":{},\"getSessionId\":{},\"getUserId\":{},\"groupIdentify\":{},\"identify\":{},\"init\":{},\"logEvent\":{},\"remove\":{},\"reset\":{},\"revenue\":{},\"runQueuedFunctions\":{},\"setDeviceId\":{},\"setGroup\":{},\"setOptOut\":{},\"setSessionId\":{},\"setTransport\":{},\"setUserId\":{},\"track\":{},\"__esModule\":{}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "jsonwebtoken",
+ "uidString": "jsonwebtoken_/libraries/[email protected]",
+ "accessor": [
+ "jsonwebtoken"
+ ],
+ "url": "/libraries/[email protected]",
+ "version": "8.5.1",
+ "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ {
+ "name": "xmlParser",
+ "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js",
+ "accessor": [
+ "xmlParser"
+ ],
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js",
+ "version": "3.17.5",
+ "defs": "{\"!name\":\"LIB/xmlParser\",\"xmlParser\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertTonimn\":{\"!type\":\"fn()\",\"prototype\":{}},\"getTraversalObj\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJson\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJsonString\":{\"!type\":\"fn()\",\"prototype\":{}},\"validate\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2xParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2x\":{\"!type\":\"fn()\",\"prototype\":{}}}},\"parseToNimn\":{\"!type\":\"fn()\",\"prototype\":{}}}}",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "pageList": [
+ {
+ "unpublishedPage": {
+ "name": "Navigated Page",
+ "slug": "navigated-page",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 5,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Page navigation from TC3 gets you here",
+ "key": "ptl4x2jsj7",
+ "isDeprecated": false,
+ "rightColumn": 55,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5e44ag6uyn",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "3rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Navigated Page",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Navigated Page",
+ "slug": "navigated-page",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 5,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Page navigation from TC3 gets you here",
+ "key": "ptl4x2jsj7",
+ "isDeprecated": false,
+ "rightColumn": 55,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5e44ag6uyn",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "3rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Navigated Page",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf6"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 2",
+ "slug": "page-2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1870,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "rtn5gj1iay",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data.message}}",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "objectFit": "contain",
+ "widgetId": "2evm572ii0",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.facts[0] ?? \"Waiting to show dog facts\"}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0lmhvlsozc",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 6,
+ "bottomRow": 93,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "hdrkhj2fvt",
+ "containerStyle": "none",
+ "bottomRow": 870,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "yrdah1axob",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "pjvnbnmrik",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC4",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "lantjruf0o",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text1Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 53,
+ "bottomRow": 69,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.kittyFact}}",
+ "key": "smwgwx0oj7",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9hsqxgd5tt",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 53,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 69,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 14,
+ "bottomRow": 51,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "v1dcrk183j",
+ "image": "{{appsmith.store.doggoImage}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "t6b330438y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 16,
+ "bottomRow": 53,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "ikay0ds7n4",
+ "image": "{{appsmith.store.kittyImage}}",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "objectFit": "contain",
+ "widgetId": "4z5pv3m1em",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 16,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 53,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 8,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Cat",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{TC4.cat()}}"
+ },
+ "groupButton2": {
+ "label": "Dog",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{TC4.dog();}}"
+ },
+ "groupButton0c5t9yzrfh": {
+ "id": "groupButton0c5t9yzrfh",
+ "index": 2,
+ "label": "Both",
+ "menuItems": {},
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "r41vw4o7o3",
+ "isDisabled": false,
+ "isVisible": true,
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "onClick": "{{TC4.both()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "leftColumn": 17,
+ "dynamicBindingPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "widgetId": "cp1ku9sd4h",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2Copy1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 51,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 10.337890625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.dogFact}}",
+ "key": "gczlrxsr70",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "svs7gh57bz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1Copy",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 69,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Clear kitty",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{clearInterval('kitty')}}"
+ },
+ "groupButton2": {
+ "label": "Clear doggo",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{clearInterval('doggo')}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "widgetId": "4nwrn0lnur",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "originalTopRow": 69,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 75,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "mobileBottomRow": 81,
+ "widgetName": "NumberSlider1",
+ "defaultValue": "5000",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "Refresh duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 77,
+ "bottomRow": 81,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 51,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 13.796875,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "isDisabled": false,
+ "key": "w87aglxqe9",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 52,
+ "max": "15000",
+ "widgetId": "pw55xzgtyd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"label\": \"5s\",\n \"value\": 5000\n },\n {\n \"label\": \"10s\",\n \"value\": 10000\n },\n {\n \"label\": \"15s\",\n \"value\": 15000\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 73,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 77,
+ "mobileLeftColumn": 11,
+ "originalBottomRow": 81,
+ "step": "10",
+ "showMarksLabel": true
+ },
+ {
+ "mobileBottomRow": 13,
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 9,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.factsApi}}\n{{appsmith.store.imageApi}}",
+ "key": "o7lra5yjtq",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "k2jjway841",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 9,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 9,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 16,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 6,
+ "widgetName": "Button1",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 2,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 15,
+ "animateLoading": true,
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "mq36p1d6a7",
+ "isDeprecated": false,
+ "rightColumn": 15,
+ "isDefaultClickDisabled": true,
+ "widgetId": "52aina4tgc",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "yrdah1axob",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 92,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container2",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 105,
+ "bottomRow": 179,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1Copy",
+ "detachFromLayout": true,
+ "widgetId": "cvswye62f0",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "qophrhb9ws",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 731.2601661682129,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "iconName": "arrow-top-right",
+ "widgetId": "yap98rhcqn",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "isSortable": true,
+ "type": "TABLE_WIDGET",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 43,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "widgetName": "Table2Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "onPageSizeChange": "",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageSizeChange"
+ }
+ ],
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textSize": "0.875rem",
+ "widgetId": "ks1q35pgko",
+ "tableData": "{{Api3.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "widgetName": "Text5",
+ "borderColor": "#3730a3",
+ "dynamicPropertyPathList": [],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 67,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "2",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Widget navigation led you here",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "backgroundColor": "#3730a3",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0mi3h8zskd",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#fafafa",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table1Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 21,
+ "textSize": "0.875rem",
+ "widgetId": "44lgrfydql",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api1.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select2",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Select navigation type",
+ "topRow": 9,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC3.myVar1}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 48,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ywc7thfwfa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{TC3.myFun1()}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC3",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ht0x7fh5ev",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table2",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 21,
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "textSize": "0.875rem",
+ "widgetId": "j4hy3296sv",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api2.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Tabs1",
+ "isCanvas": true,
+ "displayName": "Tabs",
+ "iconSVG": "/static/media/icon.74a6d653.svg",
+ "topRow": 47,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TABS_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTabSelected"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "tabId": "tab1",
+ "boxShadow": "none",
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 1",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "bv937y1isa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "tabId": "tab2",
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 3,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "If you're seeing this message, then you've most probably been redirected to this spot ✌🏽",
+ "key": "atozs3dqkq",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "stu122x6ov",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "fc3l3b6pjd",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 2",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "fc3l3b6pjd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "key": "wvw41p337s",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1wwv4lpx0h",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "defaultTab": "Tab 1",
+ "onTabSelected": "",
+ "shouldShowTabs": true,
+ "tabsObj": {
+ "tab1": {
+ "label": "Tab 1",
+ "id": "tab1",
+ "widgetId": "bv937y1isa",
+ "isVisible": true,
+ "index": 0
+ },
+ "tab2": {
+ "label": "Tab 2",
+ "id": "tab2",
+ "widgetId": "fc3l3b6pjd",
+ "isVisible": true,
+ "index": 1
+ }
+ },
+ "isVisible": true,
+ "version": 3,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qophrhb9ws",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 104,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 178,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data[0].url ?? Image2.image}}",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "objectFit": "contain",
+ "widgetId": "ra1tf5j9f4",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.fact}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "4ubwdgb1h3",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 2_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_Api2",
+ "name": "Api2",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_Api3",
+ "name": "Api3",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_petImagesold",
+ "name": "petImagesold",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_petFactsold",
+ "name": "petFactsold",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 2",
+ "slug": "page-2",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1870,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "rtn5gj1iay",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data.message}}",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "objectFit": "contain",
+ "widgetId": "2evm572ii0",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 44,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.facts[0] ?? \"Waiting to show dog facts\"}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0lmhvlsozc",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 6,
+ "bottomRow": 93,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "hdrkhj2fvt",
+ "containerStyle": "none",
+ "bottomRow": 870,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "yrdah1axob",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "pjvnbnmrik",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC4",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "lantjruf0o",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text1Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 53,
+ "bottomRow": 69,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.kittyFact}}",
+ "key": "smwgwx0oj7",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9hsqxgd5tt",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 53,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 69,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1Copy",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 14,
+ "bottomRow": 51,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "v1dcrk183j",
+ "image": "{{appsmith.store.doggoImage}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "t6b330438y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 16,
+ "bottomRow": 53,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "ikay0ds7n4",
+ "image": "{{appsmith.store.kittyImage}}",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "objectFit": "contain",
+ "widgetId": "4z5pv3m1em",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 16,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 53,
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 8,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Cat",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{TC4.cat()}}"
+ },
+ "groupButton2": {
+ "label": "Dog",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{TC4.dog();}}"
+ },
+ "groupButton0c5t9yzrfh": {
+ "id": "groupButton0c5t9yzrfh",
+ "index": 2,
+ "label": "Both",
+ "menuItems": {},
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "r41vw4o7o3",
+ "isDisabled": false,
+ "isVisible": true,
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "onClick": "{{TC4.both()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.onClick"
+ }
+ ],
+ "leftColumn": 17,
+ "dynamicBindingPathList": [
+ {
+ "key": "groupButtons.groupButton0c5t9yzrfh.buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "widgetId": "cp1ku9sd4h",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2Copy1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 51,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 10.337890625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 32,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.dogFact}}",
+ "key": "gczlrxsr70",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "svs7gh57bz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "ButtonGroup1Copy",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218.svg",
+ "topRow": 69,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Clear kitty",
+ "iconName": "heart",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#f3e8ff",
+ "onClick": "{{clearInterval('kitty')}}"
+ },
+ "groupButton2": {
+ "label": "Clear doggo",
+ "iconName": "cloud",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "#fee2e2",
+ "onClick": "{{clearInterval('doggo')}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "vnw8w44kcq",
+ "orientation": "horizontal",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "widgetId": "4nwrn0lnur",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "originalTopRow": 69,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 75,
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "mobileBottomRow": 81,
+ "widgetName": "NumberSlider1",
+ "defaultValue": "5000",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "Refresh duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 77,
+ "bottomRow": 81,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 51,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 13.796875,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "isDisabled": false,
+ "key": "w87aglxqe9",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 52,
+ "max": "15000",
+ "widgetId": "pw55xzgtyd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"label\": \"5s\",\n \"value\": 5000\n },\n {\n \"label\": \"10s\",\n \"value\": 10000\n },\n {\n \"label\": \"15s\",\n \"value\": 15000\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 73,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 77,
+ "mobileLeftColumn": 11,
+ "originalBottomRow": 81,
+ "step": "10",
+ "showMarksLabel": true
+ },
+ {
+ "mobileBottomRow": 13,
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 9,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 16,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.factsApi}}\n{{appsmith.store.imageApi}}",
+ "key": "o7lra5yjtq",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "k2jjway841",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 9,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 9,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 16,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 6,
+ "widgetName": "Button1",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 2,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 15,
+ "animateLoading": true,
+ "parentColumnSpace": 13.78125,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "mq36p1d6a7",
+ "isDeprecated": false,
+ "rightColumn": 15,
+ "isDefaultClickDisabled": true,
+ "widgetId": "52aina4tgc",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "hdrkhj2fvt",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 2,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "yrdah1axob",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 92,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container2",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 105,
+ "bottomRow": 179,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1Copy",
+ "detachFromLayout": true,
+ "widgetId": "cvswye62f0",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "qophrhb9ws",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 731.2601661682129,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "iconName": "arrow-top-right",
+ "widgetId": "yap98rhcqn",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "isSortable": true,
+ "type": "TABLE_WIDGET",
+ "animateLoading": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 43,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "widgetName": "Table2Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "onPageSizeChange": "",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageSizeChange"
+ }
+ ],
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textSize": "0.875rem",
+ "widgetId": "ks1q35pgko",
+ "tableData": "{{Api3.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "widgetName": "Text5",
+ "borderColor": "#3730a3",
+ "dynamicPropertyPathList": [],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 67,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "2",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Widget navigation led you here",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "backgroundColor": "#3730a3",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0mi3h8zskd",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#fafafa",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table1Copy",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1Copy.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 21,
+ "textSize": "0.875rem",
+ "widgetId": "44lgrfydql",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api1.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select2",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Select navigation type",
+ "topRow": 9,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC3.myVar1}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 48,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ywc7thfwfa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{TC3.myFun1()}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC3",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ht0x7fh5ev",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Table2",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "isVisibleDownload": true,
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 18,
+ "bottomRow": 46,
+ "isSortable": true,
+ "parentRowSpace": 10,
+ "type": "TABLE_WIDGET",
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 21,
+ "primaryColumns": {
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "id": {
+ "index": 1,
+ "width": 150,
+ "id": "id",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "id",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "delimiter": ",",
+ "key": "1jwvrzjzn4",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "textSize": "0.875rem",
+ "widgetId": "j4hy3296sv",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": true,
+ "tableData": "{{Api2.data}}",
+ "isVisible": true,
+ "label": "Data",
+ "searchKey": "",
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": 0,
+ "parentId": "cvswye62f0",
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ }
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Tabs1",
+ "isCanvas": true,
+ "displayName": "Tabs",
+ "iconSVG": "/static/media/icon.74a6d653.svg",
+ "topRow": 47,
+ "bottomRow": 67,
+ "parentRowSpace": 10,
+ "type": "TABS_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTabSelected"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "tabId": "tab1",
+ "boxShadow": "none",
+ "widgetName": "Canvas2",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 1",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "bv937y1isa",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "tabId": "tab2",
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 160,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 3,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "If you're seeing this message, then you've most probably been redirected to this spot ✌🏽",
+ "key": "atozs3dqkq",
+ "isDeprecated": false,
+ "rightColumn": 60,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "stu122x6ov",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "fc3l3b6pjd",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "isDisabled": false,
+ "key": "2lemx27cvt",
+ "isDeprecated": false,
+ "tabName": "Tab 2",
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "fc3l3b6pjd",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "1wwv4lpx0h",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "key": "wvw41p337s",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1wwv4lpx0h",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "defaultTab": "Tab 1",
+ "onTabSelected": "",
+ "shouldShowTabs": true,
+ "tabsObj": {
+ "tab1": {
+ "label": "Tab 1",
+ "id": "tab1",
+ "widgetId": "bv937y1isa",
+ "isVisible": true,
+ "index": 0
+ },
+ "tab2": {
+ "label": "Tab 2",
+ "id": "tab2",
+ "widgetId": "fc3l3b6pjd",
+ "isVisible": true,
+ "index": 1
+ }
+ },
+ "isVisible": true,
+ "version": 3,
+ "parentId": "cvswye62f0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qophrhb9ws",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 104,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 178,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "h108wfmd0r",
+ "image": "{{petImagesold.data[0].url ?? Image2.image}}",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "objectFit": "contain",
+ "widgetId": "ra1tf5j9f4",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 104,
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 93,
+ "bottomRow": 105,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{petFactsold.data.fact}}",
+ "key": "7f6oqdkh8t",
+ "isDeprecated": false,
+ "rightColumn": 32,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "4ubwdgb1h3",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 92,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 104,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 2_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_TC4.both",
+ "name": "TC4.both",
+ "collectionId": "Page 2_TC4",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 2_petImages",
+ "name": "petImages",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "Page 2_petFacts",
+ "name": "petFacts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 2",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf4"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 3",
+ "slug": "page-3",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1300,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 1,
+ "bottomRow": 59,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2",
+ "detachFromLayout": true,
+ "widgetId": "92o1wf4kiz",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "v81j6i48ks",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "qgdqioe4om",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 50,
+ "bottomRow": 55,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 18,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Click on a map pin to see it's location\n{{Map3.selectedMarker.title ?? \"\"}}",
+ "key": "ltq71svusm",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "15s5q5fjq5",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 50,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 55,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 50,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map3",
+ "defaultMarkers": "{{TC5.locations}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 13,
+ "bottomRow": 47,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "allowZoom": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "defaultMarkers"
+ }
+ ],
+ "enablePickLocation": false,
+ "mapCenter": {
+ "lat": 28.6105073,
+ "long": 77.1145653,
+ "title": "394, Jail Rd, Nangal Village, Delhi Cantonment, New Delhi, Delhi 110010, India"
+ },
+ "isClickedMarkerCentered": false,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "6ewoa3cy5w",
+ "isDeprecated": false,
+ "rightColumn": 36.57142857142857,
+ "allowClustering": false,
+ "widgetId": "2ng48j802d",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 14,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 48
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 13,
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "leftColumn": 37.58730158730158,
+ "children": [
+ {
+ "rightColumn": 323.44199657440186,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "zap3upnpc9",
+ "containerStyle": "none",
+ "bottomRow": 330,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "0c4qu88gua",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 435.94356060028076,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 27,
+ "bottomRow": 31,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 8.347826086956522,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.count}}",
+ "key": "q1mz71t6fa",
+ "isDeprecated": false,
+ "rightColumn": 52.869565217391305,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "nq2no4e7u1",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 44,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 48,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{TC5.countdown()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 22,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "Countdown\nfrom {{NumberSlider1.value}} in {{NumberSlider2.value}}ms",
+ "isDisabled": false,
+ "key": "nfmoy84nid",
+ "isDeprecated": false,
+ "rightColumn": 61,
+ "isDefaultClickDisabled": true,
+ "widgetId": "dqzhco0pxx",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 15,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 19,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "widgetName": "NumberSlider2",
+ "defaultValue": "10",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "pick countdown duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 15,
+ "bottomRow": 22,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": "10",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": "200",
+ "widgetId": "25v6rx7lp5",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 100,\n \"label\": \"100\"\n },\n {\n \"value\": 150,\n \"label\": \"150\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "NumberSlider1",
+ "defaultValue": "50",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "select a number you want to countdown from",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 7,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": 100,
+ "widgetId": "krvk4jsa77",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 25,\n \"label\": \"25\"\n },\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 75,\n \"label\": \"75\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "OUTTER VARIABLE MODIFICATION",
+ "key": "s7vnc82698",
+ "isDeprecated": false,
+ "rightColumn": 61.21739130434783,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "a8tis5fxkf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "0c4qu88gua",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 13,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 46,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9laodeyhr2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v81j6i48ks",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ },
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2Copy",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 64,
+ "bottomRow": 122,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2Copy",
+ "detachFromLayout": true,
+ "widgetId": "krk7t6fkrj",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mtx9rr9sv3",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "kgie13n9d2",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC6",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "8od3vchpi2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "mobileBottomRow": 24,
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 20,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 25,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.56103515625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "",
+ "key": "sefx44qvp2",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "65xjdau988",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 20,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 9,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mtx9rr9sv3",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 3",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 3",
+ "slug": "page-3",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1300,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 1,
+ "bottomRow": 59,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2",
+ "detachFromLayout": true,
+ "widgetId": "92o1wf4kiz",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "v81j6i48ks",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "qgdqioe4om",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 50,
+ "bottomRow": 55,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 18,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Click on a map pin to see it's location\n{{Map3.selectedMarker.title ?? \"\"}}",
+ "key": "ltq71svusm",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "15s5q5fjq5",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 50,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 55,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 50,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map3",
+ "defaultMarkers": "{{TC5.locations}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 13,
+ "bottomRow": 47,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "allowZoom": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "defaultMarkers"
+ }
+ ],
+ "enablePickLocation": false,
+ "mapCenter": {
+ "lat": 28.6105073,
+ "long": 77.1145653,
+ "title": "394, Jail Rd, Nangal Village, Delhi Cantonment, New Delhi, Delhi 110010, India"
+ },
+ "isClickedMarkerCentered": false,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "6ewoa3cy5w",
+ "isDeprecated": false,
+ "rightColumn": 36.57142857142857,
+ "allowClustering": false,
+ "widgetId": "2ng48j802d",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 14,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 48
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 13,
+ "bottomRow": 46,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "leftColumn": 37.58730158730158,
+ "children": [
+ {
+ "rightColumn": 323.44199657440186,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "zap3upnpc9",
+ "containerStyle": "none",
+ "bottomRow": 330,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "0c4qu88gua",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 435.94356060028076,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 27,
+ "bottomRow": 31,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 8.347826086956522,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "{{appsmith.store.count}}",
+ "key": "q1mz71t6fa",
+ "isDeprecated": false,
+ "rightColumn": 52.869565217391305,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "nq2no4e7u1",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 44,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 48,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{TC5.countdown()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 22,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "Countdown\nfrom {{NumberSlider1.value}} in {{NumberSlider2.value}}ms",
+ "isDisabled": false,
+ "key": "nfmoy84nid",
+ "isDeprecated": false,
+ "rightColumn": 61,
+ "isDefaultClickDisabled": true,
+ "widgetId": "dqzhco0pxx",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 15,
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 19,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "widgetName": "NumberSlider2",
+ "defaultValue": "10",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "pick countdown duration",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 15,
+ "bottomRow": 22,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": "10",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": "200",
+ "widgetId": "25v6rx7lp5",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 100,\n \"label\": \"100\"\n },\n {\n \"value\": 150,\n \"label\": \"150\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "NumberSlider1",
+ "defaultValue": "50",
+ "displayName": "Number Slider",
+ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg",
+ "tooltipAlwaysOn": false,
+ "labelText": "select a number you want to countdown from",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 7,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": 8,
+ "type": "NUMBER_SLIDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "min": 0,
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "labelStyle": "BOLD,ITALIC",
+ "labelTextColor": "#231f20",
+ "isDisabled": false,
+ "key": "xaii5tvmff",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "max": 100,
+ "widgetId": "krvk4jsa77",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "marks": "[\n {\n \"value\": 25,\n \"label\": \"25\"\n },\n {\n \"value\": 50,\n \"label\": \"50\"\n },\n {\n \"value\": 75,\n \"label\": \"75\"\n }\n]",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "step": 1,
+ "showMarksLabel": true
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 5.053781196475029,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "OUTTER VARIABLE MODIFICATION",
+ "key": "s7vnc82698",
+ "isDeprecated": false,
+ "rightColumn": 61.21739130434783,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "a8tis5fxkf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zap3upnpc9",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "0c4qu88gua",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 13,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 46,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "Text3Copy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "9laodeyhr2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "92o1wf4kiz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v81j6i48ks",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ },
+ {
+ "tabId": "",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container2Copy",
+ "borderColor": "",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 64,
+ "bottomRow": 122,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 885.9498167037964,
+ "widgetName": "Canvas2Copy",
+ "detachFromLayout": true,
+ "widgetId": "krk7t6fkrj",
+ "containerStyle": "none",
+ "bottomRow": 580,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mtx9rr9sv3",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 745.3228616714478,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 41,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "iconName": "arrow-top-right",
+ "widgetId": "kgie13n9d2",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.842965885996819,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21.333333333333332,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC6",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 40.63492063492063,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "8od3vchpi2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 45,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 51,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "mobileBottomRow": 24,
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 20,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 25,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.56103515625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 9,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "",
+ "key": "sefx44qvp2",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "65xjdau988",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "krk7t6fkrj",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 20,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 9,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "b28177b88a",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mtx9rr9sv3",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 10
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 3_TC5.storeLocation",
+ "name": "TC5.storeLocation",
+ "collectionId": "Page 3_TC5",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 3_TC6.myFun2",
+ "name": "TC6.myFun2",
+ "collectionId": "Page 3_TC6",
+ "clientSideExecution": true,
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 3",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacf8"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 4",
+ "slug": "page-4",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 650,
+ "containerStyle": "none",
+ "snapRows": 61,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Checkbox1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Checkbox",
+ "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg",
+ "searchTags": [
+ "boolean"
+ ],
+ "topRow": 3,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "CHECKBOX_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onCheckChange"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "onCheckChange": "",
+ "isDisabled": false,
+ "key": "o2vo6m4r0d",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "7og0usx4uq",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "label": "You having a good day?",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 3,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "defaultCheckedState": false,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 8,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "ButtonGroup2",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 12,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Make 'em all disappear",
+ "iconName": "clean",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','false');;}}"
+ },
+ "groupButton2": {
+ "label": "Bring them back!",
+ "iconName": "asterisk",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','true');;}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ }
+ ],
+ "key": "41w8av7fig",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "i3fwzt60ns",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "boxShadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "*_* Blue",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#93c5fd",
+ "onClick": "{{TC6.blue()}}"
+ },
+ "groupButton3": {
+ "label": " O_O Red",
+ "id": "groupButton3",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {
+ "menuItem1": {
+ "label": "First Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem1",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0
+ },
+ "menuItem2": {
+ "label": "Second Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem2",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1
+ },
+ "menuItem3": {
+ "label": "Delete",
+ "iconName": "trash",
+ "iconColor": "#FFFFFF",
+ "iconAlign": "right",
+ "textColor": "#FFFFFF",
+ "backgroundColor": "#DD4B34",
+ "id": "menuItem3",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2
+ }
+ },
+ "buttonColor": "#f472b6",
+ "onClick": "{{TC6.orange()}}"
+ },
+ "groupButton2": {
+ "label": "T_T Green",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2,
+ "menuItems": {},
+ "buttonColor": "#b5d1a5",
+ "onClick": "{{TC6.green()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton3.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "key": "8rlytj0pm0",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 10,
+ "widgetId": "vm3plubn8e",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "0.375rem",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "CategorySlider1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "options"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Category Slider",
+ "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg",
+ "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 18,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "CATEGORY_SLIDER_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{moment().format('dddd')}}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "labelText"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "options": "[\n {\n \"label\": \"Sunday\",\n \"value\": \"Sunday\"\n },\n\t{\n \"label\": \"Monday\",\n \"value\": \"Monday\"\n },\n {\n \"label\": \"Tuesday\",\n \"value\": \"Tuesday\"\n },\n {\n \"label\": \"Wednesday\",\n \"value\": \"Wednesday\"\n },\n {\n \"label\": \"Thursday\",\n \"value\": \"Thursday\"\n },\n {\n \"label\": \"Friday\",\n \"value\": \"Friday\"\n },\n {\n \"label\": \"Saturday\",\n \"value\": \"Saturday\"\n }\n]",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "isDisabled": false,
+ "key": "kxvqu06iom",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "onChange": "",
+ "widgetId": "jogmp1s31g",
+ "accentColor": "{{appsmith.store.background}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 18,
+ "originalBottomRow": 26,
+ "showMarksLabel": true
+ },
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 27,
+ "bottomRow": 40,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 253.12851905822754,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "em3f3sredw",
+ "containerStyle": "none",
+ "bottomRow": 130,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mglu9gsl2z",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 130,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 4,
+ "bottomRow": 11,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ikj1vq2v1h",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "widgetId": "vzvsrip3yr",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 4,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 11,
+ "iconColor": "#fafafa"
+ },
+ {
+ "widgetName": "Text1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Test if you have the skills to be have a karaoke night",
+ "key": "0oc89nkcbg",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "",
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "3z7yb728ic",
+ "isVisible": "{{appsmith.store.visible}}",
+ "fontStyle": "BOLD",
+ "textColor": "{{appsmith.store.text}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rlj0lh33fd",
+ "backgroundColor": "{{appsmith.store.background}}",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mglu9gsl2z",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 27,
+ "borderRadius": "0.375rem",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 40,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "newName",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg",
+ "searchTags": [
+ "mp3",
+ "sound",
+ "wave",
+ "player"
+ ],
+ "topRow": 44,
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "key": "gro03mxuhi",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "omgy5x59c0",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "originalBottomRow": 46,
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg",
+ "topRow": 44,
+ "isSortable": false,
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "primaryColumns.task.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.borderRadius"
+ },
+ {
+ "key": "primaryColumns.action.boxShadow"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "primaryColumns.task.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "primaryColumns.task.textColor"
+ },
+ {
+ "key": "primaryColumns.status.textColor"
+ },
+ {
+ "key": "primaryColumns.action.textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonLabel"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0,
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": "{{appsmith.store.visible}}",
+ "enableClientSideSearch": false,
+ "version": 1,
+ "textColor": "{{appsmith.store.text}}",
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 65,
+ "columnUpdatedAt": 1676634128648,
+ "defaultSelectedRowIndices": [
+ 0
+ ],
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "task",
+ "status",
+ "action"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "tableData"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 65,
+ "columnWidthMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "task": {
+ "index": 1,
+ "width": 150,
+ "id": "task",
+ "originalId": "task",
+ "alias": "task",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "task",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"task\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "status": {
+ "index": 2,
+ "width": 150,
+ "id": "status",
+ "originalId": "status",
+ "alias": "status",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "checkbox",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "status",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "action": {
+ "index": 3,
+ "width": 150,
+ "id": "action",
+ "originalId": "action",
+ "alias": "action",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "button",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "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": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"action\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "buttonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.contrast))}}",
+ "borderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}",
+ "boxShadow": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'none'))}}",
+ "cellBackground": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.background))}}",
+ "textColor": "{{appsmith.store.text}}",
+ "buttonLabel": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'Action'))}}",
+ "sticky": ""
+ }
+ },
+ "key": "e03zy85neo",
+ "canFreezeColumn": false,
+ "isDeprecated": false,
+ "rightColumn": 36,
+ "textSize": "0.875rem",
+ "widgetId": "2ggycmaef1",
+ "enableServerSideFiltering": false,
+ "tableData": "[\n {\n \"task\": \"Attempt 1 at singing\",\n \"status\": \"✅\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 2 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 3 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n }\n]",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "originalTopRow": 44,
+ "isVisiblePagination": false,
+ "cellBackground": "{{appsmith.store.background}}",
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 4",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 4",
+ "slug": "page-4",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 650,
+ "containerStyle": "none",
+ "snapRows": 61,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "widgetName": "Checkbox1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Checkbox",
+ "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg",
+ "searchTags": [
+ "boolean"
+ ],
+ "topRow": 3,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "CHECKBOX_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onCheckChange"
+ }
+ ],
+ "leftColumn": 26,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "onCheckChange": "",
+ "isDisabled": false,
+ "key": "o2vo6m4r0d",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "7og0usx4uq",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "label": "You having a good day?",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 3,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "defaultCheckedState": false,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 8,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "ButtonGroup2",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 12,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "Make 'em all disappear",
+ "iconName": "clean",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','false');;}}"
+ },
+ "groupButton2": {
+ "label": "Bring them back!",
+ "iconName": "asterisk",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {},
+ "buttonColor": "{{appsmith.store.background}}",
+ "onClick": "{{storeValue('visible','true');;}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "groupButtons.groupButton1.buttonColor"
+ },
+ {
+ "key": "groupButtons.groupButton2.buttonColor"
+ }
+ ],
+ "key": "41w8av7fig",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "i3fwzt60ns",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "boxShadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "widgetName": "ButtonGroup1",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ }
+ ],
+ "displayName": "Button Group",
+ "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 3,
+ "bottomRow": 16,
+ "parentRowSpace": 10,
+ "groupButtons": {
+ "groupButton1": {
+ "label": "*_* Blue",
+ "id": "groupButton1",
+ "widgetId": "",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0,
+ "menuItems": {},
+ "buttonColor": "#93c5fd",
+ "onClick": "{{TC6.blue()}}"
+ },
+ "groupButton3": {
+ "label": " O_O Red",
+ "id": "groupButton3",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1,
+ "menuItems": {
+ "menuItem1": {
+ "label": "First Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem1",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 0
+ },
+ "menuItem2": {
+ "label": "Second Option",
+ "backgroundColor": "#FFFFFF",
+ "id": "menuItem2",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 1
+ },
+ "menuItem3": {
+ "label": "Delete",
+ "iconName": "trash",
+ "iconColor": "#FFFFFF",
+ "iconAlign": "right",
+ "textColor": "#FFFFFF",
+ "backgroundColor": "#DD4B34",
+ "id": "menuItem3",
+ "widgetId": "",
+ "onClick": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2
+ }
+ },
+ "buttonColor": "#f472b6",
+ "onClick": "{{TC6.orange()}}"
+ },
+ "groupButton2": {
+ "label": "T_T Green",
+ "id": "groupButton2",
+ "buttonType": "SIMPLE",
+ "placement": "CENTER",
+ "widgetId": "",
+ "isVisible": true,
+ "isDisabled": false,
+ "index": 2,
+ "menuItems": {},
+ "buttonColor": "#b5d1a5",
+ "onClick": "{{TC6.green()}}"
+ }
+ },
+ "type": "BUTTON_GROUP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "groupButtons.groupButton1.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton3.onClick"
+ },
+ {
+ "key": "groupButtons.groupButton2.onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "key": "8rlytj0pm0",
+ "orientation": "vertical",
+ "isDeprecated": false,
+ "rightColumn": 10,
+ "widgetId": "vm3plubn8e",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ },
+ "borderRadius": "0.375rem",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "CategorySlider1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "options"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Category Slider",
+ "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg",
+ "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}",
+ "searchTags": [
+ "range"
+ ],
+ "topRow": 18,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "CATEGORY_SLIDER_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{moment().format('dddd')}}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "labelTextColor"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "labelText"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "shouldTruncate": false,
+ "labelPosition": "Top",
+ "options": "[\n {\n \"label\": \"Sunday\",\n \"value\": \"Sunday\"\n },\n\t{\n \"label\": \"Monday\",\n \"value\": \"Monday\"\n },\n {\n \"label\": \"Tuesday\",\n \"value\": \"Tuesday\"\n },\n {\n \"label\": \"Wednesday\",\n \"value\": \"Wednesday\"\n },\n {\n \"label\": \"Thursday\",\n \"value\": \"Thursday\"\n },\n {\n \"label\": \"Friday\",\n \"value\": \"Friday\"\n },\n {\n \"label\": \"Saturday\",\n \"value\": \"Saturday\"\n }\n]",
+ "labelTextColor": "{{appsmith.store.text}}",
+ "isDisabled": false,
+ "key": "kxvqu06iom",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "onChange": "",
+ "widgetId": "jogmp1s31g",
+ "accentColor": "{{appsmith.store.background}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "sliderSize": "m",
+ "shouldScroll": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 18,
+ "originalBottomRow": 26,
+ "showMarksLabel": true
+ },
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container1",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 27,
+ "bottomRow": 40,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 253.12851905822754,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "em3f3sredw",
+ "containerStyle": "none",
+ "bottomRow": 130,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "mglu9gsl2z",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 130,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 4,
+ "bottomRow": 11,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ikj1vq2v1h",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "widgetId": "vzvsrip3yr",
+ "accentColor": "{{appsmith.store.contrast}}",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 4,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 11,
+ "iconColor": "#fafafa"
+ },
+ {
+ "widgetName": "Text1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 3.9551331102848053,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "textColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Test if you have the skills to be have a karaoke night",
+ "key": "0oc89nkcbg",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "",
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "3z7yb728ic",
+ "isVisible": "{{appsmith.store.visible}}",
+ "fontStyle": "BOLD",
+ "textColor": "{{appsmith.store.text}}",
+ "version": 1,
+ "parentId": "em3f3sredw",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 4,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rlj0lh33fd",
+ "backgroundColor": "{{appsmith.store.background}}",
+ "isDeprecated": false,
+ "rightColumn": 29,
+ "dynamicHeight": "FIXED",
+ "widgetId": "mglu9gsl2z",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 27,
+ "borderRadius": "0.375rem",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 40,
+ "minDynamicHeight": 10
+ },
+ {
+ "widgetName": "newName",
+ "dynamicPropertyPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg",
+ "searchTags": [
+ "mp3",
+ "sound",
+ "wave",
+ "player"
+ ],
+ "topRow": 44,
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "isVisible"
+ }
+ ],
+ "key": "gro03mxuhi",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "omgy5x59c0",
+ "isVisible": "{{appsmith.store.visible}}",
+ "version": 1,
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "originalBottomRow": 46,
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "borderColor": "#E0DEDE",
+ "isVisibleDownload": false,
+ "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg",
+ "topRow": 44,
+ "isSortable": false,
+ "type": "TABLE_WIDGET_V2",
+ "inlineEditingSaveOption": "ROW_LEVEL",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "primaryColumns.task.computedValue"
+ },
+ {
+ "key": "primaryColumns.status.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.computedValue"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.borderRadius"
+ },
+ {
+ "key": "primaryColumns.action.boxShadow"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "primaryColumns.task.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "primaryColumns.task.textColor"
+ },
+ {
+ "key": "primaryColumns.status.textColor"
+ },
+ {
+ "key": "primaryColumns.action.textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonLabel"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "defaultSelectedRowIndex": 0,
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": "{{appsmith.store.visible}}",
+ "enableClientSideSearch": false,
+ "version": 1,
+ "textColor": "{{appsmith.store.text}}",
+ "totalRecordsCount": 0,
+ "isLoading": false,
+ "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": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ },
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 65,
+ "columnUpdatedAt": 1676634128648,
+ "defaultSelectedRowIndices": [
+ 0
+ ],
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "task",
+ "status",
+ "action"
+ ],
+ "dynamicPropertyPathList": [
+ {
+ "key": "cellBackground"
+ },
+ {
+ "key": "textColor"
+ },
+ {
+ "key": "isVisible"
+ },
+ {
+ "key": "primaryColumns.action.buttonColor"
+ },
+ {
+ "key": "primaryColumns.action.cellBackground"
+ },
+ {
+ "key": "primaryColumns.status.cellBackground"
+ },
+ {
+ "key": "tableData"
+ }
+ ],
+ "displayName": "Table",
+ "bottomRow": 65,
+ "columnWidthMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75
+ },
+ "parentRowSpace": 10,
+ "hideCard": false,
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "borderWidth": "1",
+ "primaryColumns": {
+ "task": {
+ "index": 1,
+ "width": 150,
+ "id": "task",
+ "originalId": "task",
+ "alias": "task",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "task",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"task\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "status": {
+ "index": 2,
+ "width": 150,
+ "id": "status",
+ "originalId": "status",
+ "alias": "status",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "checkbox",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "isDerived": false,
+ "label": "status",
+ "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "cellBackground": "{{appsmith.store.background}}",
+ "textColor": "{{appsmith.store.text}}",
+ "sticky": ""
+ },
+ "action": {
+ "index": 3,
+ "width": 150,
+ "id": "action",
+ "originalId": "action",
+ "alias": "action",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "button",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isCellVisible": true,
+ "isCellEditable": false,
+ "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": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"action\"]))}}",
+ "validation": {},
+ "labelColor": "#FFFFFF",
+ "buttonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.contrast))}}",
+ "borderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}",
+ "boxShadow": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'none'))}}",
+ "cellBackground": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.store.background))}}",
+ "textColor": "{{appsmith.store.text}}",
+ "buttonLabel": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'Action'))}}",
+ "sticky": ""
+ }
+ },
+ "key": "e03zy85neo",
+ "canFreezeColumn": false,
+ "isDeprecated": false,
+ "rightColumn": 36,
+ "textSize": "0.875rem",
+ "widgetId": "2ggycmaef1",
+ "enableServerSideFiltering": false,
+ "tableData": "[\n {\n \"task\": \"Attempt 1 at singing\",\n \"status\": \"✅\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 2 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n },\n {\n \"task\": \"Attempt 3 at singing\",\n \"status\": \"--\",\n \"action\": \"\"\n }\n]",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "originalTopRow": 44,
+ "isVisiblePagination": false,
+ "cellBackground": "{{appsmith.store.background}}",
+ "verticalAlignment": "CENTER"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 4",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfe"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 1",
+ "slug": "page-1",
+ "customSlug": "",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1480,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container3",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "animateLoading"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 66,
+ "bottomRow": 140,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": "true",
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 607.7500152587891,
+ "widgetName": "Canvas4",
+ "detachFromLayout": true,
+ "widgetId": "ijtgmtni2k",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "p7fos7awt2",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 830,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 31,
+ "bottomRow": 42,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "leftColumn": 39,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "rightColumn": 316.25449657440186,
+ "widgetName": "Canvas5",
+ "detachFromLayout": true,
+ "widgetId": "6iw1h9dfsf",
+ "containerStyle": "none",
+ "bottomRow": 110,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "e5qizxpr0i",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 123.75175952911377,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 5,
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "labelWidth": "15",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "PASSWORD",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohlhkb5pp7",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Password",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.password}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Input1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onFocus"
+ }
+ ],
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTextChanged"
+ },
+ {
+ "key": "onFocus"
+ }
+ ],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "EMAIL",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "onTextChanged": "",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4v3hz6o89j",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "e-mail",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "onFocus": "{{Api1.run(() => Api2.run(), () => TC1.myFun1())}}",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.email}}",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rgm6qofnar",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e5qizxpr0i",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 31,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 42,
+ "minDynamicHeight": 10
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2Copy",
+ "onClick": "{{removeValue('dob');\nremoveValue('email');\nremoveValue('pic');}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Remove a few store values",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xtx0akgjk0",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1937', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "w6qr6t0oal",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 8,
+ "bottomRow": 30,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "SCROLL",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 27,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Use buttons on the left to trigger an API run and see dynamic data on displayed on relevant widgets (date, phone#, name, location etc...) </b>\n\n<b>Step 1:</b> Clear local store values by clicking on relevant button\n\n<b>Step 2:</b> Use <i>promise.all</i> function to trigger sequential store value actions\n\n<b>Step 3:</b> Use <i>then/catch</i> block to trigger second set of sequential store value actions to display content. (This function only triggers store value in <i>catch</i> block)",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5zjwcuucs2",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC2",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pv5wh9p2rb",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3Copy",
+ "onClick": "{{TC2.myFun2()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 24,
+ "bottomRow": 29,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using then/catch",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tvwn4pxtjo",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{TC2.myFun1();}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 19,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using promise.all",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "bs6qb7yb4u",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Clear appsmith store",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "isDefaultClickDisabled": true,
+ "widgetId": "qcnf9yi3kl",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 33,
+ "bottomRow": 49,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "q7e2c15fyz",
+ "image": "{{appsmith.store.pic}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "contain",
+ "widgetId": "18m6ehwqyv",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 29,
+ "bottomRow": 33,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.title}} {{appsmith.store.first ?? \"\"}} {{appsmith.store.last}}",
+ "key": "8vc77e1j1z",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "96dlxdqrnf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 10,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map1",
+ "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}},\n \"title\": \"User location\",\n \"color\": \"red\"\n }\n]",
+ "dynamicPropertyPathList": [
+ {
+ "key": "mapCenter"
+ }
+ ],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 42,
+ "bottomRow": 71,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "allowZoom": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 36,
+ "dynamicBindingPathList": [
+ {
+ "key": "mapCenter"
+ },
+ {
+ "key": "defaultMarkers"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "enablePickLocation": true,
+ "mapCenter": "{\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}}\n}",
+ "isClickedMarkerCentered": true,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "xpdrclix9k",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "lvbo7v7lxh",
+ "enableCreateMarker": false,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 71
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "DatePicker1",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "dateFormat": "LLL",
+ "dynamicPropertyPathList": [
+ {
+ "key": "defaultDate"
+ }
+ ],
+ "displayName": "DatePicker",
+ "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg",
+ "searchTags": [
+ "calendar"
+ ],
+ "topRow": 49,
+ "bottomRow": 53,
+ "shortcuts": true,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "DATE_PICKER_WIDGET2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultDate"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "#1d4ed8",
+ "isDisabled": false,
+ "key": "x339tqgav5",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "defaultDate": "{{appsmith.store.dob}}",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v1h32cg7fe",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "datePickerType": "DATE_PICKER",
+ "label": "Date of birth",
+ "version": 2,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "timePrecision": "minute",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "firstDayOfWeek": 0,
+ "closeOnSelection": true,
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "PhoneInput1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 54,
+ "bottomRow": 58,
+ "parentRowSpace": 10,
+ "labelWidth": "4",
+ "defaultDialCode": "+260",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "BOLD",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "2c96r94kzy",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Landline",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.phone}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "PhoneInput2",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 59,
+ "bottomRow": 63,
+ "parentRowSpace": 10,
+ "labelWidth": "3",
+ "defaultDialCode": "+1664",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qppi9qtlwp",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.cell}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 64,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{appsmith.store.gender == \"female\" ? 'F' : 'M'}}",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultOptionValue"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Male",
+ "value": "M"
+ },
+ {
+ "label": "Female",
+ "value": "F"
+ }
+ ],
+ "isDisabled": false,
+ "key": "rdqw0n133t",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4bqyoh6ydq",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Gender",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "qmr0vxzj8r",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "p7fos7awt2",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 67,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 141,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 4,
+ "bottomRow": 61,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "kk1k58hv9w",
+ "containerStyle": "none",
+ "bottomRow": 570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "fprx0bu1rp",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 570,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text1",
+ "borderColor": "{{Select1.selectedOptionValue}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 49,
+ "bottomRow": 54,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "borderColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "7",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Step 4: Selected colour is <b>{{appsmith.store.selected ?? 'blank'}}</b> and will default to <b>{{Select1.defaultOptionValue}} </b>after reset",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "backgroundColor": "{{Select1.selectedOptionValue}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "iv3qlgn05v",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#18181b",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 49,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 54,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "multiRowSelection": false,
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 19,
+ "isSortable": true,
+ "onPageChange": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "type": "TABLE_WIDGET",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": "",
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75,
+ "userId": 79,
+ "id": 60
+ },
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ }
+ ],
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "textSize": "0.875rem",
+ "widgetId": "hzi419yzw9",
+ "tableData": "{{Api1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "kk1k58hv9w",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Audio1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a.svg",
+ "topRow": 19,
+ "bottomRow": 23,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPlay"
+ }
+ ],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [],
+ "key": "1ujq0d6hyd",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "8bjrosh0ou",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "onPlay": "{{TC1.myFun1()}}",
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Step 2:",
+ "topRow": 15,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( TC1.selectOptions[0].value))(Select1.options, Select1.serverSideFiltering) }}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC1.selectOptions}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h3jvfg6ol2",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{storeValue('selected', Select1.selectedOptionLabel)\nawait showAlert(Select1.selectedOptionValue === \"\" ? \"are you confused about the background colour?\" : appsmith.store.selected)}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 7,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 30,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Step 1:</b> Modify <b>Switch widget</b> toggle to off \n<b>Step 2:</b> Modify <b>dropdown option</b> from Green to any another option\n<b>Step 3:</b> Move to page 4 on the <b>table widget</b>\n<b>Step 4:</b> Hit the play button on the <b>Audio widget</b> to trigger actions",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohazs8n5hb",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Switch1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Switch",
+ "iconSVG": "/static/media/icon.a3115bc1.svg",
+ "topRow": 11,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "type": "SWITCH_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "633iji72ol",
+ "isDeprecated": false,
+ "rightColumn": 13,
+ "onChange": "",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0hmn8m90ei",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Step 1:",
+ "defaultSwitchState": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC1",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "046n7liqib",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1752', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "znm5ogd46g",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup1",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 23,
+ "bottomRow": 32,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "Y",
+ "animateLoading": true,
+ "parentColumnSpace": 17.625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Yes",
+ "value": "Y"
+ },
+ {
+ "label": "No",
+ "value": "N"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ekhr4wfb2d",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tdeulieh26",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Catch block test",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fprx0bu1rp",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 62,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "5i9vixju2a",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 5,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 1_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 1",
+ "slug": "page-1",
+ "customSlug": "",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1480,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Container3",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "animateLoading"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 66,
+ "bottomRow": 140,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": "true",
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 607.7500152587891,
+ "widgetName": "Canvas4",
+ "detachFromLayout": true,
+ "widgetId": "ijtgmtni2k",
+ "containerStyle": "none",
+ "bottomRow": 740,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "p7fos7awt2",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 830,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "#E0DEDE",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 31,
+ "bottomRow": 42,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "leftColumn": 39,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "rightColumn": 316.25449657440186,
+ "widgetName": "Canvas5",
+ "detachFromLayout": true,
+ "widgetId": "6iw1h9dfsf",
+ "containerStyle": "none",
+ "bottomRow": 110,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "e5qizxpr0i",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 123.75175952911377,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 5,
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "labelWidth": "15",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "PASSWORD",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohlhkb5pp7",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Password",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.password}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Input1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onFocus"
+ }
+ ],
+ "displayName": "Input",
+ "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "labelWidth": "10",
+ "autoFocus": false,
+ "type": "INPUT_WIDGET_V2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 4.941476508975029,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onTextChanged"
+ },
+ {
+ "key": "onFocus"
+ }
+ ],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "inputType": "EMAIL",
+ "isDisabled": false,
+ "key": "3u43ehne15",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "onTextChanged": "",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4v3hz6o89j",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "e-mail",
+ "version": 2,
+ "parentId": "6iw1h9dfsf",
+ "onFocus": "{{Api1.run(() => Api2.run(), () => TC1.myFun1())}}",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.email}}",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "1",
+ "key": "rgm6qofnar",
+ "backgroundColor": "#FFFFFF",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e5qizxpr0i",
+ "containerStyle": "card",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "originalTopRow": 31,
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 42,
+ "minDynamicHeight": 10
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2Copy",
+ "onClick": "{{removeValue('dob');\nremoveValue('email');\nremoveValue('pic');}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 12,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Remove a few store values",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xtx0akgjk0",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1Copy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1937', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "w6qr6t0oal",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text2CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 8,
+ "bottomRow": 30,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "SCROLL",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 27,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Use buttons on the left to trigger an API run and see dynamic data on displayed on relevant widgets (date, phone#, name, location etc...) </b>\n\n<b>Step 1:</b> Clear local store values by clicking on relevant button\n\n<b>Step 2:</b> Use <i>promise.all</i> function to trigger sequential store value actions\n\n<b>Step 3:</b> Use <i>then/catch</i> block to trigger second set of sequential store value actions to display content. (This function only triggers store value in <i>catch</i> block)",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "5zjwcuucs2",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3CopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 19,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC2",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pv5wh9p2rb",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3Copy",
+ "onClick": "{{TC2.myFun2()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 24,
+ "bottomRow": 29,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using then/catch",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tvwn4pxtjo",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{TC2.myFun1();}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 19,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Store values using promise.all",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "isDefaultClickDisabled": true,
+ "widgetId": "bs6qb7yb4u",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "onClick": "{{clearStore()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca02633.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 8,
+ "bottomRow": 13,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.496093988418579,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Clear appsmith store",
+ "isDisabled": false,
+ "key": "tf875ip5ma",
+ "isDeprecated": false,
+ "rightColumn": 12,
+ "isDefaultClickDisabled": true,
+ "widgetId": "qcnf9yi3kl",
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image1",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb96.svg",
+ "topRow": 33,
+ "bottomRow": 49,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "image"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "defaultImage": "",
+ "key": "q7e2c15fyz",
+ "image": "{{appsmith.store.pic}}",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "objectFit": "contain",
+ "widgetId": "18m6ehwqyv",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph"
+ ],
+ "topRow": 29,
+ "bottomRow": 33,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{appsmith.store.title}} {{appsmith.store.first ?? \"\"}} {{appsmith.store.last}}",
+ "key": "8vc77e1j1z",
+ "isDeprecated": false,
+ "rightColumn": 16,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "96dlxdqrnf",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "zoomLevel": 10,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Map1",
+ "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}},\n \"title\": \"User location\",\n \"color\": \"red\"\n }\n]",
+ "dynamicPropertyPathList": [
+ {
+ "key": "mapCenter"
+ }
+ ],
+ "displayName": "Map",
+ "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg",
+ "topRow": 42,
+ "bottomRow": 71,
+ "parentRowSpace": 10,
+ "type": "MAP_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "allowZoom": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 36,
+ "dynamicBindingPathList": [
+ {
+ "key": "mapCenter"
+ },
+ {
+ "key": "defaultMarkers"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "enablePickLocation": true,
+ "mapCenter": "{\n \"lat\": {{appsmith.store.lat}},\n \"long\": {{appsmith.store.long}}\n}",
+ "isClickedMarkerCentered": true,
+ "isDisabled": false,
+ "enableSearch": false,
+ "key": "xpdrclix9k",
+ "isDeprecated": false,
+ "rightColumn": 62,
+ "widgetId": "lvbo7v7lxh",
+ "enableCreateMarker": false,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 42,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "originalBottomRow": 71
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "DatePicker1",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "dateFormat": "LLL",
+ "dynamicPropertyPathList": [
+ {
+ "key": "defaultDate"
+ }
+ ],
+ "displayName": "DatePicker",
+ "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg",
+ "searchTags": [
+ "calendar"
+ ],
+ "topRow": 49,
+ "bottomRow": 53,
+ "shortcuts": true,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "DATE_PICKER_WIDGET2",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultDate"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelTextColor": "#1d4ed8",
+ "isDisabled": false,
+ "key": "x339tqgav5",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "defaultDate": "{{appsmith.store.dob}}",
+ "isDeprecated": false,
+ "rightColumn": 25,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v1h32cg7fe",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "datePickerType": "DATE_PICKER",
+ "label": "Date of birth",
+ "version": 2,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "timePrecision": "minute",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "firstDayOfWeek": 0,
+ "closeOnSelection": true,
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "PhoneInput1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 54,
+ "bottomRow": 58,
+ "parentRowSpace": 10,
+ "labelWidth": "4",
+ "defaultDialCode": "+260",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "BOLD",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "2c96r94kzy",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Landline",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "regex": "",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.phone}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "PhoneInput2",
+ "dynamicPropertyPathList": [],
+ "displayName": "Phone Input",
+ "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 59,
+ "bottomRow": 63,
+ "parentRowSpace": 10,
+ "labelWidth": "3",
+ "defaultDialCode": "+1664",
+ "autoFocus": false,
+ "type": "PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultText"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "3lpv64df30",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qppi9qtlwp",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "allowFormatting": false,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "{{appsmith.store.cell}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 64,
+ "bottomRow": 72,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "{{appsmith.store.gender == \"female\" ? 'F' : 'M'}}",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultOptionValue"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Male",
+ "value": "M"
+ },
+ {
+ "label": "Female",
+ "value": "F"
+ }
+ ],
+ "isDisabled": false,
+ "key": "rdqw0n133t",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "4bqyoh6ydq",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Gender",
+ "version": 1,
+ "parentId": "ijtgmtni2k",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "qmr0vxzj8r",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "p7fos7awt2",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 67,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 141,
+ "minDynamicHeight": 4
+ },
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container1",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 4,
+ "bottomRow": 61,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 900.0125122070312,
+ "widgetName": "Canvas1",
+ "detachFromLayout": true,
+ "widgetId": "kk1k58hv9w",
+ "containerStyle": "none",
+ "bottomRow": 570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "fprx0bu1rp",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 570,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "widgetName": "Text1",
+ "borderColor": "{{Select1.selectedOptionValue}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 49,
+ "bottomRow": 54,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "text"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "borderColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "borderWidth": "7",
+ "truncateButtonColor": "#FFC13D",
+ "text": "Step 4: Selected colour is <b>{{appsmith.store.selected ?? 'blank'}}</b> and will default to <b>{{Select1.defaultOptionValue}} </b>after reset",
+ "key": "lk4gyh2a8t",
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "backgroundColor": "{{Select1.selectedOptionValue}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "iv3qlgn05v",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#18181b",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 49,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 54,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "multiRowSelection": false,
+ "isVisibleDownload": true,
+ "iconSVG": "/static/media/icon.db8a9cbd.svg",
+ "topRow": 19,
+ "isSortable": true,
+ "onPageChange": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "type": "TABLE_WIDGET",
+ "animateLoading": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "tableData"
+ },
+ {
+ "key": "primaryColumns.body.computedValue"
+ },
+ {
+ "key": "primaryColumns.title.computedValue"
+ },
+ {
+ "key": "primaryColumns.userId.computedValue"
+ },
+ {
+ "key": "primaryColumns.id.computedValue"
+ },
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "leftColumn": 0,
+ "delimiter": ",",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisibleFilters": false,
+ "isVisible": true,
+ "enableClientSideSearch": true,
+ "version": 3,
+ "totalRecordsCount": "",
+ "isLoading": false,
+ "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": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "columnSizeMap": {
+ "task": 245,
+ "step": 62,
+ "status": 75,
+ "userId": 79,
+ "id": 60
+ },
+ "widgetName": "Table1",
+ "defaultPageSize": 0,
+ "columnOrder": [
+ "userId",
+ "id",
+ "title",
+ "body"
+ ],
+ "dynamicPropertyPathList": [],
+ "displayName": "Table",
+ "bottomRow": 48,
+ "parentRowSpace": 10,
+ "defaultSelectedRow": "0",
+ "hideCard": false,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPageChange"
+ }
+ ],
+ "primaryColumns": {
+ "id": {
+ "index": 0,
+ "width": 150,
+ "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))}}"
+ },
+ "userId": {
+ "index": 0,
+ "width": 150,
+ "id": "userId",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "userId",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}",
+ "cellBackground": ""
+ },
+ "title": {
+ "index": 2,
+ "width": 150,
+ "id": "title",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "title",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}",
+ "cellBackground": ""
+ },
+ "body": {
+ "index": 3,
+ "width": 150,
+ "id": "body",
+ "horizontalAlignment": "LEFT",
+ "verticalAlignment": "CENTER",
+ "columnType": "text",
+ "textColor": "",
+ "textSize": "0.875rem",
+ "enableFilter": true,
+ "enableSort": true,
+ "isVisible": true,
+ "isDisabled": false,
+ "isCellVisible": true,
+ "isDerived": false,
+ "label": "body",
+ "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.body))}}",
+ "cellBackground": ""
+ }
+ },
+ "key": "sbikkpxlt6",
+ "derivedColumns": {},
+ "isDeprecated": false,
+ "rightColumn": 46,
+ "textSize": "0.875rem",
+ "widgetId": "hzi419yzw9",
+ "tableData": "{{Api1.data}}",
+ "label": "Data",
+ "searchKey": "",
+ "parentId": "kk1k58hv9w",
+ "serverSidePaginationEnabled": true,
+ "renderMode": "CANVAS",
+ "horizontalAlignment": "LEFT",
+ "isVisibleSearch": true,
+ "isVisiblePagination": true,
+ "verticalAlignment": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Audio1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio",
+ "iconSVG": "/static/media/icon.cb54df7a.svg",
+ "topRow": 19,
+ "bottomRow": 23,
+ "parentRowSpace": 10,
+ "type": "AUDIO_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onPlay"
+ }
+ ],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [],
+ "key": "1ujq0d6hyd",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "8bjrosh0ou",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "version": 1,
+ "onPlay": "{{TC1.myFun1()}}",
+ "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "autoPlay": false
+ },
+ {
+ "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba.svg",
+ "labelText": "Step 2:",
+ "topRow": 15,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( TC1.selectOptions[0].value))(Select1.options, Select1.serverSideFiltering) }}",
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "defaultOptionValue"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Left",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{TC1.selectOptions}}",
+ "key": "2uz2gkca46",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h3jvfg6ol2",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{storeValue('selected', Select1.selectedOptionLabel)\nawait showAlert(Select1.selectedOptionValue === \"\" ? \"are you confused about the background colour?\" : appsmith.store.selected)}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text2",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 7,
+ "bottomRow": 19,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 30,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "<b>Step 1:</b> Modify <b>Switch widget</b> toggle to off \n<b>Step 2:</b> Modify <b>dropdown option</b> from Green to any another option\n<b>Step 3:</b> Move to page 4 on the <b>table widget</b>\n<b>Step 4:</b> Hit the play button on the <b>Audio widget</b> to trigger actions",
+ "key": "yvaa42nezb",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "ohazs8n5hb",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Switch1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Switch",
+ "iconSVG": "/static/media/icon.a3115bc1.svg",
+ "topRow": 11,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "type": "SWITCH_WIDGET",
+ "alignWidget": "LEFT",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onChange"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "633iji72ol",
+ "isDeprecated": false,
+ "rightColumn": 13,
+ "onChange": "",
+ "dynamicHeight": "FIXED",
+ "widgetId": "0hmn8m90ei",
+ "accentColor": "#d4cab8",
+ "isVisible": true,
+ "label": "Step 1:",
+ "defaultSwitchState": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 0,
+ "bottomRow": 6,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 20,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC1",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "046n7liqib",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1752', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 6,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "znm5ogd46g",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "RadioGroup1",
+ "displayName": "Radio Group",
+ "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg",
+ "searchTags": [
+ "choice"
+ ],
+ "topRow": 23,
+ "bottomRow": 32,
+ "parentRowSpace": 10,
+ "labelWidth": "6",
+ "type": "RADIO_GROUP_WIDGET",
+ "hideCard": false,
+ "defaultOptionValue": "Y",
+ "animateLoading": true,
+ "parentColumnSpace": 17.625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 46,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ }
+ ],
+ "labelPosition": "Left",
+ "options": [
+ {
+ "label": "Yes",
+ "value": "Y"
+ },
+ {
+ "label": "No",
+ "value": "N"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ekhr4wfb2d",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tdeulieh26",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isVisible": true,
+ "label": "Catch block test",
+ "version": 1,
+ "parentId": "kk1k58hv9w",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxDynamicHeight": 9000,
+ "isInline": true,
+ "alignment": "left",
+ "minDynamicHeight": 4
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "d713hjidlo",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fprx0bu1rp",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 5,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 62,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.0625,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "NOTE: Do not edit the app. But please feel free to export the app to your workspace to perform your testing",
+ "key": "40a0khhp6k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "textAlign": "CENTER",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "5i9vixju2a",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "originalTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "originalBottomRow": 5,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "Page 1_Api1",
+ "name": "Api1",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ },
+ {
+ "id": "Page 1_TC2.myFun2",
+ "name": "TC2.myFun2",
+ "collectionId": "Page 1_TC2",
+ "clientSideExecution": true,
+ "confirmBeforeExecute": true,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfc"
+ },
+ {
+ "unpublishedPage": {
+ "name": "Page 5",
+ "slug": "page-5",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 60,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": []
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 5",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "Page 5",
+ "slug": "page-5",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 60,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 620,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": []
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "Page 5",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad02"
+ },
+ {
+ "unpublishedPage": {
+ "name": "--Playground",
+ "slug": "playground",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "CurrencyInput1",
+ "displayName": "Currency Input",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 6,
+ "bottomRow": 13,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "autoFocus": false,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 17.9375,
+ "resetOnSubmit": true,
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "5h0zlsv95s",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "pimwlacvdq",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": true,
+ "isVisible": true,
+ "label": "Label",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 21,
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 17,
+ "bottomRow": 21,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 20,
+ "animateLoading": true,
+ "parentColumnSpace": 14.109375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 4,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "isDefaultClickDisabled": true,
+ "widgetId": "asmby8goxw",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 17,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 4,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 0,
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "mobileRightColumn": 0,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "mobileBottomRow": 0,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "mobileRightColumn": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "IconButton1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "axlwsd6sq8",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "xwedrxuzlu",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 58,
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "mobileBottomRow": 5,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 41,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "u8xbxahcx3",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "qoqyr7yxrs",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 1,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 47,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "aawtdk0jxu",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 31,
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button3",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 63,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "ep9ahnwl95",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 47,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ehq8jidizb",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "34u4b3ypqt",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "er47h3pk7j",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "key": "15nvw5u4z6",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "er47h3pk7j",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": true
+ },
+ "publishedPage": {
+ "name": "--Playground",
+ "slug": "playground",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 66,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 670,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "CurrencyInput1",
+ "displayName": "Currency Input",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 6,
+ "bottomRow": 13,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "labelWidth": 5,
+ "autoFocus": false,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 17.9375,
+ "resetOnSubmit": true,
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "isDisabled": false,
+ "key": "5h0zlsv95s",
+ "labelTextSize": "0.875rem",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 22,
+ "dynamicHeight": "FIXED",
+ "widgetId": "pimwlacvdq",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": true,
+ "isVisible": true,
+ "label": "Label",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "0",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 21,
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 17,
+ "bottomRow": 21,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 20,
+ "animateLoading": true,
+ "parentColumnSpace": 14.109375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 4,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Submit",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 20,
+ "isDefaultClickDisabled": true,
+ "widgetId": "asmby8goxw",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 17,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 4,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ },
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 0,
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "mobileRightColumn": 0,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "mobileBottomRow": 0,
+ "widgetName": "Canvas1",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "mobileRightColumn": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "mobileBottomRow": 4,
+ "widgetName": "IconButton1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon button",
+ "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "axlwsd6sq8",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "xwedrxuzlu",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "hug",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 58,
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "mobileBottomRow": 5,
+ "widgetName": "Text1",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 41,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "u8xbxahcx3",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "qoqyr7yxrs",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Suggested",
+ "Content"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 1,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 47,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "aawtdk0jxu",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 31,
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 22,
+ "widgetName": "Button3",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 63,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "j0dry421av",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "ep9ahnwl95",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "34u4b3ypqt",
+ "tags": [
+ "Buttons"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 18,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 47,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ehq8jidizb",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "34u4b3ypqt",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "er47h3pk7j",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "flexLayers": []
+ }
+ ],
+ "key": "15nvw5u4z6",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "er47h3pk7j",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": true
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bacfa"
+ },
+ {
+ "unpublishedPage": {
+ "name": "--Playground1",
+ "slug": "playground1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1670,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 0,
+ "bottomRow": 157,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "vn0hhhi9ah",
+ "containerStyle": "none",
+ "bottomRow": 1570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "h08lbuzxas",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "0b7bdj8klw",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "zw0q78h35r",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
+ "labelText": "Pick an astronaut to display their information",
+ "searchTags": [
+ "dropdown"
+ ],
+ "topRow": 8,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "23",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 22,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{astronautsLog.astronautNames()}}",
+ "key": "phyziaanl1",
+ "labelTextSize": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "FIXED",
+ "widgetId": "o7odcz8q5n",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{filteredAstronauts_really_long.run(() => astronautsLog.progressBar(), () => showAlert('error'))}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "schema": {
+ "__root_schema__": {
+ "children": {
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Pesquet",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 0,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "name"
+ },
+ "date_of_birth": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.date_of_birth))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "sourceData": "1978-02-27",
+ "isCustomField": false,
+ "accessor": "date_of_birth",
+ "identifier": "date_of_birth",
+ "position": 1,
+ "originalIdentifier": "date_of_birth",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "born on",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 2,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 3,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "url"
+ },
+ "date_of_death": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (moment(sourceData.date_of_death, \"YYYY-MM-DD\").format(\"YYYY-MM-DDTHH:mm:ss.sssZ\")))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "date_of_death",
+ "identifier": "date_of_death",
+ "position": 4,
+ "originalIdentifier": "date_of_death",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "YYYY-MM-DD",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Date Of Death",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "nationality": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.nationality))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "French",
+ "isCustomField": false,
+ "accessor": "nationality",
+ "identifier": "nationality",
+ "position": 5,
+ "originalIdentifier": "nationality",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Nationality"
+ },
+ "bio": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.bio))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "isCustomField": false,
+ "accessor": "bio",
+ "identifier": "bio",
+ "position": 8,
+ "originalIdentifier": "bio",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Bio"
+ },
+ "twitter": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.twitter))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://twitter.com/Thom_astro",
+ "isCustomField": false,
+ "accessor": "twitter",
+ "identifier": "twitter",
+ "position": 9,
+ "originalIdentifier": "twitter",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Twitter"
+ },
+ "instagram": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.instagram))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://instagram.com/thom_astro",
+ "isCustomField": false,
+ "accessor": "instagram",
+ "identifier": "instagram",
+ "position": 10,
+ "originalIdentifier": "instagram",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Instagram"
+ },
+ "wiki": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.wiki))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "isCustomField": false,
+ "accessor": "wiki",
+ "identifier": "wiki",
+ "position": 11,
+ "originalIdentifier": "wiki",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Wiki"
+ },
+ "profile_image": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image",
+ "identifier": "profile_image",
+ "position": 12,
+ "originalIdentifier": "profile_image",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image"
+ },
+ "profile_image_thumbnail": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image_thumbnail))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image_thumbnail",
+ "identifier": "profile_image_thumbnail",
+ "position": 13,
+ "originalIdentifier": "profile_image_thumbnail",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image Thumbnail"
+ },
+ "last_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.last_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "last_flight",
+ "identifier": "last_flight",
+ "position": 7,
+ "originalIdentifier": "last_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Last Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2021-04-23T09:49:02Z"
+ },
+ "first_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.first_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "first_flight",
+ "identifier": "first_flight",
+ "position": 6,
+ "originalIdentifier": "first_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "First Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2016-11-17T20:20:13Z"
+ },
+ "status": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Active",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "name": "Active"
+ },
+ "isCustomField": false,
+ "accessor": "status",
+ "identifier": "status",
+ "position": 14,
+ "originalIdentifier": "status",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Status"
+ },
+ "type": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Government",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 2,
+ "name": "Government"
+ },
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 15,
+ "originalIdentifier": "type",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "agency": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 27,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 1,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Url"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "European Space Agency",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 2,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ },
+ "featured": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.featured))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "featured",
+ "identifier": "featured",
+ "position": 3,
+ "originalIdentifier": "featured",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Featured"
+ },
+ "type": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Multinational",
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 4,
+ "originalIdentifier": "type",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "country_code": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.country_code))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "isCustomField": false,
+ "accessor": "country_code",
+ "identifier": "country_code",
+ "position": 5,
+ "originalIdentifier": "country_code",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Country Code"
+ },
+ "abbrev": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.abbrev))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "ESA",
+ "isCustomField": false,
+ "accessor": "abbrev",
+ "identifier": "abbrev",
+ "position": 6,
+ "originalIdentifier": "abbrev",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Abbrev"
+ },
+ "description": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.description))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "isCustomField": false,
+ "accessor": "description",
+ "identifier": "description",
+ "position": 7,
+ "originalIdentifier": "description",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Description"
+ },
+ "administrator": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.administrator))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "administrator",
+ "identifier": "administrator",
+ "position": 8,
+ "originalIdentifier": "administrator",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Administrator",
+ "sourceData": "Director General: Josef Aschbacher"
+ },
+ "founding_year": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.founding_year))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "1975",
+ "isCustomField": false,
+ "accessor": "founding_year",
+ "identifier": "founding_year",
+ "position": 9,
+ "originalIdentifier": "founding_year",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Founding Year"
+ },
+ "launchers": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.launchers))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "launchers",
+ "identifier": "launchers",
+ "position": 10,
+ "originalIdentifier": "launchers",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Launchers"
+ },
+ "spacecraft": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.spacecraft))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "spacecraft",
+ "identifier": "spacecraft",
+ "position": 11,
+ "originalIdentifier": "spacecraft",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacecraft"
+ },
+ "parent": {
+ "children": {},
+ "dataType": "null",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.parent))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "parent",
+ "identifier": "parent",
+ "position": 12,
+ "originalIdentifier": "parent",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Parent"
+ },
+ "image_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.image_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "image_url",
+ "identifier": "image_url",
+ "position": 13,
+ "originalIdentifier": "image_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Image Url"
+ },
+ "logo_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.logo_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png",
+ "isCustomField": false,
+ "accessor": "logo_url",
+ "identifier": "logo_url",
+ "position": 14,
+ "originalIdentifier": "logo_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Logo Url"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "isCustomField": false,
+ "accessor": "agency",
+ "identifier": "agency",
+ "position": 16,
+ "originalIdentifier": "agency",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Agency"
+ },
+ "age": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.age))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 44,
+ "isCustomField": false,
+ "accessor": "age",
+ "identifier": "age",
+ "position": 17,
+ "originalIdentifier": "age",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Age"
+ },
+ "flights_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.flights_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "flights_count",
+ "identifier": "flights_count",
+ "position": 18,
+ "originalIdentifier": "flights_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Flights Count"
+ },
+ "landings_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.landings_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "landings_count",
+ "identifier": "landings_count",
+ "position": 19,
+ "originalIdentifier": "landings_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Landings Count"
+ },
+ "in_space": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "in_space",
+ "identifier": "in_space",
+ "position": 20,
+ "originalIdentifier": "in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "In Space"
+ },
+ "time_in_space": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.time_in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P396DT11H33M45S",
+ "isCustomField": false,
+ "accessor": "time_in_space",
+ "identifier": "time_in_space",
+ "position": 21,
+ "originalIdentifier": "time_in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Time In Space"
+ },
+ "eva_time": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.eva_time))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P1DT15H54M",
+ "isCustomField": false,
+ "accessor": "eva_time",
+ "identifier": "eva_time",
+ "position": 22,
+ "originalIdentifier": "eva_time",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Eva Time"
+ },
+ "spacewalks_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.spacewalks_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 6,
+ "isCustomField": false,
+ "accessor": "spacewalks_count",
+ "identifier": "spacewalks_count",
+ "position": 23,
+ "originalIdentifier": "spacewalks_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacewalks Count"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "url": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "name": "Thomas Pesquet",
+ "status": {
+ "id": 1,
+ "name": "Active"
+ },
+ "type": {
+ "id": 2,
+ "name": "Government"
+ },
+ "age": 44,
+ "date_of_birth": "1978-02-27",
+ "nationality": "French",
+ "bio": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "twitter": "https://twitter.com/Thom_astro",
+ "instagram": "https://instagram.com/thom_astro",
+ "wiki": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "agency": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "flights_count": 2,
+ "landings_count": 2,
+ "last_flight": "2021-04-23T09:49:02Z",
+ "first_flight": "2016-11-17T20:20:13Z"
+ },
+ "isCustomField": false,
+ "accessor": "__root_schema__",
+ "identifier": "__root_schema__",
+ "position": -1,
+ "originalIdentifier": "__root_schema__",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": ""
+ }
+ },
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "JSONForm1",
+ "submitButtonStyles": {
+ "buttonColor": "transparent",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "TERTIARY"
+ },
+ "dynamicPropertyPathList": [
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ }
+ ],
+ "displayName": "JSON Form",
+ "iconSVG": "/static/media/icon.5b428de12db9ad6a591955ead07f86e9.svg",
+ "topRow": 37,
+ "bottomRow": 80,
+ "fieldLimitExceeded": false,
+ "parentRowSpace": 10,
+ "title": "",
+ "type": "JSON_FORM_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "submitButtonStyles.borderRadius"
+ },
+ {
+ "key": "resetButtonStyles.buttonColor"
+ },
+ {
+ "key": "resetButtonStyles.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.cellBorderRadius"
+ },
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.borderRadius"
+ }
+ ],
+ "sourceData": "{{filteredAstronauts_really_long.data.results[0]}}",
+ "showReset": false,
+ "resetButtonLabel": "",
+ "key": "mb10lpx0lx",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "dynamicHeight": "FIXED",
+ "autoGenerateForm": true,
+ "widgetId": "rsugpn6p9u",
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "SECONDARY"
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "scrollContents": true,
+ "fixedFooter": true,
+ "submitButtonLabel": "",
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "disabledWhenInvalid": true,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Iframe2",
+ "displayName": "Iframe",
+ "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg",
+ "searchTags": [
+ "embed"
+ ],
+ "topRow": 17,
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "source": "{{JSONForm1.sourceData.wiki}}",
+ "type": "IFRAME_WIDGET",
+ "hideCard": false,
+ "borderOpacity": 100,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "source"
+ }
+ ],
+ "borderWidth": 1,
+ "key": "g8muw4zk94",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "widgetId": "mz6fhqu7a9",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "onClick": "{{showModal('Modal2').then(() => {\n showModal('Modal5');\n closeModal('Modal3');\n}).catch(() => {\n showModal('Modal2');\n showModal('Modal3');\n showModal('Modal4');\n});}}",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 24,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.profile_image}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "xbvii1ix6y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "onClick": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 91,
+ "bottomRow": 115,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 24,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.agency.image_url}}",
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "objectFit": "contain",
+ "widgetId": "rqyzl6wlzr",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container6",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 17,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 70,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "Noto Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.name}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "backgroundColor": "{{appsmith.theme.colors.backgroundColor}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "utlu5mh5r2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "lutbmumiav",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "rpasupm5h1",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "lutbmumiav",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "v7vpjo9wpz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "jr6l3jzyn8",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v7vpjo9wpz",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "25rem",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 75,
+ "bottomRow": 89,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "Nunito Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{filteredAstronauts_really_long.data.results[0].bio}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "textAlign": "RIGHT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "6vq35sdbrv",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{storeValue(\"\", \"\").then(() => {\n removeValue(\"\");\n});}}",
+ "buttonColor": "#1e40af",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 9,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "w4kz23hasp",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "iconName": "refresh",
+ "widgetId": "x1fkr3v9eo",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Progress1",
+ "progressType": "linear",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "progress"
+ }
+ ],
+ "displayName": "Progress",
+ "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg",
+ "searchTags": [
+ "percent"
+ ],
+ "topRow": 81,
+ "bottomRow": 85,
+ "parentRowSpace": 10,
+ "type": "PROGRESS_WIDGET",
+ "isIndeterminate": false,
+ "hideCard": false,
+ "fillColor": "#1e40af",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "i0hq3tnqfi",
+ "showResult": true,
+ "isDeprecated": false,
+ "rightColumn": 30,
+ "counterClosewise": false,
+ "widgetId": "i3o88akg85",
+ "isVisible": true,
+ "steps": "",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "progress": ""
+ },
+ {
+ "widgetName": "Rating1",
+ "displayName": "Rating",
+ "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg",
+ "searchTags": [
+ "stars"
+ ],
+ "topRow": 86,
+ "bottomRow": 90,
+ "parentRowSpace": 10,
+ "type": "RATE_WIDGET",
+ "maxCount": "5",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultRate"
+ }
+ ],
+ "isDisabled": false,
+ "key": "hv9pk8djb6",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 26,
+ "inactiveColor": "#D6D6D6",
+ "dynamicHeight": "FIXED",
+ "widgetId": "fe0ylf714w",
+ "isVisible": true,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "defaultRate": "{{astronautsLog.ratings.data}}",
+ "activeColor": "#1e40af",
+ "size": "LARGE",
+ "maxDynamicHeight": 9000,
+ "isAllowHalf": false,
+ "minDynamicHeight": 4,
+ "tooltips": "[\n \"Terrible\",\n \"Bad\",\n \"Neutral\",\n \"Goods\",\n \"Great\"\n]"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container7",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 91,
+ "bottomRow": 119,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas4",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 280,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text5",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.description}}",
+ "key": "s8x2nnrhnk",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "transparent",
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pwie12lxwz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "e3t8svebdk",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "7jhkg61wuu",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "e3t8svebdk",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "7cpcokj50b",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "j32coyaw4r",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "dynamicHeight": "FIXED",
+ "widgetId": "7cpcokj50b",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "topRow": 2,
+ "defaultCurrencyCode": "USD",
+ "labelWidth": 5,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "allowCurrencyChange": true,
+ "version": 1,
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "widgetName": "CurrencyInput1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onBlur"
+ }
+ ],
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "hideCard": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "labelPosition": "Top",
+ "key": "56rrtkdl37",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 19,
+ "widgetId": "z1ayixhauq",
+ "minWidth": 450,
+ "label": "Label",
+ "parentId": "vn0hhhi9ah",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "onBlur": "",
+ "responsiveBehavior": "fill",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 14,
+ "widgetName": "Button13",
+ "onClick": "{{filteredAstronauts_really_long.run()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 10,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 17,
+ "animateLoading": true,
+ "parentColumnSpace": 13.734375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "{{fetch_astronauts.data.data}}",
+ "isDisabled": false,
+ "key": "kfwc5ab4um",
+ "isDeprecated": false,
+ "rightColumn": 17,
+ "isDefaultClickDisabled": true,
+ "widgetId": "jjuqt1ifnb",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 10,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h08lbuzxas",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas5",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "nl8f1m7oav",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ko3kkb450m",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tb7gta7tfb",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "si6g5eoxgp",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "yhzhm228tu",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "g90ws31m93",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "g90ws31m93",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal2",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas6",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "t3qbm5y91f",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "w8ynayy73b",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xouwxo7b2m",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button4",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "up63zfuump",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "qqi11sxegr",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "e52k9rhbo7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e52k9rhbo7",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{closeModal('Modal4').then(() => {\n showModal('');\n}).catch(() => {\n storeValue('hihhi', \"\");\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal3",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas7",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton4",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "sug149rv39",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text8",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "r34bouucht",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button5",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "y8sdru05pv",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button6",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "l4nu1expuv",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "zvzi5jsd5u",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ljy0qzec2d",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ljy0qzec2d",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal4",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas8",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton5",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "9we1nw6waw",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "senfwwilkd",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button7",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "88f6rwgir5",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button8",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "oua6ex9wyf",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "lyiz2yxss7",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sxmqnk89c",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sxmqnk89c",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal5",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas9",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton6",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "57g8xip6m9",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "c1avbznl1f",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button9",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "cm40e67pym",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button10",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "6vvcrt1z3t",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "sndkhe4bc2",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zlhoy988ce",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "zlhoy988ce",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{storeValue(\"\", \"\").then(() => {\n showModal('Modal2');\n}).catch(() => {\n showModal('Modal6');\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal6",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas10",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton7",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "w88iattdtr",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text11",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "d49q1jow18",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button11",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "4r2ie2z1iy",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button12",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "wy3sjg3y3r",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "76hhhkqi15",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sihk1i9j5",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sihk1i9j5",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 160,
+ "bottomRow": 167,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "onRecordingStart": "{{setInterval(() => {\n showAlert('hi');\n}, 5000, 'samesies');}}",
+ "dynamicTriggerPathList": [
+ {
+ "key": "onRecordingStart"
+ }
+ ],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ky6byinlri",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "widgetId": "1eppm1e2e6",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "iconColor": "white"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "--Playground1_astronautsLog.ratings",
+ "name": "astronautsLog.ratings",
+ "collectionId": "--Playground1_astronautsLog",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetch_astronauts",
+ "name": "fetch_astronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetchAstronauts",
+ "name": "fetchAstronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "name": "filteredAstronauts_really_long",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "publishedPage": {
+ "name": "--Playground1",
+ "slug": "playground1",
+ "layouts": [
+ {
+ "viewMode": false,
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1224,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 1670,
+ "containerStyle": "none",
+ "snapRows": 62,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 630,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "tabId": "",
+ "boxShadow": "NONE",
+ "widgetName": "Container4",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3.svg",
+ "topRow": 0,
+ "bottomRow": 157,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 9.02128928899765,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "rightColumn": 577.3625144958496,
+ "widgetName": "Canvas3Copy",
+ "detachFromLayout": true,
+ "widgetId": "vn0hhhi9ah",
+ "containerStyle": "none",
+ "bottomRow": 1570,
+ "topRow": 0,
+ "parentRowSpace": 1,
+ "isVisible": true,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "version": 1,
+ "parentId": "h08lbuzxas",
+ "props": {
+ "containerStyle": "none",
+ "canExtend": false,
+ "detachFromLayout": true,
+ "children": []
+ },
+ "isLoading": false,
+ "minHeight": 759.6875190734863,
+ "renderMode": "CANVAS",
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1CopyCopy",
+ "onClick": "{{navigateTo('https://github.com/appsmithorg/TestSmith/issues/1960', {})}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 1,
+ "bottomRow": 7,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 39,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "5ujhucrgt5",
+ "isDeprecated": false,
+ "rightColumn": 45,
+ "iconName": "arrow-top-right",
+ "widgetId": "0b7bdj8klw",
+ "buttonStyle": "PRIMARY",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY"
+ },
+ {
+ "widgetName": "Text3CopyCopyCopy",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b52.svg",
+ "topRow": 1,
+ "bottomRow": 7,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 14.062695503234863,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 21,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "Automation TC5",
+ "key": "86ix69se60",
+ "isDeprecated": false,
+ "rightColumn": 39,
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "zw0q78h35r",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Select1",
+ "isFilterable": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "sourceData"
+ }
+ ],
+ "displayName": "Select",
+ "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
+ "labelText": "Pick an astronaut to display their information",
+ "searchTags": [
+ "dropdown"
+ ],
+ "topRow": 8,
+ "bottomRow": 15,
+ "parentRowSpace": 10,
+ "labelWidth": "23",
+ "type": "SELECT_WIDGET",
+ "serverSideFiltering": false,
+ "hideCard": false,
+ "defaultOptionValue": "",
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onOptionChange"
+ },
+ {
+ "key": "onDropdownOpen"
+ }
+ ],
+ "leftColumn": 22,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "sourceData"
+ }
+ ],
+ "labelPosition": "Top",
+ "labelStyle": "",
+ "placeholderText": "Select option",
+ "isDisabled": false,
+ "sourceData": "{{astronautsLog.astronautNames()}}",
+ "key": "phyziaanl1",
+ "labelTextSize": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 40,
+ "dynamicHeight": "FIXED",
+ "widgetId": "o7odcz8q5n",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "optionValue": "value",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "onDropdownOpen": "",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "optionLabel": "label",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "onOptionChange": "{{filteredAstronauts_really_long.run(() => astronautsLog.progressBar(), () => showAlert('error'))}}",
+ "minDynamicHeight": 4
+ },
+ {
+ "schema": {
+ "__root_schema__": {
+ "children": {
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Pesquet",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 0,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "name"
+ },
+ "date_of_birth": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.date_of_birth))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "sourceData": "1978-02-27",
+ "isCustomField": false,
+ "accessor": "date_of_birth",
+ "identifier": "date_of_birth",
+ "position": 1,
+ "originalIdentifier": "date_of_birth",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "born on",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 2,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 3,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "url"
+ },
+ "date_of_death": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (moment(sourceData.date_of_death, \"YYYY-MM-DD\").format(\"YYYY-MM-DDTHH:mm:ss.sssZ\")))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "date_of_death",
+ "identifier": "date_of_death",
+ "position": 4,
+ "originalIdentifier": "date_of_death",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "YYYY-MM-DD",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Date Of Death",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem"
+ },
+ "nationality": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.nationality))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "French",
+ "isCustomField": false,
+ "accessor": "nationality",
+ "identifier": "nationality",
+ "position": 5,
+ "originalIdentifier": "nationality",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Nationality"
+ },
+ "bio": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.bio))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "isCustomField": false,
+ "accessor": "bio",
+ "identifier": "bio",
+ "position": 8,
+ "originalIdentifier": "bio",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Bio"
+ },
+ "twitter": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.twitter))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://twitter.com/Thom_astro",
+ "isCustomField": false,
+ "accessor": "twitter",
+ "identifier": "twitter",
+ "position": 9,
+ "originalIdentifier": "twitter",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Twitter"
+ },
+ "instagram": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.instagram))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://instagram.com/thom_astro",
+ "isCustomField": false,
+ "accessor": "instagram",
+ "identifier": "instagram",
+ "position": 10,
+ "originalIdentifier": "instagram",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Instagram"
+ },
+ "wiki": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.wiki))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "isCustomField": false,
+ "accessor": "wiki",
+ "identifier": "wiki",
+ "position": 11,
+ "originalIdentifier": "wiki",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Wiki"
+ },
+ "profile_image": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image",
+ "identifier": "profile_image",
+ "position": 12,
+ "originalIdentifier": "profile_image",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image"
+ },
+ "profile_image_thumbnail": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.profile_image_thumbnail))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "isCustomField": false,
+ "accessor": "profile_image_thumbnail",
+ "identifier": "profile_image_thumbnail",
+ "position": 13,
+ "originalIdentifier": "profile_image_thumbnail",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Profile Image Thumbnail"
+ },
+ "last_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.last_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "last_flight",
+ "identifier": "last_flight",
+ "position": 7,
+ "originalIdentifier": "last_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "Last Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2021-04-23T09:49:02Z"
+ },
+ "first_flight": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.first_flight))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Datepicker",
+ "isCustomField": false,
+ "accessor": "first_flight",
+ "identifier": "first_flight",
+ "position": 6,
+ "originalIdentifier": "first_flight",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "closeOnSelection": false,
+ "convertToISO": false,
+ "dateFormat": "LL",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "label": "First Flight",
+ "maxDate": "2121-12-31T18:29:00.000Z",
+ "minDate": "1920-12-31T18:30:00.000Z",
+ "shortcuts": false,
+ "timePrecision": "minute",
+ "labelTextSize": "0.875rem",
+ "sourceData": "2016-11-17T20:20:13Z"
+ },
+ "status": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 1,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Active",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "name": "Active"
+ },
+ "isCustomField": false,
+ "accessor": "status",
+ "identifier": "status",
+ "position": 14,
+ "originalIdentifier": "status",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Status"
+ },
+ "type": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Government",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 1,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 2,
+ "name": "Government"
+ },
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 15,
+ "originalIdentifier": "type",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "agency": {
+ "children": {
+ "id": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 27,
+ "isCustomField": false,
+ "accessor": "id",
+ "identifier": "id",
+ "position": 0,
+ "originalIdentifier": "id",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Id"
+ },
+ "url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "isCustomField": false,
+ "accessor": "url",
+ "identifier": "url",
+ "position": 1,
+ "originalIdentifier": "url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Url"
+ },
+ "name": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "European Space Agency",
+ "isCustomField": false,
+ "accessor": "name",
+ "identifier": "name",
+ "position": 2,
+ "originalIdentifier": "name",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Name"
+ },
+ "featured": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.featured))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "featured",
+ "identifier": "featured",
+ "position": 3,
+ "originalIdentifier": "featured",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Featured"
+ },
+ "type": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.type))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "Multinational",
+ "isCustomField": false,
+ "accessor": "type",
+ "identifier": "type",
+ "position": 4,
+ "originalIdentifier": "type",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Type"
+ },
+ "country_code": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.country_code))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "isCustomField": false,
+ "accessor": "country_code",
+ "identifier": "country_code",
+ "position": 5,
+ "originalIdentifier": "country_code",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Country Code"
+ },
+ "abbrev": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.abbrev))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "ESA",
+ "isCustomField": false,
+ "accessor": "abbrev",
+ "identifier": "abbrev",
+ "position": 6,
+ "originalIdentifier": "abbrev",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Abbrev"
+ },
+ "description": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.description))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "isCustomField": false,
+ "accessor": "description",
+ "identifier": "description",
+ "position": 7,
+ "originalIdentifier": "description",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Description"
+ },
+ "administrator": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.administrator))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "administrator",
+ "identifier": "administrator",
+ "position": 8,
+ "originalIdentifier": "administrator",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Administrator",
+ "sourceData": "Director General: Josef Aschbacher"
+ },
+ "founding_year": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.founding_year))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "1975",
+ "isCustomField": false,
+ "accessor": "founding_year",
+ "identifier": "founding_year",
+ "position": 9,
+ "originalIdentifier": "founding_year",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Founding Year"
+ },
+ "launchers": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.launchers))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "launchers",
+ "identifier": "launchers",
+ "position": 10,
+ "originalIdentifier": "launchers",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Launchers"
+ },
+ "spacecraft": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.spacecraft))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "",
+ "isCustomField": false,
+ "accessor": "spacecraft",
+ "identifier": "spacecraft",
+ "position": 11,
+ "originalIdentifier": "spacecraft",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacecraft"
+ },
+ "parent": {
+ "children": {},
+ "dataType": "null",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.parent))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "parent",
+ "identifier": "parent",
+ "position": 12,
+ "originalIdentifier": "parent",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Parent"
+ },
+ "image_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.image_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "isCustomField": false,
+ "accessor": "image_url",
+ "identifier": "image_url",
+ "position": 13,
+ "originalIdentifier": "image_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Image Url"
+ },
+ "logo_url": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency.logo_url))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png",
+ "isCustomField": false,
+ "accessor": "logo_url",
+ "identifier": "logo_url",
+ "position": 14,
+ "originalIdentifier": "logo_url",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Logo Url"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.agency))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "isCustomField": false,
+ "accessor": "agency",
+ "identifier": "agency",
+ "position": 16,
+ "originalIdentifier": "agency",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": false,
+ "labelTextSize": "0.875rem",
+ "label": "Agency"
+ },
+ "age": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.age))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 44,
+ "isCustomField": false,
+ "accessor": "age",
+ "identifier": "age",
+ "position": 17,
+ "originalIdentifier": "age",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Age"
+ },
+ "flights_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.flights_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "flights_count",
+ "identifier": "flights_count",
+ "position": 18,
+ "originalIdentifier": "flights_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Flights Count"
+ },
+ "landings_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.landings_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 2,
+ "isCustomField": false,
+ "accessor": "landings_count",
+ "identifier": "landings_count",
+ "position": 19,
+ "originalIdentifier": "landings_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Landings Count"
+ },
+ "in_space": {
+ "children": {},
+ "dataType": "boolean",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Switch",
+ "sourceData": false,
+ "isCustomField": false,
+ "accessor": "in_space",
+ "identifier": "in_space",
+ "position": 20,
+ "originalIdentifier": "in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "alignWidget": "LEFT",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "In Space"
+ },
+ "time_in_space": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.time_in_space))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P396DT11H33M45S",
+ "isCustomField": false,
+ "accessor": "time_in_space",
+ "identifier": "time_in_space",
+ "position": 21,
+ "originalIdentifier": "time_in_space",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Time In Space"
+ },
+ "eva_time": {
+ "children": {},
+ "dataType": "string",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.eva_time))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Text Input",
+ "sourceData": "P1DT15H54M",
+ "isCustomField": false,
+ "accessor": "eva_time",
+ "identifier": "eva_time",
+ "position": 22,
+ "originalIdentifier": "eva_time",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Eva Time"
+ },
+ "spacewalks_count": {
+ "children": {},
+ "dataType": "number",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.spacewalks_count))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Number Input",
+ "sourceData": 6,
+ "isCustomField": false,
+ "accessor": "spacewalks_count",
+ "identifier": "spacewalks_count",
+ "position": 23,
+ "originalIdentifier": "spacewalks_count",
+ "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "iconAlign": "left",
+ "isDisabled": false,
+ "isRequired": false,
+ "isSpellCheck": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": "Spacewalks Count"
+ }
+ },
+ "dataType": "object",
+ "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "fieldType": "Object",
+ "sourceData": {
+ "id": 1,
+ "url": "https://ll.thespacedevs.com/2.2.0/astronaut/1/",
+ "name": "Thomas Pesquet",
+ "status": {
+ "id": 1,
+ "name": "Active"
+ },
+ "type": {
+ "id": 2,
+ "name": "Government"
+ },
+ "age": 44,
+ "date_of_birth": "1978-02-27",
+ "nationality": "French",
+ "bio": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
+ "twitter": "https://twitter.com/Thom_astro",
+ "instagram": "https://instagram.com/thom_astro",
+ "wiki": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
+ "agency": {
+ "id": 27,
+ "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/",
+ "name": "European Space Agency",
+ "featured": false,
+ "type": "Multinational",
+ "country_code": "AUT,BEL,CZE,DNK,FIN,FRA,DEU,GRC,IRE,ITA,LUZ,NLD,NOR,POL,PRT,ROU,ESP,SWE,CHE,GBR",
+ "abbrev": "ESA",
+ "description": "The European Space Agency is an intergovernmental organisation of 22 member states. Established in 1975 and headquartered in Paris, France, ESA has a worldwide staff of about 2,000 employees.\r\n\r\nESA's space flight programme includes human spaceflight (mainly through participation in the International Space Station program); the launch and operation of unmanned exploration missions to other planets and the Moon; Earth observation, science and telecommunication; designing launch vehicles; and maintaining a major spaceport, the Guiana Space Centre at Kourou, French Guiana.",
+ "administrator": "Director General: Josef Aschbacher",
+ "founding_year": "1975",
+ "launchers": "",
+ "spacecraft": "",
+ "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/logo/european2520space2520agency_logo_20221130101442.png"
+ },
+ "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas2520pesquet_image_20200102120546.jpeg",
+ "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/astronaut_images/thomas_pesquet_thumbnail_20220911033657.jpeg",
+ "flights_count": 2,
+ "landings_count": 2,
+ "last_flight": "2021-04-23T09:49:02Z",
+ "first_flight": "2016-11-17T20:20:13Z"
+ },
+ "isCustomField": false,
+ "accessor": "__root_schema__",
+ "identifier": "__root_schema__",
+ "position": -1,
+ "originalIdentifier": "__root_schema__",
+ "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}",
+ "cellBoxShadow": "none",
+ "isDisabled": false,
+ "isRequired": false,
+ "isVisible": true,
+ "labelTextSize": "0.875rem",
+ "label": ""
+ }
+ },
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "JSONForm1",
+ "submitButtonStyles": {
+ "buttonColor": "transparent",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "TERTIARY"
+ },
+ "dynamicPropertyPathList": [
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ }
+ ],
+ "displayName": "JSON Form",
+ "iconSVG": "/static/media/icon.5b428de12db9ad6a591955ead07f86e9.svg",
+ "topRow": 37,
+ "bottomRow": 80,
+ "fieldLimitExceeded": false,
+ "parentRowSpace": 10,
+ "title": "",
+ "type": "JSON_FORM_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "submitButtonStyles.borderRadius"
+ },
+ {
+ "key": "resetButtonStyles.buttonColor"
+ },
+ {
+ "key": "resetButtonStyles.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_birth.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.cellBorderRadius"
+ },
+ {
+ "key": "sourceData"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.nationality.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.bio.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.twitter.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.instagram.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.wiki.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.profile_image_thumbnail.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.last_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.first_flight.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.date_of_death.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.status.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.type.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.id.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.name.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.featured.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.type.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.country_code.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.abbrev.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.description.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.administrator.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.founding_year.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.launchers.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.spacecraft.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.parent.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.image_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.cellBorderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.age.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.flights_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.landings_count.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.agency.children.logo_url.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.time_in_space.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.eva_time.borderRadius"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.defaultValue"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.accentColor"
+ },
+ {
+ "key": "schema.__root_schema__.children.spacewalks_count.borderRadius"
+ }
+ ],
+ "sourceData": "{{filteredAstronauts_really_long.data.results[0]}}",
+ "showReset": false,
+ "resetButtonLabel": "",
+ "key": "mb10lpx0lx",
+ "backgroundColor": "transparent",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "dynamicHeight": "FIXED",
+ "autoGenerateForm": true,
+ "widgetId": "rsugpn6p9u",
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "buttonVariant": "SECONDARY"
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "scrollContents": true,
+ "fixedFooter": true,
+ "submitButtonLabel": "",
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "disabledWhenInvalid": true,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Iframe2",
+ "displayName": "Iframe",
+ "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg",
+ "searchTags": [
+ "embed"
+ ],
+ "topRow": 17,
+ "bottomRow": 37,
+ "parentRowSpace": 10,
+ "source": "{{JSONForm1.sourceData.wiki}}",
+ "type": "IFRAME_WIDGET",
+ "hideCard": false,
+ "borderOpacity": 100,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "source"
+ }
+ ],
+ "borderWidth": 1,
+ "key": "g8muw4zk94",
+ "isDeprecated": false,
+ "rightColumn": 34,
+ "widgetId": "mz6fhqu7a9",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image2",
+ "onClick": "{{showModal('Modal2').then(() => {\n showModal('Modal5');\n closeModal('Modal3');\n}).catch(() => {\n showModal('Modal2');\n showModal('Modal3');\n showModal('Modal4');\n});}}",
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 24,
+ "bottomRow": 75,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.profile_image}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "objectFit": "contain",
+ "widgetId": "xbvii1ix6y",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Image3",
+ "onClick": "{{setInterval(() => {\n // add code here\n }, 5000, '')}}",
+ "dynamicPropertyPathList": [],
+ "displayName": "Image",
+ "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg",
+ "topRow": 91,
+ "bottomRow": 115,
+ "parentRowSpace": 10,
+ "type": "IMAGE_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "imageShape": "RECTANGLE",
+ "leftColumn": 24,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "image"
+ }
+ ],
+ "defaultImage": "https://assets.appsmith.com/widgets/default.png",
+ "key": "36azjue6y9",
+ "image": "{{JSONForm1.sourceData.agency.image_url}}",
+ "isDeprecated": false,
+ "rightColumn": 43,
+ "objectFit": "contain",
+ "widgetId": "rqyzl6wlzr",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "maxZoomLevel": 1,
+ "enableDownload": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "enableRotation": false
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container6",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 17,
+ "bottomRow": 24,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas3",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 70,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text3",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 5,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": false,
+ "overflow": "NONE",
+ "fontFamily": "Noto Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "backgroundColor"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.name}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "backgroundColor": "{{appsmith.theme.colors.backgroundColor}}",
+ "textAlign": "CENTER",
+ "dynamicHeight": "FIXED",
+ "widgetId": "utlu5mh5r2",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "lutbmumiav",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "rpasupm5h1",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "lutbmumiav",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "v7vpjo9wpz",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "jr6l3jzyn8",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v7vpjo9wpz",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "25rem",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "widgetName": "Text4",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 75,
+ "bottomRow": 89,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "Nunito Sans",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 34,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{filteredAstronauts_really_long.data.results[0].bio}}",
+ "key": "wnk00lfwil",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "textAlign": "RIGHT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "6vq35sdbrv",
+ "isVisible": true,
+ "fontStyle": "",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "0.875rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton1",
+ "onClick": "{{storeValue(\"\", \"\").then(() => {\n removeValue(\"\");\n});}}",
+ "buttonColor": "#1e40af",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 9,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 40,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "w4kz23hasp",
+ "isDeprecated": false,
+ "rightColumn": 44,
+ "iconName": "refresh",
+ "widgetId": "x1fkr3v9eo",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Progress1",
+ "progressType": "linear",
+ "isCanvas": false,
+ "dynamicPropertyPathList": [
+ {
+ "key": "progress"
+ }
+ ],
+ "displayName": "Progress",
+ "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg",
+ "searchTags": [
+ "percent"
+ ],
+ "topRow": 81,
+ "bottomRow": 85,
+ "parentRowSpace": 10,
+ "type": "PROGRESS_WIDGET",
+ "isIndeterminate": false,
+ "hideCard": false,
+ "fillColor": "#1e40af",
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "key": "i0hq3tnqfi",
+ "showResult": true,
+ "isDeprecated": false,
+ "rightColumn": 30,
+ "counterClosewise": false,
+ "widgetId": "i3o88akg85",
+ "isVisible": true,
+ "steps": "",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "progress": ""
+ },
+ {
+ "widgetName": "Rating1",
+ "displayName": "Rating",
+ "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg",
+ "searchTags": [
+ "stars"
+ ],
+ "topRow": 86,
+ "bottomRow": 90,
+ "parentRowSpace": 10,
+ "type": "RATE_WIDGET",
+ "maxCount": "5",
+ "hideCard": false,
+ "animateLoading": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 6,
+ "dynamicBindingPathList": [
+ {
+ "key": "defaultRate"
+ }
+ ],
+ "isDisabled": false,
+ "key": "hv9pk8djb6",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 26,
+ "inactiveColor": "#D6D6D6",
+ "dynamicHeight": "FIXED",
+ "widgetId": "fe0ylf714w",
+ "isVisible": true,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "defaultRate": "{{astronautsLog.ratings.data}}",
+ "activeColor": "#1e40af",
+ "size": "LARGE",
+ "maxDynamicHeight": 9000,
+ "isAllowHalf": false,
+ "minDynamicHeight": 4,
+ "tooltips": "[\n \"Terrible\",\n \"Bad\",\n \"Neutral\",\n \"Goods\",\n \"Great\"\n]"
+ },
+ {
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "widgetName": "Container7",
+ "borderColor": "transparent",
+ "isCanvas": true,
+ "displayName": "Container",
+ "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 91,
+ "bottomRow": 119,
+ "parentRowSpace": 10,
+ "type": "CONTAINER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ },
+ {
+ "key": "backgroundColor"
+ }
+ ],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "Canvas4",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 280,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": false,
+ "hideCard": true,
+ "minHeight": 400,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "accentColor"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Text5",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 0,
+ "bottomRow": 26,
+ "parentRowSpace": 10,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "parentColumnSpace": 4.84375,
+ "dynamicTriggerPathList": [],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "#FFC13D",
+ "text": "{{JSONForm1.sourceData.agency.description}}",
+ "key": "s8x2nnrhnk",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "backgroundColor": "transparent",
+ "textAlign": "LEFT",
+ "dynamicHeight": "FIXED",
+ "widgetId": "pwie12lxwz",
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#1e40af",
+ "version": 1,
+ "parentId": "e3t8svebdk",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1rem",
+ "minDynamicHeight": 4
+ }
+ ],
+ "key": "7jhkg61wuu",
+ "isDeprecated": false,
+ "rightColumn": 330,
+ "detachFromLayout": true,
+ "widgetId": "e3t8svebdk",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "containerStyle": "none",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "7cpcokj50b",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ ],
+ "borderWidth": "0",
+ "key": "j32coyaw4r",
+ "backgroundColor": "{{appsmith.theme.colors.primaryColor}}",
+ "isDeprecated": false,
+ "rightColumn": 24,
+ "dynamicHeight": "FIXED",
+ "widgetId": "7cpcokj50b",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg",
+ "topRow": 2,
+ "defaultCurrencyCode": "USD",
+ "labelWidth": 5,
+ "type": "CURRENCY_INPUT_WIDGET",
+ "animateLoading": true,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "labelStyle": "",
+ "isDisabled": false,
+ "isRequired": false,
+ "dynamicHeight": "FIXED",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "showStepArrows": false,
+ "isVisible": true,
+ "allowCurrencyChange": true,
+ "version": 1,
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "widgetName": "CurrencyInput1",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onBlur"
+ }
+ ],
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "bottomRow": 9,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "hideCard": false,
+ "parentColumnSpace": 13.75,
+ "dynamicTriggerPathList": [],
+ "labelPosition": "Top",
+ "key": "56rrtkdl37",
+ "labelTextSize": "0.875rem",
+ "isDeprecated": false,
+ "rightColumn": 19,
+ "widgetId": "z1ayixhauq",
+ "minWidth": 450,
+ "label": "Label",
+ "parentId": "vn0hhhi9ah",
+ "labelAlignment": "left",
+ "renderMode": "CANVAS",
+ "onBlur": "",
+ "responsiveBehavior": "fill",
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "mobileBottomRow": 14,
+ "widgetName": "Button13",
+ "onClick": "{{filteredAstronauts_really_long.run()}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 10,
+ "bottomRow": 14,
+ "parentRowSpace": 10,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 17,
+ "animateLoading": true,
+ "parentColumnSpace": 13.734375,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClick"
+ }
+ ],
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "text"
+ }
+ ],
+ "text": "{{fetch_astronauts.data.data}}",
+ "isDisabled": false,
+ "key": "kfwc5ab4um",
+ "isDeprecated": false,
+ "rightColumn": 17,
+ "isDefaultClickDisabled": true,
+ "widgetId": "jjuqt1ifnb",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "vn0hhhi9ah",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 10,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 1,
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ]
+ }
+ ],
+ "borderWidth": "0",
+ "key": "3dd12un8x8",
+ "backgroundColor": "#eff6ff",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "h08lbuzxas",
+ "containerStyle": "card",
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "minDynamicHeight": 4
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal1",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas5",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton2",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "nl8f1m7oav",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text6",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ko3kkb450m",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button1",
+ "onClick": "{{closeModal('Modal1')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "tb7gta7tfb",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button2",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "si6g5eoxgp",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "yhzhm228tu",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "yhzhm228tu",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "g90ws31m93",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "g90ws31m93",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal2",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas6",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "t3qbm5y91f",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text7",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "w8ynayy73b",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button3",
+ "onClick": "{{closeModal('Modal2')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "xouwxo7b2m",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button4",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "up63zfuump",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "qqi11sxegr",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "qqi11sxegr",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "e52k9rhbo7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "e52k9rhbo7",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{closeModal('Modal4').then(() => {\n showModal('');\n}).catch(() => {\n storeValue('hihhi', \"\");\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal3",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas7",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton4",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "sug149rv39",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text8",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "r34bouucht",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button5",
+ "onClick": "{{closeModal('Modal3')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "y8sdru05pv",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button6",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "l4nu1expuv",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "zvzi5jsd5u",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "zvzi5jsd5u",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "ljy0qzec2d",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "ljy0qzec2d",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal4",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas8",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton5",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "9we1nw6waw",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text9",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "senfwwilkd",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button7",
+ "onClick": "{{closeModal('Modal4')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "88f6rwgir5",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button8",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "oua6ex9wyf",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "lyiz2yxss7",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "lyiz2yxss7",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sxmqnk89c",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sxmqnk89c",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal5",
+ "isCanvas": true,
+ "dynamicPropertyPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [
+ {
+ "key": "onClose"
+ }
+ ],
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas9",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton6",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "57g8xip6m9",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text10",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "c1avbznl1f",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button9",
+ "onClick": "{{closeModal('Modal5')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "cm40e67pym",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button10",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "6vvcrt1z3t",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "sndkhe4bc2",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "sndkhe4bc2",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "zlhoy988ce",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "zlhoy988ce",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "onClose": "{{storeValue(\"\", \"\").then(() => {\n showModal('Modal2');\n}).catch(() => {\n showModal('Modal6');\n});}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "Modal6",
+ "isCanvas": true,
+ "displayName": "Modal",
+ "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg",
+ "searchTags": [
+ "dialog",
+ "popup",
+ "notification"
+ ],
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "MODAL_WIDGET",
+ "hideCard": false,
+ "shouldScrollContents": true,
+ "animateLoading": true,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "children": [
+ {
+ "widgetName": "Canvas10",
+ "displayName": "Canvas",
+ "topRow": 0,
+ "bottomRow": 240,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "hideCard": true,
+ "shouldScrollContents": false,
+ "minHeight": 0,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "boxShadow": "none",
+ "widgetName": "IconButton7",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Icon Button",
+ "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 0,
+ "bottomRow": 4,
+ "type": "ICON_BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 58,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "iconSize": 24,
+ "isDisabled": false,
+ "key": "ydwblf3fgy",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "cross",
+ "widgetId": "w88iattdtr",
+ "minWidth": 50,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "TERTIARY"
+ },
+ {
+ "widgetName": "Text11",
+ "displayName": "Text",
+ "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg",
+ "searchTags": [
+ "typography",
+ "paragraph",
+ "label"
+ ],
+ "topRow": 1,
+ "bottomRow": 5,
+ "type": "TEXT_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "overflow": "NONE",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
+ "leftColumn": 1,
+ "dynamicBindingPathList": [
+ {
+ "key": "truncateButtonColor"
+ },
+ {
+ "key": "fontFamily"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "shouldTruncate": false,
+ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "text": "Modal Title",
+ "key": "momczp21fx",
+ "isDeprecated": false,
+ "rightColumn": 41,
+ "textAlign": "LEFT",
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "d49q1jow18",
+ "minWidth": 450,
+ "isVisible": true,
+ "fontStyle": "BOLD",
+ "textColor": "#231F20",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "fontSize": "1.25rem",
+ "minDynamicHeight": 4
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button11",
+ "onClick": "{{closeModal('Modal6')}}",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 31,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Close",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 47,
+ "isDefaultClickDisabled": true,
+ "widgetId": "4r2ie2z1iy",
+ "buttonStyle": "PRIMARY",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "SECONDARY",
+ "placement": "CENTER"
+ },
+ {
+ "resetFormOnClick": false,
+ "boxShadow": "none",
+ "widgetName": "Button12",
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "displayName": "Button",
+ "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
+ "searchTags": [
+ "click",
+ "submit"
+ ],
+ "topRow": 18,
+ "bottomRow": 22,
+ "type": "BUTTON_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "leftColumn": 47,
+ "dynamicBindingPathList": [
+ {
+ "key": "buttonColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "text": "Confirm",
+ "isDisabled": false,
+ "key": "6u1n76ge7k",
+ "isDeprecated": false,
+ "rightColumn": 63,
+ "isDefaultClickDisabled": true,
+ "widgetId": "wy3sjg3y3r",
+ "buttonStyle": "PRIMARY_BUTTON",
+ "minWidth": 120,
+ "isVisible": true,
+ "recaptchaType": "V3",
+ "version": 1,
+ "parentId": "76hhhkqi15",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "hug",
+ "disabledWhenInvalid": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "buttonVariant": "PRIMARY",
+ "placement": "CENTER"
+ }
+ ],
+ "isDisabled": false,
+ "key": "fn4g7s90bo",
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "widgetId": "76hhhkqi15",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "2sihk1i9j5",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "flexLayers": []
+ }
+ ],
+ "key": "sctstvvix5",
+ "height": 240,
+ "isDeprecated": false,
+ "rightColumn": 0,
+ "detachFromLayout": true,
+ "dynamicHeight": "AUTO_HEIGHT",
+ "widgetId": "2sihk1i9j5",
+ "canOutsideClickClose": true,
+ "canEscapeKeyClose": true,
+ "version": 2,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "maxDynamicHeight": 9000,
+ "width": 456,
+ "minDynamicHeight": 24
+ },
+ {
+ "boxShadow": "none",
+ "widgetName": "AudioRecorder1",
+ "dynamicPropertyPathList": [],
+ "displayName": "Audio Recorder",
+ "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg",
+ "searchTags": [
+ "sound recorder",
+ "voice recorder"
+ ],
+ "topRow": 160,
+ "bottomRow": 167,
+ "parentRowSpace": 10,
+ "type": "AUDIO_RECORDER_WIDGET",
+ "hideCard": false,
+ "animateLoading": true,
+ "parentColumnSpace": 14.0625,
+ "onRecordingStart": "{{setInterval(() => {\n showAlert('hi');\n}, 5000, 'samesies');}}",
+ "dynamicTriggerPathList": [
+ {
+ "key": "onRecordingStart"
+ }
+ ],
+ "leftColumn": 2,
+ "dynamicBindingPathList": [
+ {
+ "key": "accentColor"
+ },
+ {
+ "key": "borderRadius"
+ }
+ ],
+ "isDisabled": false,
+ "key": "ky6byinlri",
+ "isDeprecated": false,
+ "rightColumn": 18,
+ "widgetId": "1eppm1e2e6",
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "minWidth": 450,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "iconColor": "white"
+ }
+ ]
+ },
+ "layoutOnLoadActions": [
+ [
+ {
+ "id": "--Playground1_astronautsLog.ratings",
+ "name": "astronautsLog.ratings",
+ "collectionId": "--Playground1_astronautsLog",
+ "confirmBeforeExecute": false,
+ "pluginType": "JS",
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetch_astronauts",
+ "name": "fetch_astronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "DB",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_fetchAstronauts",
+ "name": "fetchAstronauts",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [],
+ "timeoutInMillisecond": 10000
+ }
+ ],
+ [
+ {
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "name": "filteredAstronauts_really_long",
+ "confirmBeforeExecute": false,
+ "pluginType": "API",
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "timeoutInMillisecond": 10000
+ }
+ ]
+ ],
+ "layoutOnLoadActionErrors": [],
+ "validOnPageLoadActions": true,
+ "id": "--Playground1",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ }
+ ],
+ "userPermissions": [],
+ "policies": [],
+ "isHidden": false
+ },
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad00"
+ }
+ ],
+ "actionList": [
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.test",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\t\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.zebra",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImagesold.run()\n\t\t\tpetFactsold.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.feline",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad09"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject16.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject16.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject16.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC3.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC3.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n if (Select2.selectedOptionValue == \"Page navigation\") {\n console.log(\"Navigating to a page\");\n await Api1.clear();\n await Api2.clear();\n await Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('Navigated Page', {}, 'SAME_WINDOW');\n });\n });\n } else if (Select2.selectedOptionValue == \"Widget navigation\") {\n console.log(\"Navigating to a widget after API execution\");\n Api1.clear();\n Api2.clear();\n Api3.clear();\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW');\n });\n }).catch(() => showAlert(\"Trouble executing API calls\"));\n } else if (Select2.selectedOptionValue == \"Tab navigation\") {\n showAlert(\"Navigating to Tab 2 of tab widget\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW');\n }).catch(e => console.log(e.message));\n }).catch(\"Trouble executing API calls\");\n } else if (Select2.selectedOptionValue == \"External navigation\") {\n showAlert(\"Navigating to Appsmith website\");\n Api1.run().then(() => {\n Api2.run().then(async () => {\n Api3.run();\n await navigateTo('www.appsmith.com', {}, 'NEW_WINDOW');\n });\n }).catch(\"Trouble executing API calls\");\n }\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC3.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad11"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "dog",
+ "fullyQualifiedName": "TC4.dog",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "dog",
+ "fullyQualifiedName": "TC4.dog",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n setInterval(() => {\n storeValue('imageApi', 'https://dog.ceo/api/breeds/image/random');\n storeValue('factsApi', 'https://dogapi.dog/api/facts').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new dog pics');\n }).then(() => {\n (petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage, petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact);\n console.log('Found new doggo pics and fun facts about them');\n });\n }, 15000, 'doggo');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.dog",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad07"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "JSObject1.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 100) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "JSObject1.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject1.progressBar",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad25"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun",
+ "fullyQualifiedName": "JSObject1.myFun",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun",
+ "fullyQualifiedName": "JSObject1.myFun",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n const byteArray = new Uint8Array(1);\n const randomValue = crypto.getRandomValues(byteArray);\n console.log(randomValue);\n return randomValue;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject1.myFun",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad21"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject15.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject15.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject15.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject14.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaskara');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n showAlert('namaskara');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject14.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaskara');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject14.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad1f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImagesold.run();\n petFactsold.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.animal",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC6.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n amplitude.Identify();\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n amplitude.Identify();\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC6.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n amplitude.Identify();\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC6.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad31"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC6.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC6.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n TC6.myFun1();\n typeof jsonwebtoken === \"object\" && typeof jsonwebtoken.decode === \"function\" && showAlert(\"Success\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC6.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad35"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "countdown",
+ "fullyQualifiedName": "TC5.countdown",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "countdown",
+ "fullyQualifiedName": "TC5.countdown",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('count', NumberSlider1.value);\n var interval = setInterval(() => {\n storeValue('count', appsmith.store.count - 1);\n if (appsmith.store.count < 1) clearInterval(interval);\n }, NumberSlider2.value);\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC5.countdown",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad33"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject16.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject16.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject16",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n petFacts.run();\n resetWidget('Select1').then(() => storeValue('select', Select1.selectedOptionLabel)).then(() => showAlert(appsmith.store.select));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject16.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad23"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "storeLocation",
+ "fullyQualifiedName": "TC5.storeLocation",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "storeLocation",
+ "fullyQualifiedName": "TC5.storeLocation",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "collectionId": "Page 3_TC5",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n storeValue('mapPins', TC5.locations);\n return appsmith.store.mapPins;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_TC5.storeLocation",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad37"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC2.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": true,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC2.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n failingQuery.run().then(() => showAlert(\"Query run was successful\")).catch(() => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying all values on appropriate widgets\");\n }).catch(err => {\n console.log(\"Could not store value in store \", err.toString());\n showAlert('Could not store values in store ', err.toString());\n });\n });\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": true,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC2.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad45"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n clearStore();\n await resetWidget('Switch1').then(() => {\n resetWidget('Select1');\n resetWidget('Table1');\n TC1.myFun2().then(async () => {\n TC1.selected = Select1.selectedOptionLabel;\n await showAlert('background colour is now ' + TC1.selected);\n });\n }).catch(e => {\n resetWidget('RadioGroup1');\n showAlert(\"Couldn't execute all success call steps, hence now in the catch block\");\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC1.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4d"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_JSObject1.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\t\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "zebra",
+ "fullyQualifiedName": "TC4.zebra",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\t\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.zebra",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad4b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "test",
+ "fullyQualifiedName": "TC4.test",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.test",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC2.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "TC2.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n randomUserGenerator.run().then(res => {\n let values = [storeValue('pic', res.results[0].picture.large), storeValue('dob', res.results[0].dob.date), storeValue('phone', res.results[0].phone), storeValue('cell', res.results[0].cell), storeValue('email', res.results[0].email), storeValue('password', res.results[0].login.password), storeValue('lat', res.results[0].location.coordinates.latitude), storeValue('long', res.results[0].location.coordinates.longitude), storeValue('title', res.results[0].name.title), storeValue('first', res.results[0].name.first), storeValue('last', res.results[0].name.last), storeValue('gender', res.results[0].gender)];\n return Promise.all(values).then(() => {\n showAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\");\n console.log(appsmith.store);\n console.log(values);\n }).catch(err => {\n console.log(\"Could not store values \", err.toString());\n showAlert('Could not store values ', err.toString());\n });\n });\n await console.warn(\"2\");\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC2.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad53"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() =>n"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.cat",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad43"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "TC1.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "organizationId": "611cc2ef3d948934dbbc5104",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_TC1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {\n Api1.run().then(() => showAlert(\"Ran the API\")).catch(() => showAlert(\"Nested call failed\"));\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC1.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad41"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "animal",
+ "fullyQualifiedName": "TC4.animal",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n return storeValue('factsApi', 'https://catfact.ninja/fact').then(() => {\n petImages.run();\n petFacts.run();\n });\n }, 8000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.animal",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad51"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject15.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async () => {}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject15.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject15",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async () => {}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject15.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad27"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "feline",
+ "fullyQualifiedName": "TC4.feline",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\treturn storeValue('factsApi', 'https://catfact.ninja/fact')\n\t\t.then(() => {\n\t\t\tpetImages.run()\n\t\t\tpetFacts.run()\n\t\t})\t\n\t}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_TC4.feline",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad55"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject14.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaste');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n showAlert('namaste');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun2",
+ "fullyQualifiedName": "JSObject14.myFun2",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "collectionId": "--Playground_JSObject14",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n showAlert('namaste');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": []
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_JSObject14.myFun2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad29"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "blue",
+ "fullyQualifiedName": "TC6.blue",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "blue",
+ "fullyQualifiedName": "TC6.blue",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#606ebd');\n storeValue('highlight', '#0e23c2');\n storeValue('text', '#09171f');\n storeValue('contrast', '#a9ab43');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.blue",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad63"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n Button2;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "function () {\n Button2;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "myFun1",
+ "fullyQualifiedName": "JSObject1.myFun1",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "collectionId": "Page 1_JSObject1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "function () {\n Button2;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_JSObject1.myFun1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad57"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "green",
+ "fullyQualifiedName": "TC6.green",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "green",
+ "fullyQualifiedName": "TC6.green",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#9fb39b');\n storeValue('highlight', '#205717');\n storeValue('text', '#3b5237');\n storeValue('contrast', '#d13681');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.green",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad61"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "ratings",
+ "fullyQualifiedName": "astronautsLog.ratings",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 5) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 5) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "ratings",
+ "fullyQualifiedName": "astronautsLog.ratings",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 5) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.ratings",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad69"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "orange",
+ "fullyQualifiedName": "TC6.orange",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "orange",
+ "fullyQualifiedName": "TC6.orange",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 4",
+ "collectionId": "Page 4_TC6",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('background', '#ba9a99');\n storeValue('highlight', '#990f0b');\n storeValue('text', '#b30a05');\n storeValue('contrast', '#76948b');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 4_TC6.orange",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6f"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "textColour",
+ "fullyQualifiedName": "astronautsLog.textColour",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('formTextColour', '#b91c1c');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n storeValue('formTextColour', '#b91c1c');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "textColour",
+ "fullyQualifiedName": "astronautsLog.textColour",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n storeValue('formTextColour', '#b91c1c');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.textColour",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad67"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "displayAstronaut",
+ "fullyQualifiedName": "astronautsLog.displayAstronaut",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "displayAstronaut",
+ "fullyQualifiedName": "astronautsLog.displayAstronaut",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => Object.keys(astronautsLog.astronautNames).map(a => ({\n label: a + `${astronautsLog.astronautNames[a] ? ' ' + astronautsLog.astronautNames[a] : ''}`,\n value: a\n}))",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.displayAstronaut",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5f"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImagesold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImagesold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petImagesold",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad19"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFactsold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFactsold",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petFactsold",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad13"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.factsApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_petFacts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad39"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_failingQuery",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad49"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "astronautNames",
+ "fullyQualifiedName": "astronautsLog.astronautNames",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "astronautNames",
+ "fullyQualifiedName": "astronautsLog.astronautNames",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n fetch;\n return fetchAstronauts.data.results.map(n => {\n return {\n label: n.name,\n value: n.name\n };\n });\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "clientSideExecution": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.astronautNames",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6b"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "{{appsmith.store.imageApi}}"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "datasourceUrl"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground_petImages",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3b"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "astronautsLog.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n return Math.floor(Math.random() * 100) + 1;\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "progressBar",
+ "fullyQualifiedName": "astronautsLog.progressBar",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "collectionId": "--Playground1_astronautsLog",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n return Math.floor(Math.random() * 100) + 1;\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_astronautsLog.progressBar",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad65"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.imageApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petImages",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.imageApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.imageApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petImages",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad15"
+ },
+ {
+ "pluginType": "SAAS",
+ "pluginId": "google-sheets-plugin",
+ "unpublishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "mainGoogleSheetDS",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "selfReferencingDataPaths": [],
+ "formData": {
+ "command": {
+ "data": "UPDATE_ONE"
+ },
+ "entityType": {
+ "data": "ROWS"
+ },
+ "tableHeaderIndex": {
+ "data": "1"
+ },
+ "projection": {
+ "data": []
+ },
+ "queryFormat": {
+ "data": "ROWS"
+ },
+ "range": {
+ "data": ""
+ },
+ "where": {
+ "data": {
+ "condition": "AND"
+ }
+ },
+ "pagination": {
+ "data": {
+ "limit": "20",
+ "offset": "0"
+ }
+ },
+ "smartSubstitution": {
+ "data": true
+ }
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "mainGoogleSheetDS",
+ "pluginId": "google-sheets-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "mainGoogleSheetDS",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "selfReferencingDataPaths": [],
+ "formData": {
+ "command": {
+ "data": "UPDATE_ONE"
+ },
+ "entityType": {
+ "data": "ROWS"
+ },
+ "tableHeaderIndex": {
+ "data": "1"
+ },
+ "projection": {
+ "data": []
+ },
+ "queryFormat": {
+ "data": "ROWS"
+ },
+ "range": {
+ "data": ""
+ },
+ "where": {
+ "data": {
+ "condition": "AND"
+ }
+ },
+ "pagination": {
+ "data": {
+ "limit": "20",
+ "offset": "0"
+ }
+ },
+ "smartSubstitution": {
+ "data": true
+ }
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad6d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.factsApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "petFacts",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "sshProxyEnabled": false,
+ "url": ""
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "{{appsmith.store.factsApi}}",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "httpVersion": "HTTP11",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "appsmith.store.factsApi"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_petFacts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad17"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() => {\n setInterval(() => {\n storeValue('imageApi', 'https://api.thecatapi.com/v1/images/search');\n storeValue('factsApi', 'https://catfact.ninja/fact').then(async () => {\n await petImages.run();\n await petFacts.run();\n console.log('Attemping to find new cat pics');\n }).then(async () => {\n storeValue('kittyImage', petImages.data[0].url);\n storeValue('kittyFact', petFacts.data.fact);\n console.log('Found new kitty pics and fun facts about them');\n });\n }, 15000, 'kitty');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.cat",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad05"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "both",
+ "fullyQualifiedName": "TC4.both",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "both",
+ "fullyQualifiedName": "TC4.both",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "collectionId": "Page 2_TC4",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "async function () {\n TC4.cat();\n await setTimeout(() => {\n console.log('executing code doggo');\n TC4.dog();\n }, 12000, 'both');\n}",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": true
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.both",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad79"
+ },
+ {
+ "pluginType": "JS",
+ "pluginId": "js-plugin",
+ "unpublishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "() =>n"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "cat",
+ "fullyQualifiedName": "TC4.cat",
+ "datasource": {
+ "name": "UNUSED_DATASOURCE",
+ "pluginId": "js-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "() =>n",
+ "selfReferencingDataPaths": [],
+ "jsArguments": [],
+ "isAsync": false
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_TC4.cat",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0f"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 3",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 3_randomUserGenerator",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad47"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "fetchAstronauts",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "fetchAstronauts",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_fetchAstronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad73"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [
+ {
+ "value": "\n"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "randomUserGenerator",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://randomuser.me"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/api/",
+ "headers": [
+ {
+ "value": "\n"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_randomUserGenerator",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5b"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "filtered_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\" where name = {{Select1.selectedOptionLabel}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "filtered_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\" where name = {{Select1.selectedOptionLabel}};",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [
+ {
+ "key": "body"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_filtered_astronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad75"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad71"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "",
+ "value": ""
+ },
+ {
+ "key": "",
+ "value": ""
+ }
+ ],
+ "body": "",
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "filteredAstronauts_really_long",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "name",
+ "value": "{{Select1.selectedOptionLabel}}"
+ }
+ ],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ },
+ {
+ "key": "queryParameters[0].value"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "filteredAstronauts_really_long",
+ "datasource": {
+ "name": "https://ll.thespacedevs.com",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "https://ll.thespacedevs.com"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "/2.2.0/astronaut/",
+ "headers": [
+ {
+ "key": "accept",
+ "value": "application/json"
+ }
+ ],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [
+ {
+ "key": "name",
+ "value": "{{Select1.selectedOptionLabel}}"
+ }
+ ],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": []
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [
+ {
+ "key": "path"
+ },
+ {
+ "key": "queryParameters[0].value"
+ }
+ ],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [
+ "Select1.selectedOptionLabel"
+ ],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_filteredAstronauts_really_long",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7b"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api1",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad2f"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api2",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_Api2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad5d"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "\n",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "Api3",
+ "datasource": {
+ "name": "JSON typicode API (1)",
+ "pluginId": "restapi-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "JSON typicode API (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 2",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "path": "\n",
+ "headers": [],
+ "autoGeneratedHeaders": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 2_Api3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad3d"
+ },
+ {
+ "pluginType": "DB",
+ "pluginId": "postgres-plugin",
+ "unpublishedAction": {
+ "name": "fetch_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\";",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "fetch_astronauts",
+ "datasource": {
+ "name": "TED postgres (1)",
+ "pluginId": "postgres-plugin",
+ "messages": [],
+ "isAutoGenerated": false,
+ "id": "TED postgres (1)",
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "--Playground1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "encodeParamsToggle": true,
+ "body": "SELECT * FROM public.\"astronauts\";",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ]
+ },
+ "executeOnLoad": true,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "--Playground1_fetch_astronauts",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad77"
+ },
+ {
+ "pluginType": "API",
+ "pluginId": "restapi-plugin",
+ "unpublishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "publishedAction": {
+ "name": "failingQuery",
+ "datasource": {
+ "name": "DEFAULT_REST_DATASOURCE",
+ "pluginId": "restapi-plugin",
+ "datasourceConfiguration": {
+ "url": "dummyTestApi"
+ },
+ "invalids": [],
+ "messages": [],
+ "isAutoGenerated": false,
+ "deleted": false,
+ "policies": [],
+ "userPermissions": []
+ },
+ "pageId": "Page 1",
+ "actionConfiguration": {
+ "timeoutInMillisecond": 10000,
+ "paginationType": "NONE",
+ "headers": [],
+ "encodeParamsToggle": true,
+ "queryParameters": [],
+ "bodyFormData": [],
+ "httpMethod": "GET",
+ "selfReferencingDataPaths": [],
+ "pluginSpecifiedTemplates": [
+ {
+ "value": true
+ }
+ ],
+ "formData": {
+ "apiContentType": "none"
+ }
+ },
+ "executeOnLoad": false,
+ "dynamicBindingPathList": [],
+ "isValid": true,
+ "invalids": [],
+ "messages": [],
+ "jsonPathKeys": [],
+ "userSetOnLoad": false,
+ "confirmBeforeExecute": false,
+ "policies": [],
+ "userPermissions": [],
+ "createdAt": "2024-04-03T11:32:39Z"
+ },
+ "id": "Page 1_failingQuery",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad59"
+ }
+ ],
+ "actionCollectionList": [
+ {
+ "unpublishedCollection": {
+ "name": "TC4",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// setTimeout() and setInterval() scenarios\n\tboth: async function () {\n\t\tthis.cat()\n\t\tawait setTimeout(() => { \n\t\t\tconsole.log('executing code doggo')\n\t\t\tthis.dog()} ,12000, 'both')\n\t},\n\tdog: async function () {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://dog.ceo/api/breeds/image/random')\n\t\t//\tstoreValue('factsApi', 'https://dogapi.dog.com/api/facts') \n\t\t\t\tstoreValue('factsApi', 'https://dogapi.dog/api/facts') \n\t\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait petImages.run();\n\t\t\t\tawait petFacts.run()\n\t\t\t\tconsole.log('Attemping to find new dog pics')\n\t\t\t}).then( () => {\n\t\t\t\t(petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage),\n\t\t\t\t(petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact)\n\t\t\t\tconsole.log('Found new doggo pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'doggo')\t\n\t},\n\tcat: () => {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\t\tstoreValue('factsApi', 'https://catfact.ninja/fact')\n\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait\tpetImages.run()\n\t\t\t\tawait\tpetFacts.run()\n\t\t\t\tconsole.log('Attemping to find new cat pics')\n\t\t\t}).then(async () => {\n\t\t\t\tstoreValue('kittyImage', petImages.data[0].url)\n\t\t\t\tstoreValue('kittyFact', petFacts.data.fact)\n\t\t\t\tconsole.log('Found new kitty pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'kitty')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC4",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// setTimeout() and setInterval() scenarios\n\tboth: async function () {\n\t\tthis.cat()\n\t\tawait setTimeout(() => { \n\t\t\tconsole.log('executing code doggo')\n\t\t\tthis.dog()} ,12000, 'both')\n\t},\n\tdog: async function () {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://dog.ceo/api/breeds/image/random')\n\t\t//\tstoreValue('factsApi', 'https://dogapi.dog.com/api/facts') \n\t\t\t\tstoreValue('factsApi', 'https://dogapi.dog/api/facts') \n\t\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait petImages.run();\n\t\t\t\tawait petFacts.run()\n\t\t\t\tconsole.log('Attemping to find new dog pics')\n\t\t\t}).then( () => {\n\t\t\t\t(petImages.responseMeta.statusCode == '200 OK' ? storeValue('doggoImage', petImages.data.message) : appsmith.store.dogImage),\n\t\t\t\t(petFacts.responseMeta.statusCode === '200 OK' ? storeValue('dogFact', petFacts.data.facts[0]) : appsmith.store.dogFact)\n\t\t\t\tconsole.log('Found new doggo pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'doggo')\t\n\t},\n\tcat: () => {\n\t\tsetInterval(() => {\n\t\t\tstoreValue('imageApi','https://api.thecatapi.com/v1/images/search')\n\t\t\tstoreValue('factsApi', 'https://catfact.ninja/fact')\n\t\t\n\t\t\t\t.then(async () => {\n\t\t\t\tawait\tpetImages.run()\n\t\t\t\tawait\tpetFacts.run()\n\t\t\t\tconsole.log('Attemping to find new cat pics')\n\t\t\t}).then(async () => {\n\t\t\t\tstoreValue('kittyImage', petImages.data[0].url)\n\t\t\t\tstoreValue('kittyFact', petFacts.data.fact)\n\t\t\t\tconsole.log('Found new kitty pics and fun facts about them')\n\t\t\t})\n\t\t}, 15000, 'kitty')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 2_TC4",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad7f"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC3",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// navigateTo() scenarios - need to be modified\n\tmyVar1: [\n\t\t{\n\t\t\t\"label\": \"Page navigation\",\n\t\t\t\"value\": \"Page navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Widget navigation\",\n\t\t\t\"value\": \"Widget navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Tab navigation - WIP\",\n\t\t\t\"value\": \"Tab navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"External navigation\",\n\t\t\t\"value\": \"External navigation\"\n\t\t}\n\t],\n\tmyFun1: async () => {\n\t\tif (Select2.selectedOptionValue == \"Page navigation\") {\n\t\t\tconsole.log(\"Navigating to a page\")\n\t\t\tawait Api1.clear()\n\t\t\tawait Api2.clear()\n\t\t\tawait Api3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait\tnavigateTo('Navigated Page', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Widget navigation\") {\n\t\t\tconsole.log(\"Navigating to a widget after API execution\")\n\t\t\tApi1.clear()\n\t\t\tApi2.clear()\n\t\t\tApi3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t \tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(() => showAlert(\"Trouble executing API calls\")) //not executing from second call\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Tab navigation\") {\n\t\t\tshowAlert(\"Navigating to Tab 2 of tab widget\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run() \n\t\t\t\t\tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW')\n\t\t\t\t}) .catch((e) => console.log(e.message)) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"External navigation\") {\n\t\t\tshowAlert(\"Navigating to Appsmith website\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait navigateTo('www.appsmith.com', {}, 'NEW_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[{\n \"label\": \"Page navigation\",\n \"value\": \"Page navigation\"\n}, {\n \"label\": \"Widget navigation\",\n \"value\": \"Widget navigation\"\n}, {\n \"label\": \"Tab navigation - WIP\",\n \"value\": \"Tab navigation\"\n}, {\n \"label\": \"External navigation\",\n \"value\": \"External navigation\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC3",
+ "pageId": "Page 2",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\t// navigateTo() scenarios - need to be modified\n\tmyVar1: [\n\t\t{\n\t\t\t\"label\": \"Page navigation\",\n\t\t\t\"value\": \"Page navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Widget navigation\",\n\t\t\t\"value\": \"Widget navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Tab navigation - WIP\",\n\t\t\t\"value\": \"Tab navigation\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"External navigation\",\n\t\t\t\"value\": \"External navigation\"\n\t\t}\n\t],\n\tmyFun1: async () => {\n\t\tif (Select2.selectedOptionValue == \"Page navigation\") {\n\t\t\tconsole.log(\"Navigating to a page\")\n\t\t\tawait Api1.clear()\n\t\t\tawait Api2.clear()\n\t\t\tawait Api3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait\tnavigateTo('Navigated Page', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Widget navigation\") {\n\t\t\tconsole.log(\"Navigating to a widget after API execution\")\n\t\t\tApi1.clear()\n\t\t\tApi2.clear()\n\t\t\tApi3.clear()\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t \tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-63d961ab4628c647b6101b45#0mi3h8zskd', {}, 'SAME_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(() => showAlert(\"Trouble executing API calls\")) //not executing from second call\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"Tab navigation\") {\n\t\t\tshowAlert(\"Navigating to Tab 2 of tab widget\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run() \n\t\t\t\t\tawait navigateTo('https://release.app.appsmith.com/app/automation-test-cases/page-2-62c6ba550721a64d32ce5ef5/edit#stu122x6ov', {}, 'SAME_WINDOW')\n\t\t\t\t}) .catch((e) => console.log(e.message)) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t\telse if (Select2.selectedOptionValue == \"External navigation\") {\n\t\t\tshowAlert(\"Navigating to Appsmith website\")\n\t\t\tApi1.run()\n\t\t\t\t.then(() => {\n\t\t\t\tApi2.run()\n\t\t\t\t\t.then(async() => {\n\t\t\t\t\tApi3.run()\n\t\t\t\t\tawait navigateTo('www.appsmith.com', {}, 'NEW_WINDOW')\n\t\t\t\t}) })\n\t\t\t\t.catch(\"Trouble executing API calls\")\n\t\t}\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[{\n \"label\": \"Page navigation\",\n \"value\": \"Page navigation\"\n}, {\n \"label\": \"Widget navigation\",\n \"value\": \"Widget navigation\"\n}, {\n \"label\": \"Tab navigation - WIP\",\n \"value\": \"Tab navigation\"\n}, {\n \"label\": \"External navigation\",\n \"value\": \"External navigation\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 2_TC3",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad81"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC5",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// display array of locations using storeValue() on map widget & access outer variable (improve outer variable scenarios)\n\tlocations: [\n\t\t{\n\t\t\t\"lat\": 28.644078,\n\t\t\t\"long\": 77.343284,\n\t\t\t\"title\": \"Vaishali\",\n\t\t\t\"color\": \"#8AA000\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6162195,\n\t\t\t\"long\": 77.1584105,\n\t\t\t\"title\": \"Tilak Nagar\",\n\t\t\t\"color\": \"#8AA001\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.5477725,\n\t\t\t\"long\": 77.27241599999999,\n\t\t\t\"title\": \"Vasant Kunj\",\n\t\t\t\"color\": \"#8AA002\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6842635,\n\t\t\t\"long\": 77.12194249999999,\n\t\t\t\"title\": \"Rohini\",\n\t\t\t\"color\": \"#8AA003\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.627524,\n\t\t\t\"long\": 77.26232999999999,\n\t\t\t\"title\": \"Mayur Vihar\",\n\t\t\t\"color\": \"#8AA004\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.723989,\n\t\t\t\"long\": 77.32631549999999,\n\t\t\t\"title\": \"New Friends Colony\",\n\t\t\t\"color\": \"#8AA005\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.533346,\n\t\t\t\"long\": 77.2608495,\n\t\t\t\"title\": \"Kalkaji\",\n\t\t\t\"color\": \"#8AA006\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6111395,\n\t\t\t\"long\": 77.0912565,\n\t\t\t\"title\": \"Dwarka\",\n\t\t\t\"color\": \"#8AA007\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.607106,\n\t\t\t\"long\": 77.0939745,\n\t\t\t\"title\": \"Paschim Vihar\",\n\t\t\t\"color\": \"#8AA008\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7238,\n\t\t\t\"long\": 77.04109700000001,\n\t\t\t\"title\": \"Janakpuri\",\n\t\t\t\"color\": \"#8AA009\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6004265,\n\t\t\t\"long\": 77.13923650000001,\n\t\t\t\"title\": \"Uttam Nagar\",\n\t\t\t\"color\": \"#8AA00A\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.662347500000003,\n\t\t\t\"long\": 77.293808,\n\t\t\t\"title\": \"Preet Vihar\",\n\t\t\t\"color\": \"#8AA00B\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.548065,\n\t\t\t\"long\": 77.238924,\n\t\t\t\"title\": \"Nehru Place\",\n\t\t\t\"color\": \"#8AA00C\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.698132,\n\t\t\t\"long\": 77.1752135,\n\t\t\t\"title\": \"Pitampura\",\n\t\t\t\"color\": \"#8AA00D\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.649233000000002,\n\t\t\t\"long\": 77.37527349999999,\n\t\t\t\"title\": \"Ghaziabad\",\n\t\t\t\"color\": \"#8AA00E\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.669881500000002,\n\t\t\t\"long\": 77.1325635,\n\t\t\t\"title\": \"Punjabi Bagh\",\n\t\t\t\"color\": \"#8AA00F\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.995054000000003,\n\t\t\t\"long\": 77.1732235,\n\t\t\t\"title\": \"Patel Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7234325,\n\t\t\t\"long\": 77.202831,\n\t\t\t\"title\": \"Shalimar Bagh\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6362485,\n\t\t\t\"long\": 77.229872,\n\t\t\t\"title\": \"Greater Kailash (1/ 2/ 3)\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.641876500000002,\n\t\t\t\"long\": 77.204572,\n\t\t\t\"title\": \"Krishna Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.596356,\n\t\t\t\"long\": 77.2121875,\n\t\t\t\"title\": \"Connaught Place\"\n\t\t},\n\t\t{\n\t\t\"lat\": 28.5450065,\n\t\t\"long\": 77.279852,\n\t\t\"title\": \"Okhla\"\n\t\t},\n\t{\n\t\"lat\": 28.637442999999998,\n\t\"long\": 77.1791195,\n\t\"title\": \"Rajendra Nagar\"\n},\n\t{\n\t\"lat\": 28.65356,\n\t\"long\": 77.2749285,\n\t\"title\": \"Shahdara\"\n},\n\t{\n\t\"lat\": 28.574506,\n\t\"long\": 77.1907595,\n\t\"title\": \"Ashok Vihar\"\n},\n\t{\n\t\"lat\": 28.658746,\n\t\"long\": 77.1803415,\n\t\"title\": \"Kamla Nagar\"\n},\n\t{\n\t\"lat\": 28.575978499999998,\n\t\"long\": 77.159367,\n\t\"title\": \"Hauz Khas/Safdarjung/Green Park\"\n},\n\t{\n\t\"lat\": 28.607501499999998,\n\t\"long\": 77.22935749999999,\n\t\"title\": \"Karol Bagh\"\n},\n\t{\n\t\"lat\": 28.509921499999997,\n\t\"long\": 77.2065825,\n\t\"title\": \"Anand Vihar / Chander Nagar\"\n},\n\t{\n\t\"lat\": 28.5873275,\n\t\"long\": 77.22194250000001,\n\t\"title\": \"Saket/Malviya Nagar/Adchini\"\n},\n\t{\n\t\"lat\": 28.6872405,\n\t\"long\": 77.114919,\n\t\"title\": \"Rajouri/ Kirti\"\n},\n\t{\n\t\"lat\": 28.7819535,\n\t\"long\": 77.3001775,\n\t\"title\": \"East of Kailash/Lajpat Nagar\"\n},\n\t{\n\t\"lat\": 28.61948,\n\t\"long\": 77.1274255,\n\t\"title\": \"Hari Nagar / Mayapuri\"\n},\n\t{\n\t\"lat\": 28.529919,\n\t\"long\": 77.0723435,\n\t\"title\": \"South ex / 1/ 2/ DC\"\n},\n\t{\n\t\"lat\": 28.77791,\n\t\"long\": 77.05407650000001,\n\t\"title\": \"Vasant Vihar/ MB/ RKP\"\n},\n\t{\n\t\"lat\": 28.614067,\n\t\"long\": 77.0558015,\n\t\"title\": \"Vikaspuri\"\n},\n\t{\n\t\"lat\": 28.67888,\n\t\"long\": 77.3584895,\n\t\"title\": \"Dilshad Garden\"\n},\n\t{\n\t\"lat\": 28.718331499999998,\n\t\"long\": 77.1691395,\n\t\"title\": \"Model Town (1/ 2)\"\n},\n\t{\n\t\"lat\": 28.722808,\n\t\"long\": 77.12085400000001,\n\t\"title\": \"Aerocity\"\n},\n\t{\n\t\"lat\": 28.586436499999998,\n\t\"long\": 77.300185,\n\t\"title\": \"Jangpura\"\n},\n\t{\n\t\"lat\": 28.487882499999998,\n\t\"long\": 77.198639,\n\t\"title\": \"Sainik Farms\"\n},\n\t{\n\t\"lat\": 28.653709,\n\t\"long\": 77.12888749999999,\n\t\"title\": \"Ramesh Nagar\"\n}\n],\n\tstoreLocation: function () {\n\t\tstoreValue('mapPins', this.locations)\n\t\treturn appsmith.store.mapPins\n\t},\n\tcountdown: () => {\n\t\tstoreValue('count', NumberSlider1.value)\n\t\tvar interval = setInterval(() => {\n\t\t\tstoreValue('count', appsmith.store.count - 1)\n\t\t\t// showAlert(appsmith.store.count.toString())\n\t\t\tif(appsmith.store.count < 1 )\n\t\t\t\tclearInterval(interval)\n\t\t}, NumberSlider2.value)\n\t}\n}",
+ "variables": [
+ {
+ "name": "locations",
+ "value": "[{\n \"lat\": 28.644078,\n \"long\": 77.343284,\n \"title\": \"Vaishali\",\n \"color\": \"#8AA000\"\n}, {\n \"lat\": 28.6162195,\n \"long\": 77.1584105,\n \"title\": \"Tilak Nagar\",\n \"color\": \"#8AA001\"\n}, {\n \"lat\": 28.5477725,\n \"long\": 77.27241599999999,\n \"title\": \"Vasant Kunj\",\n \"color\": \"#8AA002\"\n}, {\n \"lat\": 28.6842635,\n \"long\": 77.12194249999999,\n \"title\": \"Rohini\",\n \"color\": \"#8AA003\"\n}, {\n \"lat\": 28.627524,\n \"long\": 77.26232999999999,\n \"title\": \"Mayur Vihar\",\n \"color\": \"#8AA004\"\n}, {\n \"lat\": 28.723989,\n \"long\": 77.32631549999999,\n \"title\": \"New Friends Colony\",\n \"color\": \"#8AA005\"\n}, {\n \"lat\": 28.533346,\n \"long\": 77.2608495,\n \"title\": \"Kalkaji\",\n \"color\": \"#8AA006\"\n}, {\n \"lat\": 28.6111395,\n \"long\": 77.0912565,\n \"title\": \"Dwarka\",\n \"color\": \"#8AA007\"\n}, {\n \"lat\": 28.607106,\n \"long\": 77.0939745,\n \"title\": \"Paschim Vihar\",\n \"color\": \"#8AA008\"\n}, {\n \"lat\": 28.7238,\n \"long\": 77.04109700000001,\n \"title\": \"Janakpuri\",\n \"color\": \"#8AA009\"\n}, {\n \"lat\": 28.6004265,\n \"long\": 77.13923650000001,\n \"title\": \"Uttam Nagar\",\n \"color\": \"#8AA00A\"\n}, {\n \"lat\": 28.662347500000003,\n \"long\": 77.293808,\n \"title\": \"Preet Vihar\",\n \"color\": \"#8AA00B\"\n}, {\n \"lat\": 28.548065,\n \"long\": 77.238924,\n \"title\": \"Nehru Place\",\n \"color\": \"#8AA00C\"\n}, {\n \"lat\": 28.698132,\n \"long\": 77.1752135,\n \"title\": \"Pitampura\",\n \"color\": \"#8AA00D\"\n}, {\n \"lat\": 28.649233000000002,\n \"long\": 77.37527349999999,\n \"title\": \"Ghaziabad\",\n \"color\": \"#8AA00E\"\n}, {\n \"lat\": 28.669881500000002,\n \"long\": 77.1325635,\n \"title\": \"Punjabi Bagh\",\n \"color\": \"#8AA00F\"\n}, {\n \"lat\": 28.995054000000003,\n \"long\": 77.1732235,\n \"title\": \"Patel Nagar\"\n}, {\n \"lat\": 28.7234325,\n \"long\": 77.202831,\n \"title\": \"Shalimar Bagh\"\n}, {\n \"lat\": 28.6362485,\n \"long\": 77.229872,\n \"title\": \"Greater Kailash (1/ 2/ 3)\"\n}, {\n \"lat\": 28.641876500000002,\n \"long\": 77.204572,\n \"title\": \"Krishna Nagar\"\n}, {\n \"lat\": 28.596356,\n \"long\": 77.2121875,\n \"title\": \"Connaught Place\"\n}, {\n \"lat\": 28.5450065,\n \"long\": 77.279852,\n \"title\": \"Okhla\"\n}, {\n \"lat\": 28.637442999999998,\n \"long\": 77.1791195,\n \"title\": \"Rajendra Nagar\"\n}, {\n \"lat\": 28.65356,\n \"long\": 77.2749285,\n \"title\": \"Shahdara\"\n}, {\n \"lat\": 28.574506,\n \"long\": 77.1907595,\n \"title\": \"Ashok Vihar\"\n}, {\n \"lat\": 28.658746,\n \"long\": 77.1803415,\n \"title\": \"Kamla Nagar\"\n}, {\n \"lat\": 28.575978499999998,\n \"long\": 77.159367,\n \"title\": \"Hauz Khas/Safdarjung/Green Park\"\n}, {\n \"lat\": 28.607501499999998,\n \"long\": 77.22935749999999,\n \"title\": \"Karol Bagh\"\n}, {\n \"lat\": 28.509921499999997,\n \"long\": 77.2065825,\n \"title\": \"Anand Vihar / Chander Nagar\"\n}, {\n \"lat\": 28.5873275,\n \"long\": 77.22194250000001,\n \"title\": \"Saket/Malviya Nagar/Adchini\"\n}, {\n \"lat\": 28.6872405,\n \"long\": 77.114919,\n \"title\": \"Rajouri/ Kirti\"\n}, {\n \"lat\": 28.7819535,\n \"long\": 77.3001775,\n \"title\": \"East of Kailash/Lajpat Nagar\"\n}, {\n \"lat\": 28.61948,\n \"long\": 77.1274255,\n \"title\": \"Hari Nagar / Mayapuri\"\n}, {\n \"lat\": 28.529919,\n \"long\": 77.0723435,\n \"title\": \"South ex / 1/ 2/ DC\"\n}, {\n \"lat\": 28.77791,\n \"long\": 77.05407650000001,\n \"title\": \"Vasant Vihar/ MB/ RKP\"\n}, {\n \"lat\": 28.614067,\n \"long\": 77.0558015,\n \"title\": \"Vikaspuri\"\n}, {\n \"lat\": 28.67888,\n \"long\": 77.3584895,\n \"title\": \"Dilshad Garden\"\n}, {\n \"lat\": 28.718331499999998,\n \"long\": 77.1691395,\n \"title\": \"Model Town (1/ 2)\"\n}, {\n \"lat\": 28.722808,\n \"long\": 77.12085400000001,\n \"title\": \"Aerocity\"\n}, {\n \"lat\": 28.586436499999998,\n \"long\": 77.300185,\n \"title\": \"Jangpura\"\n}, {\n \"lat\": 28.487882499999998,\n \"long\": 77.198639,\n \"title\": \"Sainik Farms\"\n}, {\n \"lat\": 28.653709,\n \"long\": 77.12888749999999,\n \"title\": \"Ramesh Nagar\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC5",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// display array of locations using storeValue() on map widget & access outer variable (improve outer variable scenarios)\n\tlocations: [\n\t\t{\n\t\t\t\"lat\": 28.644078,\n\t\t\t\"long\": 77.343284,\n\t\t\t\"title\": \"Vaishali\",\n\t\t\t\"color\": \"#8AA000\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6162195,\n\t\t\t\"long\": 77.1584105,\n\t\t\t\"title\": \"Tilak Nagar\",\n\t\t\t\"color\": \"#8AA001\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.5477725,\n\t\t\t\"long\": 77.27241599999999,\n\t\t\t\"title\": \"Vasant Kunj\",\n\t\t\t\"color\": \"#8AA002\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6842635,\n\t\t\t\"long\": 77.12194249999999,\n\t\t\t\"title\": \"Rohini\",\n\t\t\t\"color\": \"#8AA003\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.627524,\n\t\t\t\"long\": 77.26232999999999,\n\t\t\t\"title\": \"Mayur Vihar\",\n\t\t\t\"color\": \"#8AA004\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.723989,\n\t\t\t\"long\": 77.32631549999999,\n\t\t\t\"title\": \"New Friends Colony\",\n\t\t\t\"color\": \"#8AA005\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.533346,\n\t\t\t\"long\": 77.2608495,\n\t\t\t\"title\": \"Kalkaji\",\n\t\t\t\"color\": \"#8AA006\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6111395,\n\t\t\t\"long\": 77.0912565,\n\t\t\t\"title\": \"Dwarka\",\n\t\t\t\"color\": \"#8AA007\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.607106,\n\t\t\t\"long\": 77.0939745,\n\t\t\t\"title\": \"Paschim Vihar\",\n\t\t\t\"color\": \"#8AA008\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7238,\n\t\t\t\"long\": 77.04109700000001,\n\t\t\t\"title\": \"Janakpuri\",\n\t\t\t\"color\": \"#8AA009\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6004265,\n\t\t\t\"long\": 77.13923650000001,\n\t\t\t\"title\": \"Uttam Nagar\",\n\t\t\t\"color\": \"#8AA00A\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.662347500000003,\n\t\t\t\"long\": 77.293808,\n\t\t\t\"title\": \"Preet Vihar\",\n\t\t\t\"color\": \"#8AA00B\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.548065,\n\t\t\t\"long\": 77.238924,\n\t\t\t\"title\": \"Nehru Place\",\n\t\t\t\"color\": \"#8AA00C\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.698132,\n\t\t\t\"long\": 77.1752135,\n\t\t\t\"title\": \"Pitampura\",\n\t\t\t\"color\": \"#8AA00D\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.649233000000002,\n\t\t\t\"long\": 77.37527349999999,\n\t\t\t\"title\": \"Ghaziabad\",\n\t\t\t\"color\": \"#8AA00E\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.669881500000002,\n\t\t\t\"long\": 77.1325635,\n\t\t\t\"title\": \"Punjabi Bagh\",\n\t\t\t\"color\": \"#8AA00F\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.995054000000003,\n\t\t\t\"long\": 77.1732235,\n\t\t\t\"title\": \"Patel Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.7234325,\n\t\t\t\"long\": 77.202831,\n\t\t\t\"title\": \"Shalimar Bagh\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.6362485,\n\t\t\t\"long\": 77.229872,\n\t\t\t\"title\": \"Greater Kailash (1/ 2/ 3)\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.641876500000002,\n\t\t\t\"long\": 77.204572,\n\t\t\t\"title\": \"Krishna Nagar\"\n\t\t},\n\t\t{\n\t\t\t\"lat\": 28.596356,\n\t\t\t\"long\": 77.2121875,\n\t\t\t\"title\": \"Connaught Place\"\n\t\t},\n\t\t{\n\t\t\"lat\": 28.5450065,\n\t\t\"long\": 77.279852,\n\t\t\"title\": \"Okhla\"\n\t\t},\n\t{\n\t\"lat\": 28.637442999999998,\n\t\"long\": 77.1791195,\n\t\"title\": \"Rajendra Nagar\"\n},\n\t{\n\t\"lat\": 28.65356,\n\t\"long\": 77.2749285,\n\t\"title\": \"Shahdara\"\n},\n\t{\n\t\"lat\": 28.574506,\n\t\"long\": 77.1907595,\n\t\"title\": \"Ashok Vihar\"\n},\n\t{\n\t\"lat\": 28.658746,\n\t\"long\": 77.1803415,\n\t\"title\": \"Kamla Nagar\"\n},\n\t{\n\t\"lat\": 28.575978499999998,\n\t\"long\": 77.159367,\n\t\"title\": \"Hauz Khas/Safdarjung/Green Park\"\n},\n\t{\n\t\"lat\": 28.607501499999998,\n\t\"long\": 77.22935749999999,\n\t\"title\": \"Karol Bagh\"\n},\n\t{\n\t\"lat\": 28.509921499999997,\n\t\"long\": 77.2065825,\n\t\"title\": \"Anand Vihar / Chander Nagar\"\n},\n\t{\n\t\"lat\": 28.5873275,\n\t\"long\": 77.22194250000001,\n\t\"title\": \"Saket/Malviya Nagar/Adchini\"\n},\n\t{\n\t\"lat\": 28.6872405,\n\t\"long\": 77.114919,\n\t\"title\": \"Rajouri/ Kirti\"\n},\n\t{\n\t\"lat\": 28.7819535,\n\t\"long\": 77.3001775,\n\t\"title\": \"East of Kailash/Lajpat Nagar\"\n},\n\t{\n\t\"lat\": 28.61948,\n\t\"long\": 77.1274255,\n\t\"title\": \"Hari Nagar / Mayapuri\"\n},\n\t{\n\t\"lat\": 28.529919,\n\t\"long\": 77.0723435,\n\t\"title\": \"South ex / 1/ 2/ DC\"\n},\n\t{\n\t\"lat\": 28.77791,\n\t\"long\": 77.05407650000001,\n\t\"title\": \"Vasant Vihar/ MB/ RKP\"\n},\n\t{\n\t\"lat\": 28.614067,\n\t\"long\": 77.0558015,\n\t\"title\": \"Vikaspuri\"\n},\n\t{\n\t\"lat\": 28.67888,\n\t\"long\": 77.3584895,\n\t\"title\": \"Dilshad Garden\"\n},\n\t{\n\t\"lat\": 28.718331499999998,\n\t\"long\": 77.1691395,\n\t\"title\": \"Model Town (1/ 2)\"\n},\n\t{\n\t\"lat\": 28.722808,\n\t\"long\": 77.12085400000001,\n\t\"title\": \"Aerocity\"\n},\n\t{\n\t\"lat\": 28.586436499999998,\n\t\"long\": 77.300185,\n\t\"title\": \"Jangpura\"\n},\n\t{\n\t\"lat\": 28.487882499999998,\n\t\"long\": 77.198639,\n\t\"title\": \"Sainik Farms\"\n},\n\t{\n\t\"lat\": 28.653709,\n\t\"long\": 77.12888749999999,\n\t\"title\": \"Ramesh Nagar\"\n}\n],\n\tstoreLocation: function () {\n\t\tstoreValue('mapPins', this.locations)\n\t\treturn appsmith.store.mapPins\n\t},\n\tcountdown: () => {\n\t\tstoreValue('count', NumberSlider1.value)\n\t\tvar interval = setInterval(() => {\n\t\t\tstoreValue('count', appsmith.store.count - 1)\n\t\t\t// showAlert(appsmith.store.count.toString())\n\t\t\tif(appsmith.store.count < 1 )\n\t\t\t\tclearInterval(interval)\n\t\t}, NumberSlider2.value)\n\t}\n}",
+ "variables": [
+ {
+ "name": "locations",
+ "value": "[{\n \"lat\": 28.644078,\n \"long\": 77.343284,\n \"title\": \"Vaishali\",\n \"color\": \"#8AA000\"\n}, {\n \"lat\": 28.6162195,\n \"long\": 77.1584105,\n \"title\": \"Tilak Nagar\",\n \"color\": \"#8AA001\"\n}, {\n \"lat\": 28.5477725,\n \"long\": 77.27241599999999,\n \"title\": \"Vasant Kunj\",\n \"color\": \"#8AA002\"\n}, {\n \"lat\": 28.6842635,\n \"long\": 77.12194249999999,\n \"title\": \"Rohini\",\n \"color\": \"#8AA003\"\n}, {\n \"lat\": 28.627524,\n \"long\": 77.26232999999999,\n \"title\": \"Mayur Vihar\",\n \"color\": \"#8AA004\"\n}, {\n \"lat\": 28.723989,\n \"long\": 77.32631549999999,\n \"title\": \"New Friends Colony\",\n \"color\": \"#8AA005\"\n}, {\n \"lat\": 28.533346,\n \"long\": 77.2608495,\n \"title\": \"Kalkaji\",\n \"color\": \"#8AA006\"\n}, {\n \"lat\": 28.6111395,\n \"long\": 77.0912565,\n \"title\": \"Dwarka\",\n \"color\": \"#8AA007\"\n}, {\n \"lat\": 28.607106,\n \"long\": 77.0939745,\n \"title\": \"Paschim Vihar\",\n \"color\": \"#8AA008\"\n}, {\n \"lat\": 28.7238,\n \"long\": 77.04109700000001,\n \"title\": \"Janakpuri\",\n \"color\": \"#8AA009\"\n}, {\n \"lat\": 28.6004265,\n \"long\": 77.13923650000001,\n \"title\": \"Uttam Nagar\",\n \"color\": \"#8AA00A\"\n}, {\n \"lat\": 28.662347500000003,\n \"long\": 77.293808,\n \"title\": \"Preet Vihar\",\n \"color\": \"#8AA00B\"\n}, {\n \"lat\": 28.548065,\n \"long\": 77.238924,\n \"title\": \"Nehru Place\",\n \"color\": \"#8AA00C\"\n}, {\n \"lat\": 28.698132,\n \"long\": 77.1752135,\n \"title\": \"Pitampura\",\n \"color\": \"#8AA00D\"\n}, {\n \"lat\": 28.649233000000002,\n \"long\": 77.37527349999999,\n \"title\": \"Ghaziabad\",\n \"color\": \"#8AA00E\"\n}, {\n \"lat\": 28.669881500000002,\n \"long\": 77.1325635,\n \"title\": \"Punjabi Bagh\",\n \"color\": \"#8AA00F\"\n}, {\n \"lat\": 28.995054000000003,\n \"long\": 77.1732235,\n \"title\": \"Patel Nagar\"\n}, {\n \"lat\": 28.7234325,\n \"long\": 77.202831,\n \"title\": \"Shalimar Bagh\"\n}, {\n \"lat\": 28.6362485,\n \"long\": 77.229872,\n \"title\": \"Greater Kailash (1/ 2/ 3)\"\n}, {\n \"lat\": 28.641876500000002,\n \"long\": 77.204572,\n \"title\": \"Krishna Nagar\"\n}, {\n \"lat\": 28.596356,\n \"long\": 77.2121875,\n \"title\": \"Connaught Place\"\n}, {\n \"lat\": 28.5450065,\n \"long\": 77.279852,\n \"title\": \"Okhla\"\n}, {\n \"lat\": 28.637442999999998,\n \"long\": 77.1791195,\n \"title\": \"Rajendra Nagar\"\n}, {\n \"lat\": 28.65356,\n \"long\": 77.2749285,\n \"title\": \"Shahdara\"\n}, {\n \"lat\": 28.574506,\n \"long\": 77.1907595,\n \"title\": \"Ashok Vihar\"\n}, {\n \"lat\": 28.658746,\n \"long\": 77.1803415,\n \"title\": \"Kamla Nagar\"\n}, {\n \"lat\": 28.575978499999998,\n \"long\": 77.159367,\n \"title\": \"Hauz Khas/Safdarjung/Green Park\"\n}, {\n \"lat\": 28.607501499999998,\n \"long\": 77.22935749999999,\n \"title\": \"Karol Bagh\"\n}, {\n \"lat\": 28.509921499999997,\n \"long\": 77.2065825,\n \"title\": \"Anand Vihar / Chander Nagar\"\n}, {\n \"lat\": 28.5873275,\n \"long\": 77.22194250000001,\n \"title\": \"Saket/Malviya Nagar/Adchini\"\n}, {\n \"lat\": 28.6872405,\n \"long\": 77.114919,\n \"title\": \"Rajouri/ Kirti\"\n}, {\n \"lat\": 28.7819535,\n \"long\": 77.3001775,\n \"title\": \"East of Kailash/Lajpat Nagar\"\n}, {\n \"lat\": 28.61948,\n \"long\": 77.1274255,\n \"title\": \"Hari Nagar / Mayapuri\"\n}, {\n \"lat\": 28.529919,\n \"long\": 77.0723435,\n \"title\": \"South ex / 1/ 2/ DC\"\n}, {\n \"lat\": 28.77791,\n \"long\": 77.05407650000001,\n \"title\": \"Vasant Vihar/ MB/ RKP\"\n}, {\n \"lat\": 28.614067,\n \"long\": 77.0558015,\n \"title\": \"Vikaspuri\"\n}, {\n \"lat\": 28.67888,\n \"long\": 77.3584895,\n \"title\": \"Dilshad Garden\"\n}, {\n \"lat\": 28.718331499999998,\n \"long\": 77.1691395,\n \"title\": \"Model Town (1/ 2)\"\n}, {\n \"lat\": 28.722808,\n \"long\": 77.12085400000001,\n \"title\": \"Aerocity\"\n}, {\n \"lat\": 28.586436499999998,\n \"long\": 77.300185,\n \"title\": \"Jangpura\"\n}, {\n \"lat\": 28.487882499999998,\n \"long\": 77.198639,\n \"title\": \"Sainik Farms\"\n}, {\n \"lat\": 28.653709,\n \"long\": 77.12888749999999,\n \"title\": \"Ramesh Nagar\"\n}]"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 3_TC5",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad83"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n//installed library check on page load\n\tmyFun1: () => {\n\t\tamplitude.Identify()\n\t},\n\tmyFun2: async () => {\n\t\tthis.myFun1()\n\t\ttypeof jsonwebtoken === \"object\" \n\t\t\t&& typeof jsonwebtoken.decode === \"function\" \n\t\t\t&& showAlert(\"Success\");\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 3",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n//installed library check on page load\n\tmyFun1: () => {\n\t\tamplitude.Identify()\n\t},\n\tmyFun2: async () => {\n\t\tthis.myFun1()\n\t\ttypeof jsonwebtoken === \"object\" \n\t\t\t&& typeof jsonwebtoken.decode === \"function\" \n\t\t\t&& showAlert(\"Success\");\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 3_TC6",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad85"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 4",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// using storeValue() to dynamically modify values - update code using mutations \n\tblue: () => {\n\t\tstoreValue('background', '#606ebd')\n\t\tstoreValue('highlight', '#0e23c2')\n\t\tstoreValue('text', '#09171f')\n\t\tstoreValue('contrast', '#a9ab43')\n\t},\n\torange: () => {\n\t\tstoreValue('background', '#ba9a99')\n\t\tstoreValue('highlight', '#990f0b')\n\t\tstoreValue('text', '#b30a05')\n\t\tstoreValue('contrast', '#76948b')\n\t\t},\n\tgreen: () => {\n\t\tstoreValue('background', '#9fb39b')\n\t\tstoreValue('highlight', '#205717')\n\t\tstoreValue('text', '#3b5237')\n\t\tstoreValue('contrast', '#d13681')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC6",
+ "pageId": "Page 4",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// using storeValue() to dynamically modify values - update code using mutations \n\tblue: () => {\n\t\tstoreValue('background', '#606ebd')\n\t\tstoreValue('highlight', '#0e23c2')\n\t\tstoreValue('text', '#09171f')\n\t\tstoreValue('contrast', '#a9ab43')\n\t},\n\torange: () => {\n\t\tstoreValue('background', '#ba9a99')\n\t\tstoreValue('highlight', '#990f0b')\n\t\tstoreValue('text', '#b30a05')\n\t\tstoreValue('contrast', '#76948b')\n\t\t},\n\tgreen: () => {\n\t\tstoreValue('background', '#9fb39b')\n\t\tstoreValue('highlight', '#205717')\n\t\tstoreValue('text', '#3b5237')\n\t\tstoreValue('contrast', '#d13681')\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 4_TC6",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad95"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject1",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun: ()=>{\n\t\tconst byteArray = new Uint8Array(1);\n\t\tconst randomValue = crypto.getRandomValues(byteArray);\n\t\tconsole.log(randomValue)\n\t\treturn randomValue;\n\t},\n\t\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject1",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun: ()=>{\n\t\tconst byteArray = new Uint8Array(1);\n\t\tconst randomValue = crypto.getRandomValues(byteArray);\n\t\tconsole.log(randomValue)\n\t\treturn randomValue;\n\t},\n\t\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad87"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject14",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\tshowAlert('namaskara')\n\t},\n\tmyFun2: () => {\n\t\tshowAlert('namaste')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject14",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\tshowAlert('namaskara')\n\t},\n\tmyFun2: () => {\n\t\tshowAlert('namaste')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject14",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad89"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject15",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject15",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject15",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8b"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject16",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun1: () => {\n\t\tpetFacts.run()\n\t\tresetWidget('Select1')\n\t\t\t.then(() => storeValue('select', Select1.selectedOptionLabel))\n\t\t\t.then(() => showAlert(appsmith.store.select))\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject16",
+ "pageId": "--Playground",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyFun1: () => {\n\t\tpetFacts.run()\n\t\tresetWidget('Select1')\n\t\t\t.then(() => storeValue('select', Select1.selectedOptionLabel))\n\t\t\t.then(() => showAlert(appsmith.store.select))\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "--Playground_JSObject16",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8d"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC2",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive store value actions using Promise.all() and .then/.catch\n\tmyFun1: async () => { \n\t\t// TC1.clearStore()\n\t\trandomUserGenerator.run()\n\t\t\t.then((res) => {\n\t\t\tlet values =\n\t\t\t\t\t[\n\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t]\n\t\t\treturn Promise.all(values)\n\t\t\t\t.then(() => {\t\n\t\t\t\tshowAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\") \n\t\t\t\tconsole.log(appsmith.store) \n\t\t\t\tconsole.log(values)\n\t\t\t})\n\t\t\t\t.catch((err) => { \n\t\t\t\tconsole.log(\"Could not store values \", err.toString())\n\t\t\t\tshowAlert('Could not store values ', err.toString())\t\t\n\t\t\t}) })\n\t\tawait console.warn(\"2\");\n\t},\n\tmyFun2: async () => {\n\t\tfailingQuery.run()\n\t\t\t.then(() => showAlert(\"Query run was successful\"))\n\t\t\t.catch(() => {\n\t\t\trandomUserGenerator.run()\n\t\t\t\t.then((res) => {\n\t\t\t\tlet values =\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t\t]\n\t\t\t\treturn Promise.all(values)\n\t\t\t\t\t.then(() => {\t\n\t\t\t\t\tshowAlert(\"completed storing all values and now displaying all values on appropriate widgets\") })\n\t\t\t\t\t.catch((err) => { \n\t\t\t\t\tconsole.log(\"Could not store value in store \", err.toString())\n\t\t\t\t\tshowAlert('Could not store values in store ', err.toString())\t\t\n\t\t\t\t}) \n\t\t\t})\n\t\t})\n\t}, \n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC2",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive store value actions using Promise.all() and .then/.catch\n\tmyFun1: async () => { \n\t\t// TC1.clearStore()\n\t\trandomUserGenerator.run()\n\t\t\t.then((res) => {\n\t\t\tlet values =\n\t\t\t\t\t[\n\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t]\n\t\t\treturn Promise.all(values)\n\t\t\t\t.then(() => {\t\n\t\t\t\tshowAlert(\"completed storing all values and now displaying fetched data on appropriate widgets\") \n\t\t\t\tconsole.log(appsmith.store) \n\t\t\t\tconsole.log(values)\n\t\t\t})\n\t\t\t\t.catch((err) => { \n\t\t\t\tconsole.log(\"Could not store values \", err.toString())\n\t\t\t\tshowAlert('Could not store values ', err.toString())\t\t\n\t\t\t}) })\n\t\tawait console.warn(\"2\");\n\t},\n\tmyFun2: async () => {\n\t\tfailingQuery.run()\n\t\t\t.then(() => showAlert(\"Query run was successful\"))\n\t\t\t.catch(() => {\n\t\t\trandomUserGenerator.run()\n\t\t\t\t.then((res) => {\n\t\t\t\tlet values =\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\tstoreValue('pic', res.results[0].picture.large),\n\t\t\t\t\t\t\tstoreValue('dob', res.results[0].dob.date),\n\t\t\t\t\t\t\tstoreValue('phone', res.results[0].phone),\n\t\t\t\t\t\t\tstoreValue('cell', res.results[0].cell),\n\t\t\t\t\t\t\tstoreValue('email', res.results[0].email),\n\t\t\t\t\t\t\tstoreValue('password', res.results[0].login.password),\n\t\t\t\t\t\t\tstoreValue('lat', res.results[0].location.coordinates.latitude),\n\t\t\t\t\t\t\tstoreValue('long', res.results[0].location.coordinates.longitude),\n\t\t\t\t\t\t\tstoreValue('title', res.results[0].name.title),\n\t\t\t\t\t\t\tstoreValue('first', res.results[0].name.first),\n\t\t\t\t\t\t\tstoreValue('last', res.results[0].name.last),\n\t\t\t\t\t\t\tstoreValue('gender', res.results[0].gender)\n\t\t\t\t\t\t]\n\t\t\t\treturn Promise.all(values)\n\t\t\t\t\t.then(() => {\t\n\t\t\t\t\tshowAlert(\"completed storing all values and now displaying all values on appropriate widgets\") })\n\t\t\t\t\t.catch((err) => { \n\t\t\t\t\tconsole.log(\"Could not store value in store \", err.toString())\n\t\t\t\t\tshowAlert('Could not store values in store ', err.toString())\t\t\n\t\t\t\t}) \n\t\t\t})\n\t\t})\n\t}, \n}",
+ "variables": [],
+ "userPermissions": []
+ },
+ "id": "Page 1_TC2",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad8f"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "TC1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive resetWidget() function scenarios within .then/.catch - scenarios can be improved\n\tselectOptions: [\n\t\t{\n\t\t\t\"label\": \"Blue\",\n\t\t\t\"value\": \"#7e98c2\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Green\",\n\t\t\t\"value\": \"#96b080\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Red\",\n\t\t\t\"value\": \"#ba5059\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Yellow\",\n\t\t\t\"value\": \"#ebe58f\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Grey\",\n\t\t\t\"value\": \"#a6aeba\"\n\t\t}\n\t],\n\n\tselected: '',\n\tmyFun1: async function () {\n\t\tclearStore()\n\t\tawait resetWidget('Switch1')\n\t\t\t.then(() => {\n\t\t\tresetWidget('Select1')\n\t\t\tresetWidget('Table1')\n\t\t\tthis.myFun2() \t\t//return a message\n\t\t\t\t.then(async () => {\n\t\t\t\tthis.selected = Select1.selectedOptionLabel\n\t\t\t\tawait showAlert('background colour is now ' + this.selected) }) \n\t\t}) \t\t//return a second toast message\n\t\t\t.catch((e) => {\n\t\t\tresetWidget('RadioGroup1')\n\t\t\tshowAlert(\"Couldn't execute all success call steps, hence now in the catch block\") })\n\t},\n\tmyFun2: async () => {\n\t\tApi1.run()\n\t\t\t.then(() => showAlert(\"Ran the API\"))\n\t\t\t.catch(() => showAlert(\"Nested call failed\"))\n\t},\n}",
+ "variables": [
+ {
+ "name": "selectOptions",
+ "value": "[{\n \"label\": \"Blue\",\n \"value\": \"#7e98c2\"\n}, {\n \"label\": \"Green\",\n \"value\": \"#96b080\"\n}, {\n \"label\": \"Red\",\n \"value\": \"#ba5059\"\n}, {\n \"label\": \"Yellow\",\n \"value\": \"#ebe58f\"\n}, {\n \"label\": \"Grey\",\n \"value\": \"#a6aeba\"\n}]"
+ },
+ {
+ "name": "selected",
+ "value": "''"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "TC1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n// consecutive resetWidget() function scenarios within .then/.catch - scenarios can be improved\n\tselectOptions: [\n\t\t{\n\t\t\t\"label\": \"Blue\",\n\t\t\t\"value\": \"#7e98c2\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Green\",\n\t\t\t\"value\": \"#96b080\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Red\",\n\t\t\t\"value\": \"#ba5059\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Yellow\",\n\t\t\t\"value\": \"#ebe58f\"\n\t\t},\n\t\t{\n\t\t\t\"label\": \"Grey\",\n\t\t\t\"value\": \"#a6aeba\"\n\t\t}\n\t],\n\n\tselected: '',\n\tmyFun1: async function () {\n\t\tclearStore()\n\t\tawait resetWidget('Switch1')\n\t\t\t.then(() => {\n\t\t\tresetWidget('Select1')\n\t\t\tresetWidget('Table1')\n\t\t\tthis.myFun2() \t\t//return a message\n\t\t\t\t.then(async () => {\n\t\t\t\tthis.selected = Select1.selectedOptionLabel\n\t\t\t\tawait showAlert('background colour is now ' + this.selected) }) \n\t\t}) \t\t//return a second toast message\n\t\t\t.catch((e) => {\n\t\t\tresetWidget('RadioGroup1')\n\t\t\tshowAlert(\"Couldn't execute all success call steps, hence now in the catch block\") })\n\t},\n\tmyFun2: async () => {\n\t\tApi1.run()\n\t\t\t.then(() => showAlert(\"Ran the API\"))\n\t\t\t.catch(() => showAlert(\"Nested call failed\"))\n\t},\n}",
+ "variables": [
+ {
+ "name": "selectOptions",
+ "value": "[{\n \"label\": \"Blue\",\n \"value\": \"#7e98c2\"\n}, {\n \"label\": \"Green\",\n \"value\": \"#96b080\"\n}, {\n \"label\": \"Red\",\n \"value\": \"#ba5059\"\n}, {\n \"label\": \"Yellow\",\n \"value\": \"#ebe58f\"\n}, {\n \"label\": \"Grey\",\n \"value\": \"#a6aeba\"\n}]"
+ },
+ {
+ "name": "selected",
+ "value": "''"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 1_TC1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad91"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "JSObject1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tButton2\n\t},\n\tasync myFun2 () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "JSObject1",
+ "pageId": "Page 1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tButton2\n\t},\n\tasync myFun2 () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "Page 1_JSObject1",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad93"
+ },
+ {
+ "unpublishedCollection": {
+ "name": "astronautsLog",
+ "pageId": "--Playground1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tastronautNames: () => {\n\t\tfetch\n\t\treturn fetchAstronauts.data.results.map((n) => {\n\t\t\treturn {\n\t\t\t\tlabel: n.name,\n\t\t\t\tvalue: n.name\n\t\t}})\n\t},\n\tdisplayAstronaut: () => Object.keys(this.astronautNames).map(a => ({ label: a + `${this.astronautNames[a] ? ' ' + this.astronautNames[a] : ''}`, value: a })),\n\ttextColour: () => {\n\t\tstoreValue('formTextColour', '#b91c1c')\n\t},\n\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t},\n\tratings: () => {\n\t\treturn Math.floor(Math.random() * 5) + 1\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "publishedCollection": {
+ "name": "astronautsLog",
+ "pageId": "--Playground1",
+ "pluginId": "js-plugin",
+ "pluginType": "JS",
+ "actions": [],
+ "archivedActions": [],
+ "body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tastronautNames: () => {\n\t\tfetch\n\t\treturn fetchAstronauts.data.results.map((n) => {\n\t\t\treturn {\n\t\t\t\tlabel: n.name,\n\t\t\t\tvalue: n.name\n\t\t}})\n\t},\n\tdisplayAstronaut: () => Object.keys(this.astronautNames).map(a => ({ label: a + `${this.astronautNames[a] ? ' ' + this.astronautNames[a] : ''}`, value: a })),\n\ttextColour: () => {\n\t\tstoreValue('formTextColour', '#b91c1c')\n\t},\n\tprogressBar: () => {\n\t\treturn Math.floor(Math.random() * 100) + 1\n\t},\n\tratings: () => {\n\t\treturn Math.floor(Math.random() * 5) + 1\n\t}\n}",
+ "variables": [
+ {
+ "name": "myVar1",
+ "value": "[]"
+ },
+ {
+ "name": "myVar2",
+ "value": "{}"
+ }
+ ],
+ "userPermissions": []
+ },
+ "id": "--Playground1_astronautsLog",
+ "deleted": false,
+ "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad97"
+ }
+ ],
+ "editModeTheme": {
+ "name": "Sharp",
+ "displayName": "Sharp",
+ "config": {
+ "colors": {
+ "primaryColor": "#3B7DDD",
+ "backgroundColor": "#fff"
+ },
+ "borderRadius": {
+ "appBorderRadius": {
+ "none": "0px",
+ "md": "0.375rem",
+ "lg": "1.5rem"
+ }
+ },
+ "boxShadow": {
+ "appBoxShadow": {
+ "none": "none",
+ "sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
+ }
+ },
+ "fontFamily": {
+ "appFont": [
+ "System Default",
+ "Nunito Sans",
+ "Poppins",
+ "Inter",
+ "Montserrat",
+ "Noto Sans",
+ "Open Sans",
+ "Roboto",
+ "Rubik",
+ "Ubuntu"
+ ]
+ }
+ },
+ "properties": {
+ "colors": {
+ "primaryColor": "#F4ECDD",
+ "backgroundColor": ""
+ },
+ "borderRadius": {
+ "appBorderRadius": "0.375rem"
+ },
+ "boxShadow": {
+ "appBoxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
+ },
+ "fontFamily": {
+ "appFont": "Roboto"
+ }
+ },
+ "stylesheet": {
+ "AUDIO_RECORDER_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_GROUP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
+ },
+ "CAMERA_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CHECKBOX_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CHECKBOX_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CONTAINER_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CIRCULAR_PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATE_PICKER_WIDGET2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FILE_PICKER_WIDGET_V2": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "FORM_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "ICON_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "IFRAME_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "IMAGE_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
+ },
+ "LIST_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MENU_BUTTON_WIDGET": {
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MODAL_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DROP_DOWN_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PROGRESSBAR_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "RATE_WIDGET": {
+ "activeColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "RADIO_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "RICH_TEXT_EDITOR_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "STATBOX_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SWITCH_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SWITCH_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "TABLE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
+ },
+ "TABLE_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ }
+ },
+ "TABS_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}"
+ },
+ "VIDEO_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SINGLE_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "isSystemTheme": false,
+ "deleted": false
+ },
+ "publishedTheme": {
+ "name": "Sharp",
+ "displayName": "Sharp",
+ "config": {
+ "colors": {
+ "primaryColor": "#3B7DDD",
+ "backgroundColor": "#fff"
+ },
+ "borderRadius": {
+ "appBorderRadius": {
+ "none": "0px",
+ "md": "0.375rem",
+ "lg": "1.5rem"
+ }
+ },
+ "boxShadow": {
+ "appBoxShadow": {
+ "none": "none",
+ "sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
+ }
+ },
+ "fontFamily": {
+ "appFont": [
+ "System Default",
+ "Nunito Sans",
+ "Poppins",
+ "Inter",
+ "Montserrat",
+ "Noto Sans",
+ "Open Sans",
+ "Roboto",
+ "Rubik",
+ "Ubuntu"
+ ]
+ }
+ },
+ "properties": {
+ "colors": {
+ "primaryColor": "#F4ECDD",
+ "backgroundColor": ""
+ },
+ "borderRadius": {
+ "appBorderRadius": "0.375rem"
+ },
+ "boxShadow": {
+ "appBoxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
+ },
+ "fontFamily": {
+ "appFont": "Roboto"
+ }
+ },
+ "stylesheet": {
+ "AUDIO_RECORDER_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "BUTTON_GROUP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "childStylesheet": {
+ "button": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}"
+ }
+ }
+ },
+ "CAMERA_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CHECKBOX_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CHECKBOX_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CONTAINER_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "CIRCULAR_PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATE_PICKER_WIDGET2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FILE_PICKER_WIDGET_V2": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "FORM_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "ICON_BUTTON_WIDGET": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "IFRAME_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "IMAGE_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "INPUT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "JSON_FORM_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "submitButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "resetButtonStyles": {
+ "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "childStylesheet": {
+ "ARRAY": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "OBJECT": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none",
+ "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "cellBoxShadow": "none"
+ },
+ "CHECKBOX": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "CURRENCY_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DATEPICKER": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "EMAIL_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTISELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTILINE_TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PASSWORD_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PHONE_NUMBER_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "RADIO_GROUP": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SELECT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "SWITCH": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "TEXT_INPUT": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ }
+ },
+ "LIST_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MAP_CHART_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "MENU_BUTTON_WIDGET": {
+ "menuColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MODAL_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "MULTI_SELECT_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "DROP_DOWN_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "PROGRESSBAR_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "PROGRESS_WIDGET": {
+ "fillColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ },
+ "RATE_WIDGET": {
+ "activeColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "RADIO_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "RICH_TEXT_EDITOR_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "STATBOX_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SWITCH_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "boxShadow": "none"
+ },
+ "SWITCH_GROUP_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}"
+ },
+ "SELECT_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ },
+ "TABLE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ }
+ }
+ },
+ "TABLE_WIDGET_V2": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "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"
+ },
+ "editActions": {
+ "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
+ "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
+ }
+ }
+ },
+ "TABS_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "TEXT_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "fontFamily": "{{appsmith.theme.fontFamily.appFont}}"
+ },
+ "VIDEO_WIDGET": {
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
+ },
+ "SINGLE_SELECT_TREE_WIDGET": {
+ "accentColor": "{{appsmith.theme.colors.primaryColor}}",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "boxShadow": "none"
+ }
+ },
+ "isSystemTheme": false,
+ "deleted": false
+ }
+}
|
963ae31b11545220e63f8f1b9dc9eb3f45fa1dab
|
2024-06-27 10:51:28
|
Pawan Kumar
|
chore: add snapshots for input type widgets (#34436)
| false
|
add snapshots for input type widgets (#34436)
|
chore
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCurrencyInputWidgetSnapshot_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCurrencyInputWidgetSnapshot_spec.ts
new file mode 100644
index 000000000000..a4857ab3b54d
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCurrencyInputWidgetSnapshot_spec.ts
@@ -0,0 +1,28 @@
+import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
+import {
+ agHelper,
+ anvilSnapshot,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe(
+ `${ANVIL_EDITOR_TEST}: Anvil tests for Currency Input Widget`,
+ { tags: ["@tag.Anvil"] },
+ () => {
+ before(() => {
+ agHelper.AddDsl("anvilCurrencyInputWidget");
+ });
+
+ it("1. Canvas Mode", () => {
+ anvilSnapshot.triggerInputInvalidState();
+ anvilSnapshot.verifyCanvasMode("CurrencyInputWidget");
+ });
+
+ it("2. Preview Mode", () => {
+ anvilSnapshot.verifyPreviewMode("CurrencyInputWidget");
+ });
+
+ it("3. Deploy Mode", () => {
+ anvilSnapshot.verifyDeployMode("CurrencyInputWidget");
+ });
+ },
+);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilInputWidgetSnapshot_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilInputWidgetSnapshot_spec.ts
new file mode 100644
index 000000000000..70a9ff34fbfa
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilInputWidgetSnapshot_spec.ts
@@ -0,0 +1,28 @@
+import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
+import {
+ agHelper,
+ anvilSnapshot,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe(
+ `${ANVIL_EDITOR_TEST}: Anvil tests for Button Widget`,
+ { tags: ["@tag.Anvil"] },
+ () => {
+ before(() => {
+ agHelper.AddDsl("anvilInputWidget");
+ });
+
+ it("1. Canvas Mode", () => {
+ anvilSnapshot.triggerInputInvalidState();
+ anvilSnapshot.verifyCanvasMode("InputWidget");
+ });
+
+ it("2. Preview Mode", () => {
+ anvilSnapshot.verifyPreviewMode("InputWidget");
+ });
+
+ it("3. Deploy Mode", () => {
+ anvilSnapshot.verifyDeployMode("InputWidget");
+ });
+ },
+);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilPhoneInputWidgetSnapshot_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilPhoneInputWidgetSnapshot_spec.ts
new file mode 100644
index 000000000000..4be15cf9010e
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilPhoneInputWidgetSnapshot_spec.ts
@@ -0,0 +1,28 @@
+import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants";
+import {
+ agHelper,
+ anvilSnapshot,
+} from "../../../../../support/Objects/ObjectsCore";
+
+describe(
+ `${ANVIL_EDITOR_TEST}: Anvil tests for Phone Input Widget`,
+ { tags: ["@tag.Anvil"] },
+ () => {
+ before(() => {
+ agHelper.AddDsl("anvilPhoneInputWidget");
+ });
+
+ it("1. Canvas Mode", () => {
+ anvilSnapshot.triggerInputInvalidState();
+ anvilSnapshot.verifyCanvasMode("PhoneInputWidget");
+ });
+
+ it("2. Preview Mode", () => {
+ anvilSnapshot.verifyPreviewMode("PhoneInputWidget");
+ });
+
+ it("3. Deploy Mode", () => {
+ anvilSnapshot.verifyDeployMode("PhoneInputWidget");
+ });
+ },
+);
diff --git a/app/client/cypress/fixtures/anvilCurrencyInputWidget.json b/app/client/cypress/fixtures/anvilCurrencyInputWidget.json
new file mode 100644
index 000000000000..d846c61022a4
--- /dev/null
+++ b/app/client/cypress/fixtures/anvilCurrencyInputWidget.json
@@ -0,0 +1,3041 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 1292,
+ "layout": [
+ {
+ "layoutId": "3ybf3p8kt4",
+ "layoutType": "ALIGNED_LAYOUT_COLUMN",
+ "layout": [
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "3ltb48i0o9",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "pb4obci32i",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "xawdo0ivuo",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "itk4cfgjg0",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "uxg9wn82s6",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "wmnwtel9ak",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "69vksdgf2c",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "r93m8n9z37",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ ],
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%",
+ "padding": "spacing-4",
+ "gap": "spacing-4"
+ },
+ "isDropTarget": true,
+ "isPermanent": true,
+ "childTemplate": {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [],
+ "layoutId": "",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ }
+ ],
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section1",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone1",
+ "flexGrow": 12,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "xglvmqg38t",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": " 42",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "RUB",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "zi79brwsnd",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": " 42",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "",
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "y2lpvz3isn",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopyCopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "",
+ "isDisabled": true,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "vfvoam769d",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy16",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "n4qxeqfxw9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy17",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "7yanj2mkd5",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy18",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "euhvg9nttj",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy19",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "lguuiisnht",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy20",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "62p70xg9pp",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "errorMessage": "",
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "regex": "",
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopyCopyCopy1",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "",
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "54huvm89v4",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopyCopyCopyCopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "",
+ "isDisabled": true,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "gpuj8lbqcz",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": false,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopyCopyCopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "",
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fsnmlr1l3s",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": false,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "bsp6d48nrl",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1CopyCopyCopy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "RUB",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "m5mc312wzv",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 2,
+ "iconAlign": "left",
+ "defaultText": " 42.12",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy16Copy1",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "atxghwqmdy",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy16Copy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "9lpda8kl3b",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy1",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "lov2mkv1pd",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy1Copy",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "aqsdvyweu1",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "4m8rpibrzz",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "42",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "vfytiot8st",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "4m8rpibrzz",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "3ltb48i0o9",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "6i49f3w8z3",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "bsp6d48nrl",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "gemr3lmrfa",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "m5mc312wzv",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "xglvmqg38t",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "zi79brwsnd",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "ca2qad7zwe",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "62p70xg9pp",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "y2lpvz3isn",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "54huvm89v4",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "mgpbfurwho",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "fsnmlr1l3s",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "vfvoam769d",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "gpuj8lbqcz",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "achdjmhmff",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "lov2mkv1pd",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "aqsdvyweu1",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "blcteqkl63",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "atxghwqmdy",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "9lpda8kl3b",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "3bc1thqtto",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "n4qxeqfxw9",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "7yanj2mkd5",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "euhvg9nttj",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "lguuiisnht",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "cie0ghnc88",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "e13qrheaj7",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "3ltb48i0o9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 1,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "4m8rpibrzz",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "ovdi7b833y",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "4m8rpibrzz": 12
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section2",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone2",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy7",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ryygcjnmv7",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "uae7v8y2tr",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "uae7v8y2tr",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "69vksdgf2c",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "nxqtddhdkg",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "ryygcjnmv7",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "q48psl6ipy",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone3",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy8",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "fvvnjr872w",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "zv8vqw43a6",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "zv8vqw43a6",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "69vksdgf2c",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "7oyj5ix2vz",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "fvvnjr872w",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "p5o6qlj8re",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy10",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "farl597xlu",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "ts1rk3h95k",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "ts1rk3h95k",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "69vksdgf2c",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "5gvrax3tt4",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "farl597xlu",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "8g70o4yh8m",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone5",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy9",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "b8dctkhzhz",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "jpc50s4o59",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "jpc50s4o59",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "69vksdgf2c",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "2nxc0in2se",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "b8dctkhzhz",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "sfgqdxgn2s",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "0xfg1tg18k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "69vksdgf2c",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 4,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "uae7v8y2tr",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "zv8vqw43a6",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "ts1rk3h95k",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "jpc50s4o59",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "ufbe8brud2",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "uae7v8y2tr": 3,
+ "zv8vqw43a6": 3,
+ "ts1rk3h95k": 3,
+ "jpc50s4o59": 3
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section3",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone6",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy4",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "vn5droxbk3",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "3a3tcsqrsm",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "3a3tcsqrsm",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "uxg9wn82s6",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "u6b0gfossa",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "vn5droxbk3",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "vgntad5smr",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone7",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy6",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "hzr4o0vui6",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "o59xy3il36",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "o59xy3il36",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "uxg9wn82s6",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "mzn7g5a36c",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "hzr4o0vui6",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "srcs9demug",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone8",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy5",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "qttfybrf3c",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "3vrvlv7ibu",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "3vrvlv7ibu",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "uxg9wn82s6",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "qgnouefzhy",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "qttfybrf3c",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "kwavdkip6b",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "0xfg1tg18k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "uxg9wn82s6",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 3,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "3a3tcsqrsm",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "o59xy3il36",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "3vrvlv7ibu",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "bzykzxvlo5",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "3a3tcsqrsm": 4,
+ "o59xy3il36": 4,
+ "3vrvlv7ibu": 4
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section4",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone9",
+ "flexGrow": 6,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy2",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "q5zoopmvhe",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "mhmephc8j0",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "mhmephc8j0",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "xawdo0ivuo",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "rzdzlytt4e",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "q5zoopmvhe",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "yr4vd49ka4",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone10",
+ "flexGrow": 6,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "CurrencyInput1Copy3",
+ "displayName": "Currency Input",
+ "searchTags": [
+ "amount",
+ "total"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "defaultCurrencyCode": "USD",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_CURRENCY_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "1hw5kapajs",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "su43hgjf8l",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Current Price",
+ "allowCurrencyChange": false,
+ "version": 1,
+ "parentId": "n6aavkdga9",
+ "tags": [
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "decimals": 0,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "0ilnxldfd6",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "n6aavkdga9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "xawdo0ivuo",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "g3ugb62rh8",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "su43hgjf8l",
+ "widgetType": "WDS_CURRENCY_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "1yvwvhbxbh",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "0xfg1tg18k",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "xawdo0ivuo",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 2,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "mhmephc8j0",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "n6aavkdga9",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "eyj8cad9vk",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "mhmephc8j0": 6,
+ "n6aavkdga9": 6
+ }
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "id": "667a99469da472349cd2d492",
+ "userPermissions": []
+}
\ No newline at end of file
diff --git a/app/client/cypress/fixtures/anvilInputWidget.json b/app/client/cypress/fixtures/anvilInputWidget.json
new file mode 100644
index 000000000000..572c2ab59ec8
--- /dev/null
+++ b/app/client/cypress/fixtures/anvilInputWidget.json
@@ -0,0 +1,3418 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 1292,
+ "layout": [
+ {
+ "layoutId": "wqokm6wrqg",
+ "layoutType": "ALIGNED_LAYOUT_COLUMN",
+ "layout": [
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "qv26efbhab",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "sbl90fsatg",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "o9kfr9alrm",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "doxbpr0kr7",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "tpmk9fek61",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "2qz3dn0ev1",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "fb5fuue4r8",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "qhfkhkoqto",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "yda5evh5ul",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "1mcsm9n6xp",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ ],
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%",
+ "padding": "spacing-4",
+ "gap": "spacing-4"
+ },
+ "isDropTarget": true,
+ "isPermanent": true,
+ "childTemplate": {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [],
+ "layoutId": "",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ }
+ ],
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section1",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone1",
+ "flexGrow": 12,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input2",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "iconName": "123",
+ "widgetId": "vsqxpyj7ye",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1CopyCopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "umezh2p54g",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "o3kee5de3v",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy2",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "q40ubvqv45",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "7shl3i3h3t",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1CopyCopyCopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "6gc16bqsgd",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": "Read only value"
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy4",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "maxChars": "1",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "0nbchlnfyt",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "errorMessage": "",
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": "123"
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1CopyCopyCopy1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "bjwqknnbes",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": false,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "99ka9a6urq",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input2Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "validation": "",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "l7y4kaoyk5",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "errorMessage": "",
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input2CopyCopy1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "validation": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "e9x5jhrc9v",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "errorMessage": "",
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1CopyCopyCopy1Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": true,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "lycnlkbh4u",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": false,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "placeholderText": "Placeholder",
+ "isDisabled": true,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "iyggs6b6br",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input2CopyCopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "validation": "",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "f49sxvd5y9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "maxChars": "",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "dlm0uo4cec",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "errorMessage": "",
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy3",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "acrscmfg5r",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy3Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "ykpi2vlpzx",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500"
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input2CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "validation": "",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "h04j0ont1l",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "j999cwcbnb",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": "Default Value"
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "j999cwcbnb",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "qv26efbhab",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "wd8ytssdre",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "dlm0uo4cec",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "7ms3a7x91i",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "acrscmfg5r",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "ykpi2vlpzx",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "9dme3qpv4q",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "h04j0ont1l",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "0nbchlnfyt",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "q9i1i930np",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "f49sxvd5y9",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "l7y4kaoyk5",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "e9x5jhrc9v",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "4w0ckbx9xw",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "99ka9a6urq",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "vsqxpyj7ye",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "xyb5y215zc",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "bjwqknnbes",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "iyggs6b6br",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "lycnlkbh4u",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "ie0r7fzaue",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "umezh2p54g",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "6gc16bqsgd",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "zw07x7p9kc",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "o3kee5de3v",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "7shl3i3h3t",
+ "widgetType": "WDS_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "q40ubvqv45",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "zonm1phj72",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "827qb033hi",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "qv26efbhab",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 1,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "j999cwcbnb",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "7rq486k1nj",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "j999cwcbnb": 12
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section1Copy",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4CopyCopy3",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1CopyCopy3",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "h3lgqbbcd2",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "ul9ziutg20",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "ul9ziutg20",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "o9kfr9alrm",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "ljiiihzn1v",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "h3lgqbbcd2",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "41authg1a6",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone6CopyCopy",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1CopyCopyCopyCopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "bmn68gup7l",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "63xlbjlwny",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "63xlbjlwny",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "o9kfr9alrm",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "hak23zzxro",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "bmn68gup7l",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "sct4byn7a9",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4CopyCopy2Copy",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1CopyCopy2Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "xhc0ynav2f",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "dxqta68qvf",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "dxqta68qvf",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "o9kfr9alrm",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "irwpffst9e",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "xhc0ynav2f",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "e57yu49eq2",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "a1xzpcqmvc",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "o9kfr9alrm",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 3,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "ul9ziutg20",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "dxqta68qvf",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "63xlbjlwny",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "w4s4uwmnnj",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "ul9ziutg20": 4,
+ "dxqta68qvf": 4,
+ "63xlbjlwny": 4
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section2Copy",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone2CopyCopy",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1CopyCopy1",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "912q7zu0mk",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "8oguhnucjs",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "8oguhnucjs",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpmk9fek61",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "j0arqhchug",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "912q7zu0mk",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "la3kswm77d",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone3CopyCopy1",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1CopyCopyCopy2",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "c0ndux9qgw",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "vn23o5ouaa",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "vn23o5ouaa",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpmk9fek61",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "v87tsesf7p",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "c0ndux9qgw",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "psyo3i8zxe",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone3CopyCopyCopy",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1CopyCopyCopy1Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "hxen4ay24u",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "oxa2073q2r",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "oxa2073q2r",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpmk9fek61",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "ji7x1x8sdx",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "hxen4ay24u",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "hbhct92cub",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "a1xzpcqmvc",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "tpmk9fek61",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 3,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "8oguhnucjs",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "oxa2073q2r",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "vn23o5ouaa",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "h72tda0p3n",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "8oguhnucjs": 4,
+ "vn23o5ouaa": 4,
+ "oxa2073q2r": 4
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section3Copy",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4CopyCopyCopy",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1CopyCopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "5iisg3qtwp",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "ttsgrwwme9",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "ttsgrwwme9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "fb5fuue4r8",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "3jql9ckrik",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "5iisg3qtwp",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "hxs7a8pckq",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4Copy1CopyCopy",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1Copy1CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "pn47lwhor1",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "cr0480nhri",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "cr0480nhri",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "fb5fuue4r8",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "yfn4k3952l",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "pn47lwhor1",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "wfiat84j2e",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4Copy2CopyCopy",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1Copy2CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "jycsqe6l0d",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "590itjudhf",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "590itjudhf",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "fb5fuue4r8",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "jl9lv1q1ws",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "jycsqe6l0d",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "7al3a23ed3",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4Copy3CopyCopy",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1Copy3CopyCopy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "takqm2nftc",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "z5wzzkupwc",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "x2nhbq2vl4",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "z5wzzkupwc",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "fb5fuue4r8",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "ua1g3glihv",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "takqm2nftc",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "9t7gq0h2lh",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "a1xzpcqmvc",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "fb5fuue4r8",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 4,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "ttsgrwwme9",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "cr0480nhri",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "590itjudhf",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "z5wzzkupwc",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "p0gsreqdxm",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "ttsgrwwme9": 3,
+ "cr0480nhri": 3,
+ "590itjudhf": 3,
+ "z5wzzkupwc": 3
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section4Copy",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone1Copy",
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "Input1Copy1Copy1Copy1CopyCopy1Copy",
+ "displayName": "Input",
+ "searchTags": [
+ "form",
+ "text input",
+ "number",
+ "textarea"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "autoFocus": false,
+ "type": "WDS_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "labelPosition": "top",
+ "inputType": "TEXT",
+ "isDisabled": false,
+ "key": "xf1gw1g9vv",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "widgetId": "e9vw4v2y7r",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "showStepArrows": false,
+ "isVisible": true,
+ "label": "Label",
+ "version": 2,
+ "parentId": "ez1gl23lb6",
+ "tags": [
+ "Suggested",
+ "Inputs"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "iconAlign": "left",
+ "defaultText": ""
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "fcvx5y6ise",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "ez1gl23lb6",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "yda5evh5ul",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "ii1ej2x1uy",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "e9vw4v2y7r",
+ "widgetType": "WDS_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "naszha656w",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "a1xzpcqmvc",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "yda5evh5ul",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 1,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "ez1gl23lb6",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "0p7e5ixoag",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "ez1gl23lb6": 12
+ }
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "id": "667a94f99da472349cd2d47c",
+ "userPermissions": []
+}
\ No newline at end of file
diff --git a/app/client/cypress/fixtures/anvilPhoneInputWidget.json b/app/client/cypress/fixtures/anvilPhoneInputWidget.json
new file mode 100644
index 000000000000..e8932270f082
--- /dev/null
+++ b/app/client/cypress/fixtures/anvilPhoneInputWidget.json
@@ -0,0 +1,2903 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 4896,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 380,
+ "containerStyle": "none",
+ "snapRows": 124,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 89,
+ "minHeight": 1292,
+ "layout": [
+ {
+ "layoutId": "pm2tg2btf5",
+ "layoutType": "ALIGNED_LAYOUT_COLUMN",
+ "layout": [
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "xaovhk8xu5",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "81w8ikp7hh",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "vx2xt42hqh",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "q3e5tico7e",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "tpd5ngwn8u",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "2e56gzju6a",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ },
+ {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "58jl1i571e",
+ "widgetType": "SECTION_WIDGET"
+ }
+ ],
+ "layoutId": "5efcsdo8s9",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ ],
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%",
+ "padding": "spacing-4",
+ "gap": "spacing-4"
+ },
+ "isDropTarget": true,
+ "isPermanent": true,
+ "childTemplate": {
+ "insertChild": true,
+ "isDropTarget": false,
+ "isPermanent": false,
+ "layout": [],
+ "layoutId": "",
+ "layoutType": "WIDGET_ROW",
+ "maxChildLimit": 1
+ }
+ }
+ ],
+ "dynamicTriggerPathList": [],
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section1",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone1",
+ "flexGrow": 12,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "k3lmvd0svt",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1CopyCopyCopy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+7",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "k9lhazbxp4",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1CopyCopy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "placeholderText": "Placeholder",
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "0c4ps0snsz",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy1CopyCopy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "hjqgs9lhig",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy1Copy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": true,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ecljxuocf0",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy1CopyCopyCopy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "tooltip": "Tooltip",
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "rl3zgzrpl2",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy1",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "m41jkky8vo",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": false,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy3",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": true,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "cfw4roujgq",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": false,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy2",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": true,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "jzzcn1jxt1",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": false,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy4",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "tslwf7548h",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy5",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "direfbn8xr",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy6",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "ntvdlwe4lf",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy7",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "3e0l9fak94",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy10",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "v1f6fsb78d",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy19",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": true,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "33ev0ih53j",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "1234567890",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "dynamicTriggerPathList": [],
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "bqi6tfm3wd",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "w4w5569je9",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "1234567890",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "w4w5569je9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "xaovhk8xu5",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "2bm5iffhni",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "v1f6fsb78d",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "2wh5s44wkk",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "bqi6tfm3wd",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "k3lmvd0svt",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "33ev0ih53j",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "m51nlek1ra",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "k9lhazbxp4",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "0c4ps0snsz",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "5lv717aq4t",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "hjqgs9lhig",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "ecljxuocf0",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "rl3zgzrpl2",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "il7vui1ed3",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "m41jkky8vo",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "cfw4roujgq",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "jzzcn1jxt1",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ },
+ {
+ "insertChild": true,
+ "layoutId": "f0i64gxlb4",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "tslwf7548h",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "direfbn8xr",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "ntvdlwe4lf",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "3e0l9fak94",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "79lghy2tdz",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "jme5k6o3os",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "xaovhk8xu5",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 1,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "w4w5569je9",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "esyuz8sha2",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "w4w5569je9": 12
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section2",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone2",
+ "flexGrow": 6,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy8",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "w9pwlznhxy",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "csojywtmff",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "csojywtmff",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vx2xt42hqh",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "2w4xp7prej",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "w9pwlznhxy",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "vy4q6ff2ku",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone4",
+ "flexGrow": 6,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy9",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "cxh1m2hnui",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "rwxiyx4djc",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "rwxiyx4djc",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "vx2xt42hqh",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "eqjk6noek1",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "cxh1m2hnui",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "p5hwlld6g3",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "jme5k6o3os",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "vx2xt42hqh",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 2,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "csojywtmff",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "rwxiyx4djc",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "sstv1rf4ih",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "csojywtmff": 6,
+ "rwxiyx4djc": 6
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section3",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone3",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy11",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "b2p5nrwshh",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "sp4frfec7y",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "sp4frfec7y",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpd5ngwn8u",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "dsyjorl7ce",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "b2p5nrwshh",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "1lsuuctiof",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone5",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy13",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "9czzadajxy",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "ah26cgcm64",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "ah26cgcm64",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpd5ngwn8u",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "wj2rqedonk",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "9czzadajxy",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "eyxz0qt1l2",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone6",
+ "flexGrow": 4,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy12",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "3oqyopalpc",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "feyk9hseab",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "feyk9hseab",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "tpd5ngwn8u",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "kixd4vmvz0",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "3oqyopalpc",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "yoj8f4x8wt",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "jme5k6o3os",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "tpd5ngwn8u",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 3,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "sp4frfec7y",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "ah26cgcm64",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "feyk9hseab",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "zo1euki4wl",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "sp4frfec7y": 4,
+ "ah26cgcm64": 4,
+ "feyk9hseab": 4
+ }
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "NONE",
+ "mobileBottomRow": 10,
+ "widgetName": "Section4",
+ "isCanvas": true,
+ "displayName": "Section",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "SECTION_WIDGET",
+ "hideCard": true,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone7",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy14",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "9au4sek5m9",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "7pnrou8jov",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "7pnrou8jov",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "58jl1i571e",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "a36zcszo1l",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "9au4sek5m9",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "tpj4ixadtl",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone8",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy15",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "srdr4g3jor",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "7xiq7y83ua",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ },
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy18",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "hol7rjthxn",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "7xiq7y83ua",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "7xiq7y83ua",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "58jl1i571e",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "6phwxdfb3f",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "hol7rjthxn",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "gf6hxu4mg7",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone9",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy17",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "1y70549x2q",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "5yc2x4aoly",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "5yc2x4aoly",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "58jl1i571e",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "xm3j8ugfcc",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "1y70549x2q",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "qbzq4qyezq",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ },
+ {
+ "needsErrorInfo": false,
+ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
+ "mobileBottomRow": 10,
+ "widgetName": "Zone10",
+ "flexGrow": 3,
+ "isCanvas": true,
+ "displayName": "Zone",
+ "searchTags": [
+ "div",
+ "parent",
+ "group"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "type": "ZONE_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "parentColumnSpace": 1,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [
+ {
+ "key": "borderRadius"
+ },
+ {
+ "key": "boxShadow"
+ }
+ ],
+ "children": [
+ {
+ "needsErrorInfo": false,
+ "mobileBottomRow": 10,
+ "widgetName": "PhoneInput1Copy16",
+ "displayName": "Phone Input",
+ "searchTags": [
+ "call"
+ ],
+ "topRow": 0,
+ "bottomRow": 10,
+ "parentRowSpace": 10,
+ "defaultDialCode": "+1",
+ "autoFocus": false,
+ "type": "WDS_PHONE_INPUT_WIDGET",
+ "hideCard": false,
+ "mobileRightColumn": 64,
+ "animateLoading": true,
+ "isReadOnly": false,
+ "parentColumnSpace": 1,
+ "resetOnSubmit": true,
+ "leftColumn": 0,
+ "dynamicBindingPathList": [],
+ "isDisabled": false,
+ "key": "0n88wu1c8f",
+ "isRequired": false,
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "dynamicHeight": "FIXED",
+ "widgetId": "6y3jsv0vll",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-widget-selection",
+ "focusBGCSSVar": "--on-canvas-ui-widget-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-widget-focus",
+ "focusColorCSSVar": "--on-canvas-ui-widget-selection",
+ "disableParentSelection": false
+ },
+ "allowDialCodeChange": false,
+ "isVisible": true,
+ "label": "Phone number",
+ "version": 1,
+ "parentId": "pkg2l3veya",
+ "tags": [
+ "Inputs"
+ ],
+ "allowFormatting": true,
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "maxDynamicHeight": 9000,
+ "iconAlign": "left",
+ "defaultText": "",
+ "minDynamicHeight": 4
+ }
+ ],
+ "elevatedBackground": true,
+ "flexVerticalAlignment": "stretch",
+ "key": "03emh155cm",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "pkg2l3veya",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-zone-selection",
+ "focusBGCSSVar": "--on-canvas-ui-zone-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-zone-focus",
+ "focusColorCSSVar": "--on-canvas-ui-zone-selection",
+ "disableParentSelection": false
+ },
+ "isVisible": true,
+ "version": 1,
+ "parentId": "58jl1i571e",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "insertChild": true,
+ "layoutId": "3mov8dilbd",
+ "layoutType": "ALIGNED_WIDGET_ROW",
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "6y3jsv0vll",
+ "widgetType": "WDS_PHONE_INPUT_WIDGET"
+ }
+ ],
+ "allowedWidgetTypes": [
+ "SMALL_WIDGETS"
+ ],
+ "maxChildLimit": 0
+ }
+ ],
+ "layoutId": "ogv8u94kji",
+ "layoutStyle": {
+ "border": "none",
+ "height": "100%"
+ },
+ "layoutType": "ZONE"
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
+ "mobileLeftColumn": 0
+ }
+ ],
+ "elevatedBackground": false,
+ "key": "jme5k6o3os",
+ "isDeprecated": false,
+ "rightColumn": 64,
+ "detachFromLayout": false,
+ "widgetId": "58jl1i571e",
+ "onCanvasUI": {
+ "selectionBGCSSVar": "--on-canvas-ui-section-selection",
+ "focusBGCSSVar": "--on-canvas-ui-section-focus",
+ "selectionColorCSSVar": "--on-canvas-ui-section-focus",
+ "focusColorCSSVar": "--on-canvas-ui-section-selection",
+ "disableParentSelection": true
+ },
+ "zoneCount": 4,
+ "isVisible": true,
+ "version": 1,
+ "parentId": "0",
+ "tags": [
+ "Layout"
+ ],
+ "renderMode": "CANVAS",
+ "isLoading": false,
+ "mobileTopRow": 0,
+ "layout": [
+ {
+ "isContainer": true,
+ "isDropTarget": true,
+ "isPermanent": true,
+ "layout": [
+ {
+ "alignment": "start",
+ "widgetId": "7pnrou8jov",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "7xiq7y83ua",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "5yc2x4aoly",
+ "widgetType": "ZONE_WIDGET"
+ },
+ {
+ "alignment": "start",
+ "widgetId": "pkg2l3veya",
+ "widgetType": "ZONE_WIDGET"
+ }
+ ],
+ "layoutId": "jqw4dj7tow",
+ "layoutStyle": {
+ "border": "none"
+ },
+ "layoutType": "SECTION",
+ "maxChildLimit": 4
+ }
+ ],
+ "responsiveBehavior": "fill",
+ "mobileLeftColumn": 0,
+ "spaceDistributed": {
+ "7pnrou8jov": 3,
+ "7xiq7y83ua": 3,
+ "5yc2x4aoly": 3,
+ "pkg2l3veya": 3
+ }
+ }
+ ]
+ },
+ "layoutOnLoadActions": [],
+ "layoutOnLoadActionErrors": [],
+ "id": "667ba7729da472349cd2d4f6",
+ "userPermissions": []
+}
\ No newline at end of file
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvas.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvas.snap.png
new file mode 100644
index 000000000000..ae693881e3aa
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvas.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvasDark.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvasDark.snap.png
new file mode 100644
index 000000000000..05507c025865
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetCanvasDark.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployipad-2.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployipad-2.snap.png
new file mode 100644
index 000000000000..c2803ad7a062
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployipad-2.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployiphone-6.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployiphone-6.snap.png
new file mode 100644
index 000000000000..a94219d6a611
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeployiphone-6.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeploymacbook-13.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeploymacbook-13.snap.png
new file mode 100644
index 000000000000..6802284a27b7
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetDeploymacbook-13.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetPreview.snap.png b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetPreview.snap.png
new file mode 100644
index 000000000000..1dd5b886a8ef
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilCurrencyInputWidgetSnapshot_spec.ts/anvilCurrencyInputWidgetPreview.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvas.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvas.snap.png
new file mode 100644
index 000000000000..5e05426430cc
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvas.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvasDark.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvasDark.snap.png
new file mode 100644
index 000000000000..d6fa981a3e37
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetCanvasDark.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployipad-2.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployipad-2.snap.png
new file mode 100644
index 000000000000..0cfa6b6bdc80
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployipad-2.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployiphone-6.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployiphone-6.snap.png
new file mode 100644
index 000000000000..1bd6317f6141
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeployiphone-6.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeploymacbook-13.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeploymacbook-13.snap.png
new file mode 100644
index 000000000000..2add656ba6a3
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetDeploymacbook-13.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetPreview.snap.png b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetPreview.snap.png
new file mode 100644
index 000000000000..6ea74747fa3b
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilInputWidgetSnapshot_spec.ts/anvilInputWidgetPreview.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvas.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvas.snap.png
new file mode 100644
index 000000000000..d9a743b8f028
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvas.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvasDark.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvasDark.snap.png
new file mode 100644
index 000000000000..a1304499475c
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetCanvasDark.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployipad-2.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployipad-2.snap.png
new file mode 100644
index 000000000000..1701840d26e2
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployipad-2.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployiphone-6.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployiphone-6.snap.png
new file mode 100644
index 000000000000..74ff7b991a1f
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeployiphone-6.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeploymacbook-13.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeploymacbook-13.snap.png
new file mode 100644
index 000000000000..619645312311
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetDeploymacbook-13.snap.png differ
diff --git a/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetPreview.snap.png b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetPreview.snap.png
new file mode 100644
index 000000000000..25fe7da192fa
Binary files /dev/null and b/app/client/cypress/snapshots/AnvilPhoneInputWidgetSnapshot_spec.ts/anvilPhoneInputWidgetPreview.snap.png differ
diff --git a/app/client/cypress/support/Pages/Anvil/AnvilSnapshot.ts b/app/client/cypress/support/Pages/Anvil/AnvilSnapshot.ts
index 7964bec52644..1b0de5efce69 100644
--- a/app/client/cypress/support/Pages/Anvil/AnvilSnapshot.ts
+++ b/app/client/cypress/support/Pages/Anvil/AnvilSnapshot.ts
@@ -10,6 +10,7 @@ export class AnvilSnapshot {
canvas: "[data-testid=t--canvas-artboard]",
colorMode: "[data-testid=t--anvil-theme-settings-color-mode]",
appViewerPage: "[data-testid=t--app-viewer-page-body]",
+ propertyPaneSidebar: "[data-testid=t--property-pane-sidebar]",
};
public verifyCanvasMode = async (widgetName: string) => {
@@ -81,4 +82,12 @@ export class AnvilSnapshot {
this.appSettings.ClosePane();
};
+
+ public triggerInputInvalidState = () => {
+ this.enterPreviewMode();
+ cy.get("input[aria-required=true]").first().type("123");
+ cy.get("input[aria-required=true]").first().clear();
+ this.exitPreviewMode();
+ this.agHelper.GetNClick(this.locators.propertyPaneSidebar);
+ };
}
diff --git a/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx b/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
index 2303ff737c3e..db79c272cfea 100644
--- a/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
+++ b/app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
@@ -126,6 +126,7 @@ export const PropertyPaneSidebar = memo((props: Props) => {
{/* PROPERTY PANE */}
<div
className="js-property-pane-sidebar t--property-pane-sidebar flex h-full border-l bg-white"
+ data-testid={PROPERTY_PANE_ID}
id={PROPERTY_PANE_ID}
ref={sidebarRef}
>
diff --git a/app/client/src/widgets/wds/WDSBaseInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSBaseInputWidget/widget/index.tsx
index 7af73b2018dd..239f3b8dba4a 100644
--- a/app/client/src/widgets/wds/WDSBaseInputWidget/widget/index.tsx
+++ b/app/client/src/widgets/wds/WDSBaseInputWidget/widget/index.tsx
@@ -1,7 +1,6 @@
import BaseWidget from "widgets/BaseWidget";
import type { WidgetState } from "widgets/BaseWidget";
import type { WidgetType } from "constants/WidgetConstants";
-import type { DerivedPropertiesMap } from "WidgetProvider/factory";
import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
import type { ExecutionResult } from "constants/AppsmithActionConstants/ActionConstants";
@@ -51,21 +50,10 @@ class WDSBaseInputWidget<
return [];
}
- static getDerivedPropertiesMap(): DerivedPropertiesMap {
- return {
- value: `{{this.text}}`,
- };
- }
-
- static getDefaultPropertiesMap(): Record<string, string> {
- return {
- text: "defaultText",
- };
- }
-
static getMetaPropertiesMap(): Record<string, any> {
return {
- text: undefined,
+ rawText: undefined,
+ parsedText: undefined,
isFocused: false,
isDirty: false,
};
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/index.tsx b/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/index.tsx
index 6c69e421f4a7..3af7f2cfe7e1 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/index.tsx
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/index.tsx
@@ -2,6 +2,9 @@ import React from "react";
import { Text, TextInput } from "@design-system/widgets";
import type { CurrencyInputComponentProps } from "./types";
import { CurrencyTypeOptions } from "constants/Currency";
+import { useDebouncedValue } from "@mantine/hooks";
+
+const DEBOUNCE_TIME = 300;
export function CurrencyInputComponent(props: CurrencyInputComponentProps) {
const currency = CurrencyTypeOptions.find(
@@ -12,12 +15,20 @@ export function CurrencyInputComponent(props: CurrencyInputComponentProps) {
<Text style={{ whiteSpace: "nowrap" }}>{currency?.symbol_native}</Text>
);
+ // Note: because of how derived props are handled by MetaHoc, the isValid shows wrong
+ // values for some milliseconds. To avoid that, we are using debounced value.
+ const [validationStatus] = useDebouncedValue(
+ props.validationStatus,
+ DEBOUNCE_TIME,
+ );
+ const [errorMessage] = useDebouncedValue(props.errorMessage, DEBOUNCE_TIME);
+
return (
<TextInput
autoComplete={props.autoComplete}
autoFocus={props.autoFocus}
contextualHelp={props.tooltip}
- errorMessage={props.errorMessage}
+ errorMessage={props.validationStatus === "invalid" ? errorMessage : ""}
excludeFromTabOrder={props.excludeFromTabOrder}
isDisabled={props.isDisabled}
isReadOnly={props.isReadOnly}
@@ -28,7 +39,7 @@ export function CurrencyInputComponent(props: CurrencyInputComponentProps) {
onKeyDown={props.onKeyDown}
placeholder={props.placeholder}
prefix={prefix}
- validationState={props.validationStatus}
+ validationState={validationStatus}
value={props.value}
/>
);
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/types.ts b/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/types.ts
index 879b34c29a89..4ce49a6e856f 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/types.ts
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/component/types.ts
@@ -9,4 +9,5 @@ export interface CurrencyInputComponentProps extends BaseInputComponentProps {
onCurrencyChange: (
code?: (typeof CurrencyTypeOptions)[number]["currency"],
) => void;
+ defaultValue?: number;
}
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.js b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.js
index 697839de0e14..6a1d8de92a6a 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.js
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.js
@@ -1,15 +1,16 @@
/* eslint-disable @typescript-eslint/no-unused-vars*/
export default {
isValid: (props, moment, _) => {
- let hasValidValue, value;
+ let hasValidValue, value, isEmpty;
try {
- value = Number(props.value);
+ isEmpty = _.isNil(props.rawText) || props.rawText === "";
+ value = isEmpty ? null : Number(props.rawText);
hasValidValue = Number.isFinite(value);
} catch (e) {
return false;
}
- if (!props.isRequired && (props.text === "" || props.text === undefined)) {
+ if (!props.isRequired && isEmpty) {
return true;
}
if (props.isRequired && !hasValidValue) {
@@ -45,46 +46,10 @@ export default {
}
}
if (parsedRegex) {
- return parsedRegex.test(props.text);
+ return parsedRegex.test(props.rawText);
} else {
return hasValidValue;
}
},
//
- value: (props, moment, _) => {
- const text = props.parsedText;
-
- function getLocale() {
- return navigator.languages?.[0] || "en-US";
- }
-
- function getLocaleDecimalSeperator() {
- return Intl.NumberFormat(getLocale())
- .format(1.1)
- .replace(/\p{Number}/gu, "");
- }
-
- function getLocaleThousandSeparator() {
- return Intl.NumberFormat(getLocale())
- .format(11111)
- .replace(/\p{Number}/gu, "");
- }
-
- if (text) {
- const parsed = parseFloat(
- text
- .replace(new RegExp(`[${getLocaleThousandSeparator()}]`, "g"), "")
- .replace(new RegExp(`[${getLocaleDecimalSeperator()}]`), "."),
- );
-
- if (Number.isNaN(parsed)) {
- parsed = undefined;
- }
-
- return parsed;
- } else {
- return undefined;
- }
- },
- //
};
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.test.ts b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.test.ts
index 4014c07987c7..b10b5452872a 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.test.ts
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.test.ts
@@ -1,63 +1,86 @@
+import _ from "lodash";
import derivedProperty from "./derived";
-
describe("Derived property - ", () => {
describe("isValid property", () => {
it("should test isRequired", () => {
- let isValid = derivedProperty.isValid({
- text: undefined,
- isRequired: false,
- });
+ let isValid = derivedProperty.isValid(
+ {
+ rawText: undefined,
+ isRequired: false,
+ },
+ null,
+ _,
+ );
expect(isValid).toBeTruthy();
- isValid = derivedProperty.isValid({
- text: undefined,
- isRequired: true,
- });
+ isValid = derivedProperty.isValid(
+ {
+ rawText: undefined,
+ isRequired: true,
+ },
+ null,
+ _,
+ );
expect(isValid).toBeFalsy();
- isValid = derivedProperty.isValid({
- value: 100,
- text: "100",
- isRequired: true,
- });
+ isValid = derivedProperty.isValid(
+ {
+ rawText: 100,
+ isRequired: true,
+ },
+ null,
+ _,
+ );
expect(isValid).toBeTruthy();
});
it("should test validation", () => {
- let isValid = derivedProperty.isValid({
- value: 100,
- text: "100",
- validation: false,
- });
+ let isValid = derivedProperty.isValid(
+ {
+ rawText: 100,
+ validation: false,
+ },
+ null,
+ _,
+ );
expect(isValid).toBeFalsy();
- isValid = derivedProperty.isValid({
- value: 100,
- text: "100",
- validation: true,
- });
+ isValid = derivedProperty.isValid(
+ {
+ rawText: 100,
+ validation: true,
+ },
+ null,
+ _,
+ );
expect(isValid).toBeTruthy();
});
it("should test regex validation", () => {
- let isValid = derivedProperty.isValid({
- value: 100,
- text: "100",
- regex: "^100$",
- });
+ let isValid = derivedProperty.isValid(
+ {
+ rawText: 100,
+ regex: "^100$",
+ },
+ null,
+ _,
+ );
expect(isValid).toBeTruthy();
- isValid = derivedProperty.isValid({
- value: 101,
- text: "101",
- regex: "^100$",
- });
+ isValid = derivedProperty.isValid(
+ {
+ rawText: 101,
+ regex: "^100$",
+ },
+ null,
+ _,
+ );
expect(isValid).toBeFalsy();
});
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts
index 4b6b9982acdd..7d6937b090df 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts
@@ -3,6 +3,8 @@ import {
FIELD_REQUIRED_ERROR,
} from "@appsmith/constants/messages";
import { CurrencyTypeOptions } from "constants/Currency";
+import { isNil } from "lodash";
+import type { CurrencyInputWidgetProps } from "./types";
export function getCountryCodeFromCurrencyCode(
currencyCode?: (typeof CurrencyTypeOptions)[number]["currency"],
@@ -16,21 +18,33 @@ export function getCountryCodeFromCurrencyCode(
return "";
}
-export function validateInput(props: any) {
- const value = props.text ?? "";
- const isInvalid = "isValid" in props && !props.isValid && !!props.isDirty;
+export function validateInput(props: CurrencyInputWidgetProps) {
+ const { errorMessage, isDirty, isRequired, isValid, rawText } = props;
- const conditionalProps: any = {};
+ if (isDirty && isRequired && !isNil(rawText) && rawText.length === 0) {
+ return {
+ validationStatus: "invalid",
+ errorMessage: createMessage(FIELD_REQUIRED_ERROR),
+ } as const;
+ }
- conditionalProps.errorMessage = props.errorMessage;
+ if (isDirty && isRequired && rawText === "") {
+ return {
+ validationStatus: "invalid",
+ errorMessage: createMessage(FIELD_REQUIRED_ERROR),
+ } as const;
+ }
- if (props.isRequired && value.length === 0) {
- conditionalProps.errorMessage = createMessage(FIELD_REQUIRED_ERROR);
+ if (isDirty && !isValid) {
+ return {
+ validationStatus: "invalid",
+ errorMessage: errorMessage || "",
+ } as const;
}
return {
- validattionStatus: isInvalid ? "invalid" : undefined,
- errorMessage: isInvalid ? conditionalProps.errorMessage : undefined,
+ validationStatus: "valid",
+ errorMessage: "",
} as const;
}
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/index.tsx
index c6fcc1350d23..e66f7e6b74c9 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/index.tsx
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/index.tsx
@@ -109,7 +109,7 @@ class WDSCurrencyInputWidget extends WDSBaseInputWidget<
static getDerivedPropertiesMap() {
return {
- isValid: `{{(()=>{${derivedProperties.isValid}})()}}`,
+ isValid: `{{(() => {${derivedProperties.isValid}})()}}`,
};
}
@@ -177,7 +177,9 @@ class WDSCurrencyInputWidget extends WDSBaseInputWidget<
Sentry.captureException(e);
}
- this.props.updateWidgetMetaProperty("parsedText", String(formattedValue), {
+ this.props.updateWidgetMetaProperty("parsedText", String(formattedValue));
+
+ this.props.updateWidgetMetaProperty("rawText", value, {
triggerPropertyName: "onTextChanged",
dynamicString: this.props.onTextChanged,
event: {
@@ -297,8 +299,7 @@ class WDSCurrencyInputWidget extends WDSBaseInputWidget<
}
getWidgetView() {
- const value = this.props.parsedText ?? "";
-
+ const value = this.props.rawText ?? "";
const validation = validateInput(this.props);
return (
@@ -320,7 +321,7 @@ class WDSCurrencyInputWidget extends WDSBaseInputWidget<
onValueChange={this.onValueChange}
placeholder={this.props.placeholderText}
tooltip={this.props.tooltip}
- validationStatus={validation.validattionStatus}
+ validationStatus={validation.validationStatus}
value={value}
widgetId={this.props.widgetId}
/>
diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/parsedDerivedProperties.ts b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/parsedDerivedProperties.ts
index 124afba6cb72..4c147180ca2e 100644
--- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/parsedDerivedProperties.ts
+++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/parsedDerivedProperties.ts
@@ -1,4 +1,4 @@
-// @ts-expect-error: Types are not available
+// @ts-expect-error: loader types not available
import widgetPropertyFns from "!!raw-loader!./derived.js";
// TODO(abhinav):
diff --git a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx
index d9333d9d1e05..70f8cecec5ff 100644
--- a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx
+++ b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx
@@ -15,6 +15,8 @@ import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
import type { KeyDownEvent } from "widgets/wds/WDSBaseInputWidget/component/types";
class WDSInputWidget extends WDSBaseInputWidget<InputWidgetProps, WidgetState> {
+ static type = "WDS_INPUT_WIDGET";
+
static getConfig() {
return config.metaConfig;
}
@@ -251,8 +253,6 @@ class WDSInputWidget extends WDSBaseInputWidget<InputWidgetProps, WidgetState> {
/>
);
}
-
- static type = "WDS_INPUT_WIDGET";
}
export { WDSInputWidget };
diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.js b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.js
deleted file mode 100644
index d133704d8a43..000000000000
--- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/* eslint-disable @typescript-eslint/no-unused-vars*/
-export default {
- isValid: (props, moment, _) => {
- let hasValidValue, value;
- value = props.text;
- hasValidValue = !!value;
-
- if (!props.isRequired && (props.text === "" || props.text === undefined)) {
- return true;
- }
- if (props.isRequired && !hasValidValue) {
- return false;
- }
-
- if (typeof props.validation === "boolean" && !props.validation) {
- return false;
- }
-
- let parsedRegex = null;
- if (props.regex) {
- /*
- * break up the regexp pattern into 4 parts: given regex, regex prefix , regex pattern, regex flags
- * Example /test/i will be split into ["/test/gi", "/", "test", "gi"]
- */
- const regexParts = props.regex.match(/(\/?)(.+)\\1([a-z]*)/i);
-
- if (!regexParts) {
- parsedRegex = new RegExp(props.regex);
- } else {
- if (
- regexParts[3] &&
- !/^(?!.*?(.).*?\\1)[gmisuy]+$/.test(regexParts[3])
- ) {
- parsedRegex = RegExp(props.regex);
- } else {
- /*
- * if we have a regex flags, use it to form regexp
- */
- parsedRegex = new RegExp(regexParts[2], regexParts[3]);
- }
- }
- }
-
- if (parsedRegex) {
- return parsedRegex.test(props.text);
- } else {
- return hasValidValue;
- }
- },
- //
-};
diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.test.ts b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.test.ts
deleted file mode 100644
index ece653913f0b..000000000000
--- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/derived.test.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-import derivedProperty from "./derived";
-
-describe("Derived property - ", () => {
- describe("isValid property", () => {
- it("should test isRequired", () => {
- let isValid = derivedProperty.isValid({
- text: undefined,
- isRequired: false,
- });
-
- expect(isValid).toBeTruthy();
-
- isValid = derivedProperty.isValid({
- text: undefined,
- isRequired: true,
- });
-
- expect(isValid).toBeFalsy();
-
- isValid = derivedProperty.isValid({
- value: "0000000000",
- text: "0000000000",
- isRequired: true,
- });
-
- expect(isValid).toBeTruthy();
- });
-
- it("should test validation", () => {
- let isValid = derivedProperty.isValid({
- value: "0000000000",
- text: "0000000000",
- validation: false,
- });
-
- expect(isValid).toBeFalsy();
-
- isValid = derivedProperty.isValid({
- value: "0000000000",
- text: "0000000000",
- validation: true,
- });
-
- expect(isValid).toBeTruthy();
- });
-
- it("should test regex validation", () => {
- let isValid = derivedProperty.isValid({
- value: "0000000000",
- text: "0000000000",
- regex: "^0000000000$",
- });
-
- expect(isValid).toBeTruthy();
-
- isValid = derivedProperty.isValid({
- value: "0000000001",
- text: "0000000001",
- regex: "^0000000000$",
- });
-
- expect(isValid).toBeFalsy();
- });
- });
-});
diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts
index da36616bc90f..e8113f3ed632 100644
--- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts
+++ b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts
@@ -18,7 +18,7 @@ export function validateInput(props: any) {
}
return {
- validattionStatus: isInvalid ? "invalid" : undefined,
+ validationStatus: isInvalid ? "invalid" : undefined,
errorMessage: isInvalid ? conditionalProps.errorMessage : undefined,
} as const;
}
diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/index.tsx
index 7fef8afd9b7a..e1864fcef1f3 100644
--- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/index.tsx
+++ b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/index.tsx
@@ -6,7 +6,6 @@ import * as Sentry from "@sentry/react";
import { mergeWidgetConfig } from "utils/helpers";
import type { CountryCode } from "libphonenumber-js";
import type { WidgetState } from "widgets/BaseWidget";
-import derivedProperties from "./parsedDerivedProperties";
import type { DerivedPropertiesMap } from "WidgetProvider/factory";
import type { SetterConfig, Stylesheet } from "entities/AppTheming";
import type {
@@ -17,6 +16,7 @@ import { WDSBaseInputWidget } from "widgets/wds/WDSBaseInputWidget";
import { AsYouType, parseIncompletePhoneNumber } from "libphonenumber-js";
import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
import type { KeyDownEvent } from "widgets/wds/WDSBaseInputWidget/component/types";
+import derivedProperties from "widgets/wds/WDSCurrencyInputWidget/widget/parsedDerivedProperties";
import * as config from "../config";
import { PhoneInputComponent } from "../component";
@@ -310,7 +310,7 @@ class WDSPhoneInputWidget extends WDSBaseInputWidget<
onValueChange={this.onValueChange}
placeholder={this.props.placeholderText}
tooltip={this.props.tooltip}
- validationStatus={validation.validattionStatus}
+ validationStatus={validation.validationStatus}
value={rawText}
widgetId={this.props.widgetId}
/>
diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/parsedDerivedProperties.ts b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/parsedDerivedProperties.ts
deleted file mode 100644
index 4c147180ca2e..000000000000
--- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/parsedDerivedProperties.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-// @ts-expect-error: loader types not available
-import widgetPropertyFns from "!!raw-loader!./derived.js";
-
-// TODO(abhinav):
-// Add unit test cases
-// Handle edge cases
-// Error out on wrong values
-const derivedProperties: any = {};
-// const regex = /(\w+):\s?\(props\)\s?=>\s?{([\w\W]*?)},/gim;
-const regex =
- /(\w+):\s?\(props, moment, _\)\s?=>\s?{([\w\W\n]*?)},\n?\s+?\/\//gim;
-
-let m;
-while ((m = regex.exec(widgetPropertyFns)) !== null) {
- // This is necessary to avoid infinite loops with zero-width matches
- if (m.index === regex.lastIndex) {
- regex.lastIndex++;
- }
- let key = "";
- // The result can be accessed through the `m`-variable.
- m.forEach((match, groupIndex) => {
- if (groupIndex === 1) {
- key = match;
- }
- if (groupIndex === 2) {
- derivedProperties[key] = match
- .trim()
- .replace(/\n/g, "")
- .replace(/props\./g, "this.");
- }
- });
-}
-
-export default derivedProperties;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.