diff --git a/.version b/.version index 067b1b2fe2..2d4c52ede6 100644 --- a/.version +++ b/.version @@ -1,2 +1 @@ -2.40.0 - +2.41.0 diff --git a/frontend/.version b/frontend/.version index 770060be9f..2d4c52ede6 100644 --- a/frontend/.version +++ b/frontend/.version @@ -1 +1 @@ -2.40.0 +2.41.0 diff --git a/frontend/assets/images/templates/admin-panel-tooljet-db-dark.png b/frontend/assets/images/templates/admin-panel-tooljet-db-dark.png new file mode 100644 index 0000000000..d59bc56390 Binary files /dev/null and b/frontend/assets/images/templates/admin-panel-tooljet-db-dark.png differ diff --git a/frontend/assets/images/templates/admin-panel-tooljet-db.png b/frontend/assets/images/templates/admin-panel-tooljet-db.png new file mode 100644 index 0000000000..98f824bce7 Binary files /dev/null and b/frontend/assets/images/templates/admin-panel-tooljet-db.png differ diff --git a/frontend/assets/images/templates/bill-of-materials-dark.png b/frontend/assets/images/templates/bill-of-materials-dark.png new file mode 100644 index 0000000000..2dae210981 Binary files /dev/null and b/frontend/assets/images/templates/bill-of-materials-dark.png differ diff --git a/frontend/assets/images/templates/bill-of-materials.png b/frontend/assets/images/templates/bill-of-materials.png new file mode 100644 index 0000000000..5bd8f2b264 Binary files /dev/null and b/frontend/assets/images/templates/bill-of-materials.png differ diff --git a/frontend/assets/images/templates/business-intelligence-dashboard-postgresql-dark.png b/frontend/assets/images/templates/business-intelligence-dashboard-postgresql-dark.png new file mode 100644 index 0000000000..a38e873dc8 Binary files /dev/null and b/frontend/assets/images/templates/business-intelligence-dashboard-postgresql-dark.png differ diff --git a/frontend/assets/images/templates/business-intelligence-dashboard-postgresql.png b/frontend/assets/images/templates/business-intelligence-dashboard-postgresql.png new file mode 100644 index 0000000000..16af9bb169 Binary files /dev/null and b/frontend/assets/images/templates/business-intelligence-dashboard-postgresql.png differ diff --git a/frontend/assets/images/templates/digital-marketing-campaign-manager-dark.png b/frontend/assets/images/templates/digital-marketing-campaign-manager-dark.png new file mode 100644 index 0000000000..95a3b81db3 Binary files /dev/null and b/frontend/assets/images/templates/digital-marketing-campaign-manager-dark.png differ diff --git a/frontend/assets/images/templates/digital-marketing-campaign-manager.png b/frontend/assets/images/templates/digital-marketing-campaign-manager.png new file mode 100644 index 0000000000..1f38026938 Binary files /dev/null and b/frontend/assets/images/templates/digital-marketing-campaign-manager.png differ diff --git a/frontend/assets/images/templates/finance-underwriting-admin-dark.png b/frontend/assets/images/templates/finance-underwriting-admin-dark.png new file mode 100644 index 0000000000..a4064e4061 Binary files /dev/null and b/frontend/assets/images/templates/finance-underwriting-admin-dark.png differ diff --git a/frontend/assets/images/templates/finance-underwriting-admin.png b/frontend/assets/images/templates/finance-underwriting-admin.png new file mode 100644 index 0000000000..c90b5a1538 Binary files /dev/null and b/frontend/assets/images/templates/finance-underwriting-admin.png differ diff --git a/frontend/assets/images/templates/finance-underwriting-user-form-dark.png b/frontend/assets/images/templates/finance-underwriting-user-form-dark.png new file mode 100644 index 0000000000..8239081b4b Binary files /dev/null and b/frontend/assets/images/templates/finance-underwriting-user-form-dark.png differ diff --git a/frontend/assets/images/templates/finance-underwriting-user-form.png b/frontend/assets/images/templates/finance-underwriting-user-form.png new file mode 100644 index 0000000000..b231dfeb3f Binary files /dev/null and b/frontend/assets/images/templates/finance-underwriting-user-form.png differ diff --git a/frontend/assets/images/templates/lorem-ipsum-generator-dark.png b/frontend/assets/images/templates/lorem-ipsum-generator-dark.png new file mode 100644 index 0000000000..964aa26d9c Binary files /dev/null and b/frontend/assets/images/templates/lorem-ipsum-generator-dark.png differ diff --git a/frontend/assets/images/templates/lorem-ipsum-generator.png b/frontend/assets/images/templates/lorem-ipsum-generator.png new file mode 100644 index 0000000000..8751ecb732 Binary files /dev/null and b/frontend/assets/images/templates/lorem-ipsum-generator.png differ diff --git a/frontend/assets/images/templates/postgresql-database-explorer-dark.png b/frontend/assets/images/templates/postgresql-database-explorer-dark.png new file mode 100644 index 0000000000..50c09122ea Binary files /dev/null and b/frontend/assets/images/templates/postgresql-database-explorer-dark.png differ diff --git a/frontend/assets/images/templates/postgresql-database-explorer.png b/frontend/assets/images/templates/postgresql-database-explorer.png new file mode 100644 index 0000000000..ed2962c463 Binary files /dev/null and b/frontend/assets/images/templates/postgresql-database-explorer.png differ diff --git a/frontend/assets/images/templates/simple-marketplace-admin-dark.png b/frontend/assets/images/templates/simple-marketplace-admin-dark.png new file mode 100644 index 0000000000..eb2a58dedd Binary files /dev/null and b/frontend/assets/images/templates/simple-marketplace-admin-dark.png differ diff --git a/frontend/assets/images/templates/simple-marketplace-admin.png b/frontend/assets/images/templates/simple-marketplace-admin.png new file mode 100644 index 0000000000..b5f4491344 Binary files /dev/null and b/frontend/assets/images/templates/simple-marketplace-admin.png differ diff --git a/frontend/assets/images/templates/simple-marketplace-dark.png b/frontend/assets/images/templates/simple-marketplace-dark.png new file mode 100644 index 0000000000..974dca1cc0 Binary files /dev/null and b/frontend/assets/images/templates/simple-marketplace-dark.png differ diff --git a/frontend/assets/images/templates/simple-marketplace.png b/frontend/assets/images/templates/simple-marketplace.png new file mode 100644 index 0000000000..7bf51b3452 Binary files /dev/null and b/frontend/assets/images/templates/simple-marketplace.png differ diff --git a/frontend/src/HomePage/TemplateLibraryModal/Categories.jsx b/frontend/src/HomePage/TemplateLibraryModal/Categories.jsx index 883f6153ca..f0704c7130 100644 --- a/frontend/src/HomePage/TemplateLibraryModal/Categories.jsx +++ b/frontend/src/HomePage/TemplateLibraryModal/Categories.jsx @@ -4,11 +4,13 @@ import FolderList from '@/_ui/FolderList/FolderList'; const categoryTitles = { all: 'All categories', 'customer-support': 'Customer support', + 'data-and-analytics': 'Data and analytics', + 'developer-utilities': 'Developer utilities', + 'financial-services': 'Financial services', 'human-resources': 'Human resources', operations: 'Operations', 'product-management': 'Product management', 'sales-and-marketing': 'Sales and marketing', - utilities: 'Utilities', }; export default function Categories(props) { diff --git a/server/.version b/server/.version index 770060be9f..2d4c52ede6 100644 --- a/server/.version +++ b/server/.version @@ -1 +1 @@ -2.40.0 +2.41.0 diff --git a/server/templates/admin-panel-tooljet-db/definition.json b/server/templates/admin-panel-tooljet-db/definition.json new file mode 100644 index 0000000000..4c0de853ca --- /dev/null +++ b/server/templates/admin-panel-tooljet-db/definition.json @@ -0,0 +1,54421 @@ +{ + "tooljet_database": [ + { + "id": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "table_name": "tj_admin_panel", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "customer_name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "items", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "subtotal", + "data_type": "double precision", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 53, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "delivery", + "data_type": "double precision", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 53, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "total_cost", + "data_type": "double precision", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 53, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "3469c521-8e1e-41e3-9b65-5fff3a58f65b", + "type": "front-end", + "name": "Admin Panel (ToolJet Database)", + "slug": "3469c521-8e1e-41e3-9b65-5fff3a58f65b", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "table", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "255e4bf9-ba1e-458e-9269-030735c526ad", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-01-15T11:38:19.063Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-05-03T05:45:40.760Z", + "editingVersion": { + "id": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "name": "v1", + "definition": { + "showViewerNavigation": false, + "homePageId": "59b8aa7b-1efa-4fe1-8d19-0bbad6cc2f6d", + "pages": { + "59b8aa7b-1efa-4fe1-8d19-0bbad6cc2f6d": { + "components": { + "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8": { + "id": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8", + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 20, + "left": 2.3255815595649167, + "width": 41, + "height": 70 + } + } + }, + "2ffcfde1-a46f-4ba3-ae53-7175af02060d": { + "id": "2ffcfde1-a46f-4ba3-ae53-7175af02060d", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": "{{0}}" + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "B R A N D" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text1", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40 + } + }, + "parent": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8" + }, + "7fafb271-b2fa-4321-a377-3e4a235c623c": { + "id": "7fafb271-b2fa-4321-a377-3e4a235c623c", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "SaaS Licence Management" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10, + "left": 69.76744229792882, + "width": 12, + "height": 40 + } + }, + "parent": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8" + }, + "72c19891-ab7b-4663-809c-e1fd15c82b22": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container2", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 110, + "left": 2.3255813953488373, + "width": 27, + "height": 580 + } + }, + "withDefaultChildren": false + }, + "5b21c491-8540-4df4-bc56-5ef9b3d18da8": { + "id": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container3", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 160, + "left": 67.44185810108917, + "width": 12.999999999999998, + "height": 530 + } + } + }, + "25b9f572-8cd7-48b3-b399-3ccb6c80f433": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable column sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "enablePagination": { + "type": "toggle", + "displayName": "Enable pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSidePagination": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ] + }, + "serverSideSearch": { + "type": "clientServerSwitch", + "displayName": "Type", + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ], + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ] + }, + "serverSideFilter": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ], + "defaultValue": "clientSide" + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Enable filtering", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "defaultSelectedRow": { + "type": "code", + "displayName": "Default selected row", + "validation": { + "schema": { + "type": "object" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action button radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Condensed", + "value": "condensed" + }, + { + "name": "Regular", + "value": "regular" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "50" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-classic" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getPromoCodes.isLoading || queries.segregatePromoCodes.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.segregatePromoCodes.data[components.dropdown1.value]}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "enablePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{true}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true, + "generateNestedColumns": true + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true + }, + { + "id": "28f5b628-749e-493a-b307-63cdcc071a7f", + "name": "Software name", + "key": "promo_code", + "columnType": "string", + "autogenerated": true + }, + { + "id": "e6e9b325-4568-49a5-ac62-9aa215d02ea8", + "name": "License key", + "key": "discount_value", + "columnType": "string", + "autogenerated": true + }, + { + "id": "66211b00-fdfe-4ee4-b656-02275a663665", + "name": "Assigned to", + "key": "free_shipping", + "columnType": "default", + "autogenerated": true, + "values": "{{[true, false]}}", + "labels": "{{[\"Yes\", \"No\"]}}", + "activeColor": "#3e63ddff", + "textColor": "{{({ Yes: \"#3E63DD\", No: \"\" })[cellValue]}}" + }, + { + "name": "Email", + "id": "88ec5235-60be-4841-a5a6-a08e342b34b8", + "columnType": "string" + }, + { + "name": "Type of license", + "id": "688e46f7-d1ca-47b1-a4c5-5dde335297e0", + "columnType": "dropdown", + "values": "{{[1,2]}}", + "labels": "{{[\"Individual\", \"Team\"]}}", + "isEditable": "{{true}}" + }, + { + "name": "Valid till", + "id": "192cbdd7-f847-4ed6-b19a-464ffad1f034", + "columnType": "datepicker", + "isTimeChecked": false, + "dateFormat": "DD/MM/YYYY", + "parseDateFormat": "DD/MM/YYYY" + }, + { + "name": "Status", + "id": "4d7352bc-e4d7-4471-b892-4e5ee73a9e9c" + }, + { + "name": "Notes", + "id": "087dd50a-c6e9-47f1-b958-4d37f58b0972" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 15, + "e6e9b325-4568-49a5-ac62-9aa215d02ea8": 105, + "28f5b628-749e-493a-b307-63cdcc071a7f": 139, + "66211b00-fdfe-4ee4-b656-02275a663665": 0 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Copy license key", + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + } + ], + "position": "right" + } + ] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "defaultSelectedRow": { + "value": "{{{\"id\":1}}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "discount_type", + "amount", + "minimum_spend", + "maximum_spend", + "created_at", + "valid_till", + "updated_at", + "updated_at", + "free_shipping_bool", + "Purchase date" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table1", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 28.86, + "height": 456 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 76, + "left": 4.651169700317449, + "width": 39, + "height": 470 + } + }, + "withDefaultChildren": false + }, + "792c10c1-cf06-477b-98bd-d0aa13449910": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{\"active\"}}" + }, + "values": { + "value": "{{[\"active\", \"Expired\"]}}" + }, + "display_values": { + "value": "{{[\"Active\", \"Expired\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select an option" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown1", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 20, + "left": 69.76743327394556, + "width": 11.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "61a46182-92c6-49c4-9238-9681dd264a9c": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Licenses available:" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 20, + "left": 4.6511631854108115, + "width": 14.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "58c73cbf-18df-4306-b27a-a2d01c568fb8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e16f682b-0368-499a-9232-6b63e1413a91" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Add License" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button1", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 110, + "left": 67.44185600071516, + "width": 12.999999999999998, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "e16f682b-0368-499a-9232-6b63e1413a91": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Create Promo Code" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "540px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Show pop-up windows", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 730, + "left": 2.3255813953488373, + "width": 6, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cd50a657-b4a7-4263-9125-5fb9185422f1": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.table1.selectedRow.id == undefined ? \"Select a license to view details\" : \"Promo code details:\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 10, + "left": 4.651170456181344, + "width": 38, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ad9066eb-e46c-4474-bcb5-f72e4263db60": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "SOFTWARE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 50, + "left": 4.6511518558148035, + "width": 18, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "afce716e-3d80-4c37-a0ae-a230307a89ff": { + "id": "afce716e-3d80-4c37-a0ae-a230307a89ff", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "ASSIGNED TO :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651170566837932, + "width": 15.000000000000002, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "8f2dcd6a-829c-44e8-8014-6de63bed413f": { + "id": "8f2dcd6a-829c-44e8-8014-6de63bed413f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "EMAIL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text7", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 150, + "left": 4.651149602444274, + "width": 14, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "b86fe12a-42b2-4eeb-a7db-2e7d5ebbaa43": { + "id": "b86fe12a-42b2-4eeb-a7db-2e7d5ebbaa43", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text8", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 200, + "left": 4.6511784536347704, + "width": 12.999999999999998, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "d396afee-afeb-4f6b-9fe6-f91544b7c566": { + "id": "d396afee-afeb-4f6b-9fe6-f91544b7c566", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "TYPE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text9", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 250, + "left": 4.651168092154227, + "width": 12, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "aa458399-940f-4373-88af-ef9b30727bb0": { + "id": "aa458399-940f-4373-88af-ef9b30727bb0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "NOTES :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text10", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 360, + "left": 4.651201681458636, + "width": 12.999999999999998, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "795cd997-1cd5-4a87-a221-fa605c3baa06": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Adobe Photoshop" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text23", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 50, + "left": 41.86046511627907, + "width": 22.000000000000004, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "7e51ca19-d1ad-42b7-9939-eba56e2139f4": { + "id": "7e51ca19-d1ad-42b7-9939-eba56e2139f4", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Nechal Maggon" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text24", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 41.86046511627907, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "f937ec0f-b892-4faa-8bcc-62a4a1f4dcc8": { + "id": "f937ec0f-b892-4faa-8bcc-62a4a1f4dcc8", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "nechalmaggon@gmail.com" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text25", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 150, + "left": 41.86047492447669, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "cdcf3874-788e-49a3-8101-33a0d9710f99": { + "id": "cdcf3874-788e-49a3-8101-33a0d9710f99", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "01/07/2024" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text26", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 200, + "left": 41.86046984433331, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "e3a7589d-f336-4b85-ae69-a0e1dc757c63": { + "id": "e3a7589d-f336-4b85-ae69-a0e1dc757c63", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Team" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text27", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 250, + "left": 41.8604780832193, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "f989e765-4231-4a4e-9bb0-87edf4ad9c7f": { + "id": "f989e765-4231-4a4e-9bb0-87edf4ad9c7f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "PROMO CODE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text31", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30, + "left": 4.651162790697675, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "cdeddc9c-5023-4048-80ce-9bc01663cef9": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": "{{/^[A-Z0-9]{3,15}$/.test(components.textinput1.value) ? queries.getPromoCodes.data.filter((codeDetails) => codeDetails.promo_code == components.textinput1.value).length == 0 ? true : \"Promo Code already exits!\" : \"Invalid Promo Code!\"}}" + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter promo code" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput1", + "displayName": "Text Input", + "description": "User text input field", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 25.581395346098788, + "width": 17, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "380b4870-818e-440f-806a-dc9ae5e1e6a3": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Generate code" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button2", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 65.11629528111348, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "0ef3d3b3-84b9-44a2-907d-bdab0d0cf90f": { + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Promo code must be 3 to 15 characters long, comprising only Uppercase Alphabets (A-Z) and numbers (0-9)." + } + }, + "exposedVariables": {} + }, + "name": "image1", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 90.69767122377431, + "width": 2, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b01f0cad-7de7-47ae-ae40-82ab305e2d12": { + "id": "b01f0cad-7de7-47ae-ae40-82ab305e2d12", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "DISCOUNT :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text32", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651162506266984, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "9245395b-3876-4734-acc0-6582dd57870e": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onSelect", + "actionId": "control-component", + "message": "Hello world!", + "alertType": "info" + } + ], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "percent" + }, + "values": { + "value": "{{[\"percent\", \"fixed\"]}}" + }, + "display_values": { + "value": "{{[\"In percentage\", \"Fixed amount\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select a discount type" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown4", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 25.58139595221208, + "width": 17, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ce2797f3-e593-4259-abb8-ce6785a845d1": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown4.value == \"percent\" ? \"20\" : \"100\"}}" + }, + "maxValue": { + "value": "{{components.dropdown4.value == \"percent\" ? \"100\" : \"100000\"}}" + }, + "minValue": { + "value": "1" + }, + "placeholder": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput3", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 65.11625539117162, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ce888918-f6cd-428d-9968-a67ff29b4e75": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.dropdown4.value == \"percent\" ? \"%\" : \"$\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text34", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 90.69767485756182, + "width": 2, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "38daeae7-7a68-42b2-9bca-1067868eb83a": { + "id": "38daeae7-7a68-42b2-9bca-1067868eb83a", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MINIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text33", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 4.651162932854896, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "055d88a5-d62a-4848-afc9-d2b7e51847d0": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown5", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 170, + "left": 25.581418019395514, + "width": 13, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ed7b0be3-f412-4f8a-82de-603d887ee06f": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown5.value ? \"100\" : \"0\"}}" + }, + "maxValue": { + "value": "99999" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput4.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput4", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 170, + "left": 65.11627782060043, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "5f60b7a2-675f-4e6c-8861-c4ab363cae3b": { + "id": "5f60b7a2-675f-4e6c-8861-c4ab363cae3b", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text35", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 60.46511827264033, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "e26de292-20fa-45cd-ae48-51d3dc1b980f": { + "id": "e26de292-20fa-45cd-ae48-51d3dc1b980f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MAXIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text36", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "5dab4cc2-a5f0-4c74-b87a-e50c318cb8a5": { + "id": "5dab4cc2-a5f0-4c74-b87a-e50c318cb8a5", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown6", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 25.58138499611037, + "width": 13, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "6b75036b-a0ae-486e-9adb-1ef35d5382b5": { + "id": "6b75036b-a0ae-486e-9adb-1ef35d5382b5", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text37", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 60.46511069707219, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "6eca96f9-5602-4199-88f0-36a8b302bc35": { + "id": "6eca96f9-5602-4199-88f0-36a8b302bc35", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "{{components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value ? \"#ff0000\" : \"\"}}", + "fxActive": true + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown6.value ? \"100\" : \"0\"}}" + }, + "maxValue": { + "value": "100000" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput4.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "" + } + }, + "exposedVariables": {} + }, + "name": "numberinput5", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 240, + "left": 65.11626117041483, + "width": 10, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "4c6b810b-9d09-4121-9026-c3b1fb717302": { + "id": "4c6b810b-9d09-4121-9026-c3b1fb717302", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "FREE SHIPPING :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text38", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.6511615510529305, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "74bf5455-9aef-419a-b83f-1892edb4e2b3": { + "id": "74bf5455-9aef-419a-b83f-1892edb4e2b3", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"No\", \"Yes\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown7", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 25.581389164325977, + "width": 13, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "7ad884d9-53ff-41ce-9ff3-8a4a91702a6f": { + "id": "7ad884d9-53ff-41ce-9ff3-8a4a91702a6f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text39", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 380, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "4b50dcfd-cf36-44af-87fa-ee05a8112fbb": { + "component": { + "properties": { + "defaultValue": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "format": { + "type": "code", + "displayName": "Format", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableTime": { + "type": "toggle", + "displayName": "Enable time selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "enableDate": { + "type": "toggle", + "displayName": "Enable date selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "disabledDates": { + "type": "code", + "displayName": "Disabled dates", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "string" + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": "{{moment(components.datepicker1.value, \"DD/MM/YYYY\").isAfter(moment()) ? true : \"Invalid date selection!\"}}" + } + }, + "properties": { + "defaultValue": { + "value": "{{moment().add(1, \"year\").format(\"DD/MM/YYYY\")}}" + }, + "format": { + "value": "DD/MM/YYYY" + }, + "enableTime": { + "value": "{{false}}" + }, + "enableDate": { + "value": "{{true}}" + }, + "disabledDates": { + "value": "{{[]}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "datepicker1", + "displayName": "Date Picker", + "description": "Choose date and time", + "component": "Datepicker", + "defaultSize": { + "width": 5, + "height": 30 + }, + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 380, + "left": 25.581393180600156, + "width": 13, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "4ad7daef-6186-47cf-b759-8c35d2e77cfa": { + "id": "4ad7daef-6186-47cf-b759-8c35d2e77cfa", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Select a date that falls after the current date. Dates on or before today are not valid for selection." + } + }, + "exposedVariables": {} + }, + "name": "image2", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 380, + "left": 58.139524728971374, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "501e8af8-6edb-4b4b-b3d1-7453b5f0b4d7": { + "id": "501e8af8-6edb-4b4b-b3d1-7453b5f0b4d7", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value }}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Maximum spend should be greater than or equal to Minimum spend" + } + }, + "exposedVariables": {} + }, + "name": "image3", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 240, + "left": 90.69767030875896, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "199a8791-16ab-4bb5-90b8-c320e4b6e6c5": { + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "dividerColor": { + "type": "color", + "displayName": "Divider color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": {}, + "general": {}, + "exposedVariables": {} + }, + "name": "divider3", + "displayName": "Divider", + "description": "Separator between components", + "component": "Divider", + "defaultSize": { + "width": 10, + "height": 10 + }, + "exposedVariables": { + "value": {} + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 440, + "left": 2.3255811419964743, + "width": 41, + "height": 10 + } + }, + "withDefaultChildren": false + }, + "670170a2-52be-4deb-a897-ac6bf33c5ada": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "a6c68044-a67b-476e-ab8f-84e0ceda3e78", + "queryName": "createPromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{!components.textinput1.isValid || (components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value) || !components.datepicker1.isValid}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Create" + }, + "loadingState": { + "value": "{{queries.createPromoCode.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 470, + "left": 79.06975049651071, + "width": 7.000000000000001, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b0afdbe3-5c29-40be-a70f-08458617c01f": { + "id": "b0afdbe3-5c29-40be-a70f-08458617c01f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e16f682b-0368-499a-9232-6b63e1413a91" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.465109099446764, + "width": 7, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "e7a57306-3d46-41e2-b240-2fc6b5f20226": { + "id": "e7a57306-3d46-41e2-b240-2fc6b5f20226", + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Edit Promo Code" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "540px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal2", + "displayName": "Modal", + "description": "Show pop-up windows", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 730, + "left": 18.604656027099054, + "width": 6, + "height": 40 + } + } + }, + "0097b2d6-9f19-4b9f-af0c-aee7fb6876e3": { + "id": "0097b2d6-9f19-4b9f-af0c-aee7fb6876e3", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "PROMO CODE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text40", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30, + "left": 4.651162790697675, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "eefafe18-13b7-4ad1-9d32-509d3ccfe2ba": { + "id": "eefafe18-13b7-4ad1-9d32-509d3ccfe2ba", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "DISCOUNT :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text41", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651162506266984, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "67d1a89c-81aa-41a7-89d8-595ae1b483f3": { + "id": "67d1a89c-81aa-41a7-89d8-595ae1b483f3", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onSelect", + "actionId": "control-component", + "message": "Hello world!", + "alertType": "info" + } + ], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.discount_type}}" + }, + "values": { + "value": "{{[\"percent\", \"fixed\"]}}" + }, + "display_values": { + "value": "{{[\"In percentage\", \"Fixed amount\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select a discount type" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown8", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 25.581393521814153, + "width": 17, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "1a7b30ae-c152-471d-90ab-aa3bcdafb0ce": { + "id": "1a7b30ae-c152-471d-90ab-aa3bcdafb0ce", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.table1.selectedRow.amount}}" + }, + "maxValue": { + "value": "{{components.dropdown8.value == \"percent\" ? \"100\" : \"100000\"}}" + }, + "minValue": { + "value": "1" + }, + "placeholder": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput6", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 100, + "left": 65.11626481525688, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "6c953707-f69d-47a9-9015-a582ed609bcd": { + "id": "6c953707-f69d-47a9-9015-a582ed609bcd", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.dropdown8.value == \"percent\" ? \"%\" : \"$\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text42", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 90.69767764424473, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "56139e54-501c-4951-a060-fa0d180ed6ad": { + "id": "56139e54-501c-4951-a060-fa0d180ed6ad", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MINIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text43", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 4.651162932854896, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "dc4c2a57-9f4b-4e5b-a790-fefe2fcd481c": { + "id": "dc4c2a57-9f4b-4e5b-a790-fefe2fcd481c", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.minimum_spend != null}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown9", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 25.581401911408808, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "30c53546-7857-44c3-be96-70c1662df2d4": { + "id": "30c53546-7857-44c3-be96-70c1662df2d4", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown9.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown9.value ? (components?.table1?.selectedRow?.minimum_spend ?? \"0\") : \"0\"}}" + }, + "maxValue": { + "value": "99999" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput7.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput7", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 170, + "left": 65.11628599331276, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "061db4d4-a8f2-40aa-9ce8-427390417bf0": { + "id": "061db4d4-a8f2-40aa-9ce8-427390417bf0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text44", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 60.46511827264033, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "9d58477b-50cd-4b84-8dd6-1231570d0774": { + "id": "9d58477b-50cd-4b84-8dd6-1231570d0774", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MAXIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text45", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "8529396e-2c59-437e-a014-3a3033c49d80": { + "id": "8529396e-2c59-437e-a014-3a3033c49d80", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.maximum_spend != null}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown10", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 25.58137657187239, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ba5c3668-5419-4d10-9ed2-15bcc02fb26c": { + "id": "ba5c3668-5419-4d10-9ed2-15bcc02fb26c", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text46", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 60.46511069707219, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "1749184e-e330-4679-a3d4-671ce372274f": { + "id": "1749184e-e330-4679-a3d4-671ce372274f", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown10.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "{{components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value ? \"#ff0000\" : \"\"}}", + "fxActive": true + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown10.value ? (components?.table1?.selectedRow?.maximum_spend ?? \"0\") : \"0\"}}" + }, + "maxValue": { + "value": "100000" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput8.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "" + } + }, + "exposedVariables": {} + }, + "name": "numberinput8", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 240, + "left": 65.11629197312911, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "19d354ef-63f7-4c85-a641-115769247cc0": { + "id": "19d354ef-63f7-4c85-a641-115769247cc0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "FREE SHIPPING :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text47", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.6511615510529305, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "12059aed-6846-44d9-8d8d-98003036ef2b": { + "id": "12059aed-6846-44d9-8d8d-98003036ef2b", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.free_shipping_bool}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"No\", \"Yes\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown11", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 25.581399583203897, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "fb524a89-e03b-433a-8a94-f61ebd99bd36": { + "id": "fb524a89-e03b-433a-8a94-f61ebd99bd36", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text48", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 380, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "41d423dd-e348-4684-a835-b3dc56be730c": { + "id": "41d423dd-e348-4684-a835-b3dc56be730c", + "component": { + "properties": { + "defaultValue": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "format": { + "type": "code", + "displayName": "Format", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableTime": { + "type": "toggle", + "displayName": "Enable time selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "enableDate": { + "type": "toggle", + "displayName": "Enable date selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "disabledDates": { + "type": "code", + "displayName": "Disabled dates", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "string" + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": "{{moment(components.datepicker2.value, \"DD/MM/YYYY\").isAfter(moment()) ? true : \"Invalid date selection!\"}}" + } + }, + "properties": { + "defaultValue": { + "value": "{{components.table1.selectedRow.valid_till}}" + }, + "format": { + "value": "DD/MM/YYYY" + }, + "enableTime": { + "value": "{{false}}" + }, + "enableDate": { + "value": "{{true}}" + }, + "disabledDates": { + "value": "{{[]}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "datepicker2", + "displayName": "Date Picker", + "description": "Choose date and time", + "component": "Datepicker", + "defaultSize": { + "width": 5, + "height": 30 + }, + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + } + }, + "layouts": { + "desktop": { + "top": 380, + "left": 25.58139095173029, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "27dbf0ae-1800-47ff-9531-2a3e89a8ac8a": { + "id": "27dbf0ae-1800-47ff-9531-2a3e89a8ac8a", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Select a date that falls after the current date. Dates on or before today are not valid for selection." + } + }, + "exposedVariables": {} + }, + "name": "image5", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 380, + "left": 58.13952912432483, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ca410b25-e7b7-413f-a01e-cccf62efa204": { + "id": "ca410b25-e7b7-413f-a01e-cccf62efa204", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Maximum spend should be greater than or equal to Minimum spend" + } + }, + "exposedVariables": {} + }, + "name": "image6", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 240, + "left": 90.69766853643817, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "798a2874-8880-410d-86ca-8466e7a7f53f": { + "id": "798a2874-8880-410d-86ca-8466e7a7f53f", + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "dividerColor": { + "type": "color", + "displayName": "Divider color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": {}, + "general": {}, + "exposedVariables": {} + }, + "name": "divider4", + "displayName": "Divider", + "description": "Separator between components", + "component": "Divider", + "defaultSize": { + "width": 10, + "height": 10 + }, + "exposedVariables": { + "value": {} + } + }, + "layouts": { + "desktop": { + "top": 440, + "left": 2.3255811419964743, + "width": 41, + "height": 10 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ec924236-9797-491e-bca5-6fab6711f2da": { + "id": "ec924236-9797-491e-bca5-6fab6711f2da", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "f5071a1f-7f38-4134-bd5e-e4b88589c7ed", + "queryName": "updatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{(components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value) || !components.datepicker2.isValid}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.updatePromoCode.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button6", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 79.0697419241573, + "width": 7.000000000000001, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "cb71d470-0254-4fa8-92d9-735a91f5f66e": { + "id": "cb71d470-0254-4fa8-92d9-735a91f5f66e", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button7", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.46510115735242, + "width": 7, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "56e0a58d-9738-41fb-bfb2-d4c1165c75f9": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#8888881a" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "  {{components.table1.selectedRow.promo_code}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text49", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226", + "layouts": { + "desktop": { + "top": 30, + "left": 25.58139644141283, + "width": 30, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "1b3da9cb-122f-40a7-a348-3c5e6d179640": { + "id": "1b3da9cb-122f-40a7-a348-3c5e6d179640", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "3 workspaces \nSSO enabled \n20Gb storage" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text50", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 360, + "left": 41.86046951236355, + "width": 22.000000000000004, + "height": 50 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "1bb6687b-7a1b-49c2-bae0-1ff2b9af3ac8": { + "id": "1bb6687b-7a1b-49c2-bae0-1ff2b9af3ac8", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Renew" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button8", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.46511627906976, + "width": 14, + "height": 40 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "d69936c9-a4d4-4c3c-b8aa-bd7175156158": { + "id": "d69936c9-a4d4-4c3c-b8aa-bd7175156158", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "textColor": { + "value": "#4a4a4aff" + }, + "loaderColor": { + "value": "#4a4a4aff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#9b9b9bff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Open software >" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button9", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 4.651162790697674, + "width": 22.000000000000004, + "height": 40 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "1f5b7856-c4b1-402a-b27c-0119b7474fa8": { + "component": { + "properties": { + "data": { + "type": "code", + "displayName": "Tags", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object", + "object": { + "title": { + "type": "string" + }, + "color": { + "type": "string" + }, + "textColor": { + "type": "string" + } + } + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "data": { + "value": "{{ [ \n\t\t{ title: 'Active', color: '#2fb344', textColor: '#fff' }\n\t ] }}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "tags1", + "displayName": "Tags", + "description": "Display tag labels", + "component": "Tags", + "defaultSize": { + "width": 8, + "height": 30 + }, + "exposedVariables": {} + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 310, + "left": 41.86051065649506, + "width": 7, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "d17d5709-22de-49f9-95a3-e16742e37665": { + "id": "d17d5709-22de-49f9-95a3-e16742e37665", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "STATUS :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text51", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.651153324529529, + "width": 12.999999999999998, + "height": 20 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + } + }, + "handle": "home", + "name": "Home" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#2f3c4c", + "backgroundFxQuery": "" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#2f3c4c", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "appId": "3469c521-8e1e-41e3-9b65-5fff3a58f65b", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-01-15T11:38:19.082Z", + "updatedAt": "2024-05-03T07:29:19.585Z" + }, + "components": [ + { + "id": "f26220b3-5028-46eb-bf7d-76d5d5e5fd66", + "name": "text26", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "67fb457f-6589-411c-b788-73b339aebd13", + "properties": { + "text": { + "value": "Customers" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "{{20}}" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "544a6d5d-ba97-45c5-a291-35d009464139", + "type": "desktop", + "top": 30, + "left": 2.325582061030863, + "width": 14.000000000000002, + "height": 40, + "componentId": "f26220b3-5028-46eb-bf7d-76d5d5e5fd66", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6bd57b76-5280-48dd-8950-49f12b4377a3", + "name": "text29", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "text": { + "value": "Item :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:10:38.671Z", + "layouts": [ + { + "id": "cc31ee31-9985-4053-ab04-b5be19cf525e", + "type": "desktop", + "top": 20, + "left": 4.651138072253336, + "width": 8, + "height": 40, + "componentId": "6bd57b76-5280-48dd-8950-49f12b4377a3", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "21cc53fd-0fb4-41af-bf81-679fc998b58b", + "name": "container1", + "type": "Container", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": null, + "properties": { + "visible": { + "value": "{{true}}" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "layouts": [ + { + "id": "4520b8a9-d5fa-4660-b465-2554bc177e4d", + "type": "desktop", + "top": 20, + "left": 2.3255808298005536, + "width": 41, + "height": 70, + "componentId": "21cc53fd-0fb4-41af-bf81-679fc998b58b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "613e3f19-fb4a-4569-8ce1-6fbea8aa3cd6", + "name": "text11", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Delivery :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + }, + "textAlign": { + "value": "right" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:05:35.245Z", + "layouts": [ + { + "id": "43b90466-89bb-47dd-b11c-990767b7ff09", + "type": "desktop", + "top": 710, + "left": 51.16277230624662, + "width": 6, + "height": 40, + "componentId": "613e3f19-fb4a-4569-8ce1-6fbea8aa3cd6", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "01190b70-006a-4ab8-b12f-253e42fcf935", + "name": "text5", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Name :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:04:52.934Z", + "layouts": [ + { + "id": "9452ab13-2126-415f-b4dd-832c600dc776", + "type": "desktop", + "top": 30, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "01190b70-006a-4ab8-b12f-253e42fcf935", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fac16523-c5a7-4000-aff3-ca6200cdc2d9", + "name": "text12", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Email :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:04:24.414Z", + "layouts": [ + { + "id": "b1d475bf-8a8a-4194-a1d3-854ac214100e", + "type": "desktop", + "top": 90, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "fac16523-c5a7-4000-aff3-ca6200cdc2d9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "78ded770-2c2e-497d-9f7d-0587f816f343", + "name": "text33", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "text": { + "value": "Cost :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:10:53.902Z", + "layouts": [ + { + "id": "140a8ff6-c169-458f-89ba-076e31b86c7f", + "type": "desktop", + "top": 120, + "left": 53.488392907403686, + "width": 5, + "height": 40, + "componentId": "78ded770-2c2e-497d-9f7d-0587f816f343", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d792eae4-0f37-4942-b1df-9dfd83283130", + "name": "button4", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T21:49:51.234Z", + "layouts": [ + { + "id": "e5d782ab-996f-4736-9d67-e86b9c634ead", + "type": "desktop", + "top": 880, + "left": 60.465145826931774, + "width": 7, + "height": 40, + "componentId": "d792eae4-0f37-4942-b1df-9dfd83283130", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "name": "table1", + "type": "Table", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "67fb457f-6589-411c-b788-73b339aebd13", + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.listCustomers.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.listCustomers.data}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "enablePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{true}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true, + "generateNestedColumns": true + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true + }, + { + "id": "bd520f2c-94bc-4a31-a40e-4587ee1b28b0", + "name": "customer name", + "key": "customer_name", + "columnType": "string", + "autogenerated": true, + "textWrap": "wrap" + }, + { + "name": "Email", + "id": "21928468-65b8-4c69-81c3-9e629f034e2e", + "key": "email", + "textWrap": "wrap" + }, + { + "id": "ca7c64df-faea-4b72-92d1-c18e54788469", + "name": "items", + "key": "transformedItems", + "columnType": "tags", + "autogenerated": true + }, + { + "id": "04662284-e382-4221-96f1-b164ee099bfc", + "name": "subtotal", + "key": "subtotal", + "columnType": "string", + "autogenerated": true, + "textWrap": "wrap" + }, + { + "id": "57071a8a-2518-43aa-ab45-b98354c89888", + "name": "delivery", + "key": "delivery", + "columnType": "string", + "autogenerated": true, + "textWrap": "wrap" + }, + { + "id": "0a59da37-c4ee-4cde-83fe-601f575185b6", + "name": "total cost", + "key": "total_cost", + "columnType": "string", + "autogenerated": true, + "textWrap": "wrap" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{true}}" + }, + "columnSizes": { + "value": { + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 53, + "e6e9b325-4568-49a5-ac62-9aa215d02ea8": 105, + "28f5b628-749e-493a-b307-63cdcc071a7f": 139, + "66211b00-fdfe-4ee4-b656-02275a663665": 0, + "ea4a376f-bd89-47ba-bf67-15bedf3b661c": 229, + "aaef8f09-eb28-4b84-8d4e-4de85c05127f": 387, + "703777bd-71d9-463e-a35e-35ce026af4e7": 368, + "013655b2-7792-41d9-92a6-1990e2b5e303": 416, + "552006d5-125d-4c6d-89ca-3d23e1d3f874": 189, + "a877401c-9096-42f1-b488-b10f7a98c51e": 153, + "92f07292-b119-495e-9dc8-5f0ef45d5458": 50, + "bd520f2c-94bc-4a31-a40e-4587ee1b28b0": 141, + "bf8210be-7d74-4751-b9c7-da30cb0883be": 304, + "6059856e-119d-4659-9b6e-cd9a602a09c6": 323, + "aecbaf6e-8291-493a-af70-7f92ea31481b": 182, + "ca7c64df-faea-4b72-92d1-c18e54788469": 470, + "04662284-e382-4221-96f1-b164ee099bfc": 107, + "57071a8a-2518-43aa-ab45-b98354c89888": 111, + "0a59da37-c4ee-4cde-83fe-601f575185b6": 52, + "21928468-65b8-4c69-81c3-9e629f034e2e": 180 + } + }, + "actions": { + "value": [ + { + "name": "Action1", + "buttonText": "Edit", + "events": [], + "position": "right" + }, + { + "name": "Action2", + "buttonText": "🗑️", + "events": [], + "position": "right" + } + ] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "defaultSelectedRow": { + "value": "{{components.table1.currentPageData[0]}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "discount_type", + "amount", + "minimum_spend", + "maximum_spend", + "created_at", + "valid_till", + "updated_at", + "updated_at", + "free_shipping_bool", + "Purchase date", + "Email", + "Type of license", + "Valid till", + "Status", + "Notes", + "license", + "generation_date", + "notes", + "type", + "url", + "", + "email", + "Total cost", + "items", + "transformedItems" + ] + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-bordered" + }, + "maxRowHeight": { + "value": "auto" + }, + "maxRowHeightValue": { + "value": 45 + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-05-03T07:19:06.218Z", + "layouts": [ + { + "id": "145d8a66-186b-499a-b3fe-8037c3a223c1", + "type": "desktop", + "top": 80, + "left": 2.3255819131079227, + "width": 41, + "height": 580, + "componentId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "updatedAt": "2024-05-03T07:13:45.618Z" + } + ] + }, + { + "id": "9b515d23-600b-43a3-b21c-103ea337d1df", + "name": "text28", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Add items :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:04:44.209Z", + "layouts": [ + { + "id": "053ce315-9c57-4832-85b0-db79b3ca79b8", + "type": "desktop", + "top": 150, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "9b515d23-600b-43a3-b21c-103ea337d1df", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3b669d2a-c304-4e0c-8d37-c28ea12edf74", + "name": "text24", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Total cost :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:03:40.758Z", + "layouts": [ + { + "id": "1fb490fc-5bb0-4869-ab82-891d7a09fe1f", + "type": "desktop", + "top": 770, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "3b669d2a-c304-4e0c-8d37-c28ea12edf74", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "39128762-7072-4a0c-bf4b-3b3e35c962f8", + "name": "text25", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "385bc2c8-2e93-43f6-b0cc-0b1d7d5feb91", + "type": "desktop", + "top": 770, + "left": 18.60466432035639, + "width": 2, + "height": 40, + "componentId": "39128762-7072-4a0c-bf4b-3b3e35c962f8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2a38731e-0d10-4a06-b857-79c394c74b50", + "name": "numberinput8", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "value": { + "value": "20" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "1" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T23:55:11.691Z", + "layouts": [ + { + "id": "cced1514-ff15-4724-80e2-dd4a8a486fb3", + "type": "desktop", + "top": 120, + "left": 65.11629567211423, + "width": 12.999999999999998, + "height": 40, + "componentId": "2a38731e-0d10-4a06-b857-79c394c74b50", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4a4b8ed0-093c-40cc-ad3b-750f673023c5", + "name": "dropdown5", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "label": { + "value": "" + }, + "display_values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + }, + "values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + }, + "value": { + "value": "{{\"Product A\"}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:13:40.204Z", + "layouts": [ + { + "id": "16141e44-2b7f-474f-9f9c-269ef3179984", + "type": "desktop", + "top": 20, + "left": 23.255766273408778, + "width": 31, + "height": 40, + "componentId": "4a4b8ed0-093c-40cc-ad3b-750f673023c5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "dd557530-8840-442b-b9e7-7ea2788f6c85", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "4a4b8ed0-093c-40cc-ad3b-750f673023c5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0398dbba-dc42-4d3b-babd-d5dfca7b36d2", + "name": "text27", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "text": { + "value": "Category :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:10:42.913Z", + "layouts": [ + { + "id": "ac93cc81-b203-40c8-9832-00ec4e21a760", + "type": "desktop", + "top": 70, + "left": 4.6511875791695845, + "width": 8, + "height": 40, + "componentId": "0398dbba-dc42-4d3b-babd-d5dfca7b36d2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "91dad43c-4546-4194-af1a-689e2f9f0b81", + "name": "text4", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "149ba33b-e73f-4578-acfe-40ec85c2479d", + "type": "desktop", + "top": 710, + "left": 65.11629402839891, + "width": 2, + "height": 40, + "componentId": "91dad43c-4546-4194-af1a-689e2f9f0b81", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a3ad1e68-10d1-4b00-a917-69af8837c912", + "name": "button2", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "67fb457f-6589-411c-b788-73b339aebd13", + "properties": { + "text": { + "value": "+ Add customer" + }, + "loadingState": { + "fxActive": false + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:15:50.548Z", + "layouts": [ + { + "id": "36f5eac0-5ce8-4281-9486-54a7387f0f4a", + "type": "desktop", + "top": 30, + "left": 81.39538317728011, + "width": 7, + "height": 40, + "componentId": "a3ad1e68-10d1-4b00-a917-69af8837c912", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "cea39252-0cc9-458f-af50-bf06e82e8089", + "name": "button7", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "+ Add item" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:11:03.685Z", + "layouts": [ + { + "id": "9e64602b-7c40-4c30-81f8-d45bc620cfdc", + "type": "desktop", + "top": 340, + "left": 18.604635915411077, + "width": 33, + "height": 40, + "componentId": "cea39252-0cc9-458f-af50-bf06e82e8089", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "name": "modal1", + "type": "Modal", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": null, + "properties": { + "title": { + "value": "Add customer" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "950px" + } + }, + "general": null, + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:11:34.698Z", + "layouts": [ + { + "id": "aa4842b9-9359-40fd-8143-66f40d5d4b11", + "type": "desktop", + "top": 840, + "left": 2.3255779517778135, + "width": 4, + "height": 40, + "componentId": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "updatedAt": "2024-05-03T06:59:40.759Z" + } + ] + }, + { + "id": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "name": "container3", + "type": "Container", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": {}, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:09:42.038Z", + "layouts": [ + { + "id": "d2d8dc1f-e2b4-452a-bf95-5e8f0d3e370c", + "type": "desktop", + "top": 150, + "left": 18.604647903528456, + "width": 33, + "height": 190, + "componentId": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "98a89b4b-b94a-45cc-99f2-53676cd933e8", + "type": "mobile", + "top": 290, + "left": 48.83720930232558, + "width": 11.627906976744185, + "height": 200, + "componentId": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "341d23e3-4d28-4e70-8c8e-e77abca37e72", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "value": { + "value": "50" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": { + "value": "" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + }, + "direction": { + "value": "left" + }, + "auto": { + "value": true + }, + "icon": { + "value": "IconHome2" + }, + "iconVisibility": { + "value": false + }, + "alignment": { + "value": "side" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:09:11.203Z", + "layouts": [ + { + "id": "490d62c6-a719-4f5b-bbb1-994d8ba14814", + "type": "desktop", + "top": 710, + "left": 69.76743571577147, + "width": 11.000000000000002, + "height": 40, + "componentId": "341d23e3-4d28-4e70-8c8e-e77abca37e72", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "979b6415-a171-4e56-82de-efc8480de14c", + "name": "button3", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Create" + }, + "loadingState": { + "value": "{{queries.addCustomer.isLoading}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T23:31:00.791Z", + "layouts": [ + { + "id": "8c2931d4-f40d-4094-8394-b84ba9802b32", + "type": "desktop", + "top": 880, + "left": 79.06980228632753, + "width": 7.000000000000001, + "height": 40, + "componentId": "979b6415-a171-4e56-82de-efc8480de14c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e3848922-ea58-4873-b432-2884ab7a451e", + "name": "text32", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "text": { + "value": "Quantity :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:10:49.041Z", + "layouts": [ + { + "id": "3819b87f-2c74-4427-a3d4-25dcaddff10f", + "type": "desktop", + "top": 120, + "left": 4.6511814166601, + "width": 8, + "height": 40, + "componentId": "e3848922-ea58-4873-b432-2884ab7a451e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c438252a-fe3d-451f-a196-ea8bd46e03b2", + "name": "textinput2", + "type": "TextInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "placeholder": { + "value": "Enter name" + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "customRule": { + "value": "" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "61f918d7-6849-4268-9375-ae7c5d6c5066", + "type": "desktop", + "top": 30, + "left": 18.6046511627907, + "width": 33, + "height": 40, + "componentId": "c438252a-fe3d-451f-a196-ea8bd46e03b2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b86914c1-9bea-4fc5-a0cd-30e1ad9d1347", + "name": "divider1", + "type": "Divider", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": {}, + "general": null, + "styles": { + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "layouts": [ + { + "id": "23a7b60d-708b-4d73-922c-90addeac7bdc", + "type": "desktop", + "top": 672, + "left": 0, + "width": 43, + "height": -172, + "componentId": "b86914c1-9bea-4fc5-a0cd-30e1ad9d1347", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6f37bf4f-8827-41ce-829f-72da02dfc0c8", + "name": "numberinput14", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "value": { + "value": "2" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "50" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "9127347d-9107-4f3f-a970-ce7d6e85298d", + "type": "desktop", + "top": 104, + "left": 20.930233256802037, + "width": 31.000000000000004, + "height": 30, + "componentId": "6f37bf4f-8827-41ce-829f-72da02dfc0c8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "86d348e4-4d8c-491b-a1da-9b1a6db329ca", + "name": "dropdown8", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "label": { + "value": "" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "layouts": [ + { + "id": "93de7d7f-2311-48ea-a35d-4c801969f9dd", + "type": "desktop", + "top": 60, + "left": 58.13953405136789, + "width": 15.000000000000002, + "height": 30, + "componentId": "86d348e4-4d8c-491b-a1da-9b1a6db329ca", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1c721516-44ec-4bb0-8351-894d2a3732e4", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "86d348e4-4d8c-491b-a1da-9b1a6db329ca", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8222fd77-097f-4858-af32-9d6f07953c6a", + "name": "text41", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "text": { + "value": "Category:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "d32ad26a-cb8a-4b2a-8a2b-58e0118ea67e", + "type": "desktop", + "top": 60, + "left": 41.86049899953488, + "width": 8, + "height": 20, + "componentId": "8222fd77-097f-4858-af32-9d6f07953c6a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f358c4f9-c9a0-44df-8368-54763cf19a54", + "name": "numberinput6", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "value": { + "value": "{{queries.calculateSubtotal.data}}" + }, + "placeholder": { + "value": "" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{true}}", + "fxActive": true + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "100000000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "fb232f62-3aed-418e-9e31-8afabac169fc", + "type": "desktop", + "top": 710, + "left": 23.25581818260746, + "width": 11.000000000000002, + "height": 40, + "componentId": "f358c4f9-c9a0-44df-8368-54763cf19a54", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5f4ad62a-c685-4f57-8d04-2ca44edb21ff", + "name": "dropdown6", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "label": { + "value": "" + }, + "values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + }, + "display_values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + }, + "value": { + "value": "{{\"Category A\"}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:13:46.619Z", + "layouts": [ + { + "id": "406e1a17-ae83-4385-b1c5-84a6da288997", + "type": "desktop", + "top": 70, + "left": 23.255803903988298, + "width": 31, + "height": 40, + "componentId": "5f4ad62a-c685-4f57-8d04-2ca44edb21ff", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "aaee7a8e-0063-4f86-b3be-a0c92a124fad", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "5f4ad62a-c685-4f57-8d04-2ca44edb21ff", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ca2bf95b-bc7d-4114-b713-4edee3feadd2", + "name": "text30", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Subtotal :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:03:45.565Z", + "layouts": [ + { + "id": "8dd077b2-1b5b-49dc-a4fe-4788e8a89202", + "type": "desktop", + "top": 710, + "left": 4.651162651133472, + "width": 6, + "height": 40, + "componentId": "ca2bf95b-bc7d-4114-b713-4edee3feadd2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "54515a91-8afd-4dfe-a1db-9aec077cda93", + "name": "numberinput7", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "3fa4081f-fda9-4d89-a5d0-6d8a8ed3369c", + "properties": { + "value": { + "value": "2" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "1" + }, + "maxValue": { + "value": "10000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "3eac5852-0384-42f1-8e91-b2c0c1d7ddfb", + "type": "desktop", + "top": 120, + "left": 23.255828329267374, + "width": 11, + "height": 40, + "componentId": "54515a91-8afd-4dfe-a1db-9aec077cda93", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9ac267cc-906d-44d5-8371-eb3a02f5ce04", + "name": "divider3", + "type": "Divider", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": {}, + "general": null, + "styles": { + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "layouts": [ + { + "id": "9511d047-634b-497c-b101-2fb93c11d6ae", + "type": "desktop", + "top": 842, + "left": -6.21365359165793e-8, + "width": 43, + "height": -5, + "componentId": "9ac267cc-906d-44d5-8371-eb3a02f5ce04", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e57c7473-607b-4286-9db1-4e8a70bcb30d", + "name": "text31", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "5ae5d6b6-ad9c-46b2-816e-b4328e2500f5", + "type": "desktop", + "top": 710, + "left": 18.604655748002983, + "width": 2, + "height": 40, + "componentId": "e57c7473-607b-4286-9db1-4e8a70bcb30d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "533f2158-b780-4cd3-b125-27d71378febf", + "name": "numberinput12", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "value": { + "value": "{{components.numberinput6.value + components.numberinput3.value}}" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "{{true}}", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "50" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T19:10:11.302Z", + "layouts": [ + { + "id": "bf8150b9-4844-424e-aac7-2f5ce29068a2", + "type": "desktop", + "top": 770, + "left": 23.255813499544725, + "width": 11.000000000000002, + "height": 40, + "componentId": "533f2158-b780-4cd3-b125-27d71378febf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1575d9c7-ec9e-4896-8de3-ed41c9c59d0d", + "name": "text1", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "21cc53fd-0fb4-41af-bf81-679fc998b58b", + "properties": { + "text": { + "value": "B R A N D" + }, + "loadingState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": "{{0}}" + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "c14097db-da82-4e86-9877-e0f2631f8345", + "type": "desktop", + "top": 10, + "left": 2.325581395348837, + "width": 11, + "height": 40, + "componentId": "1575d9c7-ec9e-4896-8de3-ed41c9c59d0d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0f1b1ca3-1ba9-4e43-8745-0958ef10d202", + "name": "text2", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "21cc53fd-0fb4-41af-bf81-679fc998b58b", + "properties": { + "text": { + "value": "ToolJet admin panel" + }, + "loadingState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-04-26T08:05:53.882Z", + "layouts": [ + { + "id": "ec21ce34-e8b6-4b75-bdfb-056507fcd135", + "type": "desktop", + "top": 10, + "left": 69.76744229792882, + "width": 12, + "height": 40, + "componentId": "0f1b1ca3-1ba9-4e43-8745-0958ef10d202", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "aadf56d4-50be-4a39-b6e9-6dd195b0e15a", + "name": "text38", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "text": { + "value": "Quantity:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "ba0947de-d7ae-4e2b-9749-3aec2a453ced", + "type": "desktop", + "top": 60, + "left": 2.325610506369337, + "width": 8, + "height": 20, + "componentId": "aadf56d4-50be-4a39-b6e9-6dd195b0e15a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "72295e2c-118a-4dbe-8789-10f1975c7f73", + "name": "text39", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "text": { + "value": "Item:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "48fa04f5-fe42-4700-9158-5b702c85def2", + "type": "desktop", + "top": 10, + "left": 2.3255763415511286, + "width": 8, + "height": 30, + "componentId": "72295e2c-118a-4dbe-8789-10f1975c7f73", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "26ee6d6e-1f9b-491a-b095-99b2128d3b30", + "name": "dropdown7", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "label": { + "value": "" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "layouts": [ + { + "id": "8cde6552-ebe2-44f4-a580-18c621c0f3e7", + "type": "desktop", + "top": 10, + "left": 20.930232558139537, + "width": 31.000000000000004, + "height": 30, + "componentId": "26ee6d6e-1f9b-491a-b095-99b2128d3b30", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2546097e-3c6b-4960-a7be-9c8359952307", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "26ee6d6e-1f9b-491a-b095-99b2128d3b30", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "67fb457f-6589-411c-b788-73b339aebd13", + "name": "container2", + "type": "Container", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": null, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-15T00:05:35.654Z", + "layouts": [ + { + "id": "05c65063-096d-438a-9839-a5d65ce5f963", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 41, + "height": 690, + "componentId": "67fb457f-6589-411c-b788-73b339aebd13", + "updatedAt": "2024-05-03T06:59:34.217Z" + } + ] + }, + { + "id": "57899d4e-5161-412d-95eb-117eba5f2211", + "name": "numberinput13", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "value": { + "value": "2" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": { + "minValue": { + "value": "50" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "ce51f9d6-42ed-41d1-b447-7cfd40e2d5a7", + "type": "desktop", + "top": 54, + "left": 20.930232558139537, + "width": 8, + "height": 30, + "componentId": "57899d4e-5161-412d-95eb-117eba5f2211", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f02cda46-05a6-4598-8fa2-239fa7d16ae5", + "name": "text40", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "4836fc49-887a-4fa9-b0a1-44e32dcbd088", + "properties": { + "text": { + "value": "Cost:" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": null, + "validation": {}, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "f95613ed-fca9-49f7-ba49-154e2c6f5f37", + "type": "desktop", + "top": 110, + "left": 2.325575262856696, + "width": 9, + "height": 20, + "componentId": "f02cda46-05a6-4598-8fa2-239fa7d16ae5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9431c509-98d5-4e17-af90-eff1743786a2", + "name": "textinput4", + "type": "TextInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "placeholder": { + "value": "Enter email" + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "" + }, + "regex": { + "value": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$" + } + }, + "createdAt": "2024-01-22T19:21:08.946Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "fe82e739-bcc0-40f0-8217-f1dcdeeaf909", + "type": "desktop", + "top": 90, + "left": 18.604655020124106, + "width": 33, + "height": 40, + "componentId": "9431c509-98d5-4e17-af90-eff1743786a2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "07838e8a-075d-4f10-9d2c-8c760436004c", + "name": "text42", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "text": { + "value": "Category:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "a0806d3f-3caa-4f4f-915d-691789019244", + "type": "desktop", + "top": 60, + "left": 2.325611369146351, + "width": 8, + "height": 20, + "componentId": "07838e8a-075d-4f10-9d2c-8c760436004c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a8378f45-7307-473c-8d3f-4158628cfcc8", + "name": "numberinput10", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "value": { + "value": "20" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "20" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "557ae02c-40b6-4d06-8209-f044d24cba0f", + "type": "desktop", + "top": 94, + "left": 62.79071517669925, + "width": 13.000000000000002, + "height": 30, + "componentId": "a8378f45-7307-473c-8d3f-4158628cfcc8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1126a73b-d6e5-44f9-8d2f-7a2e8e496ccb", + "name": "text35", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "text": { + "value": "Quantity:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "e7f31bad-0ceb-4214-ac51-bd310baeae5f", + "type": "desktop", + "top": 100, + "left": 2.325611369146349, + "width": 8, + "height": 20, + "componentId": "1126a73b-d6e5-44f9-8d2f-7a2e8e496ccb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "760e1267-59d4-4adb-bb11-aaf9656ec1fb", + "name": "text36", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "text": { + "value": "Item:" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "8138379e-bf8f-4504-b186-b922a16e9427", + "type": "desktop", + "top": 10, + "left": 2.3255763415511286, + "width": 8, + "height": 30, + "componentId": "760e1267-59d4-4adb-bb11-aaf9656ec1fb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bb123908-fa2b-470a-9322-7461ed98cc05", + "name": "dropdown9", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"Product A\"}}" + }, + "values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + }, + "display_values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-01-22T20:03:38.252Z", + "layouts": [ + { + "id": "30a14f59-0c47-40b9-886d-644b00a5c7a7", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "bb123908-fa2b-470a-9322-7461ed98cc05", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f219fc96-2a7e-455a-aa3d-712e002c5a1d", + "type": "desktop", + "top": 10, + "left": 20.930234968331128, + "width": 31.000000000000004, + "height": 30, + "componentId": "bb123908-fa2b-470a-9322-7461ed98cc05", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ad4440fd-0305-4e2e-8b49-600b73c526a5", + "name": "text37", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "text": { + "value": "Cost:" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "479e19a4-28a2-4741-ae82-eb96e8f0c46f", + "type": "desktop", + "top": 100, + "left": 51.16279069767442, + "width": 5, + "height": 20, + "componentId": "ad4440fd-0305-4e2e-8b49-600b73c526a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f4fa11b2-1a8b-41fc-bf4b-ba33a62647b9", + "name": "dropdown10", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"Category A\"}}" + }, + "values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + }, + "display_values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-01-22T20:03:38.252Z", + "layouts": [ + { + "id": "c62a03f4-184f-430c-94ca-ababf349426a", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "f4fa11b2-1a8b-41fc-bf4b-ba33a62647b9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d7f4a89b-4da9-4249-badb-0cde700a8654", + "type": "desktop", + "top": 50, + "left": 20.93022617550278, + "width": 31.000000000000004, + "height": 30, + "componentId": "f4fa11b2-1a8b-41fc-bf4b-ba33a62647b9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "60e6c563-e7dd-480e-8919-cbba8a08b36c", + "name": "numberinput9", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "60f6ac16-cf2b-4fe8-b633-a3ac617014b3", + "properties": { + "value": { + "value": "2" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + }, + "label": "" + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + }, + "maxValue": { + "value": "10000" + } + }, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "d892515a-1ae9-4558-9b52-abcf72e4c155", + "type": "desktop", + "top": 94, + "left": 20.93021424610484, + "width": 11, + "height": 30, + "componentId": "60e6c563-e7dd-480e-8919-cbba8a08b36c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d3da89be-593b-4e7e-a0b7-0643f0f509f7", + "name": "text59", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "fe234fd9-b74c-4baa-9c9b-26bd1b8cc8fe", + "properties": { + "text": { + "value": "{{listItem.item}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "e80f521f-831f-4c01-a13f-923e317ddd8a", + "type": "desktop", + "top": 10, + "left": 2.325581340123772, + "width": 8.999999999999998, + "height": 30, + "componentId": "d3da89be-593b-4e7e-a0b7-0643f0f509f7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "42920c55-2e75-414f-9231-21fd3eeb759e", + "name": "text60", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "fe234fd9-b74c-4baa-9c9b-26bd1b8cc8fe", + "properties": { + "text": { + "value": "{{listItem.category}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "09e33bc9-992b-4116-8878-bd9a45dcee35", + "type": "mobile", + "top": 20, + "left": 18.6046511627907, + "width": 13.953488372093023, + "height": 30, + "componentId": "42920c55-2e75-414f-9231-21fd3eeb759e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "350b3da8-3f85-4705-9dab-d98ee6183d36", + "type": "desktop", + "top": 10, + "left": 25.581407505254685, + "width": 10, + "height": 30, + "componentId": "42920c55-2e75-414f-9231-21fd3eeb759e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "39db382b-141b-41aa-981a-69fcf2670a18", + "name": "text61", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "fe234fd9-b74c-4baa-9c9b-26bd1b8cc8fe", + "properties": { + "text": { + "value": "{{listItem.cost}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "47ed4188-3a9a-405a-accd-eb04380bcf66", + "type": "mobile", + "top": 20, + "left": 18.6046511627907, + "width": 13.953488372093023, + "height": 30, + "componentId": "39db382b-141b-41aa-981a-69fcf2670a18", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "fda7fa10-0c7a-4a64-86cf-35e89d02b130", + "type": "desktop", + "top": 10, + "left": 55.81394608354686, + "width": 8, + "height": 30, + "componentId": "39db382b-141b-41aa-981a-69fcf2670a18", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "96e5e586-8e8d-40fd-8ab6-73f342c64050", + "name": "text62", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "fe234fd9-b74c-4baa-9c9b-26bd1b8cc8fe", + "properties": { + "text": { + "value": "{{listItem.quantity}}" + } + }, + "general": null, + "styles": {}, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "fdaa54fe-ae4f-4f75-a697-a37e83055ab9", + "type": "mobile", + "top": 20, + "left": 18.6046511627907, + "width": 13.953488372093023, + "height": 30, + "componentId": "96e5e586-8e8d-40fd-8ab6-73f342c64050", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "345eb1ba-1336-4e2b-894a-83cdb74b1f36", + "type": "desktop", + "top": 10, + "left": 79.069770523496, + "width": 5, + "height": 30, + "componentId": "96e5e586-8e8d-40fd-8ab6-73f342c64050", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c6ce4ad0-4ce7-4897-835f-6ffaf65fb5e0", + "name": "text63", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "dfb1bac0-8678-4b14-be8f-e9d460916487", + "properties": { + "text": { + "value": "Category" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#666666ff", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "{{10}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "5e25985d-c0a3-459e-a640-fc0a1e623ea2", + "type": "desktop", + "top": 10, + "left": 25.581391205039903, + "width": 11, + "height": 30, + "componentId": "c6ce4ad0-4ce7-4897-835f-6ffaf65fb5e0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "80f4c2fc-e01f-421e-957a-29f0de91a2e9", + "name": "text64", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "dfb1bac0-8678-4b14-be8f-e9d460916487", + "properties": { + "text": { + "value": "Cost" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#666666ff", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "{{8}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "a624f8fb-6a93-450b-af8c-d76f5a787c9e", + "type": "desktop", + "top": 10, + "left": 55.8139058034457, + "width": 7, + "height": 30, + "componentId": "80f4c2fc-e01f-421e-957a-29f0de91a2e9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "53e5fc50-be4e-4809-99de-5919da3c369c", + "name": "text65", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "dfb1bac0-8678-4b14-be8f-e9d460916487", + "properties": { + "text": { + "value": "Item" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#666666ff", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "{{10}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "bd920e53-9fe4-4d48-9674-b22f4f6c3e5e", + "type": "desktop", + "top": 10, + "left": 2.3255828820984954, + "width": 8, + "height": 30, + "componentId": "53e5fc50-be4e-4809-99de-5919da3c369c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4310d4c8-35ce-4d22-8bdf-69ef2a210b9a", + "name": "text66", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "dfb1bac0-8678-4b14-be8f-e9d460916487", + "properties": { + "text": { + "value": "Quantity" + } + }, + "general": null, + "styles": { + "textColor": { + "value": "#666666ff", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-01-22T20:03:38.252Z", + "updatedAt": "2024-02-28T16:34:54.683Z", + "layouts": [ + { + "id": "24fad2fd-30ea-4b31-b03c-8c65ee2787ff", + "type": "desktop", + "top": 10, + "left": 79.06977592347783, + "width": 7, + "height": 30, + "componentId": "4310d4c8-35ce-4d22-8bdf-69ef2a210b9a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bafc0ba9-ac86-4f1d-8542-77fa0e182ec9", + "name": "table2", + "type": "Table", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "enablePagination": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "data": { + "value": "{{variables.items}}" + }, + "columns": { + "value": [ + { + "id": "1592e521-3bb9-4ec1-bb70-aa77a1388be1", + "name": "item", + "key": "item", + "columnType": "string", + "autogenerated": true + }, + { + "id": "efcc7580-faa4-4307-8fca-77309ebd4e7e", + "name": "category", + "key": "category", + "columnType": "string", + "autogenerated": true + }, + { + "id": "19d70c4f-2c01-4812-b3d3-914c58532856", + "name": "quantity", + "key": "quantity", + "columnType": "string", + "autogenerated": true + }, + { + "id": "5cec7503-6fc8-4026-8cec-0c07dedc3647", + "name": "cost", + "key": "cost", + "columnType": "string", + "autogenerated": true + } + ] + }, + "columnSizes": { + "value": { + "1592e521-3bb9-4ec1-bb70-aa77a1388be1": 104, + "efcc7580-faa4-4307-8fca-77309ebd4e7e": 115, + "19d70c4f-2c01-4812-b3d3-914c58532856": 95, + "5cec7503-6fc8-4026-8cec-0c07dedc3647": 18 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "⛌", + "events": [], + "position": "right" + } + ] + }, + "columnDeletionHistory": { + "value": [ + "id" + ] + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "10" + }, + "actionButtonRadius": { + "value": "5" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T10:08:23.831Z", + "updatedAt": "2024-05-02T07:53:34.223Z", + "layouts": [ + { + "id": "dbf30618-8c37-445e-b99a-1f77399bcd18", + "type": "mobile", + "top": 350, + "left": 4.651162790697675, + "width": 67.11627906976744, + "height": 456, + "componentId": "bafc0ba9-ac86-4f1d-8542-77fa0e182ec9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a347b6ff-a99e-4697-bed8-e742145cbb17", + "type": "desktop", + "top": 396, + "left": 18.60463958035495, + "width": 33, + "height": 250, + "componentId": "bafc0ba9-ac86-4f1d-8542-77fa0e182ec9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "54d58e38-a93b-44ff-97a4-c8c61a96e902", + "name": "text46", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "properties": { + "text": { + "value": "Items :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T19:12:09.015Z", + "updatedAt": "2024-03-14T19:12:21.236Z", + "layouts": [ + { + "id": "02e6ec83-6d35-4430-b960-332fbdaf4084", + "type": "desktop", + "top": 400, + "left": 4.651172313607898, + "width": 6, + "height": 40, + "componentId": "54d58e38-a93b-44ff-97a4-c8c61a96e902", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c315f562-ebcb-48ee-aad2-c40a0e55b766", + "name": "text51", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Delivery :" + } + }, + "general": null, + "styles": { + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "a34de0ad-1078-4fea-bf76-c1037e9c7df3", + "type": "desktop", + "top": 710, + "left": 51.16277230624662, + "width": 6, + "height": 40, + "componentId": "c315f562-ebcb-48ee-aad2-c40a0e55b766", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c2f405a7-551f-4db6-b0aa-ed2a6d51bcff", + "name": "text52", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Name :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "d82c35e1-06b2-4027-81df-846cfc45e337", + "type": "desktop", + "top": 30, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "c2f405a7-551f-4db6-b0aa-ed2a6d51bcff", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "42378612-c892-4a26-8376-26e080110a34", + "name": "text53", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "0597a9d9-b390-4ddc-9716-5169115436f1", + "type": "desktop", + "top": 710, + "left": 65.11629402839891, + "width": 2, + "height": 40, + "componentId": "42378612-c892-4a26-8376-26e080110a34", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fbcdfde6-212e-450e-a767-ef5ea4af0754", + "name": "dropdown11", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"Product A\"}}" + }, + "values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + }, + "display_values": { + "value": "{{[\"Product A\", \"Product B\", \"Product C\",\"Product X\", \"Product Y\", \"Product Z\"]}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-15T00:12:31.646Z", + "layouts": [ + { + "id": "c043bc14-d9ff-4762-8ace-232ef3d9c857", + "type": "desktop", + "top": 20, + "left": 23.255799284714417, + "width": 31, + "height": 40, + "componentId": "fbcdfde6-212e-450e-a767-ef5ea4af0754", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e2ffee44-163d-4c96-a0be-966ec799b0d1", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "fbcdfde6-212e-450e-a767-ef5ea4af0754", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1741752f-9b52-4cfb-a20a-badc026f7bf4", + "name": "dropdown12", + "type": "DropDown", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"Category A\"}}" + }, + "values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + }, + "display_values": { + "value": "{{[\"Category A\", \"Category B\", \"Category C\",\"Category X\", \"Category Y\", \"Category Z\"]}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-15T00:12:39.245Z", + "layouts": [ + { + "id": "3ea8efd5-2681-4242-b294-b5df622612b3", + "type": "desktop", + "top": 70, + "left": 23.25581316164316, + "width": 31, + "height": 40, + "componentId": "1741752f-9b52-4cfb-a20a-badc026f7bf4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f3803cd1-9936-4b84-bc3a-e99a3d376115", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 18.6046511627907, + "height": 30, + "componentId": "1741752f-9b52-4cfb-a20a-badc026f7bf4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "09eaf419-6fc3-4b48-95aa-d9508ddc1b22", + "name": "numberinput17", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "value": { + "value": "2" + }, + "label": "", + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + }, + "maxValue": { + "value": "10000" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "ba7e2b36-dc27-42e2-9249-450c9e73ce82", + "type": "desktop", + "top": 120, + "left": 23.255838264502607, + "width": 11, + "height": 40, + "componentId": "09eaf419-6fc3-4b48-95aa-d9508ddc1b22", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "38bd9782-0119-4433-a33b-1bd113366aab", + "name": "container8", + "type": "Container", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": {}, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-15T00:10:34.657Z", + "layouts": [ + { + "id": "6b11ac3f-58af-4fd2-9bf9-e546a8139a7c", + "type": "desktop", + "top": 150, + "left": 18.604647271804374, + "width": 33, + "height": 190, + "componentId": "38bd9782-0119-4433-a33b-1bd113366aab", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "de14b6bc-9aaf-4f45-9c08-336391b98219", + "type": "mobile", + "top": 290, + "left": 48.83720930232558, + "width": 11.627906976744185, + "height": 200, + "componentId": "38bd9782-0119-4433-a33b-1bd113366aab", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "47c22a60-c8df-4643-ae68-4bdf48398410", + "name": "text48", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "text": { + "value": "Item :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "6265f7f4-44e4-49c9-bfff-11f2dd7eaaf9", + "type": "desktop", + "top": 20, + "left": 4.651138072253336, + "width": 8, + "height": 40, + "componentId": "47c22a60-c8df-4643-ae68-4bdf48398410", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "977e32a1-75d9-4d37-8132-e8a090c5bf27", + "name": "numberinput19", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.delivery}}" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + }, + "auto": { + "value": true + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:15:43.393Z", + "layouts": [ + { + "id": "e8624d45-6314-4175-8df7-2a9a72af658b", + "type": "desktop", + "top": 710, + "left": 69.76743977293398, + "width": 11.000000000000002, + "height": 40, + "componentId": "977e32a1-75d9-4d37-8132-e8a090c5bf27", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "140209b1-f192-451d-af9a-4f0629d2212e", + "name": "text67", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Email :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "e789132e-58f1-42a9-8cd1-101bb1ac6532", + "type": "desktop", + "top": 90, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "140209b1-f192-451d-af9a-4f0629d2212e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1d4ad218-f364-4751-b065-5b1700409867", + "name": "text68", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Add items :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "570bc1aa-2c1b-4b35-9fd4-80a3a4382e49", + "type": "desktop", + "top": 150, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "1d4ad218-f364-4751-b065-5b1700409867", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "53788c76-3718-4be9-a527-0fcf53a1e1fd", + "name": "divider6", + "type": "Divider", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": {}, + "general": null, + "styles": { + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "1c337086-feb4-45c1-bb26-2d549294bbfa", + "type": "desktop", + "top": 672, + "left": 0, + "width": 43, + "height": -172, + "componentId": "53788c76-3718-4be9-a527-0fcf53a1e1fd", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9efe2f48-cd1e-47c4-8073-3394d8a6ba62", + "name": "text69", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Subtotal :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "21ddd1fe-12ef-4274-a105-3e0d7bfa2df9", + "type": "desktop", + "top": 710, + "left": 4.651162651133472, + "width": 6, + "height": 40, + "componentId": "9efe2f48-cd1e-47c4-8073-3394d8a6ba62", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "05ccce93-81ba-414b-a0b9-8845c925c2a2", + "name": "text70", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Total cost :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "f4982b34-f0d8-4348-a85d-661da843e5ec", + "type": "desktop", + "top": 770, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "05ccce93-81ba-414b-a0b9-8845c925c2a2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0fa9a59b-0510-426e-b7d4-8785cfced3c7", + "name": "text71", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "72348ca9-b1bd-4891-8804-7eda6f9bc469", + "type": "desktop", + "top": 770, + "left": 18.60466432035639, + "width": 2, + "height": 40, + "componentId": "0fa9a59b-0510-426e-b7d4-8785cfced3c7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5c76401e-3109-4454-b6c5-6636f0d7973a", + "name": "text72", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "$ " + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "425984bb-3656-4739-ba99-a1d2107f09e2", + "type": "desktop", + "top": 710, + "left": 18.604655748002983, + "width": 2, + "height": 40, + "componentId": "5c76401e-3109-4454-b6c5-6636f0d7973a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f1cad135-d608-4c57-b668-f773e92e1b9e", + "name": "table3", + "type": "Table", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "data": { + "value": "{{variables.items}}" + }, + "enablePagination": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{false}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "columns": { + "value": [ + { + "id": "1592e521-3bb9-4ec1-bb70-aa77a1388be1", + "name": "item", + "key": "item", + "columnType": "string" + }, + { + "id": "efcc7580-faa4-4307-8fca-77309ebd4e7e", + "name": "category", + "key": "category", + "columnType": "string" + }, + { + "id": "19d70c4f-2c01-4812-b3d3-914c58532856", + "name": "quantity", + "key": "quantity", + "columnType": "string" + }, + { + "id": "5cec7503-6fc8-4026-8cec-0c07dedc3647", + "name": "cost", + "key": "cost", + "columnType": "string", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "1592e521-3bb9-4ec1-bb70-aa77a1388be1": 104, + "efcc7580-faa4-4307-8fca-77309ebd4e7e": 115, + "19d70c4f-2c01-4812-b3d3-914c58532856": 95, + "5cec7503-6fc8-4026-8cec-0c07dedc3647": 18 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "⛌", + "events": [], + "position": "right" + } + ] + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id" + ] + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.addItem.isLoading || queries.deleteItem.isLoading || queries.calculateSubtotal.isLoading}}" + } + }, + "general": null, + "styles": { + "actionButtonRadius": { + "value": "5" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-05-02T07:53:34.223Z", + "layouts": [ + { + "id": "3de19a14-a85a-4385-af1b-5e2f7fb38b2e", + "type": "mobile", + "top": 350, + "left": 4.651162790697675, + "width": 67.11627906976744, + "height": 456, + "componentId": "f1cad135-d608-4c57-b668-f773e92e1b9e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9d3134d7-1232-4b9c-bb4b-6154ef635bed", + "type": "desktop", + "top": 396, + "left": 18.60464992912071, + "width": 33, + "height": 250, + "componentId": "f1cad135-d608-4c57-b668-f773e92e1b9e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "02cfb236-c35e-473b-9f44-a9082548b4ed", + "name": "text73", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Items :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "9e74a41f-9c33-4eda-85c1-82a913f23822", + "type": "desktop", + "top": 400, + "left": 4.651172298848535, + "width": 6, + "height": 40, + "componentId": "02cfb236-c35e-473b-9f44-a9082548b4ed", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ba4ebccb-90ee-490c-a456-b11d557bc511", + "name": "textinput7", + "type": "TextInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "label": "", + "placeholder": { + "value": "Enter email" + }, + "value": { + "value": "{{components.table1.selectedRow.email}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "regex": { + "value": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$" + }, + "customRule": { + "value": "" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:02:12.508Z", + "layouts": [ + { + "id": "bdbe9076-3cf3-4a8d-9212-b8005055e7fd", + "type": "desktop", + "top": 90, + "left": 18.604658925443417, + "width": 33, + "height": 40, + "componentId": "ba4ebccb-90ee-490c-a456-b11d557bc511", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b994ef3a-b88b-4af8-b1fe-18034b185e78", + "name": "numberinput20", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "value": { + "value": "{{queries.calculateSubtotal.data}}" + }, + "label": "", + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "{{true}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "100000000" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "0b0c7ccf-4c21-4be7-83fa-d207059c477c", + "type": "desktop", + "top": 710, + "left": 23.255821408274706, + "width": 11.000000000000002, + "height": 40, + "componentId": "b994ef3a-b88b-4af8-b1fe-18034b185e78", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fb20edad-05d6-4fe9-ba61-f5c1c3a4510c", + "name": "numberinput21", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "value": { + "value": "{{components.numberinput20.value + components.numberinput19.value}}" + }, + "label": "", + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "{{true}}", + "fxActive": false + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "50" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:18:53.377Z", + "layouts": [ + { + "id": "c3ab3340-6329-41ee-aedc-ad55e210c468", + "type": "desktop", + "top": 770, + "left": 23.255816888543485, + "width": 11.000000000000002, + "height": 40, + "componentId": "fb20edad-05d6-4fe9-ba61-f5c1c3a4510c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6d3d40e3-50fa-42cb-add2-0023ca6f1421", + "name": "divider7", + "type": "Divider", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": {}, + "general": null, + "styles": { + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "70666cf2-3953-4e06-b3e6-80c462ff8df3", + "type": "desktop", + "top": 842, + "left": 0.000005182645292478583, + "width": 43, + "height": -5, + "componentId": "6d3d40e3-50fa-42cb-add2-0023ca6f1421", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "eaa3eddf-9904-438b-b73c-c7fbfd32c68e", + "name": "button9", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "b7f13ebd-dc4f-41eb-9815-a1e1a95542b1", + "type": "desktop", + "top": 880, + "left": 60.46513815318758, + "width": 7, + "height": 40, + "componentId": "eaa3eddf-9904-438b-b73c-c7fbfd32c68e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "88df252a-1093-49a6-95f2-7408e48052a8", + "name": "button10", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.updateCustomer.isLoading}}", + "fxActive": true + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:42:06.073Z", + "layouts": [ + { + "id": "67e09c1e-7a91-408f-9759-200a4f861abc", + "type": "desktop", + "top": 880, + "left": 79.06980296937982, + "width": 7.000000000000001, + "height": 40, + "componentId": "88df252a-1093-49a6-95f2-7408e48052a8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7476dd2d-8d9a-46db-821b-71c60f8d7f9f", + "name": "text47", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "text": { + "value": "Quantity :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "bf1a6ead-0af2-42ab-807e-c71b9b694066", + "type": "desktop", + "top": 120, + "left": 4.6511814166601, + "width": 8, + "height": 40, + "componentId": "7476dd2d-8d9a-46db-821b-71c60f8d7f9f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a10834f9-2f6d-4d09-97f2-6ae7a6d60f7e", + "name": "textinput6", + "type": "TextInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter name" + }, + "value": { + "value": "{{components.table1.selectedRow.customer_name}}" + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:00:43.621Z", + "layouts": [ + { + "id": "14d06288-1bc1-4611-a5b4-2f2421454f69", + "type": "desktop", + "top": 30, + "left": 18.604639097676362, + "width": 33, + "height": 40, + "componentId": "a10834f9-2f6d-4d09-97f2-6ae7a6d60f7e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1c1d6d9f-67da-447e-9666-491337509af5", + "name": "modal2", + "type": "Modal", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": null, + "properties": { + "title": { + "value": "Update customer details" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "950px" + } + }, + "general": null, + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T23:41:27.263Z", + "layouts": [ + { + "id": "90d80ce2-b70d-414f-bb8a-217fa8d8e6a5", + "type": "desktop", + "top": 840, + "left": 13.953472960342543, + "width": 4, + "height": 40, + "componentId": "1c1d6d9f-67da-447e-9666-491337509af5", + "updatedAt": "2024-05-03T06:59:40.759Z" + } + ] + }, + { + "id": "5e42c800-8edd-4deb-8353-c7012a858656", + "name": "numberinput18", + "type": "NumberInput", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "value": { + "value": "20" + }, + "label": "", + "placeholder": { + "value": "" + }, + "disabledState": { + "value": "", + "fxActive": false + } + }, + "general": null, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#0000001f", + "fxActive": false + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "20" + }, + "maxValue": { + "value": "100000" + } + }, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "04f55012-944a-4772-873e-7e7d18b8dd23", + "type": "desktop", + "top": 120, + "left": 65.11628582707674, + "width": 12.999999999999998, + "height": 40, + "componentId": "5e42c800-8edd-4deb-8353-c7012a858656", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "980c6d39-2861-4583-acd7-3c0405185167", + "name": "text49", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "text": { + "value": "Cost :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "e6d14a9e-8b33-4507-af41-70b5be38de51", + "type": "desktop", + "top": 120, + "left": 53.488392907403686, + "width": 5, + "height": 40, + "componentId": "980c6d39-2861-4583-acd7-3c0405185167", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ed126469-b9d8-4204-b753-4cb414fc67cb", + "name": "text50", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "38bd9782-0119-4433-a33b-1bd113366aab", + "properties": { + "text": { + "value": "Category :" + } + }, + "general": null, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "37b5d56c-c582-434b-9197-48a665631a16", + "type": "desktop", + "top": 70, + "left": 4.6511875791695845, + "width": 8, + "height": 40, + "componentId": "ed126469-b9d8-4204-b753-4cb414fc67cb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f7564fad-03b5-4939-9860-dbb090cf68a8", + "name": "button11", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "1c1d6d9f-67da-447e-9666-491337509af5", + "properties": { + "text": { + "value": "+ Add item" + } + }, + "general": null, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-14T21:54:05.141Z", + "updatedAt": "2024-03-14T21:54:05.141Z", + "layouts": [ + { + "id": "576f5fcc-33a2-4727-8e27-f793c36c91b6", + "type": "desktop", + "top": 340, + "left": 18.60466651941573, + "width": 33, + "height": 40, + "componentId": "f7564fad-03b5-4939-9860-dbb090cf68a8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "name": "modal3", + "type": "Modal", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": null, + "properties": { + "title": { + "value": "Confirm customer deletion" + }, + "size": { + "value": "sm" + }, + "modalHeight": { + "value": "200px" + }, + "useDefaultButton": { + "value": "{{false}}" + } + }, + "general": null, + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-18T16:34:29.046Z", + "updatedAt": "2024-03-18T16:57:03.628Z", + "layouts": [ + { + "id": "cf091630-4f5f-4f98-b3ef-a0fcc36eee5a", + "type": "desktop", + "top": 840, + "left": 25.58139898838141, + "width": 4, + "height": 40, + "componentId": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "updatedAt": "2024-05-03T06:59:40.759Z" + }, + { + "id": "a9aaf0ec-c873-4499-8a31-e4650c371636", + "type": "mobile", + "top": 780, + "left": 27.906976744186046, + "width": 10, + "height": 34, + "componentId": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "dfb1e856-81d1-4236-b54f-f51999499488", + "name": "text54", + "type": "Text", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "properties": { + "text": { + "value": "⚠️ Warning: This action is irreversible.\n
\nAre you sure you want to delete the customer?" + } + }, + "general": null, + "styles": { + "textAlign": { + "value": "center" + }, + "textSize": { + "value": "18" + }, + "verticalAlignment": { + "value": "top" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-18T16:35:23.997Z", + "updatedAt": "2024-03-18T16:52:45.833Z", + "layouts": [ + { + "id": "8c0baffc-b225-46f3-a336-ae2623212fdc", + "type": "desktop", + "top": 20, + "left": 6.976743194730793, + "width": 37, + "height": 100, + "componentId": "dfb1e856-81d1-4236-b54f-f51999499488", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5c3b12d7-63c8-438a-a788-90c9c1938c28", + "type": "mobile", + "top": 80, + "left": 37.2093023255814, + "width": 13.953488372093023, + "height": 40, + "componentId": "dfb1e856-81d1-4236-b54f-f51999499488", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a04abb8a-0bbd-41c5-b4bf-e5c252d0cc97", + "name": "button8", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": null, + "styles": { + "borderColor": { + "value": "#375fcfff" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#375fcfff" + }, + "loaderColor": { + "value": "#375fcfff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-18T16:40:44.429Z", + "updatedAt": "2024-03-18T16:44:34.802Z", + "layouts": [ + { + "id": "112447df-8b87-45d3-968a-f174c0613e4f", + "type": "mobile", + "top": 220, + "left": 18.6046511627907, + "width": 6.976744186046512, + "height": 30, + "componentId": "a04abb8a-0bbd-41c5-b4bf-e5c252d0cc97", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d3112b06-3a21-4f8c-9d89-bc426d269230", + "type": "desktop", + "top": 130, + "left": 6.97672868203354, + "width": 18, + "height": 40, + "componentId": "a04abb8a-0bbd-41c5-b4bf-e5c252d0cc97", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d54d72cf-9ae1-4cc0-b595-b86c751958a0", + "name": "button12", + "type": "Button", + "pageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "parent": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "properties": { + "text": { + "value": "Confirm" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.deleteCustomer.isLoading}}" + } + }, + "general": null, + "styles": { + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": null, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-03-18T16:41:20.531Z", + "updatedAt": "2024-03-18T16:56:34.380Z", + "layouts": [ + { + "id": "06d0a240-53aa-4539-908f-16408cf94a2c", + "type": "mobile", + "top": 220, + "left": 18.6046511627907, + "width": 6.976744186046512, + "height": 30, + "componentId": "d54d72cf-9ae1-4cc0-b595-b86c751958a0", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "215f9f9c-2316-4b7c-9d4a-4db7deee7cfe", + "type": "desktop", + "top": 130, + "left": 51.16278634978313, + "width": 18, + "height": 40, + "componentId": "d54d72cf-9ae1-4cc0-b595-b86c751958a0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + } + ], + "pages": [ + { + "id": "3676a371-bd53-454a-8288-8e2cca337ff8", + "name": "Home", + "handle": "home", + "index": 0, + "disabled": false, + "hidden": false, + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-15T11:38:19.133Z", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0" + } + ], + "events": [ + { + "id": "902549f6-9c12-4425-bf60-7c7947327fb7", + "name": "onClick", + "index": 0, + "event": { + "modal": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "d792eae4-0f37-4942-b1df-9dfd83283130", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-01-22T12:22:16.998Z" + }, + { + "id": "6f73216a-7171-4f6e-b687-eb825940b261", + "name": "onClick", + "index": 2, + "event": { + "modal": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "a3ad1e68-10d1-4b00-a917-69af8837c912", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-15T11:38:19.133Z", + "updatedAt": "2024-03-14T23:56:57.373Z" + }, + { + "id": "e8b92ee5-430c-4906-ba22-d6704471c3e2", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "88b98f56-cd4a-4fa2-8517-00570c933931", + "actionId": "run-query", + "alertType": "info", + "queryName": "runjs4", + "parameters": {} + }, + "sourceId": "cea39252-0cc9-458f-af50-bf06e82e8089", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:13:48.927Z", + "updatedAt": "2024-03-14T23:06:41.914Z" + }, + { + "id": "18b522ab-b4ae-43cb-a776-124cf0bbca7e", + "name": "onClick", + "index": 0, + "event": { + "key": "items", + "value": "{{[]}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "a3ad1e68-10d1-4b00-a917-69af8837c912", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:21:14.378Z", + "updatedAt": "2024-03-14T23:56:57.373Z" + }, + { + "id": "fb66c3c4-7bb6-4f35-b2ea-3dacdeff782d", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "actionId": "run-query", + "alertType": "info", + "queryName": "calculateSubtotal", + "parameters": {} + }, + "sourceId": "88b98f56-cd4a-4fa2-8517-00570c933931", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:30:49.898Z", + "updatedAt": "2024-03-14T23:21:28.165Z" + }, + { + "id": "b46ccbf0-59a5-4cac-8632-021ae7f55da5", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "31729b65-f760-4688-ac4f-80023eb603e3", + "actionId": "run-query", + "debounce": "", + "alertType": "info", + "queryName": "addCustomer", + "parameters": {} + }, + "sourceId": "979b6415-a171-4e56-82de-efc8480de14c", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T19:26:58.775Z", + "updatedAt": "2024-01-22T19:27:33.031Z" + }, + { + "id": "7245684b-368c-4240-9652-331bfec0c90a", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "eab81981-a5b1-412c-9a1f-f8d596e917a8", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "31729b65-f760-4688-ac4f-80023eb603e3", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T19:29:41.759Z", + "updatedAt": "2024-03-14T23:49:04.655Z" + }, + { + "id": "410cf9af-0a4e-4db2-b100-fb08df110107", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e31b31b0-7fca-468e-9d64-6f38bda9950a", + "actionId": "run-query", + "alertType": "info", + "queryName": "listCustomers", + "parameters": {} + }, + "sourceId": "31729b65-f760-4688-ac4f-80023eb603e3", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T19:30:43.514Z", + "updatedAt": "2024-03-14T23:50:18.254Z" + }, + { + "id": "9400a8c1-ea8e-43d4-990f-77511e105bcd", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "actionId": "run-query", + "alertType": "info", + "queryName": "calculateSubtotal", + "parameters": {} + }, + "sourceId": "c63326b1-fa1a-427b-bb89-2f7b3364196c", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T19:21:53.885Z", + "updatedAt": "2024-03-14T23:21:05.854Z" + }, + { + "id": "4fbfb178-f649-430b-bdcf-50bc9d701101", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "88b98f56-cd4a-4fa2-8517-00570c933931", + "actionId": "run-query", + "alertType": "info", + "queryName": "runjs4", + "parameters": {} + }, + "sourceId": "f7564fad-03b5-4939-9860-dbb090cf68a8", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T21:54:17.630Z", + "updatedAt": "2024-03-14T23:11:13.911Z" + }, + { + "id": "40a1ecd0-aa71-4381-af6d-980f1f11309e", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "actionId": "run-query", + "debounce": "", + "alertType": "info", + "queryName": "updateCustomer", + "parameters": {} + }, + "sourceId": "88df252a-1093-49a6-95f2-7408e48052a8", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T21:54:17.896Z", + "updatedAt": "2024-03-14T23:42:11.830Z" + }, + { + "id": "2bb52d49-24a3-45e4-86e7-94adc347b497", + "name": "onClick", + "index": 0, + "event": { + "modal": "1c1d6d9f-67da-447e-9666-491337509af5", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "eaa3eddf-9904-438b-b73c-c7fbfd32c68e", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T21:54:18.085Z", + "updatedAt": "2024-03-14T23:35:43.479Z" + }, + { + "id": "e34322a3-4b74-4cce-98cc-1765c84c7b33", + "name": "onClick", + "index": 1, + "event": { + "ref": "Action0", + "modal": "1c1d6d9f-67da-447e-9666-491337509af5", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T22:58:12.287Z", + "updatedAt": "2024-03-20T05:45:17.512Z" + }, + { + "id": "0fc6d6cf-a51c-4979-9c36-b000f794f06a", + "name": "onClick", + "index": 0, + "event": { + "key": "newItem", + "value": "{{({\n item: components.dropdown5.value,\n category: components.dropdown6.value,\n quantity: components.numberinput7.value,\n cost: components.numberinput8.value,\n})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "cea39252-0cc9-458f-af50-bf06e82e8089", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:04:26.559Z", + "updatedAt": "2024-03-14T23:06:41.914Z" + }, + { + "id": "6b3b7f40-68d8-4038-bfb2-be1e1b4f063d", + "name": "onClick", + "index": 0, + "event": { + "key": "newItem", + "value": "{{({\n item: components.dropdown11.value,\n category: components.dropdown12.value,\n quantity: components.numberinput17.value,\n cost: components.numberinput18.value,\n})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "f7564fad-03b5-4939-9860-dbb090cf68a8", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:10:25.881Z", + "updatedAt": "2024-03-14T23:11:13.911Z" + }, + { + "id": "44cf06ba-cc65-43cd-91df-babb020a1ba9", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "actionId": "run-query", + "alertType": "info", + "queryName": "calculateSubtotal", + "parameters": {} + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:14:35.453Z", + "updatedAt": "2024-03-20T05:45:17.512Z" + }, + { + "id": "6f8b54b9-8cbe-474a-b2f9-aed4b04a8fd4", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "1c1d6d9f-67da-447e-9666-491337509af5", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:45:18.045Z", + "updatedAt": "2024-03-14T23:45:30.835Z" + }, + { + "id": "bfddb76f-a421-41d3-8946-571da231bbd7", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Customer details updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:45:33.782Z", + "updatedAt": "2024-03-14T23:46:00.977Z" + }, + { + "id": "8191a4c0-bf73-4197-adce-792821c2ddb2", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e31b31b0-7fca-468e-9d64-6f38bda9950a", + "actionId": "run-query", + "alertType": "info", + "queryName": "listCustomers", + "parameters": {} + }, + "sourceId": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:46:07.321Z", + "updatedAt": "2024-03-14T23:46:20.595Z" + }, + { + "id": "d0eae1eb-0a29-46e4-a63a-7b250687be6d", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update customer details! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:46:28.145Z", + "updatedAt": "2024-03-14T23:51:51.333Z" + }, + { + "id": "3ad8c142-df32-482d-b418-ed1e839bdb8b", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Customer added successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "31729b65-f760-4688-ac4f-80023eb603e3", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:50:06.526Z", + "updatedAt": "2024-03-14T23:50:45.832Z" + }, + { + "id": "d029e5b9-409d-4ed6-9887-c6215e4235d0", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to add customer! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "31729b65-f760-4688-ac4f-80023eb603e3", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:51:56.696Z", + "updatedAt": "2024-03-14T23:52:17.164Z" + }, + { + "id": "12176a3f-9bd5-417e-8f1b-f534fc4e2e61", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "actionId": "run-query", + "alertType": "info", + "queryName": "calculateSubtotal", + "parameters": {} + }, + "sourceId": "a3ad1e68-10d1-4b00-a917-69af8837c912", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T23:56:39.662Z", + "updatedAt": "2024-03-14T23:56:57.373Z" + }, + { + "id": "993a4b10-b780-435f-a3d6-801ecf6fcff3", + "name": "onClick", + "index": 0, + "event": { + "key": "items", + "ref": "Action1", + "value": "{{JSON.parse(components.table1.selectedRow.items).map((row, n) => ({...row, id: n}))}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-15T00:06:23.996Z", + "updatedAt": "2024-03-15T00:06:50.508Z" + }, + { + "id": "aa3aac2a-d4df-4e58-a868-f6b26fde4460", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action1", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "actionId": "run-query", + "alertType": "info", + "queryName": "calculateSubtotal", + "parameters": {} + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-15T00:07:05.159Z", + "updatedAt": "2024-03-20T05:45:17.512Z" + }, + { + "id": "c12f6b3c-9c3e-4ef4-8f99-0f06e732c142", + "name": "onClick", + "index": 1, + "event": { + "ref": "Action1", + "modal": "1c1d6d9f-67da-447e-9666-491337509af5", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-15T00:07:42.751Z", + "updatedAt": "2024-03-20T05:45:17.512Z" + }, + { + "id": "88dbf125-cdb1-4033-80ec-79e42bfc33fb", + "name": "onClick", + "index": 0, + "event": { + "modal": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "a04abb8a-0bbd-41c5-b4bf-e5c252d0cc97", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:45:52.345Z", + "updatedAt": "2024-03-18T16:46:02.514Z" + }, + { + "id": "d0b5700d-a458-4099-8a03-30c1e83eef5c", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "f5e88aae-6462-4472-89f6-950f05f8739d", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteCustomer", + "parameters": {} + }, + "sourceId": "d54d72cf-9ae1-4cc0-b595-b86c751958a0", + "target": "component", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:46:10.135Z", + "updatedAt": "2024-03-18T16:56:44.891Z" + }, + { + "id": "ab05f21d-6c77-48fa-910b-fad69be7f0d3", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action2", + "modal": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "53fb4eb4-c28d-4dca-9652-041a863f09e9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:48:05.586Z", + "updatedAt": "2024-03-18T16:49:59.422Z" + }, + { + "id": "cc0824a6-6f8c-4b1c-8007-b8e68d46ea29", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "2d240192-b170-4134-bc1f-e16a3aeb1d85", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "f5e88aae-6462-4472-89f6-950f05f8739d", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:55:09.161Z", + "updatedAt": "2024-03-18T16:55:17.710Z" + }, + { + "id": "d8128c7a-63bb-4d3e-97cc-c2321d48bf33", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Customer deleted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "f5e88aae-6462-4472-89f6-950f05f8739d", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:55:20.007Z", + "updatedAt": "2024-03-18T16:55:39.617Z" + }, + { + "id": "cccd8ca6-4c62-49f2-839e-787f0f405695", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e31b31b0-7fca-468e-9d64-6f38bda9950a", + "actionId": "run-query", + "alertType": "info", + "queryName": "listCustomers", + "parameters": {} + }, + "sourceId": "f5e88aae-6462-4472-89f6-950f05f8739d", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:55:41.648Z", + "updatedAt": "2024-03-18T16:55:48.701Z" + }, + { + "id": "025ff150-9aeb-48ec-8171-6125b6826f6b", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to delete customer! Please check and try again.", + "actionId": "show-alert", + "alertType": "info" + }, + "sourceId": "f5e88aae-6462-4472-89f6-950f05f8739d", + "target": "data_query", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:55:51.621Z", + "updatedAt": "2024-03-18T16:56:16.929Z" + }, + { + "id": "33027df5-623b-42f4-b91a-dad920830fda", + "name": "onClick", + "index": 0, + "event": { + "key": "deletedItemId", + "ref": "Action0", + "value": "{{components.table2.selectedRow.id}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "bafc0ba9-ac86-4f1d-8542-77fa0e182ec9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-19T08:01:13.158Z", + "updatedAt": "2024-03-19T08:01:53.515Z" + }, + { + "id": "d4cae0df-bd27-4e1e-a66b-d00339edc77b", + "name": "onClick", + "index": 1, + "event": { + "ref": "Action0", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "c63326b1-fa1a-427b-bb89-2f7b3364196c", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteItem", + "parameters": {} + }, + "sourceId": "bafc0ba9-ac86-4f1d-8542-77fa0e182ec9", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-19T08:01:56.529Z", + "updatedAt": "2024-03-19T08:02:12.119Z" + }, + { + "id": "28c2dd1f-acc9-4871-a679-02974baa9c2c", + "name": "onClick", + "index": 0, + "event": { + "key": "deletedItemId", + "ref": "Action0", + "value": "{{components.table3.selectedRow.id}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "f1cad135-d608-4c57-b668-f773e92e1b9e", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-19T08:02:25.197Z", + "updatedAt": "2024-03-19T08:02:52.376Z" + }, + { + "id": "ccea8fdb-0bb8-4340-b296-9910244054fa", + "name": "onClick", + "index": 1, + "event": { + "ref": "Action0", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "c63326b1-fa1a-427b-bb89-2f7b3364196c", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteItem", + "parameters": {} + }, + "sourceId": "f1cad135-d608-4c57-b668-f773e92e1b9e", + "target": "table_action", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-19T08:02:53.918Z", + "updatedAt": "2024-03-19T08:03:02.581Z" + } + ], + "dataQueries": [ + { + "id": "88b98f56-cd4a-4fa2-8517-00570c933931", + "name": "addItem", + "options": { + "code": "let items = variables.items;\n\nconst newItem = {\n ...variables.newItem,\n id: items.length,\n};\n\nitems.push(newItem);\n\nactions.setVariable(\"items\", items);", + "hasParamSupport": true, + "parameters": [] + }, + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:16:58.686Z", + "updatedAt": "2024-03-14T23:07:27.606Z" + }, + { + "id": "dcf45221-847c-40cd-9029-86b9dfa1e552", + "name": "calculateSubtotal", + "options": { + "code": "const items = variables.items || [];\n\nlet subtotal = 0;\n\nitems.forEach((item) => {\n subtotal += item.quantity * item.cost;\n});\n\nreturn subtotal;", + "hasParamSupport": true, + "parameters": [] + }, + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:28:24.981Z", + "updatedAt": "2024-03-14T19:52:10.201Z" + }, + { + "id": "31729b65-f760-4688-ac4f-80023eb603e3", + "name": "addCustomer", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "table_id": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "join_table": { + "joins": [ + { + "id": 1705927074461, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "customer_name", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "email", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "items", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "subtotal", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "delivery", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "total_cost", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "customer_name", + "value": "{{components.textinput2.value}}" + }, + "1": { + "column": "email", + "value": "{{components.textinput4.value}}" + }, + "2": { + "column": "items", + "value": "{{JSON.stringify(variables.items.map(({id, ...item}) => ({...item})))}}" + }, + "3": { + "column": "subtotal", + "value": "{{components.numberinput6.value}}" + }, + "4": { + "column": "delivery", + "value": "{{components.numberinput3.value}}" + }, + "1b9c9652-40c8-4410-96a6-431e8dbdc5b9": { + "column": "total_cost", + "value": "{{components.numberinput12.value}}" + } + } + }, + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T12:37:43.828Z", + "updatedAt": "2024-05-03T07:25:22.389Z" + }, + { + "id": "e31b31b0-7fca-468e-9d64-6f38bda9950a", + "name": "listCustomers", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "table_id": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "join_table": { + "joins": [ + { + "id": 1705951827944, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "customer_name", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "email", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "items", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "subtotal", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "delivery", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "total_cost", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + ] + }, + "list_rows": { + "order_filters": { + "83d130df-a447-4626-9adc-00d0f28dd8e1": { + "column": "id", + "order": "desc", + "id": "83d130df-a447-4626-9adc-00d0f28dd8e1" + } + } + }, + "transformation": "return data.map((row) => ({\n ...row,\n transformedItems: JSON.parse(row.items).map((item) =>\n Object.keys(item)\n .map((k) => `${k.toUpperCase()}: ${item[k]}`)\n .join(\", \")\n ),\n}));", + "runOnPageLoad": true + }, + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T19:30:06.219Z", + "updatedAt": "2024-05-03T08:25:31.721Z" + }, + { + "id": "64ec8fd8-aece-4f8f-95f3-5cdf772c9617", + "name": "updateCustomer", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "table_id": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "join_table": { + "joins": [ + { + "id": 1705954010660, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "customer_name", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "email", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "items", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "subtotal", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "delivery", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "total_cost", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "customer_name", + "value": "{{components.textinput6.value}}" + }, + "1": { + "column": "email", + "value": "{{components.textinput7.value}}" + }, + "2": { + "column": "items", + "value": "{{JSON.stringify(variables.items.map(({id, ...item}) => ({...item})))}}" + }, + "3": { + "column": "subtotal", + "value": "{{components.numberinput20.value}}" + }, + "4": { + "column": "delivery", + "value": "{{components.numberinput19.value}}" + }, + "1635412e-5a49-44d5-b9fc-58ffe188d9c3": { + "column": "total_cost", + "value": "{{components.numberinput21.value}}" + } + }, + "where_filters": { + "8a7c6d00-f34d-45e2-b29f-99a2f941764f": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "8a7c6d00-f34d-45e2-b29f-99a2f941764f" + } + } + } + }, + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-01-22T20:06:42.089Z", + "updatedAt": "2024-03-14T23:39:45.320Z" + }, + { + "id": "c63326b1-fa1a-427b-bb89-2f7b3364196c", + "name": "deleteItem", + "options": { + "code": "let items = variables.items;\nconst deletedItemId = variables.deletedItemId;\n\nitems.splice(deletedItemId, 1);\nitems = items.map((item, i) => ({ ...item, id: i }));\n\nactions.setVariable(\"items\", items);", + "hasParamSupport": true, + "parameters": [] + }, + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-14T19:21:52.519Z", + "updatedAt": "2024-03-14T23:28:17.381Z" + }, + { + "id": "f5e88aae-6462-4472-89f6-950f05f8739d", + "name": "deleteCustomer", + "options": { + "operation": "delete_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "table_id": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "join_table": { + "joins": [ + { + "id": 1710780419332, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "customer_name", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "email", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "items", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "subtotal", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "delivery", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + }, + { + "name": "total_cost", + "table": "7fdc48d2-6aee-47a8-8e6c-ab6a920a0fc6" + } + ] + }, + "list_rows": {}, + "delete_rows": { + "limit": 1, + "where_filters": { + "47e6df53-37d9-4e81-a45c-626f71082aa5": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "47e6df53-37d9-4e81-a45c-626f71082aa5" + } + } + } + }, + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "createdAt": "2024-03-18T16:46:22.685Z", + "updatedAt": "2024-03-18T16:47:41.065Z" + } + ], + "dataSources": [ + { + "id": "d326d99b-df3b-4af9-96c2-64be1cef7589", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-01-15T11:38:19.144Z", + "updatedAt": "2024-01-15T11:38:19.144Z" + }, + { + "id": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-01-15T11:38:19.175Z", + "updatedAt": "2024-01-15T11:38:19.175Z" + }, + { + "id": "f58435ff-b49f-4d1d-8599-4dd8f04dc51a", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-01-15T11:38:19.200Z", + "updatedAt": "2024-01-15T11:38:19.200Z" + }, + { + "id": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-01-15T11:38:19.213Z", + "updatedAt": "2024-01-15T11:38:19.213Z" + }, + { + "id": "45ba4ae4-8db1-48b8-b3fb-e609edc5a312", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-01-15T11:38:19.227Z", + "updatedAt": "2024-01-15T11:38:19.227Z" + } + ], + "appVersions": [ + { + "id": "f7e47a4f-dda8-488b-82e5-3ad78bc316c0", + "name": "v1", + "definition": { + "showViewerNavigation": false, + "homePageId": "59b8aa7b-1efa-4fe1-8d19-0bbad6cc2f6d", + "pages": { + "59b8aa7b-1efa-4fe1-8d19-0bbad6cc2f6d": { + "components": { + "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8": { + "id": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8", + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 20, + "left": 2.3255815595649167, + "width": 41, + "height": 70 + } + } + }, + "2ffcfde1-a46f-4ba3-ae53-7175af02060d": { + "id": "2ffcfde1-a46f-4ba3-ae53-7175af02060d", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": "{{0}}" + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "B R A N D" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text1", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40 + } + }, + "parent": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8" + }, + "7fafb271-b2fa-4321-a377-3e4a235c623c": { + "id": "7fafb271-b2fa-4321-a377-3e4a235c623c", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "SaaS Licence Management" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10, + "left": 69.76744229792882, + "width": 12, + "height": 40 + } + }, + "parent": "8b9951e0-82b3-469c-a70b-6e7ece9a9ca8" + }, + "72c19891-ab7b-4663-809c-e1fd15c82b22": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container2", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 110, + "left": 2.3255813953488373, + "width": 27, + "height": 580 + } + }, + "withDefaultChildren": false + }, + "5b21c491-8540-4df4-bc56-5ef9b3d18da8": { + "id": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container3", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 160, + "left": 67.44185810108917, + "width": 12.999999999999998, + "height": 530 + } + } + }, + "25b9f572-8cd7-48b3-b399-3ccb6c80f433": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable column sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "enablePagination": { + "type": "toggle", + "displayName": "Enable pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSidePagination": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ] + }, + "serverSideSearch": { + "type": "clientServerSwitch", + "displayName": "Type", + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ], + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ] + }, + "serverSideFilter": { + "type": "clientServerSwitch", + "displayName": "Type", + "validation": { + "schema": { + "type": "boolean" + } + }, + "options": [ + { + "displayName": "Client side", + "value": "clientSide" + }, + { + "displayName": "Server side", + "value": "serverSide" + } + ], + "defaultValue": "clientSide" + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Enable filtering", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "defaultSelectedRow": { + "type": "code", + "displayName": "Default selected row", + "validation": { + "schema": { + "type": "object" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action button radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Condensed", + "value": "condensed" + }, + { + "name": "Regular", + "value": "regular" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "50" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-classic" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getPromoCodes.isLoading || queries.segregatePromoCodes.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.segregatePromoCodes.data[components.dropdown1.value]}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "enablePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{true}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true, + "generateNestedColumns": true + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true + }, + { + "id": "28f5b628-749e-493a-b307-63cdcc071a7f", + "name": "Software name", + "key": "promo_code", + "columnType": "string", + "autogenerated": true + }, + { + "id": "e6e9b325-4568-49a5-ac62-9aa215d02ea8", + "name": "License key", + "key": "discount_value", + "columnType": "string", + "autogenerated": true + }, + { + "id": "66211b00-fdfe-4ee4-b656-02275a663665", + "name": "Assigned to", + "key": "free_shipping", + "columnType": "default", + "autogenerated": true, + "values": "{{[true, false]}}", + "labels": "{{[\"Yes\", \"No\"]}}", + "activeColor": "#3e63ddff", + "textColor": "{{({ Yes: \"#3E63DD\", No: \"\" })[cellValue]}}" + }, + { + "name": "Email", + "id": "88ec5235-60be-4841-a5a6-a08e342b34b8", + "columnType": "string" + }, + { + "name": "Type of license", + "id": "688e46f7-d1ca-47b1-a4c5-5dde335297e0", + "columnType": "dropdown", + "values": "{{[1,2]}}", + "labels": "{{[\"Individual\", \"Team\"]}}", + "isEditable": "{{true}}" + }, + { + "name": "Valid till", + "id": "192cbdd7-f847-4ed6-b19a-464ffad1f034", + "columnType": "datepicker", + "isTimeChecked": false, + "dateFormat": "DD/MM/YYYY", + "parseDateFormat": "DD/MM/YYYY" + }, + { + "name": "Status", + "id": "4d7352bc-e4d7-4471-b892-4e5ee73a9e9c" + }, + { + "name": "Notes", + "id": "087dd50a-c6e9-47f1-b958-4d37f58b0972" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 15, + "e6e9b325-4568-49a5-ac62-9aa215d02ea8": 105, + "28f5b628-749e-493a-b307-63cdcc071a7f": 139, + "66211b00-fdfe-4ee4-b656-02275a663665": 0 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Copy license key", + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + } + ], + "position": "right" + } + ] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "defaultSelectedRow": { + "value": "{{{\"id\":1}}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "discount_type", + "amount", + "minimum_spend", + "maximum_spend", + "created_at", + "valid_till", + "updated_at", + "updated_at", + "free_shipping_bool", + "Purchase date" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table1", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 28.86, + "height": 456 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 76, + "left": 4.651169700317449, + "width": 39, + "height": 470 + } + }, + "withDefaultChildren": false + }, + "792c10c1-cf06-477b-98bd-d0aa13449910": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{\"active\"}}" + }, + "values": { + "value": "{{[\"active\", \"Expired\"]}}" + }, + "display_values": { + "value": "{{[\"Active\", \"Expired\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select an option" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown1", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 20, + "left": 69.76743327394556, + "width": 11.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "61a46182-92c6-49c4-9238-9681dd264a9c": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Licenses available:" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "72c19891-ab7b-4663-809c-e1fd15c82b22", + "layouts": { + "desktop": { + "top": 20, + "left": 4.6511631854108115, + "width": 14.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "58c73cbf-18df-4306-b27a-a2d01c568fb8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e16f682b-0368-499a-9232-6b63e1413a91" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Add License" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button1", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 110, + "left": 67.44185600071516, + "width": 12.999999999999998, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "e16f682b-0368-499a-9232-6b63e1413a91": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Create Promo Code" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "540px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Show pop-up windows", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 730, + "left": 2.3255813953488373, + "width": 6, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cd50a657-b4a7-4263-9125-5fb9185422f1": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.table1.selectedRow.id == undefined ? \"Select a license to view details\" : \"Promo code details:\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 10, + "left": 4.651170456181344, + "width": 38, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ad9066eb-e46c-4474-bcb5-f72e4263db60": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "SOFTWARE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 50, + "left": 4.6511518558148035, + "width": 18, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "afce716e-3d80-4c37-a0ae-a230307a89ff": { + "id": "afce716e-3d80-4c37-a0ae-a230307a89ff", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "ASSIGNED TO :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651170566837932, + "width": 15.000000000000002, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "8f2dcd6a-829c-44e8-8014-6de63bed413f": { + "id": "8f2dcd6a-829c-44e8-8014-6de63bed413f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "EMAIL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text7", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 150, + "left": 4.651149602444274, + "width": 14, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "b86fe12a-42b2-4eeb-a7db-2e7d5ebbaa43": { + "id": "b86fe12a-42b2-4eeb-a7db-2e7d5ebbaa43", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text8", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 200, + "left": 4.6511784536347704, + "width": 12.999999999999998, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "d396afee-afeb-4f6b-9fe6-f91544b7c566": { + "id": "d396afee-afeb-4f6b-9fe6-f91544b7c566", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "TYPE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text9", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 250, + "left": 4.651168092154227, + "width": 12, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "aa458399-940f-4373-88af-ef9b30727bb0": { + "id": "aa458399-940f-4373-88af-ef9b30727bb0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "NOTES :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text10", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 360, + "left": 4.651201681458636, + "width": 12.999999999999998, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "795cd997-1cd5-4a87-a221-fa605c3baa06": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Adobe Photoshop" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text23", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 50, + "left": 41.86046511627907, + "width": 22.000000000000004, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "7e51ca19-d1ad-42b7-9939-eba56e2139f4": { + "id": "7e51ca19-d1ad-42b7-9939-eba56e2139f4", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Nechal Maggon" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text24", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 41.86046511627907, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "f937ec0f-b892-4faa-8bcc-62a4a1f4dcc8": { + "id": "f937ec0f-b892-4faa-8bcc-62a4a1f4dcc8", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "nechalmaggon@gmail.com" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text25", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 150, + "left": 41.86047492447669, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "cdcf3874-788e-49a3-8101-33a0d9710f99": { + "id": "cdcf3874-788e-49a3-8101-33a0d9710f99", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "01/07/2024" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text26", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 200, + "left": 41.86046984433331, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "e3a7589d-f336-4b85-ae69-a0e1dc757c63": { + "id": "e3a7589d-f336-4b85-ae69-a0e1dc757c63", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Team" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text27", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 250, + "left": 41.8604780832193, + "width": 22.000000000000004, + "height": 30 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "f989e765-4231-4a4e-9bb0-87edf4ad9c7f": { + "id": "f989e765-4231-4a4e-9bb0-87edf4ad9c7f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "PROMO CODE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text31", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30, + "left": 4.651162790697675, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "cdeddc9c-5023-4048-80ce-9bc01663cef9": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": "{{/^[A-Z0-9]{3,15}$/.test(components.textinput1.value) ? queries.getPromoCodes.data.filter((codeDetails) => codeDetails.promo_code == components.textinput1.value).length == 0 ? true : \"Promo Code already exits!\" : \"Invalid Promo Code!\"}}" + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter promo code" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput1", + "displayName": "Text Input", + "description": "User text input field", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 25.581395346098788, + "width": 17, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "380b4870-818e-440f-806a-dc9ae5e1e6a3": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Generate code" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button2", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 65.11629528111348, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "0ef3d3b3-84b9-44a2-907d-bdab0d0cf90f": { + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Promo code must be 3 to 15 characters long, comprising only Uppercase Alphabets (A-Z) and numbers (0-9)." + } + }, + "exposedVariables": {} + }, + "name": "image1", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 30, + "left": 90.69767122377431, + "width": 2, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b01f0cad-7de7-47ae-ae40-82ab305e2d12": { + "id": "b01f0cad-7de7-47ae-ae40-82ab305e2d12", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "DISCOUNT :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text32", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651162506266984, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "9245395b-3876-4734-acc0-6582dd57870e": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onSelect", + "actionId": "control-component", + "message": "Hello world!", + "alertType": "info" + } + ], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "percent" + }, + "values": { + "value": "{{[\"percent\", \"fixed\"]}}" + }, + "display_values": { + "value": "{{[\"In percentage\", \"Fixed amount\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select a discount type" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown4", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 25.58139595221208, + "width": 17, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ce2797f3-e593-4259-abb8-ce6785a845d1": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown4.value == \"percent\" ? \"20\" : \"100\"}}" + }, + "maxValue": { + "value": "{{components.dropdown4.value == \"percent\" ? \"100\" : \"100000\"}}" + }, + "minValue": { + "value": "1" + }, + "placeholder": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput3", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 65.11625539117162, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ce888918-f6cd-428d-9968-a67ff29b4e75": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.dropdown4.value == \"percent\" ? \"%\" : \"$\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text34", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 100, + "left": 90.69767485756182, + "width": 2, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "38daeae7-7a68-42b2-9bca-1067868eb83a": { + "id": "38daeae7-7a68-42b2-9bca-1067868eb83a", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MINIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text33", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 4.651162932854896, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "055d88a5-d62a-4848-afc9-d2b7e51847d0": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown5", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 170, + "left": 25.581418019395514, + "width": 13, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ed7b0be3-f412-4f8a-82de-603d887ee06f": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown5.value ? \"100\" : \"0\"}}" + }, + "maxValue": { + "value": "99999" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput4.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput4", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 170, + "left": 65.11627782060043, + "width": 10, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "5f60b7a2-675f-4e6c-8861-c4ab363cae3b": { + "id": "5f60b7a2-675f-4e6c-8861-c4ab363cae3b", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text35", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 60.46511827264033, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "e26de292-20fa-45cd-ae48-51d3dc1b980f": { + "id": "e26de292-20fa-45cd-ae48-51d3dc1b980f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MAXIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text36", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "5dab4cc2-a5f0-4c74-b87a-e50c318cb8a5": { + "id": "5dab4cc2-a5f0-4c74-b87a-e50c318cb8a5", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown6", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 25.58138499611037, + "width": 13, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "6b75036b-a0ae-486e-9adb-1ef35d5382b5": { + "id": "6b75036b-a0ae-486e-9adb-1ef35d5382b5", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text37", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 60.46511069707219, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "6eca96f9-5602-4199-88f0-36a8b302bc35": { + "id": "6eca96f9-5602-4199-88f0-36a8b302bc35", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "{{components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value ? \"#ff0000\" : \"\"}}", + "fxActive": true + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown6.value ? \"100\" : \"0\"}}" + }, + "maxValue": { + "value": "100000" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput4.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "" + } + }, + "exposedVariables": {} + }, + "name": "numberinput5", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 240, + "left": 65.11626117041483, + "width": 10, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "4c6b810b-9d09-4121-9026-c3b1fb717302": { + "id": "4c6b810b-9d09-4121-9026-c3b1fb717302", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "FREE SHIPPING :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text38", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.6511615510529305, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "74bf5455-9aef-419a-b83f-1892edb4e2b3": { + "id": "74bf5455-9aef-419a-b83f-1892edb4e2b3", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"No\", \"Yes\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown7", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 25.581389164325977, + "width": 13, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "7ad884d9-53ff-41ce-9ff3-8a4a91702a6f": { + "id": "7ad884d9-53ff-41ce-9ff3-8a4a91702a6f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text39", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 380, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "4b50dcfd-cf36-44af-87fa-ee05a8112fbb": { + "component": { + "properties": { + "defaultValue": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "format": { + "type": "code", + "displayName": "Format", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableTime": { + "type": "toggle", + "displayName": "Enable time selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "enableDate": { + "type": "toggle", + "displayName": "Enable date selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "disabledDates": { + "type": "code", + "displayName": "Disabled dates", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "string" + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": "{{moment(components.datepicker1.value, \"DD/MM/YYYY\").isAfter(moment()) ? true : \"Invalid date selection!\"}}" + } + }, + "properties": { + "defaultValue": { + "value": "{{moment().add(1, \"year\").format(\"DD/MM/YYYY\")}}" + }, + "format": { + "value": "DD/MM/YYYY" + }, + "enableTime": { + "value": "{{false}}" + }, + "enableDate": { + "value": "{{true}}" + }, + "disabledDates": { + "value": "{{[]}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "datepicker1", + "displayName": "Date Picker", + "description": "Choose date and time", + "component": "Datepicker", + "defaultSize": { + "width": 5, + "height": 30 + }, + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 380, + "left": 25.581393180600156, + "width": 13, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "4ad7daef-6186-47cf-b759-8c35d2e77cfa": { + "id": "4ad7daef-6186-47cf-b759-8c35d2e77cfa", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Select a date that falls after the current date. Dates on or before today are not valid for selection." + } + }, + "exposedVariables": {} + }, + "name": "image2", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 380, + "left": 58.139524728971374, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "501e8af8-6edb-4b4b-b3d1-7453b5f0b4d7": { + "id": "501e8af8-6edb-4b4b-b3d1-7453b5f0b4d7", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value }}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Maximum spend should be greater than or equal to Minimum spend" + } + }, + "exposedVariables": {} + }, + "name": "image3", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 240, + "left": 90.69767030875896, + "width": 2, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "199a8791-16ab-4bb5-90b8-c320e4b6e6c5": { + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "dividerColor": { + "type": "color", + "displayName": "Divider color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": {}, + "general": {}, + "exposedVariables": {} + }, + "name": "divider3", + "displayName": "Divider", + "description": "Separator between components", + "component": "Divider", + "defaultSize": { + "width": 10, + "height": 10 + }, + "exposedVariables": { + "value": {} + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 440, + "left": 2.3255811419964743, + "width": 41, + "height": 10 + } + }, + "withDefaultChildren": false + }, + "670170a2-52be-4deb-a897-ac6bf33c5ada": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "a6c68044-a67b-476e-ab8f-84e0ceda3e78", + "queryName": "createPromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{!components.textinput1.isValid || (components.dropdown6.value && components.dropdown5.value && components.numberinput5.value < components.numberinput4.value) || !components.datepicker1.isValid}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Create" + }, + "loadingState": { + "value": "{{queries.createPromoCode.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91", + "layouts": { + "desktop": { + "top": 470, + "left": 79.06975049651071, + "width": 7.000000000000001, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b0afdbe3-5c29-40be-a70f-08458617c01f": { + "id": "b0afdbe3-5c29-40be-a70f-08458617c01f", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e16f682b-0368-499a-9232-6b63e1413a91" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.465109099446764, + "width": 7, + "height": 40 + } + }, + "parent": "e16f682b-0368-499a-9232-6b63e1413a91" + }, + "e7a57306-3d46-41e2-b240-2fc6b5f20226": { + "id": "e7a57306-3d46-41e2-b240-2fc6b5f20226", + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#3e63ddff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Edit Promo Code" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "540px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal2", + "displayName": "Modal", + "description": "Show pop-up windows", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 730, + "left": 18.604656027099054, + "width": 6, + "height": 40 + } + } + }, + "0097b2d6-9f19-4b9f-af0c-aee7fb6876e3": { + "id": "0097b2d6-9f19-4b9f-af0c-aee7fb6876e3", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "PROMO CODE :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text40", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30, + "left": 4.651162790697675, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "eefafe18-13b7-4ad1-9d32-509d3ccfe2ba": { + "id": "eefafe18-13b7-4ad1-9d32-509d3ccfe2ba", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "DISCOUNT :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text41", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 4.651162506266984, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "67d1a89c-81aa-41a7-89d8-595ae1b483f3": { + "id": "67d1a89c-81aa-41a7-89d8-595ae1b483f3", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onSelect", + "actionId": "control-component", + "message": "Hello world!", + "alertType": "info" + } + ], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.discount_type}}" + }, + "values": { + "value": "{{[\"percent\", \"fixed\"]}}" + }, + "display_values": { + "value": "{{[\"In percentage\", \"Fixed amount\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select a discount type" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown8", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 25.581393521814153, + "width": 17, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "1a7b30ae-c152-471d-90ab-aa3bcdafb0ce": { + "id": "1a7b30ae-c152-471d-90ab-aa3bcdafb0ce", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.table1.selectedRow.amount}}" + }, + "maxValue": { + "value": "{{components.dropdown8.value == \"percent\" ? \"100\" : \"100000\"}}" + }, + "minValue": { + "value": "1" + }, + "placeholder": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput6", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 100, + "left": 65.11626481525688, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "6c953707-f69d-47a9-9015-a582ed609bcd": { + "id": "6c953707-f69d-47a9-9015-a582ed609bcd", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.dropdown8.value == \"percent\" ? \"%\" : \"$\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text42", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 100, + "left": 90.69767764424473, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "56139e54-501c-4951-a060-fa0d180ed6ad": { + "id": "56139e54-501c-4951-a060-fa0d180ed6ad", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MINIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text43", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 4.651162932854896, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "dc4c2a57-9f4b-4e5b-a790-fefe2fcd481c": { + "id": "dc4c2a57-9f4b-4e5b-a790-fefe2fcd481c", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.minimum_spend != null}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown9", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 25.581401911408808, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "30c53546-7857-44c3-be96-70c1662df2d4": { + "id": "30c53546-7857-44c3-be96-70c1662df2d4", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown9.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown9.value ? (components?.table1?.selectedRow?.minimum_spend ?? \"0\") : \"0\"}}" + }, + "maxValue": { + "value": "99999" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput7.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "numberinput7", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 170, + "left": 65.11628599331276, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "061db4d4-a8f2-40aa-9ce8-427390417bf0": { + "id": "061db4d4-a8f2-40aa-9ce8-427390417bf0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown5.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text44", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 170, + "left": 60.46511827264033, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "9d58477b-50cd-4b84-8dd6-1231570d0774": { + "id": "9d58477b-50cd-4b84-8dd6-1231570d0774", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "MAXIMUM SPEND :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text45", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "8529396e-2c59-437e-a014-3a3033c49d80": { + "id": "8529396e-2c59-437e-a014-3a3033c49d80", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.maximum_spend != null}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Disable\", \"Enable\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown10", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 25.58137657187239, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ba5c3668-5419-4d10-9ed2-15bcc02fb26c": { + "id": "ba5c3668-5419-4d10-9ed2-15bcc02fb26c", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown6.value}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "$ " + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text46", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 240, + "left": 60.46511069707219, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "1749184e-e330-4679-a3d4-671ce372274f": { + "id": "1749184e-e330-4679-a3d4-671ce372274f", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minValue": { + "type": "code", + "displayName": "Minimum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "maxValue": { + "type": "code", + "displayName": "Maximum value", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "decimalPlaces": { + "type": "code", + "displayName": "Decimal places", + "validation": { + "schema": { + "type": "number" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color" + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{!components.dropdown10.value}}", + "fxActive": true + }, + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "{{components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value ? \"#ff0000\" : \"\"}}", + "fxActive": true + }, + "textColor": { + "value": "#232e3c" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "value": { + "value": "{{components.dropdown10.value ? (components?.table1?.selectedRow?.maximum_spend ?? \"0\") : \"0\"}}" + }, + "maxValue": { + "value": "100000" + }, + "minValue": { + "value": "0" + }, + "placeholder": { + "value": "{{components.numberinput8.value}}" + }, + "decimalPlaces": { + "value": "{{2}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "" + } + }, + "exposedVariables": {} + }, + "name": "numberinput8", + "displayName": "Number Input", + "description": "Numeric input field", + "component": "NumberInput", + "defaultSize": { + "width": 4, + "height": 30 + }, + "exposedVariables": { + "value": 99 + } + }, + "layouts": { + "desktop": { + "top": 240, + "left": 65.11629197312911, + "width": 10, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "19d354ef-63f7-4c85-a641-115769247cc0": { + "id": "19d354ef-63f7-4c85-a641-115769247cc0", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "FREE SHIPPING :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text47", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.6511615510529305, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "12059aed-6846-44d9-8d8d-98003036ef2b": { + "id": "12059aed-6846-44d9-8d8d-98003036ef2b", + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.free_shipping_bool}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"No\", \"Yes\"]}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select value" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown11", + "displayName": "Dropdown", + "description": "Single item selector", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 25.581399583203897, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "fb524a89-e03b-433a-8a94-f61ebd99bd36": { + "id": "fb524a89-e03b-433a-8a94-f61ebd99bd36", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "VALID TILL :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text48", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 380, + "left": 4.651161793912395, + "width": 9, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "41d423dd-e348-4684-a835-b3dc56be730c": { + "id": "41d423dd-e348-4684-a835-b3dc56be730c", + "component": { + "properties": { + "defaultValue": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "format": { + "type": "code", + "displayName": "Format", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableTime": { + "type": "toggle", + "displayName": "Enable time selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "enableDate": { + "type": "toggle", + "displayName": "Enable date selection?", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "disabledDates": { + "type": "code", + "displayName": "Disabled dates", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "string" + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": "{{moment(components.datepicker2.value, \"DD/MM/YYYY\").isAfter(moment()) ? true : \"Invalid date selection!\"}}" + } + }, + "properties": { + "defaultValue": { + "value": "{{components.table1.selectedRow.valid_till}}" + }, + "format": { + "value": "DD/MM/YYYY" + }, + "enableTime": { + "value": "{{false}}" + }, + "enableDate": { + "value": "{{true}}" + }, + "disabledDates": { + "value": "{{[]}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "datepicker2", + "displayName": "Date Picker", + "description": "Choose date and time", + "component": "Datepicker", + "defaultSize": { + "width": 5, + "height": 30 + }, + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + } + }, + "layouts": { + "desktop": { + "top": 380, + "left": 25.58139095173029, + "width": 13, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "27dbf0ae-1800-47ff-9531-2a3e89a8ac8a": { + "id": "27dbf0ae-1800-47ff-9531-2a3e89a8ac8a", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Info: Select a date that falls after the current date. Dates on or before today are not valid for selection." + } + }, + "exposedVariables": {} + }, + "name": "image5", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 380, + "left": 58.13952912432483, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ca410b25-e7b7-413f-a01e-cccf62efa204": { + "id": "ca410b25-e7b7-413f-a01e-cccf62efa204", + "component": { + "properties": { + "source": { + "type": "code", + "displayName": "URL", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "alternativeText": { + "type": "code", + "displayName": "Alternative text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "zoomButtons": { + "type": "toggle", + "displayName": "Zoom button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "rotateButton": { + "type": "toggle", + "displayName": "Rotate button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + } + }, + "styles": { + "borderType": { + "type": "select", + "displayName": "Border type", + "options": [ + { + "name": "None", + "value": "none" + }, + { + "name": "Rounded", + "value": "rounded" + }, + { + "name": "Circle", + "value": "rounded-circle" + }, + { + "name": "Thumbnail", + "value": "img-thumbnail" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "padding": { + "type": "code", + "displayName": "Padding", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "imageFit": { + "type": "select", + "displayName": "Image fit", + "options": [ + { + "name": "fill", + "value": "fill" + }, + { + "name": "contain", + "value": "contain" + }, + { + "name": "cover", + "value": "cover" + }, + { + "name": "scale-down", + "value": "scale-down" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderType": { + "value": "none" + }, + "padding": { + "value": "0" + }, + "visibility": { + "value": "{{components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "source": { + "value": "https://www.svgrepo.com/show/450182/info-circle.svg" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "alternativeText": { + "value": "" + }, + "zoomButtons": { + "value": "{{false}}" + }, + "rotateButton": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "Maximum spend should be greater than or equal to Minimum spend" + } + }, + "exposedVariables": {} + }, + "name": "image6", + "displayName": "Image", + "description": "Show image files", + "defaultSize": { + "width": 3, + "height": 100 + }, + "component": "Image", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 240, + "left": 90.69766853643817, + "width": 2, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "798a2874-8880-410d-86ca-8466e7a7f53f": { + "id": "798a2874-8880-410d-86ca-8466e7a7f53f", + "component": { + "properties": {}, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "dividerColor": { + "type": "color", + "displayName": "Divider color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "dividerColor": { + "value": "#8888884d" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": {}, + "general": {}, + "exposedVariables": {} + }, + "name": "divider4", + "displayName": "Divider", + "description": "Separator between components", + "component": "Divider", + "defaultSize": { + "width": 10, + "height": 10 + }, + "exposedVariables": { + "value": {} + } + }, + "layouts": { + "desktop": { + "top": 440, + "left": 2.3255811419964743, + "width": 41, + "height": 10 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "ec924236-9797-491e-bca5-6fab6711f2da": { + "id": "ec924236-9797-491e-bca5-6fab6711f2da", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "f5071a1f-7f38-4134-bd5e-e4b88589c7ed", + "queryName": "updatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{(components.dropdown10.value && components.dropdown9.value && components.numberinput8.value < components.numberinput7.value) || !components.datepicker2.isValid}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.updatePromoCode.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button6", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 79.0697419241573, + "width": 7.000000000000001, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "cb71d470-0254-4fa8-92d9-735a91f5f66e": { + "id": "cb71d470-0254-4fa8-92d9-735a91f5f66e", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button7", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.46510115735242, + "width": 7, + "height": 40 + } + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226" + }, + "56e0a58d-9738-41fb-bfb2-d4c1165c75f9": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#8888881a" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{16}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "  {{components.table1.selectedRow.promo_code}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text49", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "e7a57306-3d46-41e2-b240-2fc6b5f20226", + "layouts": { + "desktop": { + "top": 30, + "left": 25.58139644141283, + "width": 30, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "1b3da9cb-122f-40a7-a348-3c5e6d179640": { + "id": "1b3da9cb-122f-40a7-a348-3c5e6d179640", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "3 workspaces \nSSO enabled \n20Gb storage" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text50", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 360, + "left": 41.86046951236355, + "width": 22.000000000000004, + "height": 50 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "1bb6687b-7a1b-49c2-bae0-1ff2b9af3ac8": { + "id": "1bb6687b-7a1b-49c2-bae0-1ff2b9af3ac8", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Renew" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button8", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 60.46511627906976, + "width": 14, + "height": 40 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "d69936c9-a4d4-4c3c-b8aa-bd7175156158": { + "id": "d69936c9-a4d4-4c3c-b8aa-bd7175156158", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "7db120a2-0021-47f3-a85e-524b83f2c827", + "queryName": "generatePromoCode", + "parameters": {} + } + ], + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "textColor": { + "value": "#4a4a4aff" + }, + "loaderColor": { + "value": "#4a4a4aff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#9b9b9bff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Open software >" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button9", + "displayName": "Button", + "description": "Trigger actions: queries, alerts, set variables etc.", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": { + "buttonText": "Button" + }, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 470, + "left": 4.651162790697674, + "width": 22.000000000000004, + "height": 40 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + }, + "1f5b7856-c4b1-402a-b27c-0119b7474fa8": { + "component": { + "properties": { + "data": { + "type": "code", + "displayName": "Tags", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object", + "object": { + "title": { + "type": "string" + }, + "color": { + "type": "string" + }, + "textColor": { + "type": "string" + } + } + } + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "data": { + "value": "{{ [ \n\t\t{ title: 'Active', color: '#2fb344', textColor: '#fff' }\n\t ] }}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "tags1", + "displayName": "Tags", + "description": "Display tag labels", + "component": "Tags", + "defaultSize": { + "width": 8, + "height": 30 + }, + "exposedVariables": {} + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8", + "layouts": { + "desktop": { + "top": 310, + "left": 41.86051065649506, + "width": 7, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "d17d5709-22de-49f9-95a3-e16742e37665": { + "id": "d17d5709-22de-49f9-95a3-e16742e37665", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line height" + }, + "textIndent": { + "type": "number", + "displayName": "Text indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "STATUS :" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text51", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 310, + "left": 4.651153324529529, + "width": 12.999999999999998, + "height": 20 + } + }, + "parent": "5b21c491-8540-4df4-bc56-5ef9b3d18da8" + } + }, + "handle": "home", + "name": "Home" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#2f3c4c", + "backgroundFxQuery": "" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#2f3c4c", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "3676a371-bd53-454a-8288-8e2cca337ff8", + "appId": "3469c521-8e1e-41e3-9b65-5fff3a58f65b", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-01-15T11:38:19.082Z", + "updatedAt": "2024-05-03T07:29:19.585Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "6296a857-820e-41da-ba93-ddc171cd757c", + "dataSourceId": "d326d99b-df3b-4af9-96c2-64be1cef7589", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-01-15T11:38:19.157Z", + "updatedAt": "2024-01-15T11:38:19.157Z" + }, + { + "id": "8e10a878-af05-42d7-8f53-13c050d864a1", + "dataSourceId": "d326d99b-df3b-4af9-96c2-64be1cef7589", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-01-15T11:38:19.157Z", + "updatedAt": "2024-01-15T11:38:19.157Z" + }, + { + "id": "a5e5d3ef-f761-43f9-a165-6731a5f01528", + "dataSourceId": "d326d99b-df3b-4af9-96c2-64be1cef7589", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-01-15T11:38:19.157Z", + "updatedAt": "2024-01-15T11:38:19.157Z" + }, + { + "id": "e690439e-ef7a-485f-8fdf-e24a6ce60279", + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-01-15T11:38:19.195Z", + "updatedAt": "2024-01-15T11:38:19.195Z" + }, + { + "id": "6ad13afe-604a-41c3-af82-2090d241882e", + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-01-15T11:38:19.195Z", + "updatedAt": "2024-01-15T11:38:19.195Z" + }, + { + "id": "57fdc4c6-bc09-4a22-a3f9-0781e3d9dd56", + "dataSourceId": "ece2dfe9-4459-4b5f-97e9-44d851b5efaa", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-01-15T11:38:19.195Z", + "updatedAt": "2024-01-15T11:38:19.195Z" + }, + { + "id": "dd4b196c-8c43-4185-bb6b-19b667c5ef9b", + "dataSourceId": "f58435ff-b49f-4d1d-8599-4dd8f04dc51a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-01-15T11:38:19.208Z", + "updatedAt": "2024-01-15T11:38:19.208Z" + }, + { + "id": "a4895095-398e-41c3-8f7b-73796adf9bca", + "dataSourceId": "f58435ff-b49f-4d1d-8599-4dd8f04dc51a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-01-15T11:38:19.208Z", + "updatedAt": "2024-01-15T11:38:19.208Z" + }, + { + "id": "7d3eeaae-64bb-43a5-97ae-3d375e50d08f", + "dataSourceId": "f58435ff-b49f-4d1d-8599-4dd8f04dc51a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-01-15T11:38:19.208Z", + "updatedAt": "2024-01-15T11:38:19.208Z" + }, + { + "id": "537e886c-ce8b-45bc-80e6-352f36030138", + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-01-15T11:38:19.222Z", + "updatedAt": "2024-01-15T11:38:19.222Z" + }, + { + "id": "9ab1b247-3304-4d31-9fec-5229becc7ea2", + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-01-15T11:38:19.223Z", + "updatedAt": "2024-01-15T11:38:19.223Z" + }, + { + "id": "b68ddd34-d81a-427e-891e-dc09db3c153d", + "dataSourceId": "87ba6c71-17ab-4265-a99b-9ab20a149949", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-01-15T11:38:19.223Z", + "updatedAt": "2024-01-15T11:38:19.223Z" + }, + { + "id": "52977f46-fa59-42d3-8a63-cbf0994396b6", + "dataSourceId": "45ba4ae4-8db1-48b8-b3fb-e609edc5a312", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-01-15T11:38:19.236Z", + "updatedAt": "2024-01-15T11:38:19.236Z" + }, + { + "id": "b9c06320-c680-4a1a-b5e6-f8202d7ad9a8", + "dataSourceId": "45ba4ae4-8db1-48b8-b3fb-e609edc5a312", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-01-15T11:38:19.236Z", + "updatedAt": "2024-01-15T11:38:19.236Z" + }, + { + "id": "fd85dab2-042e-4b45-b159-2546ed261847", + "dataSourceId": "45ba4ae4-8db1-48b8-b3fb-e609edc5a312", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-01-15T11:38:19.236Z", + "updatedAt": "2024-01-15T11:38:19.236Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/admin-panel-tooljet-db/manifest.json b/server/templates/admin-panel-tooljet-db/manifest.json new file mode 100644 index 0000000000..579e64f4d2 --- /dev/null +++ b/server/templates/admin-panel-tooljet-db/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "Admin Panel (ToolJet Database)", + "description": "Effortlessly manage your databases with our intuitive TJDB admin panel, designed for optimal control and efficiency.", + "widgets": [ + "Table" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + }, + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "admin-panel-tooljet-db", + "category": "developer-utilities" +} \ No newline at end of file diff --git a/server/templates/aws-s3-file-explorer/manifest.json b/server/templates/aws-s3-file-explorer/manifest.json index 9a22e7354b..9a40f0357f 100644 --- a/server/templates/aws-s3-file-explorer/manifest.json +++ b/server/templates/aws-s3-file-explorer/manifest.json @@ -12,5 +12,5 @@ } ], "id": "aws-s3-file-explorer", - "category": "utilities" + "category": "developer-utilities" } \ No newline at end of file diff --git a/server/templates/bill-of-materials/definition.json b/server/templates/bill-of-materials/definition.json new file mode 100644 index 0000000000..5acc3247d2 --- /dev/null +++ b/server/templates/bill-of-materials/definition.json @@ -0,0 +1,6639 @@ +{ + "tooljet_database": [ + { + "id": "8d0bd25c-c326-4b32-a09e-d4efd3a7be53", + "table_name": "bom_products", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"8d0bd25c-c326-4b32-a09e-d4efd3a7be53_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "category", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "dimensions", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "description", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "is_active", + "data_type": "boolean", + "column_default": "true", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + }, + { + "id": "53e3ba57-290f-463b-b4b2-6a8f180d4ea0", + "table_name": "bom_bill_of_materials", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"53e3ba57-290f-463b-b4b2-6a8f180d4ea0_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "product_id", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "material_description", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "material_type", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "object_description", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "source_factory", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "unit_of_measure", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "quantity", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "standard_price", + "data_type": "double precision", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 53, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "is_active", + "data_type": "boolean", + "column_default": "true", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "12c1939b-7a91-4a17-b63d-afe100c40a9c", + "type": "front-end", + "name": "Bill of materials", + "slug": "12c1939b-7a91-4a17-b63d-afe100c40a9c", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "globe", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-25T07:35:01.940Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-25T07:35:02.984Z", + "editingVersion": { + "id": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "appId": "12c1939b-7a91-4a17-b63d-afe100c40a9c", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:35:01.958Z", + "updatedAt": "2024-05-03T10:33:20.185Z" + }, + "components": [ + { + "id": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "name": "container2", + "type": "Container", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-05-03T07:56:40.700Z", + "layouts": [ + { + "id": "5f9d1dde-e4a6-4fe3-9dc9-a5c53ac52d60", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 41, + "height": 680, + "componentId": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "updatedAt": "2024-05-03T10:16:34.683Z" + }, + { + "id": "f2d96868-b27c-4906-96b3-dfd34a4b7138", + "type": "mobile", + "top": 720, + "left": 2.3255813953488373, + "width": 5, + "height": 200, + "componentId": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fa7495b3-5c5b-4e6c-9b3c-f049d84c14b5", + "name": "text1", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "f515a547-e4e6-41b3-a5b7-2707639192b4", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "48459f4a-cd53-41d4-b71b-9cdf7a47c78b", + "type": "desktop", + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40, + "componentId": "fa7495b3-5c5b-4e6c-9b3c-f049d84c14b5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f515a547-e4e6-41b3-a5b7-2707639192b4", + "name": "container1", + "type": "Container", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "e4893eb0-f04b-45dd-b9ca-b6dbe5b1f7e5", + "type": "desktop", + "top": 20, + "left": 2.3255802612218526, + "width": 41, + "height": 70, + "componentId": "f515a547-e4e6-41b3-a5b7-2707639192b4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c8b573c7-5ffb-4093-bdbb-9cee5fcb1f97", + "name": "text2", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "f515a547-e4e6-41b3-a5b7-2707639192b4", + "properties": { + "text": { + "value": "
Bill of materials
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "98828d42-1b38-49d8-bcb2-bec62576ab77", + "type": "desktop", + "top": 10, + "left": 67.44186046511628, + "width": 12.999999999999998, + "height": 40, + "componentId": "c8b573c7-5ffb-4093-bdbb-9cee5fcb1f97", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "164af315-e776-4ec7-a652-c3ef68d0e02e", + "name": "button2", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "properties": { + "text": { + "value": "+ Add product" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "7debf193-cb22-4dc7-bb38-b07c601a47f7", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "164af315-e776-4ec7-a652-c3ef68d0e02e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bb4bf144-5091-46fe-8f1e-82d48b2abc72", + "type": "desktop", + "top": 20, + "left": 86.04650506594007, + "width": 5, + "height": 40, + "componentId": "164af315-e776-4ec7-a652-c3ef68d0e02e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "de560825-4854-4c26-8457-093387d45de9", + "name": "table1", + "type": "Table", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "properties": { + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true, + "fxActiveFields": [] + }, + { + "name": "name", + "id": "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a", + "autogenerated": true, + "fxActiveFields": [] + }, + { + "id": "3b27eda3-af48-4a8e-bffc-f6f20dd891fd", + "name": "category", + "key": "category", + "columnType": "string", + "autogenerated": true + }, + { + "id": "93a0ef40-df41-41a8-9586-6436feed96fe", + "name": "dimensions", + "key": "dimensions", + "columnType": "string", + "autogenerated": true + }, + { + "id": "8f583991-7cea-4074-a2ab-af95aadffaf6", + "name": "created_at", + "key": "created_at", + "columnType": "string", + "autogenerated": true + }, + { + "id": "3a8cd0d8-4a27-4f63-b3b3-905b57839f9c", + "name": "updated_at", + "key": "updated_at", + "columnType": "string", + "autogenerated": true + }, + { + "id": "831e699e-ad9b-43ca-9365-205756c8fa4d", + "name": "description", + "key": "description", + "columnType": "string", + "autogenerated": true, + "textWrap": "scroll" + } + ] + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getProducts.isLoading}}" + }, + "columnSizes": { + "value": { + "5be4b83a-1478-45bb-8cc0-256f5bcd5819": 173, + "11f5b861-297e-40f9-a4e1-5a099f1a43ba": 170, + "6058c41c-93de-4e91-b177-93e2c9dd4523": 207, + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 41, + "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a": 113, + "831e699e-ad9b-43ca-9365-205756c8fa4d": 261, + "3a8cd0d8-4a27-4f63-b3b3-905b57839f9c": 112, + "8f583991-7cea-4074-a2ab-af95aadffaf6": 110, + "3b27eda3-af48-4a8e-bffc-f6f20dd891fd": 92, + "93a0ef40-df41-41a8-9586-6436feed96fe": 130 + } + }, + "columnDeletionHistory": { + "value": [ + "is_active" + ] + }, + "actions": { + "value": [ + { + "name": "Action1", + "buttonText": "Edit", + "events": [], + "position": "right", + "backgroundColor": "#3e63dd1a", + "textColor": "#3e63ddff" + }, + { + "name": "Action2", + "buttonText": "Delete", + "events": [], + "position": "right", + "backgroundColor": "#dd00001a", + "textColor": "#dd0000ff" + }, + { + "name": "Action3", + "buttonText": "Manage bill of materials", + "events": [], + "position": "left" + } + ] + }, + "data": { + "value": "{{queries.getProducts.data}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "cellSize": { + "value": "regular", + "fxActive": false + }, + "actionButtonRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + }, + "maxRowHeight": { + "value": "auto" + }, + "maxRowHeightValue": { + "value": 45 + }, + "contentWrap": { + "value": "{{true}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-05-03T10:33:20.179Z", + "layouts": [ + { + "id": "54dc8a8c-35f3-49e4-b5d0-f204d80c75c1", + "type": "mobile", + "top": 616, + "left": 0, + "width": 28.86, + "height": 456, + "componentId": "de560825-4854-4c26-8457-093387d45de9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b90fdc8e-d5b1-46f0-9965-fa117e0e3f59", + "type": "desktop", + "top": 70, + "left": 2.3255811789541276, + "width": 41, + "height": 580, + "componentId": "de560825-4854-4c26-8457-093387d45de9", + "updatedAt": "2024-05-03T10:16:56.508Z" + } + ] + }, + { + "id": "be653b9e-2625-4875-ba25-c8cf595f9746", + "name": "modal1", + "type": "Modal", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": null, + "properties": { + "title": { + "value": "Add Product" + }, + "useDefaultButton": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "c5c23953-cccf-490a-ac10-fc0475d5b83c", + "type": "desktop", + "top": 860, + "left": 2.3255801252418116, + "width": 7, + "height": 40, + "componentId": "be653b9e-2625-4875-ba25-c8cf595f9746", + "updatedAt": "2024-05-03T10:16:14.129Z" + } + ] + }, + { + "id": "afb8d32b-b24f-4682-b7fb-6b6f17e07c7d", + "name": "text4", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "1b5da94b-33a1-4770-b132-54a16e171ebf", + "properties": { + "text": { + "value": "Products" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#f39c12ff", + "fxActive": false + }, + "textSize": { + "value": "20" + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "0" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "15adf72d-0179-41d9-bcb2-b5460deeb44b", + "type": "desktop", + "top": 20, + "left": 2.3255811789541276, + "width": 19, + "height": 40, + "componentId": "afb8d32b-b24f-4682-b7fb-6b6f17e07c7d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3ef96f36-c91b-481c-99f9-2974952aef84", + "name": "textarea1", + "type": "TextArea", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "5ce7809a-7c64-4086-b932-56d9ddbc8926", + "type": "desktop", + "top": 210, + "left": 18.60465754153514, + "width": 33, + "height": 100, + "componentId": "3ef96f36-c91b-481c-99f9-2974952aef84", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c5cc7c10-8f99-4a6a-befb-ad18d7fafcbc", + "name": "text6", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Description" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "56281044-a746-44ce-ab83-4105bc50769d", + "type": "desktop", + "top": 210, + "left": 4.6511639756215954, + "width": 6.000000000000001, + "height": 40, + "componentId": "c5cc7c10-8f99-4a6a-befb-ad18d7fafcbc", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3239b9db-0412-42ad-a208-0f87db4b552c", + "name": "text7", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Dimensions" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "269144e4-e742-48c2-9a7a-f38a02b7bd68", + "type": "desktop", + "top": 150, + "left": 4.651161793912395, + "width": 6.000000000000001, + "height": 40, + "componentId": "3239b9db-0412-42ad-a208-0f87db4b552c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a9e3cb10-d55c-4248-9c37-0379eb5728bf", + "name": "text5", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Name" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "df33b3ea-4806-4504-8d80-664bfcbed8f6", + "type": "desktop", + "top": 30, + "left": 4.6511621200093165, + "width": 6.000000000000001, + "height": 40, + "componentId": "a9e3cb10-d55c-4248-9c37-0379eb5728bf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a057f143-7136-4d29-b416-fc20bd17f28c", + "name": "textinput1", + "type": "TextInput", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "label": "", + "placeholder": { + "value": "Enter name" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "695e8d51-f9a1-4b8e-9f3a-af348f22c3a1", + "type": "desktop", + "top": 30, + "left": 18.604651380129734, + "width": 33, + "height": 40, + "componentId": "a057f143-7136-4d29-b416-fc20bd17f28c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a139da9d-6abd-4caf-bd72-290c75f275a8", + "name": "dropdown1", + "type": "DropDown", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "" + }, + "values": { + "value": "{{[\"Mattress\", \"Bedroom\", \"Living\", \"Dining\", \"Study\", \"Kids\", \"Decor\", \"Kitchen\"]}}" + }, + "display_values": { + "value": "{{[\"Mattress\", \"Bedroom\", \"Living\", \"Dining\", \"Study\", \"Kids\", \"Decor\", \"Kitchen\"]}}" + }, + "placeholder": { + "value": "Select a category" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "91347e22-8156-4e88-bfb1-73a362e6d55a", + "type": "desktop", + "top": 90, + "left": 18.604646500126705, + "width": 33, + "height": 40, + "componentId": "a139da9d-6abd-4caf-bd72-290c75f275a8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0ddbf4dc-caa6-4da8-be6e-55bd208a445e", + "name": "text8", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Category" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "5d046c77-82ed-4074-9192-7c816a40cda0", + "type": "desktop", + "top": 90, + "left": 4.651163937000747, + "width": 6.000000000000001, + "height": 40, + "componentId": "0ddbf4dc-caa6-4da8-be6e-55bd208a445e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "34fe7bb7-9b4d-49dd-b706-cef700ded5de", + "name": "textinput2", + "type": "TextInput", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "label": "", + "placeholder": { + "value": "Enter dimensions" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "d34bb399-6e10-4011-bcb1-a75354f228cd", + "type": "desktop", + "top": 150, + "left": 18.60464925903174, + "width": 33, + "height": 40, + "componentId": "34fe7bb7-9b4d-49dd-b706-cef700ded5de", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3f35a924-1140-4c59-b703-3e3c0da4062c", + "name": "button4", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Add" + }, + "loadingState": { + "value": "{{queries.addProduct.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{components.textinput1.value.length == 0 || components.dropdown1.value == undefined || components.textinput2.value.length == 0 || components.textarea1.value.length == 0}}", + "fxActive": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "9261afac-d4b6-4d87-af7d-7600706e6a3c", + "type": "desktop", + "top": 330, + "left": 81.39536241131982, + "width": 6, + "height": 40, + "componentId": "3f35a924-1140-4c59-b703-3e3c0da4062c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "289e0e50-bc30-4c75-b069-99e8ac6820dc", + "name": "button3", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "be653b9e-2625-4875-ba25-c8cf595f9746", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "ce5f789f-c6a6-4ca8-a0aa-d291e69438b1", + "type": "desktop", + "top": 330, + "left": 65.11628908824436, + "width": 6, + "height": 40, + "componentId": "289e0e50-bc30-4c75-b069-99e8ac6820dc", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0e1f6ef5-8da8-4c6e-a219-29f1aea801e0", + "name": "textinput4", + "type": "TextInput", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "label": "", + "placeholder": { + "value": "Enter name" + }, + "value": { + "value": "{{components.table1.selectedRow.name}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "f010473f-d6e4-4c84-99b8-c22d18920f49", + "type": "desktop", + "top": 30, + "left": 18.60465110051574, + "width": 33, + "height": 40, + "componentId": "0e1f6ef5-8da8-4c6e-a219-29f1aea801e0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "edfbe0dc-3547-4e5d-b157-32f44fec3a27", + "name": "textarea2", + "type": "TextArea", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.description}}" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "773df130-cb57-48ba-b5e9-3fca34e6272b", + "type": "desktop", + "top": 210, + "left": 18.60465741042075, + "width": 33, + "height": 100, + "componentId": "edfbe0dc-3547-4e5d-b157-32f44fec3a27", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7387e45d-ef02-4549-a88b-2c02354e93b5", + "name": "button6", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "77ea7cc4-3168-407f-99a7-dd5a7af5be37", + "type": "desktop", + "top": 330, + "left": 65.11628730951887, + "width": 6, + "height": 40, + "componentId": "7387e45d-ef02-4549-a88b-2c02354e93b5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8c42d6b1-d175-4bdb-b2c9-36eee8c78cda", + "name": "button5", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.editProduct.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{components.textinput4.value.length == 0 || components.dropdown2.value == undefined || components.textinput3.value.length == 0 || components.textarea2.value.length == 0}}", + "fxActive": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "f0e480fa-8c5e-4128-9cf7-dc446b44b6ad", + "type": "desktop", + "top": 330, + "left": 81.39535747120892, + "width": 6, + "height": 40, + "componentId": "8c42d6b1-d175-4bdb-b2c9-36eee8c78cda", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5ee6dbb1-0ffd-4139-ae21-cf05e67cfa95", + "name": "dropdown2", + "type": "DropDown", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.category}}" + }, + "values": { + "value": "{{[\"Mattress\", \"Bedroom\", \"Living\", \"Dining\", \"Study\", \"Kids\", \"Decor\", \"Kitchen\"]}}" + }, + "display_values": { + "value": "{{[\"Mattress\", \"Bedroom\", \"Living\", \"Dining\", \"Study\", \"Kids\", \"Decor\", \"Kitchen\"]}}" + }, + "placeholder": { + "value": "Select a category" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "a865eaf6-4c0b-4a94-9ef9-01625522b6e7", + "type": "desktop", + "top": 90, + "left": 18.60464507662777, + "width": 33, + "height": 40, + "componentId": "5ee6dbb1-0ffd-4139-ae21-cf05e67cfa95", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6422275e-69d9-4734-9df4-16399b6e3afb", + "name": "text11", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Dimensions" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "6b8a3655-7f38-4065-b6b7-f8ceecc53ada", + "type": "desktop", + "top": 150, + "left": 4.651161793912395, + "width": 6.000000000000001, + "height": 40, + "componentId": "6422275e-69d9-4734-9df4-16399b6e3afb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "eaa5e933-3336-4780-a76f-ea19afd3f2c3", + "name": "text10", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Category" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "3a99b0fb-8745-4b04-b0e3-7b6977d26d0c", + "type": "desktop", + "top": 90, + "left": 4.651163937000747, + "width": 6.000000000000001, + "height": 40, + "componentId": "eaa5e933-3336-4780-a76f-ea19afd3f2c3", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d80dfd70-849c-448e-a635-1f6d07606edd", + "name": "text9", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Name" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "a9749564-5d2c-45e5-bf28-0203a21ef996", + "type": "desktop", + "top": 30, + "left": 4.6511621200093165, + "width": 6.000000000000001, + "height": 40, + "componentId": "d80dfd70-849c-448e-a635-1f6d07606edd", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "53d06f9b-c85a-4222-a0ef-a577834719d4", + "name": "text12", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "text": { + "value": "Description" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "629bf780-4dca-444d-bdf7-0d04dd575467", + "type": "desktop", + "top": 210, + "left": 4.6511639756215954, + "width": 6.000000000000001, + "height": 40, + "componentId": "53d06f9b-c85a-4222-a0ef-a577834719d4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "06c674c0-ea25-4088-8fee-3b0a42407ff8", + "name": "textinput3", + "type": "TextInput", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "fc2aa600-abdc-457d-a524-dd79e633f838", + "properties": { + "label": "", + "placeholder": { + "value": "Enter dimensions" + }, + "value": { + "value": "{{components.table1.selectedRow.dimensions}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "4ed876e1-b4e3-42d5-8d70-efecc148f796", + "type": "desktop", + "top": 150, + "left": 18.60464643872745, + "width": 33, + "height": 40, + "componentId": "06c674c0-ea25-4088-8fee-3b0a42407ff8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e102be35-010b-49ce-9308-b9252d67c77b", + "name": "button7", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "ec21f907-a711-4680-b6bd-3954e88d51b8", + "type": "desktop", + "top": 110, + "left": 20.93022726785059, + "width": 10.999999999999998, + "height": 40, + "componentId": "e102be35-010b-49ce-9308-b9252d67c77b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8d906876-99fc-48c8-93ae-36d43aa5cf9e", + "name": "text13", + "type": "Text", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "properties": { + "text": { + "value": "Please note that this process is irreversible.\n
Are you sure you want to delete this Product?" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "textAlign": { + "value": "center" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "textSize": { + "value": "15" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "3e4ab495-42ec-452c-a400-a74a3a85cd61", + "type": "desktop", + "top": 20, + "left": 6.9767360269410466, + "width": 37, + "height": 70, + "componentId": "8d906876-99fc-48c8-93ae-36d43aa5cf9e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c440fdd2-68e5-4838-990c-a14086a95350", + "name": "button8", + "type": "Button", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "properties": { + "text": { + "value": "Delete" + }, + "loadingState": { + "value": "{{queries.deleteProduct.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "4ab0478c-64d5-49f0-afc9-4c576f19cbb6", + "type": "desktop", + "top": 110, + "left": 53.48840466521813, + "width": 10.999999999999998, + "height": 40, + "componentId": "c440fdd2-68e5-4838-990c-a14086a95350", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "66c96c97-33f6-4475-8873-9cc49afb6567", + "name": "container1", + "type": "Container", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "cf3ff9f2-ff6f-4206-9add-82ce82afc7c7", + "type": "desktop", + "top": 20, + "left": 2.3255802612218526, + "width": 41, + "height": 70, + "componentId": "66c96c97-33f6-4475-8873-9cc49afb6567", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e56de6ba-8c59-4b16-a59d-908c66761564", + "name": "text1", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "66c96c97-33f6-4475-8873-9cc49afb6567", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "dcc4ca8d-8583-4988-8d02-d2c57a8e0a41", + "type": "desktop", + "top": 10, + "left": 9.302326918277895, + "width": 6, + "height": 40, + "componentId": "e56de6ba-8c59-4b16-a59d-908c66761564", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "38f30a45-f662-4707-9acb-5a1ad45d1210", + "name": "text2", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "66c96c97-33f6-4475-8873-9cc49afb6567", + "properties": { + "text": { + "value": "
Bill of materials
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "b18dca1b-3d58-4a16-8cf2-38d6a9c39238", + "type": "desktop", + "top": 10, + "left": 67.4418608673325, + "width": 12.999999999999998, + "height": 40, + "componentId": "38f30a45-f662-4707-9acb-5a1ad45d1210", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "name": "container2", + "type": "Container", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "769fe239-988d-43d4-b76a-fe6da4468082", + "type": "mobile", + "top": 720, + "left": 2.3255813953488373, + "width": 5, + "height": 200, + "componentId": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "7e40a00d-edee-43ae-bd56-2804960ff915", + "type": "desktop", + "top": 110.00000381469727, + "left": 2.325581395348837, + "width": 40.99999999999999, + "height": 680, + "componentId": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "updatedAt": "2024-05-03T10:18:25.441Z" + } + ] + }, + { + "id": "4f38a604-92aa-4209-b7d9-d41fc9d11abb", + "name": "table1", + "type": "Table", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "properties": { + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true, + "fxActiveFields": [], + "columnType": "number" + }, + { + "id": "03f89b01-3057-4713-8c61-729cf26dc745", + "name": "material type", + "key": "material_type", + "columnType": "string", + "autogenerated": true + }, + { + "id": "c500710f-32ae-4027-b6f1-7aa7f1c1f46f", + "name": "material description", + "key": "material_description", + "columnType": "string", + "autogenerated": true + }, + { + "id": "d46125a2-0905-472b-865e-189454f5a0a2", + "name": "object description", + "key": "object_description", + "columnType": "string", + "autogenerated": true + }, + { + "id": "12b313a8-a9d7-4961-b58b-07c9b3aa086e", + "name": "source factory", + "key": "source_factory", + "columnType": "string", + "autogenerated": true + }, + { + "id": "eadb98cd-316f-4239-a1ec-dc8b31ff59d1", + "name": "unit of measure", + "key": "unit_of_measure", + "columnType": "string", + "autogenerated": true + }, + { + "id": "5b3cc67b-d3d0-452e-baf8-af7f3db5b3d4", + "name": "standard price", + "key": "standard_price", + "columnType": "number", + "autogenerated": true + }, + { + "id": "fba2087c-c6c2-42cb-b75c-79b690899af5", + "name": "quantity", + "key": "quantity", + "columnType": "number", + "autogenerated": true + }, + { + "id": "8f583991-7cea-4074-a2ab-af95aadffaf6", + "name": "created at", + "key": "created_at", + "columnType": "string", + "autogenerated": true + }, + { + "id": "3a8cd0d8-4a27-4f63-b3b3-905b57839f9c", + "name": "updated at", + "key": "updated_at", + "columnType": "string", + "autogenerated": true + } + ] + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getBillOfMaterials.isLoading}}" + }, + "columnSizes": { + "value": { + "5be4b83a-1478-45bb-8cc0-256f5bcd5819": 173, + "11f5b861-297e-40f9-a4e1-5a099f1a43ba": 170, + "6058c41c-93de-4e91-b177-93e2c9dd4523": 207, + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 41, + "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a": 142, + "831e699e-ad9b-43ca-9365-205756c8fa4d": 378, + "3a8cd0d8-4a27-4f63-b3b3-905b57839f9c": 150, + "8f583991-7cea-4074-a2ab-af95aadffaf6": 167, + "999a2110-8654-4c1e-9557-e9b6ae66747a": 141, + "dba55ca4-e304-4cbb-a99a-238dc54ffc44": 127, + "51626d73-6163-4f58-b9e4-65eccc4fc058": 171, + "a942b295-b2ba-4065-bab6-5e1f4507f4e8": 187, + "d46125a2-0905-472b-865e-189454f5a0a2": 178, + "c500710f-32ae-4027-b6f1-7aa7f1c1f46f": 188 + } + }, + "columnDeletionHistory": { + "value": [ + "is_active", + "product_id" + ] + }, + "actions": { + "value": [ + { + "name": "Action1", + "buttonText": "Edit", + "events": [], + "position": "right", + "backgroundColor": "#3e63dd1a", + "textColor": "#3e63ddff" + }, + { + "name": "Action2", + "buttonText": "Delete", + "events": [], + "position": "right", + "backgroundColor": "#dd00001a", + "textColor": "#dd0000ff" + } + ] + }, + "data": { + "value": "{{queries.getBillOfMaterials.data}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "cellSize": { + "value": "regular", + "fxActive": false + }, + "actionButtonRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-05-02T07:53:34.223Z", + "layouts": [ + { + "id": "0293e87d-85c6-451a-9fc2-39cf759e415b", + "type": "mobile", + "top": 616, + "left": 0, + "width": 28.86, + "height": 456, + "componentId": "4f38a604-92aa-4209-b7d9-d41fc9d11abb", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b0d15289-b04b-44d8-bb8f-030eb11e2590", + "type": "desktop", + "top": 70, + "left": 2.325581944117229, + "width": 41.00000000000001, + "height": 580, + "componentId": "4f38a604-92aa-4209-b7d9-d41fc9d11abb", + "updatedAt": "2024-05-03T10:18:41.278Z" + } + ] + }, + { + "id": "f4e9389d-5de1-45a7-accf-a42d4fd8894c", + "name": "button2", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "properties": { + "text": { + "value": "+ Add bill of material" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "507667c6-2122-416a-8a85-7985e2012e3e", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "f4e9389d-5de1-45a7-accf-a42d4fd8894c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "8f80f26a-c37c-4e9d-a107-53093ac763a9", + "type": "desktop", + "top": 20, + "left": 81.39535794788966, + "width": 7, + "height": 40, + "componentId": "f4e9389d-5de1-45a7-accf-a42d4fd8894c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b5f4b154-9405-417d-a841-2847369c06ad", + "name": "text4", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "2a3f662b-1045-4e6d-a2d2-ff0e3b1b68d4", + "properties": { + "text": { + "value": "Bill of materials of product #{{globals.urlparams.product_id}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#f39c12ff", + "fxActive": false + }, + "textSize": { + "value": "20" + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "0" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "f8ea2522-8bc5-40e2-9fb1-f4311dc6f59d", + "type": "desktop", + "top": 20, + "left": 2.3255841155693076, + "width": 19, + "height": 40, + "componentId": "b5f4b154-9405-417d-a841-2847369c06ad", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9403004e-2c29-4d3e-89b2-e0d009b523bd", + "name": "text5", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Material type" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "f592a002-d42d-4ea2-a1ce-05c5a03d3e05", + "type": "desktop", + "top": 20, + "left": 4.65115456781678, + "width": 6.000000000000001, + "height": 40, + "componentId": "9403004e-2c29-4d3e-89b2-e0d009b523bd", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "cf0fc64b-8a5d-48b8-819d-15b8b5c00f2f", + "name": "textinput1", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "label": "", + "placeholder": { + "value": "Enter material type" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "fc0098ce-e451-483e-b187-7ee2e3ebc045", + "type": "desktop", + "top": 20, + "left": 18.604638684831777, + "width": 33, + "height": 40, + "componentId": "cf0fc64b-8a5d-48b8-819d-15b8b5c00f2f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "508f3111-6789-44e3-9514-ad178367601b", + "name": "text6", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Material description" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000000", + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "605d0107-5329-4b03-9cda-09df7d29c1af", + "type": "desktop", + "top": 80, + "left": 4.651154664943031, + "width": 6, + "height": 50, + "componentId": "508f3111-6789-44e3-9514-ad178367601b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fc2aa600-abdc-457d-a524-dd79e633f838", + "name": "modal2", + "type": "Modal", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": null, + "properties": { + "title": { + "value": "Edit Product #{{components.table1.selectedRow.id}}" + }, + "useDefaultButton": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "03fb9ba8-74ab-4046-b5ee-488f47b7c341", + "type": "desktop", + "top": 860, + "left": 20.93023293624733, + "width": 7, + "height": 40, + "componentId": "fc2aa600-abdc-457d-a524-dd79e633f838", + "updatedAt": "2024-05-03T10:16:14.129Z" + } + ] + }, + { + "id": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "name": "modal3", + "type": "Modal", + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "parent": null, + "properties": { + "title": { + "value": "Delete Product" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "size": { + "value": "sm" + }, + "modalHeight": { + "value": "180px" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "5b8c6317-2f12-403e-8921-419d53369473", + "type": "desktop", + "top": 860, + "left": 39.53487969143487, + "width": 7, + "height": 40, + "componentId": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "updatedAt": "2024-05-03T10:16:14.129Z" + } + ] + }, + { + "id": "9274b471-cc59-44fd-9957-29233859e3da", + "name": "modal1", + "type": "Modal", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": null, + "properties": { + "title": { + "value": "Add bill of material for product #{{globals.urlparams.product_id}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "575px" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "7af191dd-ba05-42e1-9bb3-423eb8ef0026", + "type": "desktop", + "top": 850.0000305175781, + "left": 2.325585184917521, + "width": 7, + "height": 40, + "componentId": "9274b471-cc59-44fd-9957-29233859e3da", + "updatedAt": "2024-05-03T10:18:20.993Z" + } + ] + }, + { + "id": "da1a0c10-8e0e-4346-89e1-612ba0d661a6", + "name": "textarea1", + "type": "TextArea", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter material description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "6dc4c2bc-01ac-4e8d-a32f-a0743de34e0a", + "type": "desktop", + "top": 80, + "left": 18.604657474183508, + "width": 33, + "height": 100, + "componentId": "da1a0c10-8e0e-4346-89e1-612ba0d661a6", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8b9e1ced-ccd0-46e4-a02a-d9e9e9764938", + "name": "button4", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Add" + }, + "loadingState": { + "value": "{{queries.addBillOfMaterial.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{false}}", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "64542c00-e413-4e9e-9beb-4b7649cfa476", + "type": "desktop", + "top": 510, + "left": 81.39536492987666, + "width": 6, + "height": 40, + "componentId": "8b9e1ced-ccd0-46e4-a02a-d9e9e9764938", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a39f5746-0f4e-4991-b6b4-ca13a5398709", + "name": "button3", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "5be0d68c-95a5-43b5-8411-535a1d038b31", + "type": "desktop", + "top": 510, + "left": 65.116282275768, + "width": 6, + "height": 40, + "componentId": "a39f5746-0f4e-4991-b6b4-ca13a5398709", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2df94afd-69c0-4d94-b984-a3cb290dc5bc", + "name": "icon1", + "type": "Icon", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "66c96c97-33f6-4475-8873-9cc49afb6567", + "properties": { + "icon": { + "value": "IconChevronLeft" + } + }, + "general": {}, + "styles": { + "iconColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "ac333c9c-f919-44c5-8835-da0fee1b408c", + "type": "mobile", + "top": 10, + "left": 39.53488372093023, + "width": 11.627906976744185, + "height": 48, + "componentId": "2df94afd-69c0-4d94-b984-a3cb290dc5bc", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a4686e6e-0da3-4b1a-8161-057b459abce6", + "type": "desktop", + "top": 10, + "left": 2.3255833814155125, + "width": 2, + "height": 40, + "componentId": "2df94afd-69c0-4d94-b984-a3cb290dc5bc", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1ee610d5-8eac-430d-b336-c2404298df8b", + "name": "text7", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Object description" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "4b56e891-8cda-49c0-b775-06d920b1076e", + "type": "desktop", + "top": 200, + "left": 4.6511545395406815, + "width": 6, + "height": 50, + "componentId": "1ee610d5-8eac-430d-b336-c2404298df8b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6d8ceff3-a993-4dc4-98b7-b38f47912092", + "name": "textarea2", + "type": "TextArea", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter object description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "3d60b179-9c8f-4b20-abb7-304f818bfc24", + "type": "desktop", + "top": 200, + "left": 18.604655513731988, + "width": 33, + "height": 100, + "componentId": "6d8ceff3-a993-4dc4-98b7-b38f47912092", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ae902708-b1cd-4d7b-83e5-10454beee261", + "name": "text8", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Source factory" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "970be184-cdd2-4188-a02b-57eedd9a82f5", + "type": "desktop", + "top": 310, + "left": 4.651157426355908, + "width": 6, + "height": 60, + "componentId": "ae902708-b1cd-4d7b-83e5-10454beee261", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "524c09ec-7d89-4d03-864f-0a8936cad44f", + "name": "textinput2", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "label": "", + "placeholder": { + "value": "Enter source factory" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "8eb88c45-fa83-41f5-a304-44a9e56b07c2", + "type": "desktop", + "top": 320, + "left": 18.604638422252556, + "width": 33, + "height": 40, + "componentId": "524c09ec-7d89-4d03-864f-0a8936cad44f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fbba54b8-32cf-4851-809d-1536fce4b0ed", + "name": "text9", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Unit of measure" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "0fec4eac-7746-4178-abea-faab788355af", + "type": "desktop", + "top": 370, + "left": 4.651157244716476, + "width": 6, + "height": 60, + "componentId": "fbba54b8-32cf-4851-809d-1536fce4b0ed", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8200620e-88e9-4c49-8fe9-6a3bf44cb33b", + "name": "textinput3", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "label": "", + "placeholder": { + "value": "Enter unit of measure" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "beec0bba-7ff3-4bde-8e3d-d511550ae401", + "type": "desktop", + "top": 380, + "left": 18.604642453711005, + "width": 33, + "height": 40, + "componentId": "8200620e-88e9-4c49-8fe9-6a3bf44cb33b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "22007f88-3e35-4a76-9707-f214352fb57d", + "name": "text10", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Quantity" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "dd46f3ba-0f5b-4b54-990f-b067e42423a3", + "type": "desktop", + "top": 440, + "left": 4.651162406269025, + "width": 6, + "height": 40, + "componentId": "22007f88-3e35-4a76-9707-f214352fb57d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4e928ab4-23b6-4caa-878b-d58869866705", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "label": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "3445e418-eb97-4bd4-ac7c-a1884ed7f9cc", + "type": "mobile", + "top": 460, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "4e928ab4-23b6-4caa-878b-d58869866705", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2444a838-237d-4804-9422-d07fb48c47b5", + "type": "desktop", + "top": 440, + "left": 18.60464844185945, + "width": 10, + "height": 40, + "componentId": "4e928ab4-23b6-4caa-878b-d58869866705", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "db375886-90ad-450f-bf83-093846bcce07", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + } + }, + "general": {}, + "styles": { + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + } + }, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "552a0244-e662-4ae3-b48a-b3ff0ebbb218", + "type": "mobile", + "top": 460, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "db375886-90ad-450f-bf83-093846bcce07", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ef3edf7a-dda8-41ec-8582-a3135a89c37b", + "type": "desktop", + "top": 440, + "left": 65.11627906976746, + "width": 13, + "height": 40, + "componentId": "db375886-90ad-450f-bf83-093846bcce07", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ea922ec1-b6a6-46df-ab2a-e7389028c39d", + "name": "text11", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "9274b471-cc59-44fd-9957-29233859e3da", + "properties": { + "text": { + "value": "Standard price" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "9591f941-34a6-430e-9856-2cdc8c031d65", + "type": "desktop", + "top": 440, + "left": 48.8372037445397, + "width": 7, + "height": 40, + "componentId": "ea922ec1-b6a6-46df-ab2a-e7389028c39d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "455d34c1-4c91-4c6e-a39e-af1309b728e6", + "name": "button6", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.editBillOfMaterial.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "0ba768b0-f715-4e60-8c78-72a2fbddc423", + "type": "desktop", + "top": 510, + "left": 81.39536552400912, + "width": 6, + "height": 40, + "componentId": "455d34c1-4c91-4c6e-a39e-af1309b728e6", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "75408b7e-ef19-41f3-92e4-ccae55072a71", + "name": "textinput6", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "label": "", + "placeholder": { + "value": "Enter unit of measure" + }, + "value": { + "value": "{{components.table1.selectedRow.unit_of_measure}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "62d37dc4-0bb2-470b-b819-4f5ddbcbcb10", + "type": "desktop", + "top": 380, + "left": 18.604637511433015, + "width": 33, + "height": 40, + "componentId": "75408b7e-ef19-41f3-92e4-ccae55072a71", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "23bc05f2-c6c5-4903-a9c9-a706cae9d6b2", + "name": "numberinput4", + "type": "NumberInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + }, + "value": { + "value": "{{components.table1.selectedRow.standard_price}}" + } + }, + "general": {}, + "styles": { + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + } + }, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "92d4992d-6536-488d-afc6-71b96273d424", + "type": "desktop", + "top": 440, + "left": 65.11627983387694, + "width": 13, + "height": 40, + "componentId": "23bc05f2-c6c5-4903-a9c9-a706cae9d6b2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cf9089df-e8f7-4889-9d01-954a59da0d91", + "type": "mobile", + "top": 460, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "23bc05f2-c6c5-4903-a9c9-a706cae9d6b2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "42bdc0f2-de22-4069-a358-1603a4856ae3", + "name": "text12", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Material type" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "b94b60eb-a818-41fb-8fd8-dc92d41b317c", + "type": "desktop", + "top": 20, + "left": 4.65115456781678, + "width": 6.000000000000001, + "height": 40, + "componentId": "42bdc0f2-de22-4069-a358-1603a4856ae3", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "df64af4f-ef2f-46f6-935f-9796fe66e713", + "name": "text13", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Material description" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "817d6a93-3477-4b2b-a48c-235a6446950d", + "type": "desktop", + "top": 80, + "left": 4.651154664943031, + "width": 6, + "height": 50, + "componentId": "df64af4f-ef2f-46f6-935f-9796fe66e713", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7065109a-4c36-489e-b115-966ef1dbdf0d", + "name": "text14", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Object description" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "9a12dfc5-1483-4a26-b467-da77e455ed85", + "type": "desktop", + "top": 200, + "left": 4.6511545395406815, + "width": 6, + "height": 50, + "componentId": "7065109a-4c36-489e-b115-966ef1dbdf0d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "14537564-bb36-440a-9b2e-83fbfc1d9981", + "name": "text15", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Source factory" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "9d6655dd-03e8-4ed0-9673-a0b686b449f6", + "type": "desktop", + "top": 310, + "left": 4.651157426355908, + "width": 6, + "height": 60, + "componentId": "14537564-bb36-440a-9b2e-83fbfc1d9981", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b360db67-016f-4acd-8a59-30c2ce754fdb", + "name": "text16", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Unit of measure" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "1ff51de2-93da-41f6-aed7-8da3cf68befc", + "type": "desktop", + "top": 370, + "left": 4.651157244716476, + "width": 6, + "height": 60, + "componentId": "b360db67-016f-4acd-8a59-30c2ce754fdb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e2b33a51-4862-400d-bdb2-ea82cc852a4d", + "name": "text17", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Quantity" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "fce76260-4520-4386-b564-3b2fbcf3cd5e", + "type": "desktop", + "top": 440, + "left": 4.651162406269025, + "width": 6, + "height": 40, + "componentId": "e2b33a51-4862-400d-bdb2-ea82cc852a4d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3b7b6c1f-b4ab-462a-832d-e4e0ab5cf12c", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "label": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + }, + "value": { + "value": "{{components.table1.selectedRow.quantity}}" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "49f0a369-418d-4751-8f0c-ba8fe1b2c90c", + "type": "mobile", + "top": 460, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "3b7b6c1f-b4ab-462a-832d-e4e0ab5cf12c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d7f80499-80d4-4dd9-8585-c58ae8e0ebcc", + "type": "desktop", + "top": 440, + "left": 18.604658839733556, + "width": 10, + "height": 40, + "componentId": "3b7b6c1f-b4ab-462a-832d-e4e0ab5cf12c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e8823d3d-0f33-4a00-818c-79a740dc8938", + "name": "text18", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Standard price" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "4920af83-d048-49d6-986e-a0061a3836bf", + "type": "desktop", + "top": 440, + "left": 48.8372037445397, + "width": 7, + "height": 40, + "componentId": "e8823d3d-0f33-4a00-818c-79a740dc8938", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "name": "modal3", + "type": "Modal", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": null, + "properties": { + "title": { + "value": "Delete Bill of Material" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "size": { + "value": "sm" + }, + "modalHeight": { + "value": "190px" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "7376f849-b57f-47cf-b213-eab8af48a29c", + "type": "desktop", + "top": 850.0000152587891, + "left": 39.53488048274511, + "width": 7, + "height": 40, + "componentId": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "updatedAt": "2024-05-03T10:18:20.993Z" + } + ] + }, + { + "id": "e3ce7fb7-e350-4aea-bb28-a4a8f42ab1eb", + "name": "textarea3", + "type": "TextArea", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.material_description}}" + }, + "placeholder": { + "value": "Enter material description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "e8507617-1745-4fef-8758-f7293d49cc44", + "type": "desktop", + "top": 80, + "left": 18.60465668168237, + "width": 33, + "height": 100, + "componentId": "e3ce7fb7-e350-4aea-bb28-a4a8f42ab1eb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "15ee03f2-6d13-41f3-a59b-a6d6d614b48b", + "name": "textarea4", + "type": "TextArea", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.object_description}}" + }, + "placeholder": { + "value": "Enter object description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "12d9e497-2c3c-4a85-abd1-5683fdc1281e", + "type": "desktop", + "top": 200, + "left": 18.604654811274, + "width": 33, + "height": 100, + "componentId": "15ee03f2-6d13-41f3-a59b-a6d6d614b48b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2d1ac01f-46d1-45ff-8abb-399f8b7bb867", + "name": "textinput5", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "label": "", + "placeholder": { + "value": "Enter source factory" + }, + "value": { + "value": "{{components.table1.selectedRow.source_factory}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "d4e805e3-89df-41dc-b955-5bd35ad672fb", + "type": "desktop", + "top": 320, + "left": 18.604641524789415, + "width": 33, + "height": 40, + "componentId": "2d1ac01f-46d1-45ff-8abb-399f8b7bb867", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c9700b21-1bf5-40d0-8437-4344cd5ff816", + "name": "textinput4", + "type": "TextInput", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "label": "", + "placeholder": { + "value": "Enter material type" + }, + "value": { + "value": "{{components.table1.selectedRow.material_type}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "9fde546b-5bd7-45b3-a8b1-cabbb06ddcd4", + "type": "desktop", + "top": 20, + "left": 18.60464074149818, + "width": 33, + "height": 40, + "componentId": "c9700b21-1bf5-40d0-8437-4344cd5ff816", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "52a3f6e9-7bd9-4818-ac29-c68c3a4ba773", + "name": "button5", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "65093d7e-d695-4b29-8e46-941799a823ac", + "type": "desktop", + "top": 510, + "left": 65.11628375595276, + "width": 6, + "height": 40, + "componentId": "52a3f6e9-7bd9-4818-ac29-c68c3a4ba773", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c9318539-fa2c-43fc-88fc-9cb19486f713", + "name": "button8", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "properties": { + "text": { + "value": "Delete" + }, + "loadingState": { + "value": "{{queries.deleteBillOfMaterial.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#f39c12ff" + }, + "textColor": { + "value": "#ffffffff" + }, + "loaderColor": { + "value": "#ffffffff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "6ed155cf-ef2b-4ab8-8495-eb8217ed08d5", + "type": "desktop", + "top": 120, + "left": 53.48840558120791, + "width": 10.999999999999998, + "height": 40, + "componentId": "c9318539-fa2c-43fc-88fc-9cb19486f713", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5a3891ab-72f3-4951-8dce-a06029900fb8", + "name": "text19", + "type": "Text", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "properties": { + "text": { + "value": "Please note that this process is irreversible.\n
Are you sure you want to delete this Bill of material?" + } + }, + "general": {}, + "styles": { + "textColor": { + "fxActive": false + }, + "textSize": { + "value": "15" + }, + "textAlign": { + "value": "center" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "2d4d33dc-caa2-4aa9-90e3-e731f997688d", + "type": "desktop", + "top": 20, + "left": 6.976743741167563, + "width": 37, + "height": 80, + "componentId": "5a3891ab-72f3-4951-8dce-a06029900fb8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2b742134-9f22-4f62-84c2-d3ebbb9c6524", + "name": "button7", + "type": "Button", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#f39c12ff" + }, + "loaderColor": { + "value": "#f39c12ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f39c12ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "a5e3fc6b-a733-4d03-aaf0-0705bcf3ea1d", + "type": "desktop", + "top": 120, + "left": 20.930220502471567, + "width": 10.999999999999998, + "height": 40, + "componentId": "2b742134-9f22-4f62-84c2-d3ebbb9c6524", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "name": "modal2", + "type": "Modal", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "parent": null, + "properties": { + "title": { + "value": "Edit bill of material #{{components.table1.selectedRow.id}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "575px" + } + }, + "general": {}, + "styles": { + "headerBackgroundColor": { + "value": "#f39c12ff" + }, + "headerTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "layouts": [ + { + "id": "dce5aa13-6868-4d78-80f7-6c405789bcab", + "type": "desktop", + "top": 850.0000343322754, + "left": 20.93023752831894, + "width": 7, + "height": 40, + "componentId": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "updatedAt": "2024-05-03T10:18:20.993Z" + } + ] + } + ], + "pages": [ + { + "id": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413" + }, + { + "id": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "name": "Bill of materials", + "handle": "bill-of-materials", + "index": 2, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413" + } + ], + "events": [ + { + "id": "5a74b909-b396-4821-8a5e-d6bc61b05e92", + "name": "onClick", + "index": 0, + "event": { + "modal": "be653b9e-2625-4875-ba25-c8cf595f9746", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "164af315-e776-4ec7-a652-c3ef68d0e02e", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.678Z" + }, + { + "id": "65d2821e-2f1d-456f-b093-076d261b7f85", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action1", + "modal": "fc2aa600-abdc-457d-a524-dd79e633f838", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "de560825-4854-4c26-8457-093387d45de9", + "target": "table_action", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.686Z" + }, + { + "id": "19ac280b-ca0e-480a-92f9-2989f7f79e99", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action2", + "modal": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "de560825-4854-4c26-8457-093387d45de9", + "target": "table_action", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.694Z" + }, + { + "id": "0bdd30af-031c-4d60-ba5b-86825a693ff8", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update product! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "10bfd8d4-9f5c-4d63-a6c9-7800a00cd48f", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to delete product! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "76b651b9-55f5-4a6e-b52a-851c3f5c09f0", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product deleted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "22f955c5-28ee-489e-8bff-1030d8c264b6", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Bill of material added successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "23615ee1-9a63-471b-95c9-975030baca29", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "00c01e22-cc89-47ad-b6a0-92929f2fb3b2", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to add bill of material! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "23615ee1-9a63-471b-95c9-975030baca29", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "7442b453-601b-427d-bd74-3bc5bb326824", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Bill of material updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "0e1330f9-c435-4fdd-bde9-23bc4488e0a5", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update bill of material! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "2c369205-f290-400a-ac27-7970e4c57584", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Bill of material deleted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "ec48d4d9-69aa-4745-be27-1a027f0abe71", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to delete bill of material! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "abaa5afc-5cb1-4741-9535-84bd79638018", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action3", + "pageId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info", + "queryParams": [ + [ + "product_id", + "{{components.table1.selectedRow.id}}" + ] + ] + }, + "sourceId": "de560825-4854-4c26-8457-093387d45de9", + "target": "table_action", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.669Z" + }, + { + "id": "0e64a738-d657-471e-932b-743b3198abcd", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "f4f6e1c3-42eb-4faa-a2ba-71a866bde3f5", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.703Z" + }, + { + "id": "104296fa-f1e6-4900-8bf3-f0262284d359", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.716Z" + }, + { + "id": "93d3a029-9c20-4ada-b08a-becdc73d3003", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "f4f6e1c3-42eb-4faa-a2ba-71a866bde3f5", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.729Z" + }, + { + "id": "c43a2e36-f2d2-459a-9551-566f436aeab5", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "9274b471-cc59-44fd-9957-29233859e3da", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "23615ee1-9a63-471b-95c9-975030baca29", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.734Z" + }, + { + "id": "140b049c-060d-4f4e-b043-46c64d9a2616", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e930359a-bbfc-43d3-b019-6509f0658362", + "actionId": "run-query", + "alertType": "info", + "queryName": "getBillOfMaterials", + "parameters": {} + }, + "sourceId": "23615ee1-9a63-471b-95c9-975030baca29", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.743Z" + }, + { + "id": "7c7a160f-804a-49dc-9d3a-50df1d8670e3", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.750Z" + }, + { + "id": "f71103f8-d5cc-45c3-8b95-3ab881991ff1", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e930359a-bbfc-43d3-b019-6509f0658362", + "actionId": "run-query", + "alertType": "info", + "queryName": "getBillOfMaterials", + "parameters": {} + }, + "sourceId": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.757Z" + }, + { + "id": "f795d6b5-a64a-4c8a-ad69-ed9c0d9e08ca", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.765Z" + }, + { + "id": "5980c89a-cb2f-4d10-a7bd-36145ef0704f", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e930359a-bbfc-43d3-b019-6509f0658362", + "actionId": "run-query", + "alertType": "info", + "queryName": "getBillOfMaterials", + "parameters": {} + }, + "sourceId": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.776Z" + }, + { + "id": "30d66890-663d-43ec-b3fd-866f9b436160", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product added successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "57c7b3a8-7f1e-401a-a5d5-acfa7b336586", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to add product! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "26479148-104b-4cd4-bb58-58d296e32040", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "1d392bc9-068f-451b-96c3-d7d0f647941b", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "actionId": "run-query", + "alertType": "info", + "queryName": "addProduct", + "parameters": {} + }, + "sourceId": "3f35a924-1140-4c59-b703-3e3c0da4062c", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.786Z" + }, + { + "id": "146d08f1-eb05-4c75-8232-472ae3502419", + "name": "onClick", + "index": 0, + "event": { + "modal": "be653b9e-2625-4875-ba25-c8cf595f9746", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "289e0e50-bc30-4c75-b069-99e8ac6820dc", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.802Z" + }, + { + "id": "3a88f382-ea8d-4c40-9c44-6d7f13587a06", + "name": "onClick", + "index": 0, + "event": { + "modal": "fc2aa600-abdc-457d-a524-dd79e633f838", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "7387e45d-ef02-4549-a88b-2c02354e93b5", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.811Z" + }, + { + "id": "8ee652ef-3bb1-40e2-ab66-84c7363f2b1d", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "actionId": "run-query", + "alertType": "info", + "queryName": "editProduct", + "parameters": {} + }, + "sourceId": "8c42d6b1-d175-4bdb-b2c9-36eee8c78cda", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.820Z" + }, + { + "id": "a511996d-9c70-42af-92af-a96f47e87217", + "name": "onClick", + "index": 0, + "event": { + "modal": "7407ce6e-3397-40dd-9ddf-0e9c33745d7b", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "e102be35-010b-49ce-9308-b9252d67c77b", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.828Z" + }, + { + "id": "d5093f9e-6ba5-4113-a57a-9f91fb9ef376", + "name": "onClick", + "index": 0, + "event": { + "modal": "bfb53bb5-bed1-4447-b7a0-d3dd80689582", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteProduct", + "parameters": {} + }, + "sourceId": "c440fdd2-68e5-4838-990c-a14086a95350", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.836Z" + }, + { + "id": "984fdd14-d58b-4734-b4e2-186d86979545", + "name": "onPageLoad", + "index": 0, + "event": { + "eventId": "onPageLoad", + "message": "Hello world!", + "queryId": "f4f6e1c3-42eb-4faa-a2ba-71a866bde3f5", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "target": "page", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.842Z" + }, + { + "id": "f5bf505a-1bda-4102-b5e0-fd94ae5e0124", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action1", + "modal": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "4f38a604-92aa-4209-b7d9-d41fc9d11abb", + "target": "table_action", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.849Z" + }, + { + "id": "633757c5-6392-4936-8e4a-b26764332e04", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action2", + "modal": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "4f38a604-92aa-4209-b7d9-d41fc9d11abb", + "target": "table_action", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.856Z" + }, + { + "id": "8b1b41fc-316f-43b7-9dbe-3e2d08625063", + "name": "onClick", + "index": 0, + "event": { + "modal": "9274b471-cc59-44fd-9957-29233859e3da", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "f4e9389d-5de1-45a7-accf-a42d4fd8894c", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.864Z" + }, + { + "id": "a8fb82d5-5290-47e8-8048-172ccfb9f9b9", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "23615ee1-9a63-471b-95c9-975030baca29", + "actionId": "run-query", + "alertType": "info", + "queryName": "addBillOfMaterials", + "parameters": {} + }, + "sourceId": "8b9e1ced-ccd0-46e4-a02a-d9e9e9764938", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.872Z" + }, + { + "id": "fcbd272d-62e5-4cf5-80a8-0fbf8918b509", + "name": "onClick", + "index": 0, + "event": { + "modal": "9274b471-cc59-44fd-9957-29233859e3da", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "a39f5746-0f4e-4991-b6b4-ca13a5398709", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.877Z" + }, + { + "id": "739be6c9-a335-4f6c-8ae8-92b9e5d823fd", + "name": "onClick", + "index": 0, + "event": { + "pageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info" + }, + "sourceId": "2df94afd-69c0-4d94-b984-a3cb290dc5bc", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.883Z" + }, + { + "id": "de7b7928-9bfb-44f9-aa6c-17dcbda4445f", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "actionId": "run-query", + "alertType": "info", + "queryName": "editBillOfMaterial", + "parameters": {} + }, + "sourceId": "455d34c1-4c91-4c6e-a39e-af1309b728e6", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.890Z" + }, + { + "id": "89351d0c-d9d9-481e-90e5-f12e5fc48df4", + "name": "onClick", + "index": 0, + "event": { + "modal": "7cd75922-accc-42fc-9e68-5ab94d26be26", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "52a3f6e9-7bd9-4818-ac29-c68c3a4ba773", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.898Z" + }, + { + "id": "021c0fef-b909-4ad8-8708-b8ab27a0e5d5", + "name": "onClick", + "index": 0, + "event": { + "modal": "bfb53bb5-bed1-4447-b7a0-d3dd80689582", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteBillOfMaterial", + "parameters": {} + }, + "sourceId": "c9318539-fa2c-43fc-88fc-9cb19486f713", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.905Z" + }, + { + "id": "b27c5aec-09ff-4eaa-8931-e8274097fbe8", + "name": "onClick", + "index": 0, + "event": { + "modal": "60e1f9b3-0d78-4e6b-82eb-3efa1ebf5ae4", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "2b742134-9f22-4f62-84c2-d3ebbb9c6524", + "target": "component", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.912Z" + }, + { + "id": "ca414ca2-f0cb-4b9e-a93d-8b46978ff385", + "name": "onPageLoad", + "index": 0, + "event": { + "eventId": "onPageLoad", + "message": "Hello world!", + "queryId": "e930359a-bbfc-43d3-b019-6509f0658362", + "actionId": "run-query", + "alertType": "info", + "queryName": "getBillOfMaterials", + "parameters": {} + }, + "sourceId": "28cd8214-70d6-432b-8b16-5f3f335e9dce", + "target": "page", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.921Z" + }, + { + "id": "b6f252a0-748d-4d0b-b385-7a67c440a87a", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "be653b9e-2625-4875-ba25-c8cf595f9746", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.929Z" + }, + { + "id": "73984d87-cef3-40c4-86af-b49727adde7b", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "f4f6e1c3-42eb-4faa-a2ba-71a866bde3f5", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.939Z" + }, + { + "id": "082ba93a-b93e-451d-8732-73449a13b24e", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "fc2aa600-abdc-457d-a524-dd79e633f838", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "target": "data_query", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:02.949Z" + } + ], + "dataQueries": [ + { + "id": "f4f6e1c3-42eb-4faa-a2ba-71a866bde3f5", + "name": "getProducts", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "8d0bd25c-c326-4b32-a09e-d4efd3a7be53", + "join_table": { + "joins": [ + { + "id": 1713570368316, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "name", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "category", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "dimensions", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "description", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "created_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "updated_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "is_active", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + ] + }, + "list_rows": { + "order_filters": {}, + "where_filters": { + "1d91e995-b451-4abd-84ee-47ea4ef85801": { + "column": "is_active", + "operator": "eq", + "value": "{{true}}", + "id": "1d91e995-b451-4abd-84ee-47ea4ef85801" + } + } + }, + "runOnPageLoad": false + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-05-03T10:35:41.867Z" + }, + { + "id": "e930359a-bbfc-43d3-b019-6509f0658362", + "name": "getBillOfMaterials", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "53e3ba57-290f-463b-b4b2-6a8f180d4ea0", + "join_table": { + "joins": [ + { + "id": 1713574338615, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "product_id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_type", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "object_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "source_factory", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "unit_of_measure", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "quantity", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "standard_price", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "created_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "updated_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "is_active", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + ] + }, + "list_rows": { + "order_filters": {}, + "where_filters": { + "f2101be5-3367-417c-bd85-6c625fbaca59": { + "column": "is_active", + "operator": "eq", + "value": "{{true}}", + "id": "f2101be5-3367-417c-bd85-6c625fbaca59" + }, + "e8974db0-4521-4013-adcb-1ed1b6f38c1c": { + "column": "product_id", + "operator": "eq", + "value": "{{globals.urlparams.product_id}}", + "id": "e8974db0-4521-4013-adcb-1ed1b6f38c1c" + } + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-05-03T10:29:57.105Z" + }, + { + "id": "5e826cfa-20f7-4fbd-8d48-c282719933c3", + "name": "addProduct", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "8d0bd25c-c326-4b32-a09e-d4efd3a7be53", + "join_table": { + "joins": [ + { + "id": 1713570158384, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "name", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "category", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "dimensions", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "description", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "created_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "updated_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "is_active", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "name", + "value": "{{components.textinput1.value}}" + }, + "1": { + "column": "category", + "value": "{{components.dropdown1.value}}" + }, + "2": { + "column": "dimensions", + "value": "{{components.textinput2.value}}" + }, + "3": { + "column": "description", + "value": "{{components.textarea1.value}}" + }, + "4": { + "column": "created_at", + "value": "{{moment().format()}}" + }, + "5": { + "column": "updated_at", + "value": "{{moment().format()}}" + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "820d21cf-f1fb-4689-86b3-7835fe0850b9", + "name": "editProduct", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "8d0bd25c-c326-4b32-a09e-d4efd3a7be53", + "join_table": { + "joins": [ + { + "id": 1713572871008, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "name", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "category", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "dimensions", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "description", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "created_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "updated_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "is_active", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "name", + "value": "{{components.textinput4.value}}" + }, + "1": { + "column": "category", + "value": "{{components.dropdown2.value}}" + }, + "2": { + "column": "dimensions", + "value": "{{components.textinput3.value}}" + }, + "3": { + "column": "description", + "value": "{{components.textarea2.value}}" + }, + "20feb667-657b-40e0-9af7-3bd6ea04b1b6": { + "column": "updated_at", + "value": "{{moment().format()}}" + } + }, + "where_filters": { + "5f885cd2-e407-4b63-bd72-d4b84ded258c": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "5f885cd2-e407-4b63-bd72-d4b84ded258c" + } + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "0963b5eb-344d-45c6-be9d-f0d17d8363a7", + "name": "deleteProduct", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "8d0bd25c-c326-4b32-a09e-d4efd3a7be53", + "join_table": { + "joins": [ + { + "id": 1713572871008, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "name", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "category", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "dimensions", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "description", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "created_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "updated_at", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + }, + { + "name": "is_active", + "table": "bb2f7e03-d585-4080-a600-ff0a15fe6a2d" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "ce510fe4-a1da-4f7f-a4fb-e9ee953c208b": { + "column": "is_active", + "value": "{{false}}" + } + }, + "where_filters": { + "5f885cd2-e407-4b63-bd72-d4b84ded258c": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "5f885cd2-e407-4b63-bd72-d4b84ded258c" + } + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "23615ee1-9a63-471b-95c9-975030baca29", + "name": "addBillOfMaterial", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "53e3ba57-290f-463b-b4b2-6a8f180d4ea0", + "join_table": { + "joins": [ + { + "id": 1713574527489, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "product_id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_type", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "object_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "source_factory", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "unit_of_measure", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "quantity", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "standard_price", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "created_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "updated_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "is_active", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "product_id", + "value": "{{globals.urlparams.product_id}}" + }, + "1": { + "column": "material_description", + "value": "{{components.textarea1.value}}" + }, + "2": { + "column": "material_type", + "value": "{{components.textinput1.value}}" + }, + "3": { + "column": "object_description", + "value": "{{components.textarea2.value}}" + }, + "4": { + "column": "source_factory", + "value": "{{components.textinput2.value}}" + }, + "5": { + "column": "unit_of_measure", + "value": "{{components.textinput3.value}}" + }, + "6": { + "column": "quantity", + "value": "{{components.numberinput1.value}}" + }, + "7": { + "column": "standard_price", + "value": "{{components.numberinput2.value}}" + }, + "8": { + "column": "created_at", + "value": "{{moment().format()}}" + }, + "9": { + "column": "updated_at", + "value": "{{moment().format()}}" + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "bd3c159b-0dc6-411e-bfcb-64ccae56c76f", + "name": "editBillOfMaterial", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "53e3ba57-290f-463b-b4b2-6a8f180d4ea0", + "join_table": { + "joins": [ + { + "id": 1713578837963, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "product_id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_type", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "object_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "source_factory", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "unit_of_measure", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "quantity", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "standard_price", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "created_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "updated_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "is_active", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "product_id", + "value": "{{globals.urlparams.product_id}}" + }, + "1": { + "column": "material_type", + "value": "{{components.textinput4.value}}" + }, + "2": { + "column": "material_description", + "value": "{{components.textarea3.value}}" + }, + "3": { + "column": "object_description", + "value": "{{components.textarea4.value}}" + }, + "4": { + "column": "source_factory", + "value": "{{components.textinput5.value}}" + }, + "5": { + "column": "unit_of_measure", + "value": "{{components.textinput6.value}}" + }, + "6": { + "column": "quantity", + "value": "{{components.numberinput3.value}}" + }, + "7": { + "column": "standard_price", + "value": "{{components.numberinput4.value}}" + }, + "8": { + "column": "updated_at", + "value": "{{moment().format()}}" + } + }, + "where_filters": { + "7d1b544d-ef1d-4949-8c6c-f31a7394144b": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "7d1b544d-ef1d-4949-8c6c-f31a7394144b" + } + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + }, + { + "id": "3879cfc5-4134-4368-bf8b-da8b3b8d7d85", + "name": "deleteBillOfMaterial", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "6f3de172-8e91-4fcf-8810-b5a78cc226dd", + "table_id": "53e3ba57-290f-463b-b4b2-6a8f180d4ea0", + "join_table": { + "joins": [ + { + "id": 1713578837963, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "product_id", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "material_type", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "object_description", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "source_factory", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "unit_of_measure", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "quantity", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "standard_price", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "created_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "updated_at", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + }, + { + "name": "is_active", + "table": "9e7019ac-d2ec-47ac-beb2-0d05b39eab29" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "e197d6e6-62cc-406a-a3f1-f5ed882b8f04": { + "column": "is_active", + "value": "{{false}}" + } + }, + "where_filters": { + "7d1b544d-ef1d-4949-8c6c-f31a7394144b": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "7d1b544d-ef1d-4949-8c6c-f31a7394144b" + } + } + } + }, + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "createdAt": "2024-04-25T07:35:01.965Z", + "updatedAt": "2024-04-25T07:35:01.965Z" + } + ], + "dataSources": [ + { + "id": "9e192cdd-5fa7-41c2-b5f7-663cb247b71d", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:35:01.973Z", + "updatedAt": "2024-04-25T07:35:01.973Z" + }, + { + "id": "deafd4e4-a101-465c-a426-75fc9a1289ee", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:35:01.989Z", + "updatedAt": "2024-04-25T07:35:01.989Z" + }, + { + "id": "4a773825-5b0c-4e18-89dd-e87150f9a798", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:35:02.004Z", + "updatedAt": "2024-04-25T07:35:02.004Z" + }, + { + "id": "7dae5757-eda8-478b-9115-7e5ef067effe", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:35:02.020Z", + "updatedAt": "2024-04-25T07:35:02.020Z" + }, + { + "id": "06fcf696-35eb-45cd-ba28-19c44e14ffae", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:35:02.036Z", + "updatedAt": "2024-04-25T07:35:02.036Z" + } + ], + "appVersions": [ + { + "id": "803222dc-a50b-4f46-a769-2c4ebde4e413", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "68abf16e-f1e3-4712-86c2-71149cbdd383", + "appId": "12c1939b-7a91-4a17-b63d-afe100c40a9c", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:35:01.958Z", + "updatedAt": "2024-05-03T10:33:20.185Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "f1132d7d-204d-4447-84f3-da4da51ef136", + "dataSourceId": "9e192cdd-5fa7-41c2-b5f7-663cb247b71d", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:35:01.985Z", + "updatedAt": "2024-04-25T07:35:01.985Z" + }, + { + "id": "896b3281-e442-4c28-bd08-f9c9f21a7d9c", + "dataSourceId": "9e192cdd-5fa7-41c2-b5f7-663cb247b71d", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:35:01.985Z", + "updatedAt": "2024-04-25T07:35:01.985Z" + }, + { + "id": "e3838e77-9cc8-4c7b-aef9-cecd7c628ac4", + "dataSourceId": "9e192cdd-5fa7-41c2-b5f7-663cb247b71d", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:35:01.985Z", + "updatedAt": "2024-04-25T07:35:01.985Z" + }, + { + "id": "d39d4262-11ac-43bb-89a6-14b1f192a850", + "dataSourceId": "deafd4e4-a101-465c-a426-75fc9a1289ee", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:35:01.997Z", + "updatedAt": "2024-04-25T07:35:01.997Z" + }, + { + "id": "90d1270b-4f23-48c9-a989-b365dd517f5a", + "dataSourceId": "deafd4e4-a101-465c-a426-75fc9a1289ee", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:35:01.997Z", + "updatedAt": "2024-04-25T07:35:01.997Z" + }, + { + "id": "86112788-ca57-476a-80ee-9f9924f7d470", + "dataSourceId": "deafd4e4-a101-465c-a426-75fc9a1289ee", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:35:01.997Z", + "updatedAt": "2024-04-25T07:35:01.997Z" + }, + { + "id": "0d816cc4-98f1-4e90-96d8-26cea951bdc4", + "dataSourceId": "4a773825-5b0c-4e18-89dd-e87150f9a798", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:35:02.015Z", + "updatedAt": "2024-04-25T07:35:02.015Z" + }, + { + "id": "77fb820c-8876-48f0-82da-00af0f366b4b", + "dataSourceId": "4a773825-5b0c-4e18-89dd-e87150f9a798", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:35:02.015Z", + "updatedAt": "2024-04-25T07:35:02.015Z" + }, + { + "id": "772b964f-42f3-4463-86e4-de2240968514", + "dataSourceId": "4a773825-5b0c-4e18-89dd-e87150f9a798", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:35:02.015Z", + "updatedAt": "2024-04-25T07:35:02.015Z" + }, + { + "id": "3e4e0163-2619-4454-8943-52bd6966a615", + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:35:02.033Z", + "updatedAt": "2024-04-25T07:35:02.033Z" + }, + { + "id": "e59a0cc8-78ed-4de5-a2e7-c3eaabf90d65", + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:35:02.033Z", + "updatedAt": "2024-04-25T07:35:02.033Z" + }, + { + "id": "bedeb2d1-a314-4ad4-928c-b18d2aea1855", + "dataSourceId": "7dae5757-eda8-478b-9115-7e5ef067effe", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:35:02.033Z", + "updatedAt": "2024-04-25T07:35:02.033Z" + }, + { + "id": "d240fc13-c64f-4852-8e45-88302360888e", + "dataSourceId": "06fcf696-35eb-45cd-ba28-19c44e14ffae", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:35:02.048Z", + "updatedAt": "2024-04-25T07:35:02.048Z" + }, + { + "id": "e2aa88d0-cad7-4fbc-a49d-c4859049cd74", + "dataSourceId": "06fcf696-35eb-45cd-ba28-19c44e14ffae", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:35:02.048Z", + "updatedAt": "2024-04-25T07:35:02.048Z" + }, + { + "id": "406adb72-b9ac-4e90-9914-89ac91515c23", + "dataSourceId": "06fcf696-35eb-45cd-ba28-19c44e14ffae", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:35:02.048Z", + "updatedAt": "2024-04-25T07:35:02.048Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/bill-of-materials/manifest.json b/server/templates/bill-of-materials/manifest.json new file mode 100644 index 0000000000..f18f1de338 --- /dev/null +++ b/server/templates/bill-of-materials/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "Bill of materials", + "description": "Accurately plan, track, and manage your material requirements with our streamlined Bill of Materials solution.", + "widgets": [ + "Table" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + } + ], + "id": "bill-of-materials", + "category": "operations" +} \ No newline at end of file diff --git a/server/templates/business-intelligence-dashboard-postgresql/definition.json b/server/templates/business-intelligence-dashboard-postgresql/definition.json new file mode 100644 index 0000000000..b46a93ddc5 --- /dev/null +++ b/server/templates/business-intelligence-dashboard-postgresql/definition.json @@ -0,0 +1,3074 @@ +{ + "tooljet_database": [], + "app": [ + { + "definition": { + "appV2": { + "id": "02a7ebc5-4e6b-4847-9ca1-f7365475cec8", + "type": "front-end", + "name": "Business intelligence dashboard (PostgreSQL)", + "slug": "02a7ebc5-4e6b-4847-9ca1-f7365475cec8", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "layers", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-17T07:12:44.740Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-05-03T05:43:54.648Z", + "editingVersion": { + "id": "16c7b57d-3440-427c-b524-737103318986", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "appId": "02a7ebc5-4e6b-4847-9ca1-f7365475cec8", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-17T07:12:44.766Z", + "updatedAt": "2024-05-03T06:10:58.214Z" + }, + "components": [ + { + "id": "ff848a46-a9cd-4d69-ac28-c20576f4df74", + "name": "text14", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Type of usage
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-26T07:41:56.455Z", + "layouts": [ + { + "id": "09857c28-d01e-4967-b090-87672b0ecf8d", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "ff848a46-a9cd-4d69-ac28-c20576f4df74", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cb4e0a6e-1903-420b-88e6-37ed83b86e02", + "type": "desktop", + "top": 420, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "ff848a46-a9cd-4d69-ac28-c20576f4df74", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f74a3e2a-f118-4299-9e9d-946b1ac50399", + "name": "text15", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Gender
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "203f1a9d-058c-427d-b9eb-fa586e63e203", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "f74a3e2a-f118-4299-9e9d-946b1ac50399", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d3d9300a-920e-43e4-8501-69b9caed26c7", + "type": "desktop", + "top": 510, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "f74a3e2a-f118-4299-9e9d-946b1ac50399", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e5659dd1-ae76-4ae3-a97f-f64471ae9d1b", + "name": "multiselect8", + "type": "Multiselect", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{queries.filterGender.data.values}}" + }, + "values": { + "value": "{{queries.filterGender.data.values}}" + }, + "display_values": { + "value": "{{queries.filterGender.data.labels}}" + }, + "showAllOption": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "2e228901-3eb4-4385-8f51-17671de138cc", + "type": "mobile", + "top": 250, + "left": 9.30232558139535, + "width": 27.906976744186046, + "height": 30, + "componentId": "e5659dd1-ae76-4ae3-a97f-f64471ae9d1b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f41b87da-92f1-4a86-bb0a-469d34476478", + "type": "desktop", + "top": 540, + "left": 6.976744186046512, + "width": 36, + "height": 40, + "componentId": "e5659dd1-ae76-4ae3-a97f-f64471ae9d1b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7b3fe181-0e4b-4306-8464-62372b888f40", + "name": "text9", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Compare by
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "7a46cf9b-bb74-428c-a8af-2db1b06a3825", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "7b3fe181-0e4b-4306-8464-62372b888f40", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "7e65c683-7f4f-4ee7-ad7a-f74b4fac6ee2", + "type": "desktop", + "top": 20, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "7b3fe181-0e4b-4306-8464-62372b888f40", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "52e22b19-5d07-4905-ae01-e4846589d6ad", + "name": "chart1", + "type": "Chart", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "title": { + "value": "" + }, + "plotFromJson": { + "value": "{{true}}" + }, + "jsonDescription": { + "value": "{{queries.chartReviewDistribution.data}}" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.reviewDistribution.isLoading || queries.chartReviewDistribution.isLoading || queries.getAllChartsData.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#fff", + "fxActive": false + }, + "padding": { + "value": "10" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "93605755-ada4-480c-b252-12324adaf08b", + "type": "mobile", + "top": 50, + "left": 23.25581395348837, + "width": 46.51162790697674, + "height": 400, + "componentId": "52e22b19-5d07-4905-ae01-e4846589d6ad", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "79dc501c-dd49-434f-96c6-6a09acdc855b", + "type": "desktop", + "top": 60, + "left": 2.325584663352189, + "width": 20, + "height": 270, + "componentId": "52e22b19-5d07-4905-ae01-e4846589d6ad", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e1f29d52-b167-46da-bf21-556789290826", + "name": "chart4", + "type": "Chart", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "title": { + "value": "" + }, + "plotFromJson": { + "value": "{{true}}" + }, + "jsonDescription": { + "value": "{{queries.positivityTrend.data}}" + }, + "loadingState": { + "value": "{{queries.trendAnalysis.isLoading || queries.positivityTrend.isLoading || queries.getAllChartsData.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "padding": { + "value": "10" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "b0b7924e-8094-4f01-9e90-ec491f58be8f", + "type": "mobile", + "top": 50, + "left": 23.25581395348837, + "width": 46.51162790697674, + "height": 400, + "componentId": "e1f29d52-b167-46da-bf21-556789290826", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "8c1b52bc-0257-4291-9499-27ef18ce79b0", + "type": "desktop", + "top": 390, + "left": 51.16280473112271, + "width": 20, + "height": 270, + "componentId": "e1f29d52-b167-46da-bf21-556789290826", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "100e7efe-e57f-488c-9af0-d27644527aaf", + "name": "text24", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "text": { + "value": "
Review distribution
" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#3e63dd1a" + }, + "borderColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "10" + }, + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "0d58444d-27cc-4163-a72f-19916256c9b2", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 13.953488372093023, + "height": 40, + "componentId": "100e7efe-e57f-488c-9af0-d27644527aaf", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "77632ec6-97be-4670-a2a5-5a497e5cb2a9", + "type": "desktop", + "top": 20, + "left": 2.3255876089319916, + "width": 20, + "height": 40, + "componentId": "100e7efe-e57f-488c-9af0-d27644527aaf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "473419bd-bf70-41f6-bddf-e288aa19ed6c", + "name": "text25", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "text": { + "value": "
Sentiment distribution
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "93fa84c3-60dc-4c7d-bdcb-6a3f4c95fd83", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 13.953488372093023, + "height": 40, + "componentId": "473419bd-bf70-41f6-bddf-e288aa19ed6c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5320aac1-fbd5-4953-8bbc-a61e4e8a0dac", + "type": "desktop", + "top": 20, + "left": 51.16279015203457, + "width": 20, + "height": 40, + "componentId": "473419bd-bf70-41f6-bddf-e288aa19ed6c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "dc19ea08-ea8f-4d61-9378-d00a0134da37", + "name": "text26", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "text": { + "value": "
Time trend analysis
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "padding": { + "value": "default" + }, + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "02e88023-f692-4c00-90e5-34f590094718", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 13.953488372093023, + "height": 40, + "componentId": "dc19ea08-ea8f-4d61-9378-d00a0134da37", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3f4a26ae-a6f8-4025-8270-2106dbd31de8", + "type": "desktop", + "top": 350, + "left": 2.3255970872150975, + "width": 14, + "height": 40, + "componentId": "dc19ea08-ea8f-4d61-9378-d00a0134da37", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "8140b3c0-110c-4447-8712-6f6f6905f66e", + "name": "text27", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "text": { + "value": "
Positivity trend
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "f5bda9e0-2d6d-4f76-a730-7e75578e494a", + "type": "mobile", + "top": 20, + "left": 27.906976744186046, + "width": 13.953488372093023, + "height": 40, + "componentId": "8140b3c0-110c-4447-8712-6f6f6905f66e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "63fe8c30-fc51-440f-af8c-d80c0990ed0b", + "type": "desktop", + "top": 350, + "left": 51.162802698644306, + "width": 14, + "height": 40, + "componentId": "8140b3c0-110c-4447-8712-6f6f6905f66e", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "4f37d4ed-cf85-4f13-9fa6-4a424cf0f40d", + "name": "dropdown10", + "type": "DropDown", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "placeholder": { + "value": "Legend" + }, + "display_values": { + "value": "{{[\"Legend hidden\", \"Legend shown\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "justifyContent": { + "value": "left" + }, + "selectedTextColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "9fa3eea1-1425-4942-80b1-5b00ca9881dc", + "type": "mobile", + "top": 360, + "left": 55.81395348837209, + "width": 18.6046511627907, + "height": 30, + "componentId": "4f37d4ed-cf85-4f13-9fa6-4a424cf0f40d", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "8e2a83f3-3b93-418a-9307-6e3bc5275ca7", + "type": "desktop", + "top": 350, + "left": 34.883736438352194, + "width": 6, + "height": 40, + "componentId": "4f37d4ed-cf85-4f13-9fa6-4a424cf0f40d", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "9abc98d2-303f-45ae-8647-f2d485275196", + "name": "dropdown11", + "type": "DropDown", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "values": { + "value": "{{[false, true]}}" + }, + "display_values": { + "value": "{{[\"Legend hidden\", \"Legend shown\"]}}" + }, + "placeholder": { + "value": "Legend" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "justifyContent": { + "value": "left" + }, + "selectedTextColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "8af925d3-739d-49f4-985a-ca7a18dbea53", + "type": "mobile", + "top": 360, + "left": 55.81395348837209, + "width": 18.6046511627907, + "height": 30, + "componentId": "9abc98d2-303f-45ae-8647-f2d485275196", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cb16276f-d941-4e81-9797-43592ba9ed42", + "type": "desktop", + "top": 350, + "left": 83.72093576813985, + "width": 6, + "height": 40, + "componentId": "9abc98d2-303f-45ae-8647-f2d485275196", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "cd64652a-173b-4219-9549-a54567a66881", + "name": "button1", + "type": "Button", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "Apply filters" + }, + "loadingState": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "fxActive": true, + "value": "{{queries.reviewDistribution.isLoading || queries.chartReviewDistribution.isLoading || queries.chartSentimentDistribution.isLoading || queries.trendAnalysis.isLoading || queries.timeTrendAnalysis.isLoading || queries.positivityTrend.isLoading}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:04:50.610Z", + "layouts": [ + { + "id": "d7ebd8b2-90bb-4833-935b-736c2a20b85e", + "type": "mobile", + "top": 590, + "left": 16.279069767441857, + "width": 6.976744186046512, + "height": 30, + "componentId": "cd64652a-173b-4219-9549-a54567a66881", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "dabda092-8c3e-4c74-94b3-9e283ae69ea8", + "type": "desktop", + "top": 620, + "left": 6.9767406700250465, + "width": 36, + "height": 40, + "componentId": "cd64652a-173b-4219-9549-a54567a66881", + "updatedAt": "2024-05-03T06:10:54.463Z" + } + ] + }, + { + "id": "4c437a9e-af66-4acc-a564-10457e96fb98", + "name": "datepicker1", + "type": "Datepicker", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "defaultValue": { + "value": "{{queries?.filterDate?.data?.min_date ?? \"01/07/2020\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "359356ed-705a-4e1c-94b4-dd03436dd526", + "type": "mobile", + "top": 190, + "left": 2.325581395348837, + "width": 11.627906976744185, + "height": 30, + "componentId": "4c437a9e-af66-4acc-a564-10457e96fb98", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "dc58b551-d91a-4036-ad24-1fed92b47914", + "type": "desktop", + "top": 180, + "left": 6.976737187099745, + "width": 15, + "height": 40, + "componentId": "4c437a9e-af66-4acc-a564-10457e96fb98", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6921797a-8004-40b0-b580-a55a33b2c393", + "name": "icon1", + "type": "Icon", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "icon": { + "value": "IconArrowNarrowRight" + } + }, + "general": {}, + "styles": { + "iconColor": { + "value": "#88888880" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "e02d9c2e-8018-4a96-8e10-a07eae586cd6", + "type": "mobile", + "top": 180, + "left": 9.302325581395348, + "width": 11.627906976744185, + "height": 48, + "componentId": "6921797a-8004-40b0-b580-a55a33b2c393", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e3206220-eda1-4fcc-9476-6a41287b0622", + "type": "desktop", + "top": 184, + "left": 41.86046511627907, + "width": 6, + "height": 30, + "componentId": "6921797a-8004-40b0-b580-a55a33b2c393", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4043d1e2-e806-4f62-aff5-cea7632d6482", + "name": "datepicker2", + "type": "Datepicker", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "defaultValue": { + "value": "{{queries?.filterDate?.data?.max_date ?? \"01/07/2020\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "cb82199a-66f1-4bab-8ba8-b3921479e1e6", + "type": "mobile", + "top": 190, + "left": 2.325581395348837, + "width": 11.627906976744185, + "height": 30, + "componentId": "4043d1e2-e806-4f62-aff5-cea7632d6482", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "7ec41aa1-d945-4817-b90c-903e391a75bd", + "type": "desktop", + "top": 180, + "left": 55.813950207812944, + "width": 15, + "height": 40, + "componentId": "4043d1e2-e806-4f62-aff5-cea7632d6482", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "551f9169-389d-4e88-96e7-916d61e98d18", + "name": "container2", + "type": "Container", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:09:14.459Z", + "layouts": [ + { + "id": "a2d87179-17ed-459a-a3fe-5133632defd4", + "type": "mobile", + "top": 930, + "left": 4.651162790697675, + "width": 5, + "height": 200, + "componentId": "551f9169-389d-4e88-96e7-916d61e98d18", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9f5d9745-e740-4746-9ea7-37d6ada5a6d6", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 9, + "height": 690, + "componentId": "551f9169-389d-4e88-96e7-916d61e98d18", + "updatedAt": "2024-05-03T06:10:58.110Z" + } + ] + }, + { + "id": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "name": "container3", + "type": "Container", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:09:26.250Z", + "layouts": [ + { + "id": "4af8dcf9-f42c-4320-8edd-d75e63d04099", + "type": "mobile", + "top": 920, + "left": 25.581395348837212, + "width": 5, + "height": 200, + "componentId": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "55476cd4-90ba-4641-b69e-2c39061b50cd", + "type": "desktop", + "top": 110, + "left": 25.581395348837205, + "width": 31, + "height": 690, + "componentId": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "updatedAt": "2024-05-03T06:10:46.582Z" + } + ] + }, + { + "id": "68005fa7-7b46-410e-9924-e5e6d3103d7a", + "name": "multiselect6", + "type": "Multiselect", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{queries.filterSource.data.values}}" + }, + "values": { + "value": "{{queries.filterSource.data.values}}" + }, + "display_values": { + "value": "{{queries.filterSource.data.labels}}" + }, + "showAllOption": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "cb33bf0d-662a-4d07-9ef7-dbe2826deedf", + "type": "desktop", + "top": 360, + "left": 6.976744186046512, + "width": 36, + "height": 40, + "componentId": "68005fa7-7b46-410e-9924-e5e6d3103d7a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3e89a5c8-3a7d-4abd-8418-c04f96adb5ab", + "type": "mobile", + "top": 250, + "left": 9.30232558139535, + "width": 27.906976744186046, + "height": 30, + "componentId": "68005fa7-7b46-410e-9924-e5e6d3103d7a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2e0a5afa-b505-4fed-839f-8646eb429d6c", + "name": "text10", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "3ef5cd1e-604a-4082-a218-3b0b7d97761a", + "type": "desktop", + "top": 110, + "left": 6.976744186046512, + "width": 36, + "height": 20, + "componentId": "2e0a5afa-b505-4fed-839f-8646eb429d6c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "be3e6065-c1aa-46d2-9994-6a336d1d59f3", + "type": "mobile", + "top": 100, + "left": 18.604651162790695, + "width": 13.953488372093023, + "height": 40, + "componentId": "2e0a5afa-b505-4fed-839f-8646eb429d6c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "584f5d64-15ae-47ce-ad4e-56c6c9e36f55", + "name": "text11", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Date
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "bb324f49-6859-4d2c-9579-d4bf672d5318", + "type": "desktop", + "top": 150, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "584f5d64-15ae-47ce-ad4e-56c6c9e36f55", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "88cbe38f-8f09-444d-b2aa-027271bfc81a", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "584f5d64-15ae-47ce-ad4e-56c6c9e36f55", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "da775dbc-bd71-4fbe-8d12-e6250a3f4837", + "name": "text12", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Brand
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "10534f81-4c0f-4feb-a9ef-cbd8c4a41eb3", + "type": "desktop", + "top": 240, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "da775dbc-bd71-4fbe-8d12-e6250a3f4837", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bd98a8ec-7a29-40a8-8f0e-946aaefc8326", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "da775dbc-bd71-4fbe-8d12-e6250a3f4837", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fc14d147-f047-4934-8a96-a3697182f13f", + "name": "chart2", + "type": "Chart", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "title": { + "value": "" + }, + "plotFromJson": { + "value": "{{true}}" + }, + "jsonDescription": { + "value": "{{queries.chartSentimentDistribution.data}}" + }, + "barmode": { + "value": "stack", + "fxActive": false + }, + "loadingState": { + "value": "{{queries.reviewDistribution.isLoading || queries.chartSentimentDistribution.isLoading || queries.getAllChartsData.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "padding": { + "value": "10" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "e9d1e2e9-3ab7-4a50-bad5-b3dbe17b5f7a", + "type": "desktop", + "top": 60, + "left": 51.16279394087596, + "width": 20, + "height": 270, + "componentId": "fc14d147-f047-4934-8a96-a3697182f13f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e8346b17-d80e-4a35-9fa7-4056477e276c", + "type": "mobile", + "top": 50, + "left": 23.25581395348837, + "width": 46.51162790697674, + "height": 400, + "componentId": "fc14d147-f047-4934-8a96-a3697182f13f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ec11cb11-5de5-43fe-85bb-f1b8a4c852a2", + "name": "chart3", + "type": "Chart", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "7ff86518-7584-4010-9161-7d88ae1b9c22", + "properties": { + "title": { + "value": "" + }, + "plotFromJson": { + "value": "{{true}}" + }, + "jsonDescription": { + "value": "{{queries.timeTrendAnalysis.data}}" + }, + "loadingState": { + "value": "{{queries.trendAnalysis.isLoading || queries.timeTrendAnalysis.isLoading || queries.getAllChartsData.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "padding": { + "value": "10" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #3e63dd1a" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "dd224b6e-df2f-4f56-a39c-3a25222a2ed2", + "type": "mobile", + "top": 50, + "left": 23.25581395348837, + "width": 46.51162790697674, + "height": 400, + "componentId": "ec11cb11-5de5-43fe-85bb-f1b8a4c852a2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9fa3f618-08f7-46f9-8933-b3aefb0ff516", + "type": "desktop", + "top": 390, + "left": 2.325587108793417, + "width": 20, + "height": 270, + "componentId": "ec11cb11-5de5-43fe-85bb-f1b8a4c852a2", + "updatedAt": "2024-05-03T06:10:41.293Z" + } + ] + }, + { + "id": "ba6b2dfc-2985-4b7a-bd5d-785fece49ab9", + "name": "text13", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "text": { + "value": "
Source
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "2bdd431e-6db8-4bd2-b133-183204c34d6d", + "type": "mobile", + "top": 140, + "left": 44.186046511627914, + "width": 13.953488372093023, + "height": 40, + "componentId": "ba6b2dfc-2985-4b7a-bd5d-785fece49ab9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "512e402c-d654-4571-b9aa-d9da5d908cb9", + "type": "desktop", + "top": 330, + "left": 6.976744186046512, + "width": 36, + "height": 30, + "componentId": "ba6b2dfc-2985-4b7a-bd5d-785fece49ab9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bae5d7db-8513-473b-bde2-3aab418d2169", + "name": "multiselect7", + "type": "Multiselect", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{queries.filterRoa.data.values}}" + }, + "values": { + "value": "{{queries.filterRoa.data.values}}" + }, + "display_values": { + "value": "{{queries.filterRoa.data.labels}}" + }, + "showAllOption": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "b6cf70ac-da7d-49c5-ab14-a6d7ecd1fbdf", + "type": "mobile", + "top": 250, + "left": 9.30232558139535, + "width": 27.906976744186046, + "height": 30, + "componentId": "bae5d7db-8513-473b-bde2-3aab418d2169", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1812d553-3204-47ea-b18a-be47a5b299a2", + "type": "desktop", + "top": 450, + "left": 6.976744186046512, + "width": 36, + "height": 40, + "componentId": "bae5d7db-8513-473b-bde2-3aab418d2169", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c8e13722-3b75-44ce-b47d-064aaa94bf01", + "name": "dropdown2", + "type": "DropDown", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"brand\"}}" + }, + "values": { + "value": "{{[\"brand\", \"source\"]}}" + }, + "display_values": { + "value": "{{[\"Brand\", \"Source\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "801745bc-3469-49fa-bf81-98f5bd7cea50", + "type": "desktop", + "top": 50, + "left": 6.9767406228545745, + "width": 36, + "height": 40, + "componentId": "c8e13722-3b75-44ce-b47d-064aaa94bf01", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "340b33d3-2b37-420a-adbc-e73041804ede", + "type": "mobile", + "top": 90, + "left": 18.604651162790695, + "width": 18.6046511627907, + "height": 30, + "componentId": "c8e13722-3b75-44ce-b47d-064aaa94bf01", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0e48777d-28d4-4e28-a241-b56781301460", + "name": "multiselect5", + "type": "Multiselect", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "551f9169-389d-4e88-96e7-916d61e98d18", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{queries.filterBrand.data.values}}" + }, + "values": { + "value": "{{queries.filterBrand.data.values}}" + }, + "display_values": { + "value": "{{queries.filterBrand.data.labels}}" + }, + "showAllOption": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "a95ed0db-53b7-4776-a5c6-cf2385bc8e4f", + "type": "mobile", + "top": 250, + "left": 9.30232558139535, + "width": 27.906976744186046, + "height": 30, + "componentId": "0e48777d-28d4-4e28-a241-b56781301460", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cfd716d7-a904-4902-ae6f-a3b660ee9b5a", + "type": "desktop", + "top": 270, + "left": 6.976743920141607, + "width": 36, + "height": 40, + "componentId": "0e48777d-28d4-4e28-a241-b56781301460", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c9095383-65cb-452f-9f4e-18b1426f7d95", + "name": "container4", + "type": "Container", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "dcf85794-763c-4583-a619-0926ac7b9070", + "type": "desktop", + "top": 20, + "left": 2.325580291207368, + "width": 41, + "height": 70, + "componentId": "c9095383-65cb-452f-9f4e-18b1426f7d95", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "87a39d8d-5a50-4973-b4ef-3f619a6d25e0", + "name": "text16", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "c9095383-65cb-452f-9f4e-18b1426f7d95", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "layouts": [ + { + "id": "dc678ee7-eb03-4797-a219-f00760910197", + "type": "desktop", + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40, + "componentId": "87a39d8d-5a50-4973-b4ef-3f619a6d25e0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "40a98b1a-34f3-42fe-9c44-1b30061694be", + "name": "text17", + "type": "Text", + "pageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "parent": "c9095383-65cb-452f-9f4e-18b1426f7d95", + "properties": { + "text": { + "value": "
Business intelligence dashboard
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "normal" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-26T07:09:56.394Z", + "layouts": [ + { + "id": "34d90506-a751-401c-8974-5a6e7e25b96d", + "type": "desktop", + "top": 10, + "left": 53.48837209302326, + "width": 19, + "height": 40, + "componentId": "40a98b1a-34f3-42fe-9c44-1b30061694be", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + } + ], + "pages": [ + { + "id": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986" + } + ], + "events": [ + { + "id": "74c68b53-aa7a-4738-9430-82cd370fef4f", + "name": "onClick", + "index": 0, + "event": { + "key": "chartFocusParameters", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "cd64652a-173b-4219-9549-a54567a66881", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "5b972983-1cea-4c43-9ba6-804fc5fb5d3c", + "name": "onClick", + "index": 0, + "event": { + "key": "chartFocusParameters", + "value": "{{variables.chartFocusParameters ? undefined : ({filterEntity: components.chart2.clickedDataPoint.yAxisLabel})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "fc14d147-f047-4934-8a96-a3697182f13f", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "4f77651f-6439-40a4-92cc-f5b6cda0b65f", + "name": "onClick", + "index": 0, + "event": { + "key": "chartFocusParameters", + "value": "{{variables.chartFocusParameters ? undefined : ({filterEntity: components.chart3.clickedDataPoint.dataSeriesName})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "ec11cb11-5de5-43fe-85bb-f1b8a4c852a2", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "1f08b3f3-1070-4cd4-9fdc-40857f899cd9", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterDateAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "03810df2-659e-4f7e-9a84-30c3a50aac25", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "70092a0f-e569-4c4c-a144-9fa121ead158", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterAspectAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "e80f1c32-94f6-4602-a843-f21c3c00e5aa", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "a738a32c-1894-4387-b1ca-fb3594ccf50f", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterBrandAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "f200126b-2f44-4578-ae96-09d976b429cd", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "b651f18d-a8c8-4fef-bff1-b8a1e34e4466", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterSourceAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "deb0e874-c959-4416-9199-38729dd6db81", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "d5f528d3-66b4-4fc1-9334-02543191f5db", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterGenderAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "144e1c90-2fa9-4d6f-98cd-5e2b4690a85c", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "d0501434-c4c2-4905-a91d-eeb50f2a3817", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterContextAspectGroupAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0de4e7d0-1148-4dc7-86c9-6d05010f71fa", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "43b3a51c-2545-4b4c-b969-67ede7c24c7f", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "filterRoaAvailable", + "value": "{{true}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "17549ec9-ecc7-42fd-a648-464fe93a2204", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "f3328bb5-6f36-4a0a-ac41-322beace8b77", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1bffcdda-d8b7-4030-9bc8-efba16b44eb3", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllChartsData", + "parameters": {} + }, + "sourceId": "fc14d147-f047-4934-8a96-a3697182f13f", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.699Z" + }, + { + "id": "d59fd216-b31d-43d6-bdfe-3cd3e53a0be8", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1bffcdda-d8b7-4030-9bc8-efba16b44eb3", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllChartsData", + "parameters": {} + }, + "sourceId": "ec11cb11-5de5-43fe-85bb-f1b8a4c852a2", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.712Z" + }, + { + "id": "7191d4da-1f53-4987-985d-314ba4bb3477", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "03810df2-659e-4f7e-9a84-30c3a50aac25", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.727Z" + }, + { + "id": "07300903-b861-4025-9307-da2d75a627df", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "e80f1c32-94f6-4602-a843-f21c3c00e5aa", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.736Z" + }, + { + "id": "5e602e6a-6460-48e2-93aa-fdb3ffb58f58", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "f200126b-2f44-4578-ae96-09d976b429cd", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.748Z" + }, + { + "id": "64bcdab5-7039-4923-8d9b-6fac3716a71c", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "deb0e874-c959-4416-9199-38729dd6db81", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.767Z" + }, + { + "id": "fe98a869-622c-4c25-806d-3f5f3850950a", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "144e1c90-2fa9-4d6f-98cd-5e2b4690a85c", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.782Z" + }, + { + "id": "5d497843-4e7e-41fe-8a2b-77fc2e9b5a85", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "0de4e7d0-1148-4dc7-86c9-6d05010f71fa", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.794Z" + }, + { + "id": "ff31c04e-146b-4ad1-bb5c-cc0e8fd0b5f0", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "17549ec9-ecc7-42fd-a648-464fe93a2204", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.805Z" + }, + { + "id": "165bfd5b-e7c5-4d3e-80b5-3230d4ffc9c4", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "8c1f6417-81e2-4388-8f20-ab8abe97a8b2", + "actionId": "run-query", + "alertType": "info", + "queryName": "timeTrendAnalysis", + "parameters": {} + }, + "sourceId": "f8031b42-1ded-4b99-a51c-d313d9144b62", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.817Z" + }, + { + "id": "1f1ed15c-b718-4cc9-adac-18e3d541d564", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "0c23c26c-ccd3-4748-9dbb-11bec63582a4", + "actionId": "run-query", + "alertType": "info", + "queryName": "positivityTrend", + "parameters": {} + }, + "sourceId": "f8031b42-1ded-4b99-a51c-d313d9144b62", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.825Z" + }, + { + "id": "586a135a-93a4-4099-b20d-6cd91a20dd4a", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "060ab03f-9b67-4464-99bf-6dcf246e6f6b", + "actionId": "run-query", + "alertType": "info", + "queryName": "chartReviewDistribution", + "parameters": {} + }, + "sourceId": "1ab481f5-fc06-4b58-830e-c19fb38bccf0", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.832Z" + }, + { + "id": "4ecf3a1d-c422-4ee9-ad4c-5142b727baf0", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1bffcdda-d8b7-4030-9bc8-efba16b44eb3", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllChartsData", + "parameters": {} + }, + "sourceId": "52e22b19-5d07-4905-ae01-e4846589d6ad", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.650Z" + }, + { + "id": "d7458bd3-2838-461b-ba1b-9f2f78a6e067", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1bffcdda-d8b7-4030-9bc8-efba16b44eb3", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllChartsData", + "parameters": {} + }, + "sourceId": "e1f29d52-b167-46da-bf21-556789290826", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.659Z" + }, + { + "id": "31d79406-f4e7-426a-96a6-b412a59a3da4", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "8c1f6417-81e2-4388-8f20-ab8abe97a8b2", + "actionId": "run-query", + "alertType": "info", + "queryName": "timeTrendAnalysis", + "parameters": {} + }, + "sourceId": "4f37d4ed-cf85-4f13-9fa6-4a424cf0f40d", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.671Z" + }, + { + "id": "b26b5633-6761-4cac-82c1-d7ed0c8a3491", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0c23c26c-ccd3-4748-9dbb-11bec63582a4", + "actionId": "run-query", + "alertType": "info", + "queryName": "positivityTrend", + "parameters": {} + }, + "sourceId": "9abc98d2-303f-45ae-8647-f2d485275196", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.679Z" + }, + { + "id": "138c235e-18bf-4a5c-bbff-2c36b1f7652d", + "name": "onClick", + "index": 0, + "event": { + "key": "chartFocusParameters", + "value": "{{variables.chartFocusParameters ? undefined : ({filterEntity: components.chart1.clickedDataPoint.yAxisLabel})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "success", + "runOnlyIf": "" + }, + "sourceId": "52e22b19-5d07-4905-ae01-e4846589d6ad", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "2f9b168b-5a8b-4560-a8a3-550b17c09c1f", + "name": "onClick", + "index": 0, + "event": { + "key": "chartFocusParameters", + "value": "{{variables.chartFocusParameters ? undefined : ({filterEntity: components.chart4.clickedDataPoint.dataSeriesName})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "e1f29d52-b167-46da-bf21-556789290826", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "a177ec3f-e39c-4632-97ad-67d1000f09b1", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "actionId": "run-query", + "alertType": "info", + "queryName": "decideTabQueries", + "parameters": {} + }, + "sourceId": "cd64652a-173b-4219-9549-a54567a66881", + "target": "component", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.642Z" + }, + { + "id": "067e9dfc-cd9e-4f52-9202-d52cf6444331", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "37cc8480-1467-4358-9463-666f19c8a685", + "actionId": "run-query", + "alertType": "info", + "queryName": "chartSentimentDistribution", + "parameters": {} + }, + "sourceId": "1ab481f5-fc06-4b58-830e-c19fb38bccf0", + "target": "data_query", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:45.687Z" + } + ], + "dataQueries": [ + { + "id": "1ab481f5-fc06-4b58-830e-c19fb38bccf0", + "name": "reviewDistribution", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "{{`SELECT\n INITCAP(${ components.dropdown2.value }) AS entity,\n SUM(\n CASE\n WHEN overall_sentiment = 'Positive' THEN 1\n ELSE 0\n END\n ) AS positive_reviews,\n SUM(\n CASE\n WHEN overall_sentiment = 'Negative' THEN 1\n ELSE 0\n END\n ) AS negative_reviews,\n SUM(\n CASE\n WHEN overall_sentiment = 'Neutral' THEN 1\n ELSE 0\n END\n ) AS neutral_reviews,\n COUNT(*) AS total_reviews\nFROM\n business_data\nWHERE\n date_of_submission BETWEEN '${moment(components.datepicker1.value, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\")}'\n AND '${moment(components.datepicker2.value, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\")}'\n AND LOWER(brand) in ('${components.multiselect5.values.join(\"', '\")}')\n AND LOWER(source) in ('${components.multiselect6.values.join(\"', '\")}')\n AND LOWER(roa) in ('${components.multiselect7.values.join(\"', '\")}')\n AND LOWER(gender) in ('${components.multiselect8.values.join(\"', '\")}')\nGROUP BY\n ${ components.dropdown2.value }\nORDER BY\n total_reviews ASC;`}}", + "runOnPageLoad": false + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:08.331Z" + }, + { + "id": "060ab03f-9b67-4464-99bf-6dcf246e6f6b", + "name": "chartReviewDistribution", + "options": { + "code": "const filteredData = variables.chartFocusParameters\n ? queries.reviewDistribution.data.filter(\n (row) => row.entity == variables.chartFocusParameters.filterEntity\n )\n : queries.reviewDistribution.data;\n\nconst chartData = {\n data: [\n {\n type: \"bar\",\n x: filteredData.map((row) => row.total_reviews),\n y: filteredData.map((row) => row.entity),\n orientation: \"h\",\n marker: {\n color: \"#3E63DDCC\",\n width: 1,\n },\n },\n ],\n};\n\nreturn chartData;", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "37cc8480-1467-4358-9463-666f19c8a685", + "name": "chartSentimentDistribution", + "options": { + "code": "const filteredData = variables.chartFocusParameters\n ? queries.reviewDistribution.data.filter(\n (row) => row.entity == variables.chartFocusParameters.filterEntity\n )\n : queries.reviewDistribution.data;\n\nconst chartData = {\n data: [\n {\n x: filteredData.map(\n (row) => `${(row.positive_reviews * 100) / row.total_reviews}%`\n ),\n y: filteredData.map((row) => row.entity),\n name: \"Positive\",\n orientation: \"h\",\n marker: {\n color: \"#9DF590\",\n width: 1,\n },\n text: filteredData.map(\n (row) =>\n `${((row.positive_reviews * 100) / row.total_reviews).toFixed(2)}%`\n ),\n hovertemplate: filteredData.map(\n (row) =>\n `${row.entity}
Unique count of Opinions: ${\n row.positive_reviews\n }
% of Opinions:\t${(\n (row.positive_reviews * 100) /\n row.total_reviews\n ).toFixed(2)}%`\n ),\n type: \"bar\",\n },\n {\n x: filteredData.map(\n (row) => `${(row.neutral_reviews * 100) / row.total_reviews}%`\n ),\n y: filteredData.map((row) => row.entity),\n name: \"Neutral\",\n orientation: \"h\",\n marker: {\n color: \"#AFC2FF\",\n width: 1,\n },\n text: filteredData.map(\n (row) =>\n `${((row.neutral_reviews * 100) / row.total_reviews).toFixed(2)}%`\n ),\n hovertemplate: filteredData.map(\n (row) =>\n `${row.entity}
Unique count of Opinions: ${\n row.neutral_reviews\n }
% of Opinions:\t${(\n (row.neutral_reviews * 100) /\n row.total_reviews\n ).toFixed(2)}%`\n ),\n type: \"bar\",\n },\n {\n x: filteredData.map(\n (row) => `${(row.negative_reviews * 100) / row.total_reviews}%`\n ),\n y: filteredData.map((row) => row.entity),\n name: \"Negative\",\n orientation: \"h\",\n marker: {\n color: \"#FFA1A1\",\n width: 1,\n },\n text: filteredData.map(\n (row) =>\n `${((row.negative_reviews * 100) / row.total_reviews).toFixed(2)}%`\n ),\n hovertemplate: filteredData.map(\n (row) =>\n `${row.entity}
Unique count of Opinions: ${\n row.negative_reviews\n }
% of Opinions:\t${(\n (row.negative_reviews * 100) /\n row.total_reviews\n ).toFixed(2)}%`\n ),\n type: \"bar\",\n },\n ],\n};\n\nreturn chartData;", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-29T06:56:19.687Z" + }, + { + "id": "0c23c26c-ccd3-4748-9dbb-11bec63582a4", + "name": "positivityTrend", + "options": { + "code": "const aggregatedData = {};\nconst order = [];\n\nconst filteredData = variables.chartFocusParameters\n ? queries.trendAnalysis.data.filter(\n (row) => row.entity == variables.chartFocusParameters.filterEntity\n )\n : queries.trendAnalysis.data;\n\nfilteredData.forEach((item) => {\n const entity = item.entity;\n const monthYear = item.month_year;\n const totalReviews = item.total_reviews;\n const positiveReviews = item.positive_reviews;\n\n if (!aggregatedData[entity]) {\n aggregatedData[entity] = {\n x: [],\n y: [],\n type: \"scatter\",\n hovertemplate: [],\n name: entity,\n showlegend: components.dropdown11.value,\n mode: \"lines+markers\",\n };\n order.push(entity);\n }\n\n if (!aggregatedData[entity].x.includes(monthYear)) {\n aggregatedData[entity].x.push(monthYear);\n aggregatedData[entity].y.push((positiveReviews / totalReviews) * 100 || 0);\n aggregatedData[entity].hovertemplate.push(\n `Date: ${monthYear}
Total count of Opinions: ${totalReviews}
Unique count of Positive Opinions: ${positiveReviews}
Positivity: ${(\n (positiveReviews / totalReviews) * 100 || 0\n ).toFixed(2)}%`\n );\n } else {\n const index = aggregatedData[entity].x.indexOf(monthYear);\n aggregatedData[entity].y[index] = totalReviews;\n }\n});\n\nconst outputJSON = order.map((entity) => aggregatedData[entity]);\n\nreturn { data: outputJSON };", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "8c1f6417-81e2-4388-8f20-ab8abe97a8b2", + "name": "timeTrendAnalysis", + "options": { + "code": "const aggregatedData = {};\nconst order = [];\n\nconst filteredData = variables.chartFocusParameters\n ? queries.trendAnalysis.data.filter(\n (row) => row.entity == variables.chartFocusParameters.filterEntity\n )\n : queries.trendAnalysis.data;\n\nfilteredData.forEach((item) => {\n const entity = item.entity;\n const monthYear = item.month_year;\n\n if (!aggregatedData[entity]) {\n aggregatedData[entity] = {\n x: [],\n y: [],\n stackgroup: \"one\",\n hovertemplate:\n \"Date: %{x}
Unique count of reviews: %{y}
\",\n name: entity,\n mode: \"none\",\n showlegend: components.dropdown10.value,\n };\n order.push(entity);\n }\n\n if (!aggregatedData[entity].x.includes(monthYear)) {\n aggregatedData[entity].x.push(monthYear);\n aggregatedData[entity].y.push(item.total_reviews);\n } else {\n const index = aggregatedData[entity].x.indexOf(monthYear);\n aggregatedData[entity].y[index] = item.total_reviews;\n }\n});\n\nconst outputJSON = order.map((entity) => aggregatedData[entity]);\n\nreturn { data: outputJSON };", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "1bffcdda-d8b7-4030-9bc8-efba16b44eb3", + "name": "getAllChartsData", + "options": { + "code": "actions.runQuery(\"chartReviewDistribution\");\nactions.runQuery(\"chartSentimentDistribution\");\nactions.runQuery(\"positivityTrend\");\nactions.runQuery(\"timeTrendAnalysis\");", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "5261a0a6-00c6-40b6-b465-48af563e23cf", + "name": "runQueriesAfterFilterLoad", + "options": { + "code": "if (\n (variables?.filterDateAvailable ?? false) &&\n (variables?.filterBrandAvailable ?? false) &&\n (variables?.filterSourceAvailable ?? false) &&\n (variables?.filterRoaAvailable ?? false) &&\n (variables?.filterGenderAvailable ?? false)\n) {\n if (variables?.filterBrandAvailable ?? false) {\n queries.reviewDistribution.run();\n queries.trendAnalysis.run();\n }\n}", + "parameters": [] + }, + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "03810df2-659e-4f7e-9a84-30c3a50aac25", + "name": "filterDate", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT \n TO_CHAR(MIN(date_of_submission), 'DD/MM/YYYY') AS min_date, \n TO_CHAR(MAX(date_of_submission), 'DD/MM/YYYY') AS max_date \nFROM \n business_data;", + "runOnPageLoad": true, + "transformation": "return data[0];" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.265Z" + }, + { + "id": "144e1c90-2fa9-4d6f-98cd-5e2b4690a85c", + "name": "filterGender", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(gender) AS lower_entity,\n INITCAP(gender) AS initcap_entity\nFROM business_data\nORDER BY lower_entity;", + "runOnPageLoad": true, + "transformation": "const labels = [];\nconst values = [];\ndata.forEach((row) => {\n labels.push(row.initcap_entity);\n values.push(row.lower_entity);\n});\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.223Z" + }, + { + "id": "0de4e7d0-1148-4dc7-86c9-6d05010f71fa", + "name": "filterContextAspectGroup", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(context_aspect_group) AS lower_entity,\n INITCAP(context_aspect_group) AS initcap_entity\nFROM business_data\nORDER BY lower_entity;", + "runOnPageLoad": true, + "transformation": "const labels = [];\nconst values = [];\ndata.forEach((row) => {\n labels.push(row.initcap_entity);\n values.push(row.lower_entity);\n});\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.107Z" + }, + { + "id": "8b596534-b845-4fa6-a6ee-086bee138eee", + "name": "createTable", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "CREATE TABLE business_data(\n brand text,\n source text,\n aspect text,\n context_aspect_group text,\n date_of_submission date,\n gender text,\n roa text,\n overall_sentiment text\n);" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "67625645-b0e3-46c2-8974-e6df762cf235", + "name": "createDatabase", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "CREATE DATABASE business_analytics_database;" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:12:44.777Z" + }, + { + "id": "17549ec9-ecc7-42fd-a648-464fe93a2204", + "name": "filterRoa", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(roa) AS lower_entity,\n INITCAP(roa) AS initcap_entity\nFROM business_data\nORDER BY lower_entity;", + "runOnPageLoad": true, + "transformation": "const labels = [];\nconst values = [];\ndata.forEach((row) => {\n labels.push(row.initcap_entity);\n values.push(row.lower_entity);\n});\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.286Z" + }, + { + "id": "deb0e874-c959-4416-9199-38729dd6db81", + "name": "filterSource", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(source) AS lower_entity,\n INITCAP(source) AS initcap_entity\nFROM business_data\nORDER BY lower_entity;", + "runOnPageLoad": true, + "transformation": "const labels = [];\nconst values = [];\ndata.forEach((row) => {\n labels.push(row.initcap_entity);\n values.push(row.lower_entity);\n});\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.242Z" + }, + { + "id": "e80f1c32-94f6-4602-a843-f21c3c00e5aa", + "name": "filterAspect", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(aspect) AS aspect \nFROM business_data\nORDER BY aspect;", + "runOnPageLoad": true, + "transformation": "const labels = data.map((row) => row.aspect.charAt(0).toUpperCase() + row.aspect.slice(1).toLowerCase());\nconst values = data.map((row) => row.aspect);\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.322Z" + }, + { + "id": "f8031b42-1ded-4b99-a51c-d313d9144b62", + "name": "trendAnalysis", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "{{`WITH months AS (\n SELECT\n generate_series(\n '${moment(components.datepicker1.value, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\")}' :: date,\n '${moment(components.datepicker2.value, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\")}' :: date,\n '1 month' :: interval\n ) AS month\n),\nenitites AS (\n SELECT\n DISTINCT LOWER(${ components.dropdown2.value }) as ${ components.dropdown2.value }\n FROM\n business_data\n WHERE\n LOWER(${ components.dropdown2.value }) IN ('${(components.dropdown2.value == \"brand\" ? components.multiselect5.values : components.multiselect6.values).join(\"', '\")}')\n)\nSELECT\n TO_CHAR(m.month, 'Mon YY') AS month_year,\n INITCAP(LOWER(e.${ components.dropdown2.value })) AS entity,\n COUNT(cd.${ components.dropdown2.value }) AS total_reviews,\n COUNT(\n CASE\n WHEN cd.overall_sentiment = 'Positive' THEN 1\n END\n ) AS positive_reviews\nFROM\n months m\n CROSS JOIN enitites e\n LEFT JOIN business_data cd ON TO_CHAR(cd.date_of_submission, 'Mon YY') = TO_CHAR(m.month, 'Mon YY')\n AND LOWER(cd.${ components.dropdown2.value }) = LOWER(e.${ components.dropdown2.value })\n AND LOWER(cd.brand) in ('${components.multiselect5.values.join(\"', '\")}')\n AND LOWER(cd.source) in ('${components.multiselect6.values.join(\"', '\")}')\n AND LOWER(cd.roa) in ('${components.multiselect7.values.join(\"', '\")}')\n AND LOWER(cd.gender) in ('${components.multiselect8.values.join(\"', '\")}')\nGROUP BY\n TO_CHAR(m.month, 'Mon YY'),\n LOWER(e.${ components.dropdown2.value })\nORDER BY\n TO_DATE(TO_CHAR(m.month, 'Mon YY'), 'Mon YY'),\n LOWER(e.${ components.dropdown2.value });`}}", + "transformation": "// write your code here\n// return value will be set as data and the original data will be available as rawData\nreturn data.filter(row => row.amount > 1000);" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:08.387Z" + }, + { + "id": "f200126b-2f44-4578-ae96-09d976b429cd", + "name": "filterBrand", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "SELECT DISTINCT LOWER(brand) AS lower_entity,\n INITCAP(brand) AS initcap_entity\nFROM business_data\nORDER BY lower_entity;", + "runOnPageLoad": true, + "transformation": "const labels = [];\nconst values = [];\ndata.forEach((row) => {\n labels.push(row.initcap_entity);\n values.push(row.lower_entity);\n});\n\nreturn { labels, values };" + }, + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-05-03T06:25:03.454Z" + } + ], + "dataSources": [ + { + "id": "9ed3dd37-2889-4378-96d7-18cc3863d5fd", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-17T07:12:44.789Z", + "updatedAt": "2024-04-17T07:12:44.789Z" + }, + { + "id": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-17T07:12:44.808Z", + "updatedAt": "2024-04-17T07:12:44.808Z" + }, + { + "id": "502ebee2-37d3-4076-80d6-4082041bbbd5", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-17T07:12:44.828Z", + "updatedAt": "2024-04-17T07:12:44.828Z" + }, + { + "id": "b3edcad7-a331-47c1-8fcd-6408945c1703", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-17T07:12:44.849Z", + "updatedAt": "2024-04-17T07:12:44.849Z" + }, + { + "id": "5b84a888-1d0b-4848-a6b8-f31c365a01f0", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-17T07:12:44.868Z", + "updatedAt": "2024-04-17T07:12:44.868Z" + }, + { + "id": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "name": "business_analytics", + "kind": "postgresql", + "type": "default", + "pluginId": null, + "appVersionId": "16c7b57d-3440-427c-b524-737103318986", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "scope": "global", + "createdAt": "2024-04-17T07:12:44.777Z", + "updatedAt": "2024-04-17T07:14:13.287Z" + } + ], + "appVersions": [ + { + "id": "16c7b57d-3440-427c-b524-737103318986", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "7659ff5a-3cdb-47aa-a7ef-c362db5b820e", + "appId": "02a7ebc5-4e6b-4847-9ca1-f7365475cec8", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-17T07:12:44.766Z", + "updatedAt": "2024-05-03T06:10:58.214Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "20d1eabe-937c-4d05-a758-cb763ad8410f", + "dataSourceId": "9ed3dd37-2889-4378-96d7-18cc3863d5fd", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-17T07:12:44.803Z", + "updatedAt": "2024-04-17T07:12:44.803Z" + }, + { + "id": "b6d7baf2-8969-4012-bb16-0e651b2973cd", + "dataSourceId": "9ed3dd37-2889-4378-96d7-18cc3863d5fd", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-17T07:12:44.803Z", + "updatedAt": "2024-04-17T07:12:44.803Z" + }, + { + "id": "4ac764d2-2d00-4cc1-9337-177bc362211d", + "dataSourceId": "9ed3dd37-2889-4378-96d7-18cc3863d5fd", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-17T07:12:44.803Z", + "updatedAt": "2024-04-17T07:12:44.803Z" + }, + { + "id": "75f9a9a3-5a67-4323-bdf7-17c31bb62e47", + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-17T07:12:44.823Z", + "updatedAt": "2024-04-17T07:12:44.823Z" + }, + { + "id": "482e52fd-42fe-4298-9707-c97956a6db9a", + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-17T07:12:44.823Z", + "updatedAt": "2024-04-17T07:12:44.823Z" + }, + { + "id": "c62080d2-f26f-4094-a149-d4306af30d68", + "dataSourceId": "2b6b24bd-4b0a-4f8e-bece-031f270864cd", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-17T07:12:44.823Z", + "updatedAt": "2024-04-17T07:12:44.823Z" + }, + { + "id": "e799b530-cf04-40c8-a97e-5feb9ab22c2d", + "dataSourceId": "502ebee2-37d3-4076-80d6-4082041bbbd5", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-17T07:12:44.840Z", + "updatedAt": "2024-04-17T07:12:44.840Z" + }, + { + "id": "bf8d3160-8251-4337-8efc-6aeb5354d2fc", + "dataSourceId": "502ebee2-37d3-4076-80d6-4082041bbbd5", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-17T07:12:44.840Z", + "updatedAt": "2024-04-17T07:12:44.840Z" + }, + { + "id": "a1c93d09-1e5f-4758-845d-b5bcbf816733", + "dataSourceId": "502ebee2-37d3-4076-80d6-4082041bbbd5", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-17T07:12:44.840Z", + "updatedAt": "2024-04-17T07:12:44.840Z" + }, + { + "id": "b179b38a-ff31-48b1-9848-8aa6ba1aa5c0", + "dataSourceId": "b3edcad7-a331-47c1-8fcd-6408945c1703", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-17T07:12:44.864Z", + "updatedAt": "2024-04-17T07:12:44.864Z" + }, + { + "id": "514c1dab-d387-4335-8760-63a88a5c1bc8", + "dataSourceId": "b3edcad7-a331-47c1-8fcd-6408945c1703", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-17T07:12:44.864Z", + "updatedAt": "2024-04-17T07:12:44.864Z" + }, + { + "id": "cc98b130-f860-45da-817e-b933c303f9b8", + "dataSourceId": "b3edcad7-a331-47c1-8fcd-6408945c1703", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-17T07:12:44.864Z", + "updatedAt": "2024-04-17T07:12:44.864Z" + }, + { + "id": "c2f6a297-2587-4d70-b6ed-877bf60249a6", + "dataSourceId": "5b84a888-1d0b-4848-a6b8-f31c365a01f0", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-17T07:12:44.881Z", + "updatedAt": "2024-04-17T07:12:44.881Z" + }, + { + "id": "b186d2ab-a224-4405-8047-abc3a2df682a", + "dataSourceId": "5b84a888-1d0b-4848-a6b8-f31c365a01f0", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-17T07:12:44.881Z", + "updatedAt": "2024-04-17T07:12:44.881Z" + }, + { + "id": "4df93a91-aba2-47e7-b835-0a5b0bc28db1", + "dataSourceId": "5b84a888-1d0b-4848-a6b8-f31c365a01f0", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-17T07:12:44.881Z", + "updatedAt": "2024-04-17T07:12:44.881Z" + }, + { + "id": "32a390de-077a-4772-8e32-4d65b5125ad9", + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": { + "host": { + "value": "35.202.183.199", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "business_analytics_database", + "encrypted": false + }, + "username": { + "value": "postgres", + "encrypted": false + }, + "password": { + "credential_id": "465a9112-6ac8-468d-94a2-dc3b21876704", + "encrypted": true + }, + "ssl_enabled": { + "value": false, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-04-17T07:12:45.158Z", + "updatedAt": "2024-04-17T07:12:45.158Z" + }, + { + "id": "cdb20744-884a-447d-9754-27a30af80f07", + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": { + "host": { + "value": "35.202.183.199", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "business_analytics_database", + "encrypted": false + }, + "username": { + "value": "postgres", + "encrypted": false + }, + "password": { + "credential_id": "1892baa0-94b2-4c70-9034-7e77fa7ba349", + "encrypted": true + }, + "ssl_enabled": { + "value": false, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-04-17T07:12:45.167Z", + "updatedAt": "2024-04-17T07:12:45.167Z" + }, + { + "id": "16af1a4a-df50-4a3a-8668-cfec51447f31", + "dataSourceId": "737a1edf-9ced-46a6-9f05-b747f371ce5e", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": { + "host": { + "value": "35.202.183.199", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "business_analytics_database", + "encrypted": false + }, + "username": { + "value": "postgres", + "encrypted": false + }, + "password": { + "credential_id": "a26e9d78-50d3-4f4e-914a-7a5e5a0f1b7f", + "encrypted": true + }, + "ssl_enabled": { + "value": false, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-04-17T07:12:45.176Z", + "updatedAt": "2024-04-17T07:14:13.285Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/business-intelligence-dashboard-postgresql/manifest.json b/server/templates/business-intelligence-dashboard-postgresql/manifest.json new file mode 100644 index 0000000000..35d5daf762 --- /dev/null +++ b/server/templates/business-intelligence-dashboard-postgresql/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "Business intelligence dashboard (PostgreSQL)", + "description": "Gain valuable insights and make data-driven decisions with our powerful business intelligence dashboard.", + "widgets": [ + "Chart" + ], + "sources": [ + { + "name": "PostgreSQL", + "id": "postgresql" + }, + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "business-intelligence-dashboard-postgresql", + "category": "data-and-analytics" +} \ No newline at end of file diff --git a/server/templates/colour-palette-generator/manifest.json b/server/templates/colour-palette-generator/manifest.json index 7136a91b9b..5edaea6044 100644 --- a/server/templates/colour-palette-generator/manifest.json +++ b/server/templates/colour-palette-generator/manifest.json @@ -11,5 +11,5 @@ } ], "id": "colour-palette-generator", - "category": "utilities" + "category": "developer-utilities" } \ No newline at end of file diff --git a/server/templates/digital-marketing-campaign-manager/definition.json b/server/templates/digital-marketing-campaign-manager/definition.json new file mode 100644 index 0000000000..3bbaa0bab0 --- /dev/null +++ b/server/templates/digital-marketing-campaign-manager/definition.json @@ -0,0 +1,2710 @@ +{ + "tooljet_database": [ + { + "id": "6841c89d-8061-4b2c-8f4c-25a66fbc0408", + "table_name": "my_application", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"6841c89d-8061-4b2c-8f4c-25a66fbc0408_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "UTM_medium", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "UTM_source", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "UTM_campaign", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "UTM_term", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": true, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "UTM_content", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": true, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "URL", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "Final_updated_URL", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "Last_updated_on", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "Notes", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": true, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "8e582601-6888-49a2-9b83-6fe34a3902a9", + "type": "front-end", + "name": "Digital marketing campaign manager", + "slug": "8e582601-6888-49a2-9b83-6fe34a3902a9", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "folderupload", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-25T07:39:09.524Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-25T07:39:10.260Z", + "editingVersion": { + "id": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "appId": "8e582601-6888-49a2-9b83-6fe34a3902a9", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:39:09.541Z", + "updatedAt": "2024-04-30T23:58:13.860Z" + }, + "components": [ + { + "id": "5fa81679-523e-4a94-9113-28ce94231be5", + "name": "table1", + "type": "Table", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21", + "properties": { + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true, + "fxActiveFields": [] + }, + { + "id": "0a071d70-247f-4719-b020-a326a469327e", + "name": "UTM_medium*", + "key": "UTM_medium", + "columnType": "string", + "autogenerated": true + }, + { + "id": "3ae1c709-f6ed-4b8e-9857-ef666ac8e316", + "name": "UTM_source*", + "key": "UTM_source", + "columnType": "string", + "autogenerated": true + }, + { + "id": "7c0c6254-6846-4a6a-8d5a-9ce5b6055b65", + "name": "UTM_campaign*", + "key": "UTM_campaign", + "columnType": "string", + "autogenerated": true + }, + { + "id": "0e5bd58f-bd8c-4919-a593-a20236a38049", + "name": "UTM_term", + "key": "UTM_term", + "columnType": "string", + "autogenerated": true + }, + { + "id": "273a51f8-9c87-41a3-a71e-3b8cf1db22d0", + "name": "UTM_content", + "key": "UTM_content", + "columnType": "string", + "autogenerated": true + }, + { + "name": "URL*", + "id": "7c237673-bf1a-461a-a7dd-2b9cc3449dca", + "fxActiveFields": [], + "columnType": "link", + "key": "URL" + }, + { + "name": "Final_updated_URL", + "id": "1d87bde1-3b3b-468f-b542-f72eeeac0ae2", + "fxActiveFields": [], + "columnType": "link" + }, + { + "name": "Last_updated_on", + "id": "cc4f4332-be5b-4364-8eb8-5a74bc22aeb1", + "fxActiveFields": [], + "columnType": "string" + }, + { + "name": "Notes", + "id": "82ef0a1a-9862-4ca1-acdb-139c20a8432e", + "fxActiveFields": [], + "columnType": "text" + } + ] + }, + "columnDeletionHistory": { + "value": [ + "name", + "email", + "UTM medium", + "UTM source", + "UTM campaign", + "UTM term", + "UTM content" + ] + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Delete", + "events": [], + "position": "right", + "fxActiveFields": [ + "disableActionButton" + ], + "disableActionButton": "{{queries.deleteUtmTag.isLoading}}" + } + ] + }, + "data": { + "value": "{{queries.getUtmTags.data}}" + }, + "columnSizes": { + "value": { + "1d87bde1-3b3b-468f-b542-f72eeeac0ae2": 481, + "cc4f4332-be5b-4364-8eb8-5a74bc22aeb1": 216, + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 46 + } + }, + "allowSelection": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getUtmTags.isLoading}}" + } + }, + "general": {}, + "styles": { + "tableType": { + "value": "table-striped" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "actionButtonRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T06:43:03.745Z", + "layouts": [ + { + "id": "495535ed-e2c0-4593-b88f-c64f82c283aa", + "type": "desktop", + "top": 70, + "left": 2.3255811789541276, + "width": 41, + "height": 590, + "componentId": "5fa81679-523e-4a94-9113-28ce94231be5" + }, + { + "id": "4cbc9744-ce9d-4fd1-92c0-cf51c9d46316", + "type": "mobile", + "top": 90, + "left": 2.3255813953488373, + "width": 67.11627906976744, + "height": 456, + "componentId": "5fa81679-523e-4a94-9113-28ce94231be5" + } + ] + }, + { + "id": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "name": "modal1", + "type": "Modal", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": null, + "properties": { + "triggerButtonLabel": { + "value": "Digital Marketing Campaign Manager" + }, + "modalHeight": { + "value": "770px" + }, + "size": { + "value": "lg" + }, + "title": { + "value": "UTM tag builder" + }, + "useDefaultButton": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "triggerButtonBackgroundColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "fb2779bd-0d44-43ef-a4c5-f6bef23eafbe", + "type": "mobile", + "top": 60, + "left": 16.27906976744186, + "width": 10, + "height": 34, + "componentId": "1a209697-4175-47b6-ab90-fdb61881fdeb" + }, + { + "id": "a0c98d8d-eab9-45f8-a8ba-3b00d55087f0", + "type": "desktop", + "top": 849.9999389648438, + "left": 2.325586870913104, + "width": 5, + "height": 40, + "componentId": "1a209697-4175-47b6-ab90-fdb61881fdeb" + } + ] + }, + { + "id": "67e73b39-715a-4b42-8d5f-ffcf1d84aa03", + "name": "textinput6", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter UTM content" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "3d53f642-b243-48c6-b07e-b9d1afbd398d", + "type": "desktop", + "top": 260.0000915527344, + "left": 20.93023235878248, + "width": 32, + "height": 40, + "componentId": "67e73b39-715a-4b42-8d5f-ffcf1d84aa03" + }, + { + "id": "bdf471ce-e0dd-4b6c-9d0e-d8f6c3fac4e5", + "type": "mobile", + "top": 430, + "left": 18.6046511627907, + "width": 23.25581395348837, + "height": 40, + "componentId": "67e73b39-715a-4b42-8d5f-ffcf1d84aa03" + } + ] + }, + { + "id": "646f26aa-fc65-4a5e-9c6a-f00b84ba23a2", + "name": "button4", + "type": "Button", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21", + "properties": { + "text": { + "value": "Build new UTM tag" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "203f6f15-3ded-4e83-b5fd-1d12cde88a0f", + "type": "mobile", + "top": 130, + "left": 76.74418604651163, + "width": 6.976744186046512, + "height": 30, + "componentId": "646f26aa-fc65-4a5e-9c6a-f00b84ba23a2" + }, + { + "id": "666daa64-54af-4048-b9ab-169201819980", + "type": "desktop", + "top": 20.000099182128906, + "left": 81.39534287249784, + "width": 7, + "height": 40, + "componentId": "646f26aa-fc65-4a5e-9c6a-f00b84ba23a2" + } + ] + }, + { + "id": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21", + "name": "container2", + "type": "Container", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "db153c5d-be8b-4ccb-a0ef-41c9d71105dd", + "type": "mobile", + "top": 900, + "left": 2.325581395348837, + "width": 5, + "height": 200, + "componentId": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21" + }, + { + "id": "44f938b0-11a7-4ad4-a212-a51142b65fce", + "type": "desktop", + "top": 100.00001525878906, + "left": 2.3255813953488373, + "width": 41, + "height": 690, + "componentId": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21" + } + ] + }, + { + "id": "50ece29d-cb07-46ab-a507-0ef208a53423", + "name": "textinput2", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter UTM medium" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "mandatory": { + "value": "{{true}}" + }, + "minLength": { + "value": "1" + } + }, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "ddb2fcaa-7c45-428a-803a-0a5078175b6b", + "type": "mobile", + "top": 150, + "left": 34.88372093023256, + "width": 23.25581395348837, + "height": 40, + "componentId": "50ece29d-cb07-46ab-a507-0ef208a53423" + }, + { + "id": "1b948d88-63ff-4701-8561-81bba829f770", + "type": "desktop", + "top": 20, + "left": 20.930231661032778, + "width": 32, + "height": 40, + "componentId": "50ece29d-cb07-46ab-a507-0ef208a53423" + } + ] + }, + { + "id": "13a18cff-1258-4bbe-9944-4f3bf501ee90", + "name": "textinput3", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter UTM source" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "mandatory": { + "value": "{{true}}" + }, + "minLength": { + "value": "1" + } + }, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "c623ca67-603f-473a-9d8a-69197d2fa604", + "type": "mobile", + "top": 210, + "left": 37.2093023255814, + "width": 23.25581395348837, + "height": 40, + "componentId": "13a18cff-1258-4bbe-9944-4f3bf501ee90" + }, + { + "id": "85048493-d239-4eee-ba62-05cc8b4b977d", + "type": "desktop", + "top": 79.99996948242188, + "left": 20.930233455246288, + "width": 32, + "height": 40, + "componentId": "13a18cff-1258-4bbe-9944-4f3bf501ee90" + } + ] + }, + { + "id": "ee580926-01da-4d4a-905d-17a8391d1d0d", + "name": "textinput4", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter UTM campaign" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "mandatory": { + "value": "{{true}}" + }, + "minLength": { + "value": "1" + } + }, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "5c92ee51-c2c4-4bf4-95ef-767f8dd8a7de", + "type": "mobile", + "top": 280, + "left": 20.930232558139537, + "width": 23.25581395348837, + "height": 40, + "componentId": "ee580926-01da-4d4a-905d-17a8391d1d0d" + }, + { + "id": "0a0a0266-d7ec-4ff1-9ec4-dea31ea4bfe0", + "type": "desktop", + "top": 139.99996185302734, + "left": 20.93023644415038, + "width": 32, + "height": 40, + "componentId": "ee580926-01da-4d4a-905d-17a8391d1d0d" + } + ] + }, + { + "id": "f4747f02-74f7-4b25-a4f8-7fee2cf891a2", + "name": "textinput5", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter UTM term" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "74fa60dd-9c6f-452f-a904-dbf8bafba042", + "type": "mobile", + "top": 350, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "f4747f02-74f7-4b25-a4f8-7fee2cf891a2" + }, + { + "id": "21713895-f6e1-4d1a-8d97-673929f68483", + "type": "desktop", + "top": 200.0001220703125, + "left": 20.930232558139533, + "width": 32, + "height": 40, + "componentId": "f4747f02-74f7-4b25-a4f8-7fee2cf891a2" + } + ] + }, + { + "id": "cd5677e8-5a52-4843-a6b8-1b3c7159ac4f", + "name": "textinput7", + "type": "TextInput", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter base URL" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "mandatory": { + "value": "{{true}}" + }, + "regex": { + "value": "" + }, + "customRule": { + "value": "{{/^(?:(?:https?:\\/\\/)?(?:www\\.)?)((?!http|https|www)[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}(?:\\.[a-zA-Z]{2,})?(?:\\:\\d+)?(?:\\/[\\w\\-\\.]*)*(?:\\?[\\w\\-\\.\\=\\&]*)?$/.test(components.textinput7.value) ? true : \"Invalid base URL\"}}" + } + }, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "6e7a9ebb-4d59-4f9d-949a-8bf6fa322aea", + "type": "mobile", + "top": 520, + "left": 23.25581395348837, + "width": 23.25581395348837, + "height": 40, + "componentId": "cd5677e8-5a52-4843-a6b8-1b3c7159ac4f" + }, + { + "id": "1e6a99f4-2424-437e-bb2f-fd1516889913", + "type": "desktop", + "top": 320.0000305175781, + "left": 20.930262786288107, + "width": 32, + "height": 40, + "componentId": "cd5677e8-5a52-4843-a6b8-1b3c7159ac4f" + } + ] + }, + { + "id": "93cebb45-33ac-4634-8c67-859e1515ab51", + "name": "text4", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "{{`
${variables?.generatedUrl ?? \"\"}
`}}" + }, + "tooltip": { + "value": "{{(variables?.generatedUrl ?? \"\").length < 1 ? \"Please generate URL to proceed.\" : \"\"}}" + } + }, + "general": {}, + "styles": { + "decoration": { + "value": "none" + }, + "textIndent": { + "value": "0" + }, + "verticalAlignment": { + "value": "center" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#8888881a" + }, + "padding": { + "value": "default" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "3e444305-308c-40cd-a23d-abb16ccd59de", + "type": "mobile", + "top": 560, + "left": 25.58139534883721, + "width": 13.953488372093023, + "height": 40, + "componentId": "93cebb45-33ac-4634-8c67-859e1515ab51" + }, + { + "id": "f7b55127-369d-4a57-8e16-fa8028682d10", + "type": "desktop", + "top": 449.9997024536133, + "left": 20.930220033577218, + "width": 32, + "height": 80, + "componentId": "93cebb45-33ac-4634-8c67-859e1515ab51" + } + ] + }, + { + "id": "05ada93c-055e-4802-bf39-645245fb592f", + "name": "button2", + "type": "Button", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "copy" + } + }, + "general": { + "tooltip": { + "value": "{{(variables?.generatedUrl ?? \"\").length < 1 ? \"Please generate URL to proceed.\" : \"\"}}" + } + }, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "fxActive": true, + "value": "{{(variables?.generatedUrl ?? \"\").length < 1}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "cf4c8af5-768c-4d76-a4b5-43deb8933a53", + "type": "mobile", + "top": 570, + "left": 90.69767441860466, + "width": 6.976744186046512, + "height": 30, + "componentId": "05ada93c-055e-4802-bf39-645245fb592f" + }, + { + "id": "da466d0a-a88d-4555-980c-758f4dcb3cdd", + "type": "desktop", + "top": 530, + "left": 86.046519155145, + "width": 4, + "height": 30, + "componentId": "05ada93c-055e-4802-bf39-645245fb592f" + } + ] + }, + { + "id": "421caa3b-3c6a-45c6-8a94-1befb7c557a9", + "name": "button3", + "type": "Button", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Generate URL" + }, + "loadingState": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "2e978bce-849f-4c00-90d2-391d4471ae6b", + "type": "mobile", + "top": 570, + "left": 32.558139534883715, + "width": 6.976744186046512, + "height": 30, + "componentId": "421caa3b-3c6a-45c6-8a94-1befb7c557a9" + }, + { + "id": "9c8b77ff-0c7b-49be-8a64-e3c8921907b9", + "type": "desktop", + "top": 380.00003814697266, + "left": 20.930235080984584, + "width": 32, + "height": 40, + "componentId": "421caa3b-3c6a-45c6-8a94-1befb7c557a9" + } + ] + }, + { + "id": "92582d91-e57c-438d-89a0-20eb90b67462", + "name": "button5", + "type": "Button", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Add to database" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.createUtmTag.isLoading}}" + } + }, + "general": { + "tooltip": { + "value": "{{(variables?.generatedUrl ?? \"\").length < 1 ? \"Please generate URL to proceed.\" : \"\"}}" + } + }, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{(variables?.generatedUrl ?? \"\").length < 1}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "12837ad3-0323-4774-80f3-d36e07d70ec3", + "type": "mobile", + "top": 790, + "left": 72.09302325581396, + "width": 6.976744186046512, + "height": 30, + "componentId": "92582d91-e57c-438d-89a0-20eb90b67462" + }, + { + "id": "ad131ed9-e1d4-42a7-9d90-3332c8013faa", + "type": "desktop", + "top": 699.999870300293, + "left": 74.41859707278594, + "width": 9, + "height": 40, + "componentId": "92582d91-e57c-438d-89a0-20eb90b67462" + } + ] + }, + { + "id": "2b8cf34c-f06a-4a86-a45d-4524a5a6932c", + "name": "text6", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "a7e8e17f-77d2-4ab9-a002-ac437c7531bd", + "properties": { + "text": { + "value": "
Digital marketing campaign manager
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "d86f4861-686b-40a7-8483-0ba8fdd3dd33", + "type": "desktop", + "top": 10, + "left": 53.48837209302326, + "width": 19, + "height": 40, + "componentId": "2b8cf34c-f06a-4a86-a45d-4524a5a6932c" + } + ] + }, + { + "id": "deac8024-81b5-49b3-a9ff-afc0ae8138c2", + "name": "text5", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "a7e8e17f-77d2-4ab9-a002-ac437c7531bd", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "3b082493-3948-40aa-892a-b1d62b5e58d2", + "type": "desktop", + "top": 10, + "left": 2.3255811827776833, + "width": 6, + "height": 40, + "componentId": "deac8024-81b5-49b3-a9ff-afc0ae8138c2" + } + ] + }, + { + "id": "0741d5f7-b09b-4660-bd17-2bea9e890365", + "name": "text8", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "UTM medium *" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:47:42.168Z", + "layouts": [ + { + "id": "32357651-53ed-4450-a571-a0b9b0a1b851", + "type": "desktop", + "top": 20, + "left": 4.651158805905836, + "width": 7, + "height": 40, + "componentId": "0741d5f7-b09b-4660-bd17-2bea9e890365" + }, + { + "id": "79cdc066-b0d0-4eee-bbe9-af3bdd764aa7", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "0741d5f7-b09b-4660-bd17-2bea9e890365" + } + ] + }, + { + "id": "73d20ccf-8d36-4b97-b33c-694057b88032", + "name": "text9", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "UTM source *" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:47:48.655Z", + "layouts": [ + { + "id": "fc7a68cb-6f5b-4e72-8067-771cc930c78e", + "type": "desktop", + "top": 80, + "left": 4.651160396063708, + "width": 7, + "height": 40, + "componentId": "73d20ccf-8d36-4b97-b33c-694057b88032" + }, + { + "id": "4663d3e9-ba8c-45d1-84fe-407e4288eb36", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "73d20ccf-8d36-4b97-b33c-694057b88032" + } + ] + }, + { + "id": "38414898-6b18-4040-be62-978d360d2e7e", + "name": "text10", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "UTM campaign *" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:04.558Z", + "layouts": [ + { + "id": "452169d0-21cd-4e27-ad7f-2ad7e10e2da9", + "type": "desktop", + "top": 129.99996948242188, + "left": 4.651159605683358, + "width": 7, + "height": 60, + "componentId": "38414898-6b18-4040-be62-978d360d2e7e" + }, + { + "id": "021a63e5-1b01-4ada-9b9c-f7f6a538ca04", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "38414898-6b18-4040-be62-978d360d2e7e" + } + ] + }, + { + "id": "aebd62ca-aded-40b4-a744-9d9dc1f9af5d", + "name": "text11", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "UTM term" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:11.927Z", + "layouts": [ + { + "id": "1c3cd391-f06f-4043-bc88-22830f05870a", + "type": "desktop", + "top": 200.00001525878906, + "left": 4.651160892162732, + "width": 7, + "height": 40, + "componentId": "aebd62ca-aded-40b4-a744-9d9dc1f9af5d" + }, + { + "id": "c9ce47dd-22ae-4db3-94a0-bc5ca8f6ef18", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "aebd62ca-aded-40b4-a744-9d9dc1f9af5d" + } + ] + }, + { + "id": "48f491c5-3e7b-4ab6-992d-7a1d931e8cc8", + "name": "text12", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "UTM content" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:15.683Z", + "layouts": [ + { + "id": "15aae99d-b1f9-4ccb-9343-70ffbdf112b3", + "type": "desktop", + "top": 260.00001525878906, + "left": 4.651165486548979, + "width": 7, + "height": 40, + "componentId": "48f491c5-3e7b-4ab6-992d-7a1d931e8cc8" + }, + { + "id": "e0199a3e-16d8-4c1c-8ba1-ab8f9dcc44a3", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "48f491c5-3e7b-4ab6-992d-7a1d931e8cc8" + } + ] + }, + { + "id": "a7e8e17f-77d2-4ab9-a002-ac437c7531bd", + "name": "container3", + "type": "Container", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "2ac79808-d610-403d-8202-aa91f6bb687b", + "type": "desktop", + "top": 20, + "left": 2.3255833196588704, + "width": 41, + "height": 70, + "componentId": "a7e8e17f-77d2-4ab9-a002-ac437c7531bd" + } + ] + }, + { + "id": "f9a74159-ebe5-4294-b711-3d7a96e0a3b1", + "name": "text7", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "cc4df5cd-c88a-4e8c-94f4-00d3907a6c21", + "properties": { + "text": { + "value": "UTM tags" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040", + "fxActive": true + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "b10e4a34-a231-49aa-b394-94419dc76bfa", + "type": "mobile", + "top": 40, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "f9a74159-ebe5-4294-b711-3d7a96e0a3b1" + }, + { + "id": "f78a1286-57f1-4163-884d-b76f6d9bc56f", + "type": "desktop", + "top": 20, + "left": 2.3255813953488444, + "width": 13.000000000000002, + "height": 40, + "componentId": "f9a74159-ebe5-4294-b711-3d7a96e0a3b1" + } + ] + }, + { + "id": "f166862a-3a5f-4a84-864b-aa9072a7ffd3", + "name": "text13", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Base URL *" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:20.149Z", + "layouts": [ + { + "id": "71052d8d-9fa4-42ea-9c07-1a6d15720d0c", + "type": "desktop", + "top": 319.99999237060547, + "left": 4.651157262994028, + "width": 7, + "height": 40, + "componentId": "f166862a-3a5f-4a84-864b-aa9072a7ffd3" + }, + { + "id": "6102558f-4e00-4b7d-8b7d-f569207101b7", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "f166862a-3a5f-4a84-864b-aa9072a7ffd3" + } + ] + }, + { + "id": "c8c6fd67-f82b-41f7-82cb-0c5099597ae4", + "name": "text14", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Final tagged URL" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:24.002Z", + "layouts": [ + { + "id": "c92b9c67-62b4-4776-a418-a52e3647434e", + "type": "desktop", + "top": 450.0000228881836, + "left": 4.6511506533698475, + "width": 7, + "height": 80, + "componentId": "c8c6fd67-f82b-41f7-82cb-0c5099597ae4" + }, + { + "id": "8a88f28b-63b8-42f2-a943-7624fbebe4b7", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "c8c6fd67-f82b-41f7-82cb-0c5099597ae4" + } + ] + }, + { + "id": "f2af5c75-1be7-44d6-913b-09c5f3bacfcf", + "name": "text15", + "type": "Text", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Notes" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-26T07:48:27.745Z", + "layouts": [ + { + "id": "dba518d3-c9a2-44ef-8cc0-7db873ca55d8", + "type": "desktop", + "top": 579.9999923706055, + "left": 4.651161466491635, + "width": 7, + "height": 40, + "componentId": "f2af5c75-1be7-44d6-913b-09c5f3bacfcf" + }, + { + "id": "a7633d48-c5bb-4f11-b167-2c04ee56fa61", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 13.953488372093023, + "height": 40, + "componentId": "f2af5c75-1be7-44d6-913b-09c5f3bacfcf" + } + ] + }, + { + "id": "ea53d3a8-f323-4714-ab81-ce00c07790eb", + "name": "textarea1", + "type": "TextArea", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter notes" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "4dc4decc-d39b-4e00-8b2c-81d987165c88", + "type": "mobile", + "top": 700, + "left": 20.930232558139533, + "width": 13.953488372093023, + "height": 100, + "componentId": "ea53d3a8-f323-4714-ab81-ce00c07790eb" + }, + { + "id": "a381fff9-3a88-409f-85a5-e3673e55de27", + "type": "desktop", + "top": 580, + "left": 20.930230511855857, + "width": 32, + "height": 100, + "componentId": "ea53d3a8-f323-4714-ab81-ce00c07790eb" + } + ] + }, + { + "id": "cedf6629-eb4b-40f0-af07-145ad64d6cd7", + "name": "button6", + "type": "Button", + "pageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "parent": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": { + "tooltip": { + "value": "" + } + }, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "disabledState": { + "value": "{{false}}" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "layouts": [ + { + "id": "17e651b5-fc65-4d92-8c09-14dc2a8e2e53", + "type": "mobile", + "top": 790, + "left": 72.09302325581396, + "width": 6.976744186046512, + "height": 30, + "componentId": "cedf6629-eb4b-40f0-af07-145ad64d6cd7" + }, + { + "id": "7cea9abe-705a-4abc-b10b-83a12d7a125a", + "type": "desktop", + "top": 699.9998779296875, + "left": 58.13953877153513, + "width": 6, + "height": 40, + "componentId": "cedf6629-eb4b-40f0-af07-145ad64d6cd7" + } + ] + } + ], + "pages": [ + { + "id": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0" + } + ], + "events": [ + { + "id": "22cc8195-92ac-49e4-8b32-ed50ed755802", + "name": "onClick", + "index": 0, + "event": { + "key": "generatedUrl", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "646f26aa-fc65-4a5e-9c6a-f00b84ba23a2", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "4c1a0c1a-d30c-4cc1-b6b9-2e86662baeb6", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1ff85bb2-08f8-4bbf-80c3-14c1e1870d82", + "actionId": "copy-to-clipboard", + "alertType": "info", + "queryName": "runjs2", + "runOnlyIf": "", + "parameters": {}, + "contentToCopy": "{{variables?.generatedUrl ?? \"\"}}" + }, + "sourceId": "05ada93c-055e-4802-bf39-645245fb592f", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "f4a5db69-59bf-4bae-b9f3-10d5d268fab2", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "generatedUrl", + "value": "{{queries.generateTaggedUrl.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "9e0eea46-2d32-453f-bf15-4a7a4c64acb8", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "68bea870-a1bb-4e11-a89e-05be8df28cb0", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "UTM tag created successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "8758eb68-a12a-4166-b161-a72507cc1b0c", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to create UTM tag! Please check and try again.", + "actionId": "show-alert", + "alertType": "info" + }, + "sourceId": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "dbf303d6-502a-4528-9dd9-97bac0151f01", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "UTM tag deleted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "e28d03ad-73b3-47bf-80e3-fe07f24fbc3f", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "a1ed63e1-c4cf-48b5-8599-357f9d4b7d42", + "name": "onDataQueryFailure", + "index": 2, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to delete UTM tag! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "e28d03ad-73b3-47bf-80e3-fe07f24fbc3f", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "d4a842ae-a9ff-4279-a56a-e48f37f326ba", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "eventId": "onClick", + "message": "Hello world!", + "queryId": "e28d03ad-73b3-47bf-80e3-fe07f24fbc3f", + "actionId": "run-query", + "alertType": "info", + "queryName": "deleteUtmTag", + "parameters": {} + }, + "sourceId": "5fa81679-523e-4a94-9113-28ce94231be5", + "target": "table_action", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.149Z" + }, + { + "id": "ab98cf6a-360e-48cc-a885-48366a4ef6c3", + "name": "onClick", + "index": 1, + "event": { + "modal": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "646f26aa-fc65-4a5e-9c6a-f00b84ba23a2", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.157Z" + }, + { + "id": "0940bdce-a7fb-44b2-b25d-a47af5f349f8", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "9e0eea46-2d32-453f-bf15-4a7a4c64acb8", + "actionId": "run-query", + "alertType": "info", + "queryName": "runjs1", + "runOnlyIf": "", + "parameters": {}, + "componentId": "55239c8c-b06c-45cf-8511-3ed593fdeef2" + }, + "sourceId": "421caa3b-3c6a-45c6-8a94-1befb7c557a9", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.171Z" + }, + { + "id": "055cd6b0-f2bd-496d-9e40-e8e85114e4a1", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "actionId": "run-query", + "alertType": "info", + "queryName": "tooljetdb1", + "parameters": {} + }, + "sourceId": "92582d91-e57c-438d-89a0-20eb90b67462", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.179Z" + }, + { + "id": "5821d6e4-eefa-400e-bb6f-1165c0d99b1c", + "name": "onClick", + "index": 0, + "event": { + "modal": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "cedf6629-eb4b-40f0-af07-145ad64d6cd7", + "target": "component", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.187Z" + }, + { + "id": "971a3897-2041-4bb9-9a2a-d9022de0e4dc", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "data": "", + "modal": "df400aee-455f-4231-bc67-df9aa1c43284", + "eventId": "onDataQuerySuccess", + "message": "success!", + "queryId": "4a7904fe-bf7b-444e-832a-1462d5ebba64", + "actionId": "run-query", + "fileName": "my_application.csv", + "alertType": "info", + "queryName": "summary", + "parameters": {} + }, + "sourceId": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.197Z" + }, + { + "id": "213111c8-c8f4-4f6c-92ee-f366d2e1970f", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "1a209697-4175-47b6-ab90-fdb61881fdeb", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.205Z" + }, + { + "id": "a77bb889-532c-43c0-9b94-614f9dbb0ff8", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "4a7904fe-bf7b-444e-832a-1462d5ebba64", + "actionId": "run-query", + "alertType": "info", + "queryName": "getUtmTags", + "parameters": {} + }, + "sourceId": "e28d03ad-73b3-47bf-80e3-fe07f24fbc3f", + "target": "data_query", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:10.227Z" + } + ], + "dataQueries": [ + { + "id": "9e0eea46-2d32-453f-bf15-4a7a4c64acb8", + "name": "generateTaggedUrl", + "options": { + "code": "function generateUtmUrl({\n utmMedium,\n utmSource,\n utmCampaign,\n utmTerm,\n utmContent,\n baseUrl,\n}) {\n // Trim white spaces from the parameters & base url\n utmMedium = utmMedium.trim();\n utmSource = utmSource.trim();\n utmCampaign = utmCampaign.trim();\n utmTerm = utmTerm.trim();\n utmContent = utmContent.trim();\n baseUrl = baseUrl.trim();\n\n // Construct the UTM parameters\n const utmParams = [];\n\n // Add mandatory parameters\n if (!utmMedium || !utmSource || !utmCampaign || !baseUrl) {\n actions.showAlert(\"warning\", \"Please complete the required fields.\");\n return;\n }\n utmParams.push(`utm_medium=${encodeURI(utmMedium)}`);\n utmParams.push(`utm_source=${encodeURI(utmSource)}`);\n utmParams.push(`utm_campaign=${encodeURI(utmCampaign)}`);\n\n // Add optional parameters if provided\n if (utmTerm) {\n utmParams.push(`utm_term=${encodeURI(utmTerm)}`);\n }\n if (utmContent) {\n utmParams.push(`utm_content=${encodeURI(utmContent)}`);\n }\n\n // Construct the final URL\n const utmParamsString = utmParams.join(\"&\");\n const indexOfParams = baseUrl.indexOf(\"?\");\n let finalURL;\n if (indexOfParams != -1) {\n finalURL = `${baseUrl.slice(0, indexOfParams + 1)}`;\n finalURL += `${utmParamsString}`;\n finalURL += `&${baseUrl.slice(indexOfParams + 1)}`;\n } else {\n finalURL = `${baseUrl}?${utmParamsString}`;\n }\n\n return finalURL;\n}\n\nreturn generateUtmUrl({\n utmMedium: components.textinput2.value,\n utmSource: components.textinput3.value,\n utmCampaign: components.textinput4.value,\n utmTerm: components.textinput5.value,\n utmContent: components.textinput6.value,\n baseUrl: components.textinput7.value,\n});", + "parameters": [] + }, + "dataSourceId": "1c6810f9-0fe5-44ff-a3b9-383ee26699ff", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "1301c5af-62c5-4461-aa9c-87c8db80394d", + "name": "createUtmTag", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "fcf15b7b-6daa-4f2c-b458-eeafd41a04bd", + "table_id": "6841c89d-8061-4b2c-8f4c-25a66fbc0408", + "join_table": { + "joins": [ + { + "id": 1712467232783, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7498f8cb-b774-44c6-b9d3-57ee088a9210", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_medium", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_source", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_campaign", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "UTM_medium", + "value": "{{components.textinput2.value}}" + }, + "1": { + "column": "UTM_source", + "value": "{{components.textinput3.value}}" + }, + "2": { + "column": "UTM_campaign", + "value": "{{components.textinput4.value}}" + }, + "3": { + "column": "UTM_term", + "value": "{{components.textinput5.value}}" + }, + "4": { + "column": "UTM_content", + "value": "{{components.textinput6.value}}" + }, + "5": { + "column": "URL", + "value": "{{components.textinput7.value}}" + }, + "6": { + "column": "Final_updated_URL", + "value": "{{variables.generatedUrl}}" + }, + "7": { + "column": "Last_updated_on", + "value": "{{moment().format()}}" + }, + "72e9e0dc-b802-4f0d-a807-3b449ee6e09a": { + "column": "Notes", + "value": "{{components.textarea1.value}}" + } + } + }, + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "4a7904fe-bf7b-444e-832a-1462d5ebba64", + "name": "getUtmTags", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "fcf15b7b-6daa-4f2c-b458-eeafd41a04bd", + "table_id": "6841c89d-8061-4b2c-8f4c-25a66fbc0408", + "join_table": { + "joins": [ + { + "id": 1712498338428, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7498f8cb-b774-44c6-b9d3-57ee088a9210", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_medium", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_source", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_campaign", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_term", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_content", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "URL", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Final_updated_URL", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Last_updated_on", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Notes", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + ] + }, + "list_rows": {}, + "runOnPageLoad": true + }, + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + }, + { + "id": "e28d03ad-73b3-47bf-80e3-fe07f24fbc3f", + "name": "deleteUtmTag", + "options": { + "operation": "delete_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "fcf15b7b-6daa-4f2c-b458-eeafd41a04bd", + "table_id": "6841c89d-8061-4b2c-8f4c-25a66fbc0408", + "join_table": { + "joins": [ + { + "id": 1712589269670, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7498f8cb-b774-44c6-b9d3-57ee088a9210", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_medium", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_source", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_campaign", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_term", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "UTM_content", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "URL", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Final_updated_URL", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Last_updated_on", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + }, + { + "name": "Notes", + "table": "7498f8cb-b774-44c6-b9d3-57ee088a9210" + } + ] + }, + "list_rows": {}, + "delete_rows": { + "limit": "", + "where_filters": { + "beabcc52-dfbf-44c4-89ae-d329798cdda2": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "beabcc52-dfbf-44c4-89ae-d329798cdda2" + } + } + } + }, + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "createdAt": "2024-04-25T07:39:09.549Z", + "updatedAt": "2024-04-25T07:39:09.549Z" + } + ], + "dataSources": [ + { + "id": "2eb1094d-be1a-4298-a686-756dfc99845d", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:39:09.556Z", + "updatedAt": "2024-04-25T07:39:09.556Z" + }, + { + "id": "1c6810f9-0fe5-44ff-a3b9-383ee26699ff", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:39:09.569Z", + "updatedAt": "2024-04-25T07:39:09.569Z" + }, + { + "id": "ffa058e6-abe8-46f8-9904-0a6044b43fbc", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:39:09.581Z", + "updatedAt": "2024-04-25T07:39:09.581Z" + }, + { + "id": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:39:09.595Z", + "updatedAt": "2024-04-25T07:39:09.595Z" + }, + { + "id": "4ff68f27-dce8-4fe0-827e-f605a42e4577", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:39:09.607Z", + "updatedAt": "2024-04-25T07:39:09.607Z" + } + ], + "appVersions": [ + { + "id": "3566a416-9a1e-4a8f-8a83-cf85f777beb0", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "79753fb8-f12b-4139-b925-3a786e8cf5f5", + "appId": "8e582601-6888-49a2-9b83-6fe34a3902a9", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:39:09.541Z", + "updatedAt": "2024-04-30T23:58:13.860Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "163bd436-968f-4399-94e6-26002f3636f4", + "dataSourceId": "2eb1094d-be1a-4298-a686-756dfc99845d", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:39:09.566Z", + "updatedAt": "2024-04-25T07:39:09.566Z" + }, + { + "id": "84f217cc-85b0-45d9-8015-e0f9a8434a33", + "dataSourceId": "2eb1094d-be1a-4298-a686-756dfc99845d", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:39:09.566Z", + "updatedAt": "2024-04-25T07:39:09.566Z" + }, + { + "id": "dfb5b0e7-070c-4e74-a9d3-77bf5427d95e", + "dataSourceId": "2eb1094d-be1a-4298-a686-756dfc99845d", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:39:09.566Z", + "updatedAt": "2024-04-25T07:39:09.566Z" + }, + { + "id": "85d11135-0d52-4cb0-8d43-00d646639d09", + "dataSourceId": "1c6810f9-0fe5-44ff-a3b9-383ee26699ff", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:39:09.578Z", + "updatedAt": "2024-04-25T07:39:09.578Z" + }, + { + "id": "37f2ea1a-41fd-460a-9461-dc6532ed8d0f", + "dataSourceId": "1c6810f9-0fe5-44ff-a3b9-383ee26699ff", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:39:09.578Z", + "updatedAt": "2024-04-25T07:39:09.578Z" + }, + { + "id": "15803e65-0f85-47c7-9fc3-aa5d986b7c4b", + "dataSourceId": "1c6810f9-0fe5-44ff-a3b9-383ee26699ff", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:39:09.578Z", + "updatedAt": "2024-04-25T07:39:09.578Z" + }, + { + "id": "09dc05c1-0848-49f9-afe7-2e453a825590", + "dataSourceId": "ffa058e6-abe8-46f8-9904-0a6044b43fbc", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:39:09.589Z", + "updatedAt": "2024-04-25T07:39:09.589Z" + }, + { + "id": "eed96f21-785b-41c9-a80e-27b891df2fd4", + "dataSourceId": "ffa058e6-abe8-46f8-9904-0a6044b43fbc", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:39:09.589Z", + "updatedAt": "2024-04-25T07:39:09.589Z" + }, + { + "id": "acc53793-6278-41a3-8772-aff5c36a5c56", + "dataSourceId": "ffa058e6-abe8-46f8-9904-0a6044b43fbc", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:39:09.589Z", + "updatedAt": "2024-04-25T07:39:09.589Z" + }, + { + "id": "561d4705-d824-4b83-96e2-b6d30f914468", + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:39:09.604Z", + "updatedAt": "2024-04-25T07:39:09.604Z" + }, + { + "id": "94072cba-658f-47c6-8690-c62f2cfe5f2b", + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:39:09.604Z", + "updatedAt": "2024-04-25T07:39:09.604Z" + }, + { + "id": "9975591e-8c0d-43a1-9505-baf70844c2e8", + "dataSourceId": "edb3eb05-d46d-4fdd-9f64-6a2b9f0ad0e5", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:39:09.604Z", + "updatedAt": "2024-04-25T07:39:09.604Z" + }, + { + "id": "8d8e6bd2-d604-4fee-b062-6a1bbb2fb83d", + "dataSourceId": "4ff68f27-dce8-4fe0-827e-f605a42e4577", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:39:09.616Z", + "updatedAt": "2024-04-25T07:39:09.616Z" + }, + { + "id": "8a3913ff-a476-4bd1-985c-688b3ce57b4b", + "dataSourceId": "4ff68f27-dce8-4fe0-827e-f605a42e4577", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:39:09.616Z", + "updatedAt": "2024-04-25T07:39:09.616Z" + }, + { + "id": "b2d57bb7-02ca-4f75-aee1-7c8dbd769503", + "dataSourceId": "4ff68f27-dce8-4fe0-827e-f605a42e4577", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:39:09.616Z", + "updatedAt": "2024-04-25T07:39:09.616Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.35.4-ee2.15.26-cloud2.3.10" +} \ No newline at end of file diff --git a/server/templates/digital-marketing-campaign-manager/manifest.json b/server/templates/digital-marketing-campaign-manager/manifest.json new file mode 100644 index 0000000000..3a35fb305b --- /dev/null +++ b/server/templates/digital-marketing-campaign-manager/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "Digital marketing campaign manager", + "description": "Plan, execute, and analyze your digital marketing campaigns with precision using our comprehensive UTM campaign manager.", + "widgets": [ + "Table" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + }, + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "digital-marketing-campaign-manager", + "category": "sales-and-marketing" +} \ No newline at end of file diff --git a/server/templates/expense-tracker-admin/manifest.json b/server/templates/expense-tracker-admin/manifest.json index 4c0fe83415..289b147ebe 100644 --- a/server/templates/expense-tracker-admin/manifest.json +++ b/server/templates/expense-tracker-admin/manifest.json @@ -12,5 +12,5 @@ } ], "id": "expense-tracker-admin", - "category": "operations" + "category": "human-resources" } \ No newline at end of file diff --git a/server/templates/expense-tracker-portal/manifest.json b/server/templates/expense-tracker-portal/manifest.json index 63d3f20515..7bed716823 100644 --- a/server/templates/expense-tracker-portal/manifest.json +++ b/server/templates/expense-tracker-portal/manifest.json @@ -12,5 +12,5 @@ } ], "id": "expense-tracker-portal", - "category": "operations" + "category": "human-resources" } \ No newline at end of file diff --git a/server/templates/finance-underwriting-admin/definition.json b/server/templates/finance-underwriting-admin/definition.json new file mode 100644 index 0000000000..dc51d7b8ed --- /dev/null +++ b/server/templates/finance-underwriting-admin/definition.json @@ -0,0 +1,5010 @@ +{ + "tooljet_database": [ + { + "id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "table_name": "finance_underwriting", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"04df6269-fec2-47a8-970e-9bcdfd97d59d_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "applicant_name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "application_type", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "loan_amount", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "credit_score", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "annual_turnover", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "collateral", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "notes", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "assigned_to", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "status", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "af3aaaa3-9a59-414d-b709-088e47f715f8", + "type": "front-end", + "name": "Finance underwriting - Admin", + "slug": "af3aaaa3-9a59-414d-b709-088e47f715f8", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "table", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-26T00:05:07.918Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-26T00:05:08.874Z", + "editingVersion": { + "id": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "appId": "af3aaaa3-9a59-414d-b709-088e47f715f8", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-26T00:05:07.941Z", + "updatedAt": "2024-04-30T23:52:08.721Z" + }, + "components": [ + { + "id": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "name": "modal1", + "type": "Modal", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "title": { + "value": "Update loan application" + }, + "modalHeight": { + "value": "700px" + } + }, + "general": {}, + "styles": { + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "59e440f0-7397-4d59-a494-30b1d5da02f3", + "type": "desktop", + "top": 850, + "left": 2.325565212375515, + "width": 7, + "height": 40, + "componentId": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6" + }, + { + "id": "76e42221-235a-455c-b780-2df656d34938", + "type": "mobile", + "top": 120, + "left": 74.41860465116281, + "width": 10, + "height": 34, + "componentId": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6" + } + ] + }, + { + "id": "6552ed1f-47c6-4912-9ee6-5ce23b4abf44", + "name": "assigned_to_dropdown", + "type": "DropDown", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "All" + }, + "values": { + "value": "{{[\"All\"].concat(queries.getUniqueUnderwriters.data)}}" + }, + "display_values": { + "value": "{{[\"All\"].concat(queries.getUniqueUnderwriters.data)}}" + }, + "placeholder": { + "value": "Select underwriter" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getAllApplications.isLoading || queries.getUniqueUnderwriters.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "db00be0f-d93e-48aa-9669-48c48600d0f3", + "type": "desktop", + "top": 110, + "left": 67.44186153120765, + "width": 12.999999999999998, + "height": 40, + "componentId": "6552ed1f-47c6-4912-9ee6-5ce23b4abf44" + }, + { + "id": "2f4d00b3-2460-44da-9f12-54e4b73f08e8", + "type": "mobile", + "top": 100, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "6552ed1f-47c6-4912-9ee6-5ce23b4abf44" + } + ] + }, + { + "id": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "name": "container1", + "type": "Container", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "e839385d-d1de-415b-9710-eeaa2954ea1f", + "type": "desktop", + "top": 100, + "left": 2.3255813953488373, + "width": 41, + "height": 700, + "componentId": "dddea41c-8f7c-40c9-9564-7862cd3fea3e" + }, + { + "id": "bdef8055-bff1-4dcf-bc3b-116e4beaeccd", + "type": "mobile", + "top": 70, + "left": 44.18604651162791, + "width": 5, + "height": 200, + "componentId": "dddea41c-8f7c-40c9-9564-7862cd3fea3e" + } + ] + }, + { + "id": "032ac494-d902-42a3-b593-25edeb7746aa", + "name": "text1", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "text": { + "value": "All applications" + }, + "textFormat": { + "value": "html" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "18" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "cac2cd36-79e2-4267-8a8c-3841dd160358", + "type": "desktop", + "top": 20, + "left": 2.325579911159074, + "width": 13.953488372093023, + "height": 40, + "componentId": "032ac494-d902-42a3-b593-25edeb7746aa" + }, + { + "id": "9e2267a1-58fc-451e-b151-04de06391cf6", + "type": "mobile", + "top": 30, + "left": 51.16279069767442, + "width": 13.953488372093023, + "height": 40, + "componentId": "032ac494-d902-42a3-b593-25edeb7746aa" + } + ] + }, + { + "id": "a9b8a81f-f93e-4029-b4df-0e21d18d2a25", + "name": "application_type_dropdown", + "type": "DropDown", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "All" + }, + "display_values": { + "value": "{{[\"All\", \"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "placeholder": { + "value": "Select application type" + }, + "values": { + "value": "{{[\"All\", \"Personal\", \"Mortgage\", \"Business\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "1735e3f1-3a60-4dae-9a45-f0dc6768889d", + "type": "mobile", + "top": 60, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "a9b8a81f-f93e-4029-b4df-0e21d18d2a25" + }, + { + "id": "86c04f28-1daa-490d-9180-5d26f7b90a38", + "type": "desktop", + "top": 110, + "left": 37.209299529523264, + "width": 10.999999999999998, + "height": 40, + "componentId": "a9b8a81f-f93e-4029-b4df-0e21d18d2a25" + } + ] + }, + { + "id": "ca66b796-6463-471b-a9ac-24d51a7aac42", + "name": "table1", + "type": "Table", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true, + "fxActiveFields": [], + "key": "id", + "columnType": "number" + }, + { + "name": "applicant name", + "id": "623db431-7868-487c-9ef3-ad43a70699e5", + "fxActiveFields": [], + "columnType": "string", + "key": "applicant_name", + "textWrap": "wrap" + }, + { + "name": "application type", + "id": "58c0154b-a406-45b5-9dc2-2a89a894e420", + "fxActiveFields": [], + "columnType": "string", + "key": "application_type", + "textWrap": "wrap" + }, + { + "name": "loan amount", + "id": "3ad33160-8a2c-432d-9bea-6b2ef3e07cf8", + "fxActiveFields": [], + "columnType": "number", + "key": "loan_amount" + }, + { + "name": "status", + "id": "d497562b-fa73-4799-8a36-abaeb0193251", + "fxActiveFields": [], + "columnType": "string", + "values": "", + "labels": "", + "isEditable": "{{false}}", + "customRule": "", + "transformation": "{{cellValue}}", + "key": "status" + }, + { + "name": "assigned to", + "id": "325e73d2-1e30-4af9-8adc-ec9af6caa4b5", + "fxActiveFields": [], + "key": "assigned_to", + "columnType": "string", + "textWrap": "wrap" + }, + { + "name": "created at", + "id": "0eaeddad-d93b-4e0d-8828-a257b40b2e59", + "fxActiveFields": [], + "columnType": "number", + "key": "created_at" + }, + { + "name": "updated at", + "id": "432ec4d1-e1f9-4d10-9fa4-611363765804", + "fxActiveFields": [], + "columnType": "string", + "textWrap": "wrap", + "key": "updated_at" + } + ] + }, + "columnSizes": { + "value": { + "afc9a5091750a1bd4760e38760de3b4be11a43452ae8ae07ce2eebc569fe9a7f": 171, + "623db431-7868-487c-9ef3-ad43a70699e5": 167, + "d497562b-fa73-4799-8a36-abaeb0193251": 179, + "325e73d2-1e30-4af9-8adc-ec9af6caa4b5": 213, + "0eaeddad-d93b-4e0d-8828-a257b40b2e59": 218, + "432ec4d1-e1f9-4d10-9fa4-611363765804": 144, + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 46 + } + }, + "allowSelection": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getAllApplications.data}}" + }, + "columnDeletionHistory": { + "value": [ + "name", + "email", + "Assigned_to", + "created_at", + "updated_at", + "Actions", + "new_column1", + "STATUS", + "ASSIGNED_TO", + "actions", + "Updated_At", + "Created_At", + "Assigned_to", + "ACTIONS", + "new_column1", + "new_column2", + "Assigned_To", + "Credit_Score", + "Annual_Turnover", + "Colletarel", + "Notes", + "Applicant_Type", + "applicant_name", + "application_type", + "assigned_to", + "status", + "loan_amount", + "credit_score", + "annual_turnover", + "collateral", + "notes" + ] + }, + "serverSideFilter": { + "value": false + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Edit", + "events": [], + "position": "right" + } + ] + }, + "selectRowOnCellEdit": { + "value": "{{false}}" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getAllApplications.isLoading}}" + } + }, + "general": {}, + "styles": { + "cellSize": { + "value": "condensed" + }, + "tableType": { + "value": "table-classic" + }, + "actionButtonRadius": { + "value": "5" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:17:42.151Z", + "layouts": [ + { + "id": "afe535f8-f717-4332-aca4-e77fda2df142", + "type": "mobile", + "top": 60, + "left": 41.860465116279066, + "width": 67.11627906976744, + "height": 456, + "componentId": "ca66b796-6463-471b-a9ac-24d51a7aac42" + }, + { + "id": "df2e5ff9-69c3-4f18-bdee-119b6092b5ae", + "type": "desktop", + "top": 160, + "left": 2.3255811789541276, + "width": 41, + "height": 510, + "componentId": "ca66b796-6463-471b-a9ac-24d51a7aac42" + } + ] + }, + { + "id": "be58d790-177c-45a0-af7a-cbaf415423d2", + "name": "status_dropdown", + "type": "DropDown", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "value": { + "value": "All" + }, + "label": { + "value": "" + }, + "values": { + "value": "{{['All', 'Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "display_values": { + "value": "{{['All', 'Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "placeholder": { + "value": "Select status" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "e56a61c1-4c3e-4826-a009-4b493351bbb6", + "type": "mobile", + "top": 10, + "left": 46.51162790697674, + "width": 18.6046511627907, + "height": 30, + "componentId": "be58d790-177c-45a0-af7a-cbaf415423d2" + }, + { + "id": "c248f8eb-c751-4f43-9a3d-926383fc26a8", + "type": "desktop", + "top": 110, + "left": 2.3255753057237674, + "width": 12.999999999999998, + "height": 40, + "componentId": "be58d790-177c-45a0-af7a-cbaf415423d2" + } + ] + }, + { + "id": "62d8ec4c-d032-408f-acc1-a1481e7317b5", + "name": "container4", + "type": "Container", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "a40f1465-bc0f-4bf1-afeb-f963221baa83", + "type": "desktop", + "top": 20, + "left": 2.3255806414979454, + "width": 41, + "height": 70, + "componentId": "62d8ec4c-d032-408f-acc1-a1481e7317b5" + } + ] + }, + { + "id": "58337cbc-5639-481d-aae8-4c11c5684aee", + "name": "text4", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "62d8ec4c-d032-408f-acc1-a1481e7317b5", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "d735eccb-ca3e-46c5-a688-2f21fc4cb139", + "type": "desktop", + "top": 10, + "left": 2.3255811827776833, + "width": 6, + "height": 40, + "componentId": "58337cbc-5639-481d-aae8-4c11c5684aee" + } + ] + }, + { + "id": "f206d613-be29-4076-b850-d381549fea36", + "name": "text5", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "62d8ec4c-d032-408f-acc1-a1481e7317b5", + "properties": { + "text": { + "value": "
Finance underwriting - Admin
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "301f12b4-0b73-4965-a73d-69a944a3b995", + "type": "desktop", + "top": 10, + "left": 53.48837209302326, + "width": 19, + "height": 40, + "componentId": "f206d613-be29-4076-b850-d381549fea36" + } + ] + }, + { + "id": "3f0b54ee-90dd-464b-b7de-1f474d09ca34", + "name": "button1", + "type": "Button", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "text": { + "value": "View applications assigned to me" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T07:04:02.740Z", + "layouts": [ + { + "id": "d8e8ffbe-1ab1-424f-a60b-b1384e5f59b8", + "type": "desktop", + "top": 20, + "left": 76.74418604651163, + "width": 8.999999999999998, + "height": 40, + "componentId": "3f0b54ee-90dd-464b-b7de-1f474d09ca34" + }, + { + "id": "c616458e-39c7-47cf-a8cc-804c08966950", + "type": "mobile", + "top": 10, + "left": 16.27906976744186, + "width": 6.976744186046512, + "height": 30, + "componentId": "3f0b54ee-90dd-464b-b7de-1f474d09ca34" + } + ] + }, + { + "id": "2515dcdf-5458-49af-9d10-ec61ffff38ef", + "name": "text6", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "text": { + "value": "Status" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "e991726c-80f9-4b41-8bc7-3ae37f2b21ef", + "type": "desktop", + "top": 80, + "left": 2.3255813953488373, + "width": 8.999999999999998, + "height": 30, + "componentId": "2515dcdf-5458-49af-9d10-ec61ffff38ef" + }, + { + "id": "eb60a6da-727b-4f79-9233-26771d08f22c", + "type": "mobile", + "top": 70, + "left": 4.651162790697674, + "width": 13.953488372093023, + "height": 40, + "componentId": "2515dcdf-5458-49af-9d10-ec61ffff38ef" + } + ] + }, + { + "id": "8d93f55a-8a53-4eef-a43e-1f1bb7c816f8", + "name": "text7", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "text": { + "value": "Application type" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "41af1a01-08d2-4040-8028-ec6f3ace91c9", + "type": "mobile", + "top": 70, + "left": 4.651162790697674, + "width": 13.953488372093023, + "height": 40, + "componentId": "8d93f55a-8a53-4eef-a43e-1f1bb7c816f8" + }, + { + "id": "090003ab-133f-454a-a7b5-2d3b9893025d", + "type": "desktop", + "top": 80, + "left": 37.20930179988121, + "width": 8.999999999999998, + "height": 30, + "componentId": "8d93f55a-8a53-4eef-a43e-1f1bb7c816f8" + } + ] + }, + { + "id": "4dda686b-0774-44c5-8118-97e7de4b171e", + "name": "text8", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "dddea41c-8f7c-40c9-9564-7862cd3fea3e", + "properties": { + "text": { + "value": "Assigned to" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "2fc8d64a-000f-4385-883b-278e43ae2cec", + "type": "mobile", + "top": 70, + "left": 4.651162790697674, + "width": 13.953488372093023, + "height": 40, + "componentId": "4dda686b-0774-44c5-8118-97e7de4b171e" + }, + { + "id": "68866369-1e92-42e4-80cb-a4bd11a057e9", + "type": "desktop", + "top": 80, + "left": 67.44185198720828, + "width": 8.999999999999998, + "height": 30, + "componentId": "4dda686b-0774-44c5-8118-97e7de4b171e" + } + ] + }, + { + "id": "f79afcd9-a3d7-4889-9ee8-ff8d68802fb2", + "name": "textinput1", + "type": "TextInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter applicant name" + }, + "value": { + "value": "{{components.table1.selectedRow.applicant_name}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "87bfa29d-350b-4d4a-b75b-17da1322b547", + "type": "mobile", + "top": 100, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "f79afcd9-a3d7-4889-9ee8-ff8d68802fb2" + }, + { + "id": "d62fae14-ba9c-4dd1-8b03-d42bb17a2431", + "type": "desktop", + "top": 19.999954223632812, + "left": 25.581384719726838, + "width": 30.000000000000004, + "height": 40, + "componentId": "f79afcd9-a3d7-4889-9ee8-ff8d68802fb2" + } + ] + }, + { + "id": "0b67e448-5b23-44a8-a380-6c8e243cc5f1", + "name": "dropdown4", + "type": "DropDown", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "values": { + "value": "{{['Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "display_values": { + "value": "{{['Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "placeholder": { + "value": "Select status" + }, + "value": { + "value": "{{components.table1.selectedRow.status}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "86e2fb39-15f0-496f-8e8c-1e6817ba43a3", + "type": "mobile", + "top": 180, + "left": 53.48837209302326, + "width": 18.6046511627907, + "height": 30, + "componentId": "0b67e448-5b23-44a8-a380-6c8e243cc5f1" + }, + { + "id": "fc483d3b-7ec8-4cca-a708-b90678e51827", + "type": "desktop", + "top": 379.9999694824219, + "left": 25.581397029842766, + "width": 30.000000000000004, + "height": 40, + "componentId": "0b67e448-5b23-44a8-a380-6c8e243cc5f1" + } + ] + }, + { + "id": "646cee9c-5ac0-4891-b0f5-0545e8e13d90", + "name": "textinput3", + "type": "TextInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter collateral" + }, + "value": { + "value": "{{components.table1.selectedRow.collateral}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "f21f1f1d-2124-4c42-802a-25a30ab15a6f", + "type": "mobile", + "top": 260, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "646cee9c-5ac0-4891-b0f5-0545e8e13d90" + }, + { + "id": "fbf87608-62f1-4ab2-a1a4-b84e1b067ba6", + "type": "desktop", + "top": 320.0001220703125, + "left": 25.58139506676005, + "width": 30.000000000000004, + "height": 40, + "componentId": "646cee9c-5ac0-4891-b0f5-0545e8e13d90" + } + ] + }, + { + "id": "c5c819a2-b4af-40b2-87ee-dc7ce6ad0b38", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.annual_turnover}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "21f9b2b9-0fee-4414-b584-9595d34d0a9a", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "c5c819a2-b4af-40b2-87ee-dc7ce6ad0b38" + }, + { + "id": "666924ce-ec19-4d47-b457-48c7085a608b", + "type": "desktop", + "top": 260, + "left": 25.5813930164125, + "width": 30.000000000000004, + "height": 40, + "componentId": "c5c819a2-b4af-40b2-87ee-dc7ce6ad0b38" + } + ] + }, + { + "id": "69bec4a4-5d89-4487-898d-f82eda344c92", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.credit_score}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "18d8c64e-6772-449e-9842-af41dbdfec7a", + "type": "mobile", + "top": 140, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "69bec4a4-5d89-4487-898d-f82eda344c92" + }, + { + "id": "2af93c9b-dbde-4e4c-aba4-0dfe4748f7b5", + "type": "desktop", + "top": 199.99996948242188, + "left": 25.581391913741662, + "width": 30.000000000000004, + "height": 40, + "componentId": "69bec4a4-5d89-4487-898d-f82eda344c92" + } + ] + }, + { + "id": "721bd6a6-2c67-4b71-bd56-8a0d13051262", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + }, + "value": { + "value": "{{components.table1.selectedRow.loan_amount}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "57e8618e-452f-4784-a3c0-e4a350a4208a", + "type": "desktop", + "top": 139.99996948242188, + "left": 25.58139273307724, + "width": 30.000000000000004, + "height": 40, + "componentId": "721bd6a6-2c67-4b71-bd56-8a0d13051262" + }, + { + "id": "70a2458b-3e71-41cc-b5f8-54aedff9f959", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "721bd6a6-2c67-4b71-bd56-8a0d13051262" + } + ] + }, + { + "id": "6915dbea-4a72-404a-b507-f9e6de9dc258", + "name": "button2", + "type": "Button", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Save changes" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.updateApplication.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#ffffff00" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "546551d1-ec9b-4654-b9af-89ba7a91fed7", + "type": "desktop", + "top": 629.9999389648438, + "left": 76.74419101769348, + "width": 8, + "height": 40, + "componentId": "6915dbea-4a72-404a-b507-f9e6de9dc258" + } + ] + }, + { + "id": "87ddfa41-6281-4f4b-b31a-6b074a65acac", + "name": "text9", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Applicant name" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "e4d0016d-9513-467d-889a-1da49db2bb71", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "87ddfa41-6281-4f4b-b31a-6b074a65acac" + }, + { + "id": "e3e6cbd3-0960-4f46-9ecb-7de392c190fd", + "type": "desktop", + "top": 19.999969482421875, + "left": 4.651151592908498, + "width": 9, + "height": 40, + "componentId": "87ddfa41-6281-4f4b-b31a-6b074a65acac" + } + ] + }, + { + "id": "5c4be6eb-1fd1-4579-92b5-2905aa33dad4", + "name": "text10", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Application type" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "d2e07851-a8af-4c92-8067-c6645043b854", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "5c4be6eb-1fd1-4579-92b5-2905aa33dad4" + }, + { + "id": "72dd8ff9-79fc-4b68-b61e-2864a8f7f56f", + "type": "desktop", + "top": 79.99996948242188, + "left": 4.651153565667093, + "width": 9, + "height": 40, + "componentId": "5c4be6eb-1fd1-4579-92b5-2905aa33dad4" + } + ] + }, + { + "id": "d354fe17-2db6-4816-b9d6-1bf6f7c96eb5", + "name": "text11", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Loan amount" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "d0b874a9-9dda-476e-8ad3-e31f80a65bdf", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "d354fe17-2db6-4816-b9d6-1bf6f7c96eb5" + }, + { + "id": "9cd71d67-9a79-4921-bd37-a46bae2d9771", + "type": "desktop", + "top": 139.99996948242188, + "left": 4.651159497087194, + "width": 9, + "height": 40, + "componentId": "d354fe17-2db6-4816-b9d6-1bf6f7c96eb5" + } + ] + }, + { + "id": "a24c20ab-94b5-451b-9413-b4416176d347", + "name": "text12", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Credit score" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "0cee504e-b283-4dfe-a910-b40301ea2dca", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "a24c20ab-94b5-451b-9413-b4416176d347" + }, + { + "id": "81d02345-19bf-4eb2-84c5-5ddf1d6149a4", + "type": "desktop", + "top": 199.99996948242188, + "left": 4.6511593992342934, + "width": 9, + "height": 40, + "componentId": "a24c20ab-94b5-451b-9413-b4416176d347" + } + ] + }, + { + "id": "a995369b-4844-4ee7-98f4-a25e5d45bf5a", + "name": "text13", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Annual turnover" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "c5fc50bb-ff6a-4831-9435-04cb5808f579", + "type": "desktop", + "top": 259.9999694824219, + "left": 4.651160319161239, + "width": 9, + "height": 40, + "componentId": "a995369b-4844-4ee7-98f4-a25e5d45bf5a" + }, + { + "id": "731bdb16-a11e-4708-b453-b2db46eef22a", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "a995369b-4844-4ee7-98f4-a25e5d45bf5a" + } + ] + }, + { + "id": "7238f07e-8ace-4f4c-810e-afd592b92afa", + "name": "text14", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Collateral" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "49f344df-75b4-48ad-baa8-ee963509321b", + "type": "desktop", + "top": 319.9999694824219, + "left": 4.651160532028042, + "width": 9, + "height": 40, + "componentId": "7238f07e-8ace-4f4c-810e-afd592b92afa" + }, + { + "id": "71284265-1e59-490d-9fb8-f86d45088074", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "7238f07e-8ace-4f4c-810e-afd592b92afa" + } + ] + }, + { + "id": "d7db60e9-c82f-419e-9618-d1c937fd12a2", + "name": "text15", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Status" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "05c16278-0def-4de9-9094-3c028adb5bd9", + "type": "desktop", + "top": 379.9999694824219, + "left": 4.6511636363022255, + "width": 9, + "height": 40, + "componentId": "d7db60e9-c82f-419e-9618-d1c937fd12a2" + }, + { + "id": "c3d27165-0fc7-4a09-b6c8-5a4fc031b1a1", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "d7db60e9-c82f-419e-9618-d1c937fd12a2" + } + ] + }, + { + "id": "4264fe65-8b84-4ca7-a4bf-211cbe3e9efd", + "name": "text16", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Notes" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "5a353ae0-d140-4e86-817a-29461efb6e8f", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "4264fe65-8b84-4ca7-a4bf-211cbe3e9efd" + }, + { + "id": "a7b2c165-7a27-46f5-a0c8-401e5f39dd79", + "type": "desktop", + "top": 500, + "left": 4.651179765657593, + "width": 9, + "height": 40, + "componentId": "4264fe65-8b84-4ca7-a4bf-211cbe3e9efd" + } + ] + }, + { + "id": "e0ab704d-382f-4e9e-9d9e-91854f1a8e6c", + "name": "textarea1", + "type": "TextArea", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.notes}}" + }, + "placeholder": { + "value": "Enter notes" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "714d7935-c434-4b55-9a2b-d36c49ac647b", + "type": "mobile", + "top": 500, + "left": 30.23255813953488, + "width": 13.953488372093023, + "height": 100, + "componentId": "e0ab704d-382f-4e9e-9d9e-91854f1a8e6c" + }, + { + "id": "9979fa0b-7c4a-4619-ba3a-7e4b2e7d3a5f", + "type": "desktop", + "top": 500, + "left": 25.58140588339486, + "width": 30.000000000000004, + "height": 100, + "componentId": "e0ab704d-382f-4e9e-9d9e-91854f1a8e6c" + } + ] + }, + { + "id": "904895d9-6c36-42c5-b63c-9bbe739063d4", + "name": "button3", + "type": "Button", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "borderColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "fd56d62f-7b4e-4ec8-8539-913d43b3e1a6", + "type": "desktop", + "top": 629.9999389648438, + "left": 62.7906970235322, + "width": 5, + "height": 40, + "componentId": "904895d9-6c36-42c5-b63c-9bbe739063d4" + } + ] + }, + { + "id": "2b45dcd4-ec50-40ed-81c7-28855e8da9ba", + "name": "textinput4", + "type": "TextInput", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.assigned_to}}" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter collateral" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "77699823-5790-4cd4-838e-a5df283e417d", + "type": "mobile", + "top": 260, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "2b45dcd4-ec50-40ed-81c7-28855e8da9ba" + }, + { + "id": "f48ec6e2-89d0-4319-846e-ace9ed1be3dd", + "type": "desktop", + "top": 440.0001525878906, + "left": 25.58139284893175, + "width": 30.000000000000004, + "height": 40, + "componentId": "2b45dcd4-ec50-40ed-81c7-28855e8da9ba" + } + ] + }, + { + "id": "ebe9b8c2-3d05-4998-ba60-9a17431dea9f", + "name": "text17", + "type": "Text", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "text": { + "value": "Assigned to" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "54c85fa2-fb11-4123-8869-3fdb4549c59c", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "ebe9b8c2-3d05-4998-ba60-9a17431dea9f" + }, + { + "id": "c8a19f88-b46c-463e-bb7e-d09ee3d5a194", + "type": "desktop", + "top": 439.9999694824219, + "left": 4.65116378344668, + "width": 9, + "height": 40, + "componentId": "ebe9b8c2-3d05-4998-ba60-9a17431dea9f" + } + ] + }, + { + "id": "ca54cb3f-ecbd-404b-a082-358abe847ef4", + "name": "text1", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "text": { + "value": "Applications assigned to me" + }, + "textFormat": { + "value": "html" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "18" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T07:00:54.817Z", + "layouts": [ + { + "id": "56af497d-d7d5-4676-9770-9deeaedfd9cd", + "type": "desktop", + "top": 20, + "left": 2.325579911159074, + "width": 13.953488372093023, + "height": 40, + "componentId": "ca54cb3f-ecbd-404b-a082-358abe847ef4" + }, + { + "id": "c24296cf-0db9-4363-8b62-0da686c8975d", + "type": "mobile", + "top": 30, + "left": 51.16279069767442, + "width": 13.953488372093023, + "height": 40, + "componentId": "ca54cb3f-ecbd-404b-a082-358abe847ef4" + } + ] + }, + { + "id": "bcc3c226-246d-4a5b-a6fe-087c64072514", + "name": "dropdown5", + "type": "DropDown", + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "parent": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.application_type}}" + }, + "values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "display_values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "placeholder": { + "value": "Select application type" + }, + "loadingState": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "13dac486-0af1-4f5f-b8e2-65e6954d845e", + "type": "desktop", + "top": 80, + "left": 25.581394640863962, + "width": 30.000000000000004, + "height": 40, + "componentId": "bcc3c226-246d-4a5b-a6fe-087c64072514" + }, + { + "id": "f45b85cf-7f81-4970-9e69-a48099ea02f1", + "type": "mobile", + "top": 60, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "bcc3c226-246d-4a5b-a6fe-087c64072514" + } + ] + }, + { + "id": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "name": "container1", + "type": "Container", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "f63bfe30-3f4e-428c-9bed-04dbb6866516", + "type": "desktop", + "top": 100, + "left": 2.325581219706735, + "width": 41, + "height": 610, + "componentId": "86d6973d-fcda-4713-ba77-5ad98fee5139" + }, + { + "id": "4ac4ba36-3e01-492f-a914-fed4d6d5c57f", + "type": "mobile", + "top": 70, + "left": 44.18604651162791, + "width": 5, + "height": 200, + "componentId": "86d6973d-fcda-4713-ba77-5ad98fee5139" + } + ] + }, + { + "id": "55f68ae1-9ec1-4caf-98f3-ae1e84e2453f", + "name": "table1", + "type": "Table", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true, + "fxActiveFields": [], + "key": "id", + "columnType": "number" + }, + { + "name": "applicant name", + "id": "623db431-7868-487c-9ef3-ad43a70699e5", + "fxActiveFields": [], + "columnType": "string", + "key": "applicant_name", + "textWrap": "wrap" + }, + { + "name": "application type", + "id": "58c0154b-a406-45b5-9dc2-2a89a894e420", + "fxActiveFields": [], + "columnType": "string", + "key": "application_type", + "textWrap": "wrap" + }, + { + "name": "loan amount", + "id": "3ad33160-8a2c-432d-9bea-6b2ef3e07cf8", + "fxActiveFields": [], + "columnType": "number", + "key": "loan_amount" + }, + { + "name": "status", + "id": "d497562b-fa73-4799-8a36-abaeb0193251", + "fxActiveFields": [], + "columnType": "string", + "values": "", + "labels": "", + "isEditable": "{{false}}", + "customRule": "", + "transformation": "{{cellValue}}", + "key": "status" + }, + { + "name": "assigned to", + "id": "325e73d2-1e30-4af9-8adc-ec9af6caa4b5", + "fxActiveFields": [], + "key": "assigned_to", + "columnType": "string", + "textWrap": "wrap" + }, + { + "name": "created at", + "id": "0eaeddad-d93b-4e0d-8828-a257b40b2e59", + "fxActiveFields": [], + "columnType": "number", + "key": "created_at" + }, + { + "name": "updated at", + "id": "432ec4d1-e1f9-4d10-9fa4-611363765804", + "fxActiveFields": [], + "columnType": "string", + "textWrap": "wrap", + "key": "updated_at" + } + ] + }, + "columnSizes": { + "value": { + "afc9a5091750a1bd4760e38760de3b4be11a43452ae8ae07ce2eebc569fe9a7f": 171, + "623db431-7868-487c-9ef3-ad43a70699e5": 167, + "d497562b-fa73-4799-8a36-abaeb0193251": 179, + "325e73d2-1e30-4af9-8adc-ec9af6caa4b5": 213, + "0eaeddad-d93b-4e0d-8828-a257b40b2e59": 218, + "432ec4d1-e1f9-4d10-9fa4-611363765804": 144, + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 46 + } + }, + "allowSelection": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getAssignedApplications.data}}" + }, + "columnDeletionHistory": { + "value": [ + "name", + "email", + "Assigned_to", + "created_at", + "updated_at", + "Actions", + "new_column1", + "STATUS", + "ASSIGNED_TO", + "actions", + "Updated_At", + "Created_At", + "Assigned_to", + "ACTIONS", + "new_column1", + "new_column2", + "Assigned_To", + "Credit_Score", + "Annual_Turnover", + "Colletarel", + "Notes", + "Applicant_Type", + "applicant_name", + "application_type", + "assigned_to", + "status", + "loan_amount", + "credit_score", + "annual_turnover", + "collateral", + "notes" + ] + }, + "serverSideFilter": { + "value": false + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Edit", + "events": [], + "position": "right" + } + ] + }, + "selectRowOnCellEdit": { + "value": "{{false}}" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getAssignedApplications.isLoading}}" + } + }, + "general": {}, + "styles": { + "cellSize": { + "value": "condensed" + }, + "tableType": { + "value": "table-classic" + }, + "actionButtonRadius": { + "value": "5" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "eb1c7fb5-f9d4-47b2-be27-a61f1d388c2b", + "type": "desktop", + "top": 164.00006103515625, + "left": 2.3258457075356604, + "width": 41, + "height": 410, + "componentId": "55f68ae1-9ec1-4caf-98f3-ae1e84e2453f" + }, + { + "id": "8203d8df-cbaa-4fa5-bea4-ba7a638c19d9", + "type": "mobile", + "top": 60, + "left": 41.860465116279066, + "width": 67.11627906976744, + "height": 456, + "componentId": "55f68ae1-9ec1-4caf-98f3-ae1e84e2453f" + } + ] + }, + { + "id": "3e634998-68b4-45a2-ab74-3b83726cd227", + "name": "modal1", + "type": "Modal", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "title": { + "value": "Update loan application" + }, + "modalHeight": { + "value": "650px" + } + }, + "general": {}, + "styles": { + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "13401461-c3a5-42eb-b61a-df27ec55709a", + "type": "mobile", + "top": 120, + "left": 74.41860465116281, + "width": 10, + "height": 34, + "componentId": "3e634998-68b4-45a2-ab74-3b83726cd227" + }, + { + "id": "253e1583-300e-44c4-a7f7-44578bca7620", + "type": "desktop", + "top": 740, + "left": 2.3255610204004977, + "width": 7, + "height": 40, + "componentId": "3e634998-68b4-45a2-ab74-3b83726cd227" + } + ] + }, + { + "id": "71b78497-f55b-476b-8b91-72dfde9588c8", + "name": "application_type_dropdown", + "type": "DropDown", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "All" + }, + "display_values": { + "value": "{{[\"All\", \"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "placeholder": { + "value": "Select application type" + }, + "values": { + "value": "{{[\"All\", \"Personal\", \"Mortgage\", \"Business\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "f4fa34fe-fabe-4e51-bc2d-b31f39a5865a", + "type": "mobile", + "top": 60, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "71b78497-f55b-476b-8b91-72dfde9588c8" + }, + { + "id": "f2282520-b698-4a43-b368-eea70edf92d5", + "type": "desktop", + "top": 110, + "left": 37.20929666080464, + "width": 10.999999999999998, + "height": 40, + "componentId": "71b78497-f55b-476b-8b91-72dfde9588c8" + } + ] + }, + { + "id": "482af8c4-9d40-406d-bca4-b1dfb35d1c46", + "name": "status_dropdown", + "type": "DropDown", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "value": { + "value": "All" + }, + "label": { + "value": "" + }, + "values": { + "value": "{{['All', 'Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "display_values": { + "value": "{{['All', 'Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "placeholder": { + "value": "Select status" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "35c2d704-7716-4f63-a305-98713644f31a", + "type": "mobile", + "top": 10, + "left": 46.51162790697674, + "width": 18.6046511627907, + "height": 30, + "componentId": "482af8c4-9d40-406d-bca4-b1dfb35d1c46" + }, + { + "id": "1f80c41d-9102-42c8-a75c-ec62f2464d94", + "type": "desktop", + "top": 110, + "left": 2.3255819131079227, + "width": 12.999999999999998, + "height": 40, + "componentId": "482af8c4-9d40-406d-bca4-b1dfb35d1c46" + } + ] + }, + { + "id": "d2ea0612-a33e-40ed-aac2-f782768b3449", + "name": "text6", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "text": { + "value": "Status" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "25cd557e-98de-447c-ac57-e809c4e254a5", + "type": "mobile", + "top": 70, + "left": 4.651162790697674, + "width": 13.953488372093023, + "height": 40, + "componentId": "d2ea0612-a33e-40ed-aac2-f782768b3449" + }, + { + "id": "9baaa833-d1d4-419e-a180-274acc19bcaa", + "type": "desktop", + "top": 80, + "left": 2.3255813953488373, + "width": 8.999999999999998, + "height": 30, + "componentId": "d2ea0612-a33e-40ed-aac2-f782768b3449" + } + ] + }, + { + "id": "f968e5b0-135e-44ac-b051-78f68b1ab73a", + "name": "text7", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "86d6973d-fcda-4713-ba77-5ad98fee5139", + "properties": { + "text": { + "value": "Application type" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "c93bf20a-a33c-41f4-8081-3334666d11c8", + "type": "desktop", + "top": 80, + "left": 37.20930179988121, + "width": 8.999999999999998, + "height": 30, + "componentId": "f968e5b0-135e-44ac-b051-78f68b1ab73a" + }, + { + "id": "852b4d63-cf0b-4228-bb0a-69e31cabdccd", + "type": "mobile", + "top": 70, + "left": 4.651162790697674, + "width": 13.953488372093023, + "height": 40, + "componentId": "f968e5b0-135e-44ac-b051-78f68b1ab73a" + } + ] + }, + { + "id": "006a48bd-7fdb-4e5b-a76e-faf14c1356ef", + "name": "textinput1", + "type": "TextInput", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter applicant name" + }, + "value": { + "value": "{{components.table1.selectedRow.applicant_name}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "38035bae-f9a6-4d31-88f8-383b00dda4e9", + "type": "mobile", + "top": 100, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "006a48bd-7fdb-4e5b-a76e-faf14c1356ef" + }, + { + "id": "e0a2eaa8-96c5-413e-adc8-cc5b4fda525c", + "type": "desktop", + "top": 19.999984741210938, + "left": 25.581394920730723, + "width": 30.000000000000004, + "height": 40, + "componentId": "006a48bd-7fdb-4e5b-a76e-faf14c1356ef" + } + ] + }, + { + "id": "9c287c32-0a2e-4e87-8d86-0389867d55be", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + }, + "value": { + "value": "{{components.table1.selectedRow.loan_amount}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "d64d078a-8fef-491b-8cd9-44999c6345c3", + "type": "desktop", + "top": 140, + "left": 25.58139502990244, + "width": 30.000000000000004, + "height": 40, + "componentId": "9c287c32-0a2e-4e87-8d86-0389867d55be" + }, + { + "id": "308dcd06-ae8d-497f-a519-92157c684541", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "9c287c32-0a2e-4e87-8d86-0389867d55be" + } + ] + }, + { + "id": "18bdc4d1-1293-4d71-a28d-52964841819a", + "name": "dropdown4", + "type": "DropDown", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "values": { + "value": "{{['Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "display_values": { + "value": "{{['Under Review', 'Additional Information Required', 'Approved', 'Rejected']}}" + }, + "placeholder": { + "value": "Select status" + }, + "value": { + "value": "{{components.table1.selectedRow.status}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "5a2ec3a8-e037-4d7a-bc6b-90275d8cd3eb", + "type": "desktop", + "top": 380, + "left": 25.581395187452934, + "width": 30.000000000000004, + "height": 40, + "componentId": "18bdc4d1-1293-4d71-a28d-52964841819a" + }, + { + "id": "9a6ad501-a404-448e-9302-a95213dac30d", + "type": "mobile", + "top": 180, + "left": 53.48837209302326, + "width": 18.6046511627907, + "height": 30, + "componentId": "18bdc4d1-1293-4d71-a28d-52964841819a" + } + ] + }, + { + "id": "d9941d43-4b68-488b-be70-f31a48f7554d", + "name": "textinput3", + "type": "TextInput", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter collateral" + }, + "value": { + "value": "{{components.table1.selectedRow.collateral}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "6ed71ff8-06c4-4ef8-a4a4-93cba0c3427b", + "type": "desktop", + "top": 320.0001525878906, + "left": 25.581395293886338, + "width": 30.000000000000004, + "height": 40, + "componentId": "d9941d43-4b68-488b-be70-f31a48f7554d" + }, + { + "id": "5aad11ce-58c4-48c1-a579-298be06959c6", + "type": "mobile", + "top": 260, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "d9941d43-4b68-488b-be70-f31a48f7554d" + } + ] + }, + { + "id": "7ef6755a-b53b-4456-a2f3-b75901d2662c", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.annual_turnover}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "dae59cac-52b3-413e-852f-cfd64edc9f49", + "type": "desktop", + "top": 260.0000305175781, + "left": 25.5813950972676, + "width": 30.000000000000004, + "height": 40, + "componentId": "7ef6755a-b53b-4456-a2f3-b75901d2662c" + }, + { + "id": "0beab5a1-b306-4e84-b62d-591eb2b6e46b", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "7ef6755a-b53b-4456-a2f3-b75901d2662c" + } + ] + }, + { + "id": "95af7410-c1f6-44e7-b8dd-7063d72e05c6", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.credit_score}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "b78abd6a-553b-4f0d-8ca5-0c508cd1295d", + "type": "desktop", + "top": 200, + "left": 25.58139527763827, + "width": 30.000000000000004, + "height": 40, + "componentId": "95af7410-c1f6-44e7-b8dd-7063d72e05c6" + }, + { + "id": "9982451f-785a-4329-b161-308742c930c4", + "type": "mobile", + "top": 140, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "95af7410-c1f6-44e7-b8dd-7063d72e05c6" + } + ] + }, + { + "id": "6f8ae1e4-8b5d-4140-857c-4c4a933041e7", + "name": "button2", + "type": "Button", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Save changes" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.updateApplication.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#ffffff00" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "5fbd93f0-5937-408a-a6c3-48143a26bc86", + "type": "desktop", + "top": 569.9999389648438, + "left": 76.74417929309097, + "width": 8, + "height": 40, + "componentId": "6f8ae1e4-8b5d-4140-857c-4c4a933041e7" + } + ] + }, + { + "id": "d3adb337-3a98-492a-ab8c-d026619e6d80", + "name": "text9", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Applicant name" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "317df14a-1a3a-4fad-bf03-7b72182edf1c", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "d3adb337-3a98-492a-ab8c-d026619e6d80" + }, + { + "id": "0223a4e2-6062-4c6f-9c5c-e7dc9406184a", + "type": "desktop", + "top": 20, + "left": 4.651162561948235, + "width": 9, + "height": 40, + "componentId": "d3adb337-3a98-492a-ab8c-d026619e6d80" + } + ] + }, + { + "id": "fd76fd9b-14a6-4312-b649-05b89ec963d9", + "name": "text10", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Application type" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "02c23d2a-0316-41b6-a292-5824c63adab1", + "type": "desktop", + "top": 80, + "left": 4.651162780291687, + "width": 9, + "height": 40, + "componentId": "fd76fd9b-14a6-4312-b649-05b89ec963d9" + }, + { + "id": "a5edf273-b7ad-4239-b5e6-cb7c383c2f66", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "fd76fd9b-14a6-4312-b649-05b89ec963d9" + } + ] + }, + { + "id": "e10bdca6-c0a7-4d29-bc23-5dbad9a044ad", + "name": "text11", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Loan amount" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "bbc05ce2-0f5e-4b59-aadd-c00ad1c12aba", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "e10bdca6-c0a7-4d29-bc23-5dbad9a044ad" + }, + { + "id": "7116c275-6dcc-40ea-a7f6-bc153514cbf7", + "type": "desktop", + "top": 140, + "left": 4.651162671119959, + "width": 9, + "height": 40, + "componentId": "e10bdca6-c0a7-4d29-bc23-5dbad9a044ad" + } + ] + }, + { + "id": "11a8d498-5290-4aac-98d1-548ca1a74fee", + "name": "text12", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Credit score" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "09caf0a6-d20b-4ac0-8084-e22faf64e9d1", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "11a8d498-5290-4aac-98d1-548ca1a74fee" + }, + { + "id": "a302e8fa-4863-4e99-876e-105f70657b1f", + "type": "desktop", + "top": 200, + "left": 4.651163888074295, + "width": 9, + "height": 40, + "componentId": "11a8d498-5290-4aac-98d1-548ca1a74fee" + } + ] + }, + { + "id": "387b0333-8548-4554-bec1-a866db33aab1", + "name": "text13", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Annual turnover" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "74c62d32-9b67-4ab5-84bd-563e7fc4305f", + "type": "desktop", + "top": 260, + "left": 4.6511627384851195, + "width": 9, + "height": 40, + "componentId": "387b0333-8548-4554-bec1-a866db33aab1" + }, + { + "id": "2308cb68-b50e-4ee5-8d2f-a9bf15b8010d", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "387b0333-8548-4554-bec1-a866db33aab1" + } + ] + }, + { + "id": "b57b7052-4567-4924-b197-c62c5d1e0351", + "name": "text14", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Collateral" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "76ceb168-1e2f-4845-b64c-a2c46f3eb1da", + "type": "desktop", + "top": 320, + "left": 4.651161900345796, + "width": 9, + "height": 40, + "componentId": "b57b7052-4567-4924-b197-c62c5d1e0351" + }, + { + "id": "194e44a4-8745-4bef-8474-99707c81f285", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "b57b7052-4567-4924-b197-c62c5d1e0351" + } + ] + }, + { + "id": "4989dd61-0cb2-4c98-94fb-6a686fb6216f", + "name": "text15", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Status" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "6d7d589d-db16-4bcd-a950-0a10584184c0", + "type": "desktop", + "top": 380, + "left": 4.651162828670454, + "width": 9, + "height": 40, + "componentId": "4989dd61-0cb2-4c98-94fb-6a686fb6216f" + }, + { + "id": "189e21c5-aa7c-45b0-ac1c-8eaa0618860e", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "4989dd61-0cb2-4c98-94fb-6a686fb6216f" + } + ] + }, + { + "id": "9c8965f0-e52d-4c47-acd1-0a7784d73faf", + "name": "text16", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Notes" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "e48a2767-ee03-4601-9733-6a59accf3df5", + "type": "desktop", + "top": 440, + "left": 4.651168007208259, + "width": 9, + "height": 40, + "componentId": "9c8965f0-e52d-4c47-acd1-0a7784d73faf" + }, + { + "id": "20e51b65-f5b4-4525-a0da-055d0d5d5e7f", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "9c8965f0-e52d-4c47-acd1-0a7784d73faf" + } + ] + }, + { + "id": "07c56aab-c723-49d2-97a5-15a5c6f682ce", + "name": "textarea1", + "type": "TextArea", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "value": { + "value": "{{components.table1.selectedRow.notes}}" + }, + "placeholder": { + "value": "Enter notes" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "fbc4c420-c07a-4a62-b66c-d99f197bf868", + "type": "desktop", + "top": 440, + "left": 25.5813938496429, + "width": 30.000000000000004, + "height": 100, + "componentId": "07c56aab-c723-49d2-97a5-15a5c6f682ce" + }, + { + "id": "d29f6258-df11-4b55-9119-88e9f0fc3fa8", + "type": "mobile", + "top": 500, + "left": 30.23255813953488, + "width": 13.953488372093023, + "height": 100, + "componentId": "07c56aab-c723-49d2-97a5-15a5c6f682ce" + } + ] + }, + { + "id": "32d7fbe6-8040-4fbb-80e4-be6a8601ccd7", + "name": "button3", + "type": "Button", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd26" + }, + "borderColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "d3238a21-5401-45cf-9be7-e3f2321895a5", + "type": "desktop", + "top": 569.9999389648438, + "left": 62.7906970235322, + "width": 5, + "height": 40, + "componentId": "32d7fbe6-8040-4fbb-80e4-be6a8601ccd7" + } + ] + }, + { + "id": "61464f0f-7cb6-4c0e-8d15-c699b5f3b087", + "name": "icon1", + "type": "Icon", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "e533bca2-3f66-4331-888f-8ac55c3b6d99", + "properties": { + "icon": { + "value": "IconChevronLeft" + } + }, + "general": {}, + "styles": { + "iconColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "5345e3b9-a43f-478c-86d8-e5f10e26c139", + "type": "desktop", + "top": 10, + "left": 2.3255811789541276, + "width": 2, + "height": 40, + "componentId": "61464f0f-7cb6-4c0e-8d15-c699b5f3b087" + }, + { + "id": "e3a91a94-bb26-4c33-911c-f8ea3c6da348", + "type": "mobile", + "top": 10, + "left": 23.25581395348837, + "width": 11.627906976744185, + "height": 48, + "componentId": "61464f0f-7cb6-4c0e-8d15-c699b5f3b087" + } + ] + }, + { + "id": "e533bca2-3f66-4331-888f-8ac55c3b6d99", + "name": "container2", + "type": "Container", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "333a4b60-9ae3-4ae0-b2b7-fd4954a8cae6", + "type": "desktop", + "top": 20, + "left": 2.3255806414979454, + "width": 41, + "height": 70, + "componentId": "e533bca2-3f66-4331-888f-8ac55c3b6d99" + } + ] + }, + { + "id": "e2bab4db-4929-4dac-9d29-3d74ca9cf11a", + "name": "text18", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "e533bca2-3f66-4331-888f-8ac55c3b6d99", + "properties": { + "text": { + "value": "
Finance underwriting - Admin
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "bca187b7-fc08-408e-a8dd-610666a9ff12", + "type": "desktop", + "top": 10, + "left": 53.48837209302326, + "width": 19, + "height": 40, + "componentId": "e2bab4db-4929-4dac-9d29-3d74ca9cf11a" + } + ] + }, + { + "id": "2d01bc7f-9b8b-4ebb-be75-e1ad67278c07", + "name": "text19", + "type": "Text", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "e533bca2-3f66-4331-888f-8ac55c3b6d99", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "29e4a04e-376e-4a3b-9737-fad962d9c889", + "type": "desktop", + "top": 10, + "left": 9.3023261841241, + "width": 6, + "height": 40, + "componentId": "2d01bc7f-9b8b-4ebb-be75-e1ad67278c07" + } + ] + }, + { + "id": "7f702a9a-1b95-40cf-ab54-6b1379024174", + "name": "dropdown5", + "type": "DropDown", + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "parent": "3e634998-68b4-45a2-ab74-3b83726cd227", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{components.table1.selectedRow.application_type}}" + }, + "values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "display_values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "loadingState": { + "fxActive": false + }, + "placeholder": { + "value": "Select application type" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "layouts": [ + { + "id": "97f81ed4-9a84-4711-a428-eb8d0c9afdf4", + "type": "desktop", + "top": 80, + "left": 25.581394548305404, + "width": 30.000000000000004, + "height": 40, + "componentId": "7f702a9a-1b95-40cf-ab54-6b1379024174" + }, + { + "id": "e971767d-c83e-483a-a7bd-edbfba2d287a", + "type": "mobile", + "top": 60, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "7f702a9a-1b95-40cf-ab54-6b1379024174" + } + ] + } + ], + "pages": [ + { + "id": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "name": "All applications", + "handle": "home", + "index": -1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078" + }, + { + "id": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "name": "Assigned applications", + "handle": "assigned-application", + "index": 0, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078" + } + ], + "events": [ + { + "id": "66a4572e-f4ab-459f-8bd9-7ddf80f75745", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Application updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "6df76a58-8e4f-476f-8beb-93f49989b8d8", + "name": "onDataQueryFailure", + "index": 4, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update application! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "4c1136c8-f555-4540-9c05-70534e050a64", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "actionId": "run-query", + "alertType": "info", + "queryName": "applyFilterToTable", + "parameters": {} + }, + "sourceId": "6552ed1f-47c6-4912-9ee6-5ce23b4abf44", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.694Z" + }, + { + "id": "58eb326d-009b-4dfc-af5f-2315c2e6a10d", + "name": "onClick", + "index": 0, + "event": { + "pageId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info" + }, + "sourceId": "3f0b54ee-90dd-464b-b7de-1f474d09ca34", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.703Z" + }, + { + "id": "a6f6d0fb-c7f0-4160-a6e9-76e399a5c531", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "actionId": "run-query", + "alertType": "info", + "queryName": "update_data", + "parameters": {} + }, + "sourceId": "6915dbea-4a72-404a-b507-f9e6de9dc258", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.710Z" + }, + { + "id": "1e022f95-d214-4064-acb6-aa0c3e1ec462", + "name": "onClick", + "index": 0, + "event": { + "modal": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "904895d9-6c36-42c5-b63c-9bbe739063d4", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.719Z" + }, + { + "id": "b64f22f9-bb92-421a-9149-ea146e72f5c4", + "name": "onPageLoad", + "index": 0, + "event": { + "eventId": "onPageLoad", + "message": "Hello world!", + "queryId": "4942bacf-65f0-4bca-92f4-3916038c07a9", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllApplications", + "parameters": {} + }, + "sourceId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "target": "page", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.728Z" + }, + { + "id": "637815c4-516f-4529-8ff7-68f2d4a401e7", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "3e634998-68b4-45a2-ab74-3b83726cd227", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "55f68ae1-9ec1-4caf-98f3-ae1e84e2453f", + "target": "table_action", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.736Z" + }, + { + "id": "ae790095-c88e-4496-8af3-e0e0f44cb881", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "actionId": "run-query", + "alertType": "info", + "queryName": "applyFilterToTable", + "parameters": {} + }, + "sourceId": "71b78497-f55b-476b-8b91-72dfde9588c8", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.749Z" + }, + { + "id": "b94c593c-91ba-4b8b-baa1-dae9168441aa", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "actionId": "run-query", + "alertType": "info", + "queryName": "applyFilterToTable", + "parameters": {} + }, + "sourceId": "482af8c4-9d40-406d-bca4-b1dfb35d1c46", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.760Z" + }, + { + "id": "c898f43e-daab-4096-b3e8-4d39785f61e5", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "actionId": "run-query", + "alertType": "info", + "queryName": "update_data", + "parameters": {} + }, + "sourceId": "6f8ae1e4-8b5d-4140-857c-4c4a933041e7", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.768Z" + }, + { + "id": "a357569b-4cf2-43e0-9e33-cada6e6978c9", + "name": "onClick", + "index": 0, + "event": { + "modal": "3e634998-68b4-45a2-ab74-3b83726cd227", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "32d7fbe6-8040-4fbb-80e4-be6a8601ccd7", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.772Z" + }, + { + "id": "400baab7-54e3-4c0d-ad11-fd69bdc3dac8", + "name": "onClick", + "index": 0, + "event": { + "pageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info" + }, + "sourceId": "61464f0f-7cb6-4c0e-8d15-c699b5f3b087", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.778Z" + }, + { + "id": "18b250bd-5a70-4468-8a70-8d2eca04be91", + "name": "onPageLoad", + "index": 0, + "event": { + "eventId": "onPageLoad", + "message": "Hello world!", + "queryId": "c9085a6c-6da0-4486-b374-3ba5a0068e8c", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAssignedApplications", + "parameters": {} + }, + "sourceId": "a47fae6f-1999-490d-a470-c0a3f4119cd3", + "target": "page", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.787Z" + }, + { + "id": "8cb4da9a-d23c-4d0a-ab9a-bdc2bd9890be", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.795Z" + }, + { + "id": "55bc6778-d28c-43a5-96b6-e6e77c512b2a", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "4942bacf-65f0-4bca-92f4-3916038c07a9", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAllApplications", + "runOnlyIf": "{{page.name == \"All applications\"}}", + "parameters": {} + }, + "sourceId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.804Z" + }, + { + "id": "7cf873b6-996d-40fd-ab2b-6f59fe58b789", + "name": "onDataQuerySuccess", + "index": 3, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "c9085a6c-6da0-4486-b374-3ba5a0068e8c", + "actionId": "run-query", + "alertType": "info", + "queryName": "getAssignedApplications", + "runOnlyIf": "{{page.name == \"Aassigned applications\"}}", + "parameters": {} + }, + "sourceId": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.813Z" + }, + { + "id": "5026949d-9689-4f06-979e-7eac16a59163", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "678ab6ec-b2d7-45b9-a70c-5cd47c91b0ed", + "actionId": "run-query", + "alertType": "info", + "queryName": "getUniqueUnderwriters", + "parameters": {} + }, + "sourceId": "4942bacf-65f0-4bca-92f4-3916038c07a9", + "target": "data_query", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.827Z" + }, + { + "id": "24d61279-6e6d-4db7-9c88-96c8c9eb83d0", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "actionId": "run-query", + "alertType": "info", + "queryName": "applyFilterToTable", + "parameters": {} + }, + "sourceId": "be58d790-177c-45a0-af7a-cbaf415423d2", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.844Z" + }, + { + "id": "1d3046d8-a8b2-4469-a0b8-6d3c434602b1", + "name": "onSelect", + "index": 0, + "event": { + "eventId": "onSelect", + "message": "Hello world!", + "queryId": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "actionId": "run-query", + "alertType": "info", + "queryName": "applyFilterToTable", + "parameters": {} + }, + "sourceId": "a9b8a81f-f93e-4029-b4df-0e21d18d2a25", + "target": "component", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.684Z" + }, + { + "id": "ef08ed7c-c867-417b-93b2-48086208c34f", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "2cf74aa5-4c80-41aa-a59c-9371eb14a1c6", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "ca66b796-6463-471b-a9ac-24d51a7aac42", + "target": "table_action", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:08.837Z" + } + ], + "dataQueries": [ + { + "id": "678ab6ec-b2d7-45b9-a70c-5cd47c91b0ed", + "name": "getUniqueUnderwriters", + "options": { + "code": "const data = [\n ...new Set(queries.getAllApplications.data.map((row) => row.assigned_to)),\n];\ndata.sort();\nreturn data;", + "parameters": [] + }, + "dataSourceId": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "0436841a-1db5-4dfa-bdcc-36ed83c832ca", + "name": "applyFilterToTable", + "options": { + "code": "const filters = components.table1.filters.filter(\n (row) => ![\"status\", \"application type\", \"assigned to\"].includes(row.column)\n);\n\nawait components.table1.clearFilters();\n\nif (components.status_dropdown.value != \"All\") {\n filters.push({\n column: \"status\",\n condition: \"equals\",\n value: `${components.status_dropdown.value}`,\n });\n}\n\nif (components.application_type_dropdown.value != \"All\") {\n filters.push({\n column: \"application type\",\n condition: \"equals\",\n value: `${components.application_type_dropdown.value}`,\n });\n}\n\nif (\n page.name == \"All applications\" &&\n components.assigned_to_dropdown.value != \"All\"\n) {\n filters.push({\n column: \"assigned to\",\n condition: \"equals\",\n value: `${components.assigned_to_dropdown.value}`,\n });\n}\n\nawait components.table1.setFilters(filters);", + "parameters": [] + }, + "dataSourceId": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "8a550c61-6cf3-4e6b-b0f7-1051b940f6b1", + "name": "updateApplication", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "b31b02f4-faae-4a02-9051-adf0997937b2", + "table_id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "join_table": { + "joins": [ + { + "id": 1712508891028, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Name", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Type", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Loan_Amount", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Credit_Score", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Annual_Turnover", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Colletarel", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Status", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Notes", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Assigned_To", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Created_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Updated_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "applicant_name", + "value": "{{components.textinput1.value}}" + }, + "1": { + "column": "application_type", + "value": "{{components.dropdown5.value}}" + }, + "2": { + "column": "loan_amount", + "value": "{{components.numberinput1.value}}" + }, + "3": { + "column": "credit_score", + "value": "{{components.numberinput2.value}}" + }, + "4": { + "column": "annual_turnover", + "value": "{{components.numberinput3.value}}" + }, + "5": { + "column": "collateral", + "value": "{{components.textinput3.value}}" + }, + "6": { + "column": "status", + "value": "{{components.dropdown4.value}}" + }, + "7": { + "column": "notes", + "value": "{{components.textarea1.value}}" + }, + "8": { + "column": "updated_at", + "value": "{{moment().format()}}" + }, + "c809fa57-e412-486b-b2cb-bf780dc1ec1a": { + "column": "assigned_to", + "value": "{{page.name==\"All applications\" ? components.textinput4.value : components.table1.selectedRow.assigned_to}}" + } + }, + "where_filters": { + "b8056951-fe53-4312-aedd-6eb0b79bee2b": { + "column": "id", + "operator": "eq", + "value": "{{components.table1.selectedRow.id}}", + "id": "b8056951-fe53-4312-aedd-6eb0b79bee2b" + } + } + }, + "parameters": [], + "showSuccessNotification": false + }, + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "4942bacf-65f0-4bca-92f4-3916038c07a9", + "name": "getAllApplications", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "b31b02f4-faae-4a02-9051-adf0997937b2", + "table_id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "join_table": { + "joins": [ + { + "id": 1712396565616, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Name", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Type", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Loan_Amount", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Credit_Score", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Annual_Turnover", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Colletarel", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Status", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Notes", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Assigned_To", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Created_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Updated_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + ] + }, + "list_rows": { + "where_filters": {}, + "order_filters": { + "3c9a8ad4-a7eb-4496-821f-d720c5b26005": { + "column": "id", + "order": "desc", + "id": "3c9a8ad4-a7eb-4496-821f-d720c5b26005" + } + } + }, + "requestConfirmation": false, + "showSuccessNotification": false, + "runOnPageLoad": false + }, + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + }, + { + "id": "c9085a6c-6da0-4486-b374-3ba5a0068e8c", + "name": "getAssignedApplications", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "b31b02f4-faae-4a02-9051-adf0997937b2", + "table_id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "join_table": { + "joins": [ + { + "id": 1712396565616, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Name", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Applicant_Type", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Loan_Amount", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Credit_Score", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Annual_Turnover", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Colletarel", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Status", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Notes", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Assigned_To", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Created_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + }, + { + "name": "Updated_At", + "table": "d909696a-0425-4fa0-9bbe-c3fcff5cc0e7" + } + ] + }, + "list_rows": { + "where_filters": { + "9ac3c845-cfdf-4231-a361-ee1936f14133": { + "column": "assigned_to", + "operator": "eq", + "value": "{{globals.currentUser.email}}", + "id": "9ac3c845-cfdf-4231-a361-ee1936f14133" + } + }, + "order_filters": { + "f455ad38-e4fd-4e63-8058-068e7d90591d": { + "column": "id", + "order": "desc", + "id": "f455ad38-e4fd-4e63-8058-068e7d90591d" + } + } + }, + "requestConfirmation": false, + "showSuccessNotification": false, + "runOnPageLoad": false + }, + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "createdAt": "2024-04-26T00:05:07.951Z", + "updatedAt": "2024-04-26T00:05:07.951Z" + } + ], + "dataSources": [ + { + "id": "bb72c3cf-d7e7-48c3-a484-8fdce7766a5d", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:05:07.959Z", + "updatedAt": "2024-04-26T00:05:07.959Z" + }, + { + "id": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:05:07.974Z", + "updatedAt": "2024-04-26T00:05:07.974Z" + }, + { + "id": "248bbd87-8861-4007-9035-fe568cb86776", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:05:07.986Z", + "updatedAt": "2024-04-26T00:05:07.986Z" + }, + { + "id": "c0cdcea8-e737-4977-ad76-123a33497e57", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:05:07.998Z", + "updatedAt": "2024-04-26T00:05:07.998Z" + }, + { + "id": "97da1c6c-093b-428e-984a-6c7bd677ee6e", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:05:08.012Z", + "updatedAt": "2024-04-26T00:05:08.012Z" + } + ], + "appVersions": [ + { + "id": "3fc344bf-aaa7-4f9d-896e-16b5c0138078", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "3141074a-1612-4f1a-b63a-28c163ac67d8", + "appId": "af3aaaa3-9a59-414d-b709-088e47f715f8", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-26T00:05:07.941Z", + "updatedAt": "2024-04-30T23:52:08.721Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "7284c1c5-f2ce-4db6-b9e6-6cc5f385898a", + "dataSourceId": "bb72c3cf-d7e7-48c3-a484-8fdce7766a5d", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:05:07.969Z", + "updatedAt": "2024-04-26T00:05:07.969Z" + }, + { + "id": "f5f963d6-a134-4dbe-80db-5887a6de9726", + "dataSourceId": "bb72c3cf-d7e7-48c3-a484-8fdce7766a5d", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:05:07.969Z", + "updatedAt": "2024-04-26T00:05:07.969Z" + }, + { + "id": "6a966a43-a33f-42d5-aea9-7c7df263e7f0", + "dataSourceId": "bb72c3cf-d7e7-48c3-a484-8fdce7766a5d", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:05:07.969Z", + "updatedAt": "2024-04-26T00:05:07.969Z" + }, + { + "id": "bddca269-f141-40b1-9a83-f4abbe75ff4d", + "dataSourceId": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:05:07.982Z", + "updatedAt": "2024-04-26T00:05:07.982Z" + }, + { + "id": "ba9009f3-25a6-4e91-aedc-635b82f2ffc8", + "dataSourceId": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:05:07.982Z", + "updatedAt": "2024-04-26T00:05:07.982Z" + }, + { + "id": "aef6eba9-b1b2-4d31-aaf7-e2bdf6ce15c6", + "dataSourceId": "ad376aaa-43bd-49e8-a882-41a6674dd87a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:05:07.982Z", + "updatedAt": "2024-04-26T00:05:07.982Z" + }, + { + "id": "fe95fad4-848b-4bdc-bb85-5c8c051ae80e", + "dataSourceId": "248bbd87-8861-4007-9035-fe568cb86776", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:05:07.995Z", + "updatedAt": "2024-04-26T00:05:07.995Z" + }, + { + "id": "33728d93-b019-482f-9ac9-b99a0b7c1f5e", + "dataSourceId": "248bbd87-8861-4007-9035-fe568cb86776", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:05:07.995Z", + "updatedAt": "2024-04-26T00:05:07.995Z" + }, + { + "id": "4e67e1a1-bcd2-4e55-b31d-b7f1e145b106", + "dataSourceId": "248bbd87-8861-4007-9035-fe568cb86776", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:05:07.995Z", + "updatedAt": "2024-04-26T00:05:07.995Z" + }, + { + "id": "5a8f7d53-00c8-45c5-ba5f-75ac4ba5ccfe", + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:05:08.008Z", + "updatedAt": "2024-04-26T00:05:08.008Z" + }, + { + "id": "8d77bfc6-b68d-4987-bfb0-4e5e88b3214d", + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:05:08.008Z", + "updatedAt": "2024-04-26T00:05:08.008Z" + }, + { + "id": "8827ab31-e9dd-4806-b16a-a19677c7e9bd", + "dataSourceId": "c0cdcea8-e737-4977-ad76-123a33497e57", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:05:08.008Z", + "updatedAt": "2024-04-26T00:05:08.008Z" + }, + { + "id": "16fac2c7-6fc7-441d-b68f-5daac014c4fd", + "dataSourceId": "97da1c6c-093b-428e-984a-6c7bd677ee6e", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:05:08.025Z", + "updatedAt": "2024-04-26T00:05:08.025Z" + }, + { + "id": "3fb38075-460e-4134-9293-7c1eb939053e", + "dataSourceId": "97da1c6c-093b-428e-984a-6c7bd677ee6e", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:05:08.025Z", + "updatedAt": "2024-04-26T00:05:08.025Z" + }, + { + "id": "d1a73839-1093-41ce-90bb-5e17da37ae76", + "dataSourceId": "97da1c6c-093b-428e-984a-6c7bd677ee6e", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:05:08.025Z", + "updatedAt": "2024-04-26T00:05:08.025Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.35.4-ee2.15.26-cloud2.3.10" +} \ No newline at end of file diff --git a/server/templates/finance-underwriting-admin/manifest.json b/server/templates/finance-underwriting-admin/manifest.json new file mode 100644 index 0000000000..74b871ccc0 --- /dev/null +++ b/server/templates/finance-underwriting-admin/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "Finance underwriting - Admin", + "description": "Efficiently evaluate and approve financial applications with our robust underwriting admin platform.", + "widgets": [ + "Table" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + }, + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "finance-underwriting-admin", + "category": "financial-services" +} \ No newline at end of file diff --git a/server/templates/finance-underwriting-user-form/definition.json b/server/templates/finance-underwriting-user-form/definition.json new file mode 100644 index 0000000000..88ae17122c --- /dev/null +++ b/server/templates/finance-underwriting-user-form/definition.json @@ -0,0 +1,2166 @@ +{ + "tooljet_database": [ + { + "id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "table_name": "finance_underwriting", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"04df6269-fec2-47a8-970e-9bcdfd97d59d_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "applicant_name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "application_type", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "loan_amount", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "credit_score", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "annual_turnover", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "collateral", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "notes", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "assigned_to", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "status", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "c43aa960-7c0b-498c-b288-56ba48b7e671", + "type": "front-end", + "name": "Finance underwriting - User form", + "slug": "c43aa960-7c0b-498c-b288-56ba48b7e671", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "server", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-26T00:07:10.017Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-26T00:07:10.594Z", + "editingVersion": { + "id": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "appId": "c43aa960-7c0b-498c-b288-56ba48b7e671", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-26T00:07:10.038Z", + "updatedAt": "2024-04-30T23:47:00.804Z" + }, + "components": [ + { + "id": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "name": "form1", + "type": "Form", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": null, + "properties": { + "buttonToSubmit": { + "value": "none" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "e0ef0a7b-d5bd-42eb-ba24-90ee037f4fcd", + "type": "mobile", + "top": 120, + "left": 20.930232558139533, + "width": 13, + "height": 330, + "componentId": "fafe8505-ecc1-4df5-9247-c63670ed4243" + }, + { + "id": "85adf0c1-f27d-4d1a-af9c-922de6e2398f", + "type": "desktop", + "top": 100, + "left": 6.976744543501746, + "width": 37, + "height": 730, + "componentId": "fafe8505-ecc1-4df5-9247-c63670ed4243" + } + ] + }, + { + "id": "99c3c0e0-6d94-4c49-af60-7855bc48e56b", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "dd2ec214-1beb-4523-9430-f65074da0cbd", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "99c3c0e0-6d94-4c49-af60-7855bc48e56b" + }, + { + "id": "7257a5be-9e40-4065-b723-71decb81f9ce", + "type": "desktop", + "top": 229.99996948242188, + "left": 18.604652446037402, + "width": 33, + "height": 40, + "componentId": "99c3c0e0-6d94-4c49-af60-7855bc48e56b" + } + ] + }, + { + "id": "dae9cdcf-2f6a-491f-af3a-bec515e04866", + "name": "text4", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Credit score" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "00e5c41d-9080-4413-8503-94ca2b7a16eb", + "type": "desktop", + "top": 289.9999694824219, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "dae9cdcf-2f6a-491f-af3a-bec515e04866" + }, + { + "id": "0a6fa326-0482-48b7-8af9-0e9c4a1970b0", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "dae9cdcf-2f6a-491f-af3a-bec515e04866" + } + ] + }, + { + "id": "dae27a7d-d88a-4f5d-ba65-4cd4e44ea751", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "fade8f13-1c88-4d8a-b7c8-6adee8000448", + "type": "desktop", + "top": 289.9999694824219, + "left": 18.6046511627907, + "width": 33, + "height": 40, + "componentId": "dae27a7d-d88a-4f5d-ba65-4cd4e44ea751" + }, + { + "id": "66119b4f-08c2-40bb-a5e3-9f54004fb1a2", + "type": "mobile", + "top": 140, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "dae27a7d-d88a-4f5d-ba65-4cd4e44ea751" + } + ] + }, + { + "id": "d76bd763-64fe-49b4-91ea-a95f82c87dbf", + "name": "text5", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Annual turnover" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "df329faf-a052-4df2-9af9-32ae17094fc6", + "type": "desktop", + "top": 349.9999694824219, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "d76bd763-64fe-49b4-91ea-a95f82c87dbf" + }, + { + "id": "f3eff169-f98e-44ae-9c9c-98054d0ec74d", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "d76bd763-64fe-49b4-91ea-a95f82c87dbf" + } + ] + }, + { + "id": "d564b233-c62c-4f94-9112-3a2169acb490", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + } + }, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "d01c0027-3e3b-492d-bc6a-65a8cb8eb3aa", + "type": "desktop", + "top": 350, + "left": 18.6046511627907, + "width": 33, + "height": 40, + "componentId": "d564b233-c62c-4f94-9112-3a2169acb490" + }, + { + "id": "496f7d32-599d-4bb0-89f5-4ce64bb414ba", + "type": "mobile", + "top": 170, + "left": 0, + "width": 23.25581395348837, + "height": 40, + "componentId": "d564b233-c62c-4f94-9112-3a2169acb490" + } + ] + }, + { + "id": "3a154698-159f-4892-bf80-2d3324315972", + "name": "text6", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Collateral" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "97639a6a-3472-49b2-b0e3-b47d972f935c", + "type": "desktop", + "top": 409.99993896484375, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "3a154698-159f-4892-bf80-2d3324315972" + }, + { + "id": "cb0fd7a4-f983-40b3-9db9-9d6b91c91bef", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "3a154698-159f-4892-bf80-2d3324315972" + } + ] + }, + { + "id": "552fa8a0-890c-4d2f-beb7-47c0a20ab77c", + "name": "textinput2", + "type": "TextInput", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter collateral" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "a47e5662-e93b-451f-8ba3-488d456b2921", + "type": "desktop", + "top": 410.0001220703125, + "left": 18.6046511627907, + "width": 33, + "height": 40, + "componentId": "552fa8a0-890c-4d2f-beb7-47c0a20ab77c" + }, + { + "id": "fd7a57da-494b-46bb-9a70-373337d6e147", + "type": "mobile", + "top": 260, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "552fa8a0-890c-4d2f-beb7-47c0a20ab77c" + } + ] + }, + { + "id": "0b69fe90-dc3d-4e77-a9a2-791e7e38b209", + "name": "textarea1", + "type": "TextArea", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter notes" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "7221b551-7549-461b-9a09-fb934b57f15c", + "type": "desktop", + "top": 470, + "left": 18.604651632346332, + "width": 33, + "height": 100, + "componentId": "0b69fe90-dc3d-4e77-a9a2-791e7e38b209" + }, + { + "id": "7f30cfb6-2b46-4bc6-916e-b7c92a72c5bd", + "type": "mobile", + "top": 500, + "left": 30.23255813953488, + "width": 13.953488372093023, + "height": 100, + "componentId": "0b69fe90-dc3d-4e77-a9a2-791e7e38b209" + } + ] + }, + { + "id": "ae7afb3d-940e-4ab5-a37d-84d7f7768862", + "name": "button1", + "type": "Button", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Submit form" + }, + "loadingState": { + "value": "", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "99e3cdaf-363c-4011-856c-560ce5093f33", + "type": "desktop", + "top": 619.9999389648438, + "left": 51.1628031772046, + "width": 9, + "height": 50, + "componentId": "ae7afb3d-940e-4ab5-a37d-84d7f7768862" + } + ] + }, + { + "id": "00c388e1-0886-4989-b899-206ca0b0d914", + "name": "text9", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Notes" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "618443ee-8997-4c41-9977-16adeba967bb", + "type": "desktop", + "top": 470, + "left": 4.651156601980805, + "width": 6, + "height": 40, + "componentId": "00c388e1-0886-4989-b899-206ca0b0d914" + }, + { + "id": "22a1d7ed-7771-447c-958a-e068ad96ab2e", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "00c388e1-0886-4989-b899-206ca0b0d914" + } + ] + }, + { + "id": "59cf324f-598a-4029-a273-b85f890f224f", + "name": "textinput1", + "type": "TextInput", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter applicant name" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "0376b088-3b98-404b-a63b-d6b6b1f60d78", + "type": "desktop", + "top": 109.99995422363281, + "left": 18.604653729284106, + "width": 33, + "height": 40, + "componentId": "59cf324f-598a-4029-a273-b85f890f224f" + }, + { + "id": "3e114811-433c-415a-af83-8ed1cf796946", + "type": "mobile", + "top": 100, + "left": 20.930232558139533, + "width": 23.25581395348837, + "height": 40, + "componentId": "59cf324f-598a-4029-a273-b85f890f224f" + } + ] + }, + { + "id": "4fe68078-32d6-4b2b-a1a9-c6f2b3ac006a", + "name": "text2", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Application type" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "2b7b94a6-b6ab-457a-ada0-29b778f740fc", + "type": "desktop", + "top": 169.99996948242188, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "4fe68078-32d6-4b2b-a1a9-c6f2b3ac006a" + }, + { + "id": "66d341bb-06df-49ba-b97e-6ba8297f1e0f", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "4fe68078-32d6-4b2b-a1a9-c6f2b3ac006a" + } + ] + }, + { + "id": "82135383-7309-4f4a-8308-f40ae16f722a", + "name": "dropdown1", + "type": "DropDown", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "" + }, + "values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "display_values": { + "value": "{{[\"Personal\", \"Mortgage\", \"Business\"]}}" + }, + "loadingState": { + "fxActive": false + }, + "placeholder": { + "value": "Select application type" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "37d04768-e7b8-4a41-beae-099a31ae3d5e", + "type": "desktop", + "top": 170, + "left": 18.6046511627907, + "width": 33, + "height": 40, + "componentId": "82135383-7309-4f4a-8308-f40ae16f722a" + }, + { + "id": "c9397fc5-bded-4fb8-aba9-f4225bcbd61c", + "type": "mobile", + "top": 60, + "left": 46.51162790697675, + "width": 18.6046511627907, + "height": 30, + "componentId": "82135383-7309-4f4a-8308-f40ae16f722a" + } + ] + }, + { + "id": "76a4b727-bc8b-4527-be26-d1df3e23d09f", + "name": "text3", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Loan amount" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "8ebeb735-9a22-4a42-86f2-642917f91782", + "type": "desktop", + "top": 229.99996948242188, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "76a4b727-bc8b-4527-be26-d1df3e23d09f" + }, + { + "id": "67702e40-c946-4c02-a4ee-02523dd86af0", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "76a4b727-bc8b-4527-be26-d1df3e23d09f" + } + ] + }, + { + "id": "74978653-0722-4e68-9918-19d2b8559e07", + "name": "text1", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Applicant name" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "07469a33-e19a-422f-b559-0f8b7811e63e", + "type": "desktop", + "top": 109.99996948242188, + "left": 4.651162790697675, + "width": 6, + "height": 40, + "componentId": "74978653-0722-4e68-9918-19d2b8559e07" + }, + { + "id": "31b1035a-6a2e-4c89-94c6-97bc880d443c", + "type": "mobile", + "top": 30, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "74978653-0722-4e68-9918-19d2b8559e07" + } + ] + }, + { + "id": "e5d314a4-0218-4976-a5e3-d4fc2b00b01d", + "name": "text11", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "f0f9652a-50ab-41ac-8870-4da574657714", + "properties": { + "text": { + "value": "
Finance underwriting
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "eede55b0-d563-49f7-9a49-94824da6d8bd", + "type": "desktop", + "top": 10, + "left": 51.162790697674424, + "width": 19, + "height": 40, + "componentId": "e5d314a4-0218-4976-a5e3-d4fc2b00b01d" + } + ] + }, + { + "id": "f0f9652a-50ab-41ac-8870-4da574657714", + "name": "container1", + "type": "Container", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "523bbefd-d0e2-464c-89f3-87a0bc6b8a89", + "type": "desktop", + "top": 20, + "left": 6.976744186046512, + "width": 37, + "height": 70, + "componentId": "f0f9652a-50ab-41ac-8870-4da574657714" + } + ] + }, + { + "id": "14a1bd3a-5f42-4dbe-903b-ad9fdde59922", + "name": "text10", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "f0f9652a-50ab-41ac-8870-4da574657714", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "f13176b2-c48d-4962-9c9a-8887b27eda35", + "type": "desktop", + "top": 10, + "left": 4.6511685142596155, + "width": 9, + "height": 40, + "componentId": "14a1bd3a-5f42-4dbe-903b-ad9fdde59922" + } + ] + }, + { + "id": "343b2a0a-9028-4a8c-a084-6e070d409a9e", + "name": "button2", + "type": "Button", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "Reset form" + }, + "loadingState": { + "value": "", + "fxActive": false + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "4264492e-c8ee-443d-9380-9cd633baec2a", + "type": "desktop", + "top": 619.9999389648438, + "left": 27.9069786690561, + "width": 9, + "height": 50, + "componentId": "343b2a0a-9028-4a8c-a084-6e070d409a9e" + } + ] + }, + { + "id": "9b6a1cde-19ff-4022-858e-8f2168fe781b", + "name": "text12", + "type": "Text", + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "parent": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "properties": { + "text": { + "value": "
Loan application form
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "24" + }, + "fontWeight": { + "value": "normal" + }, + "textColor": { + "value": "#3e63ddff" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textAlign": { + "value": "center" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T07:04:57.331Z", + "layouts": [ + { + "id": "cd9b0a4d-2b74-4f14-bda7-d3529fc63f95", + "type": "desktop", + "top": 20, + "left": 4.651162297818282, + "width": 39, + "height": 60, + "componentId": "9b6a1cde-19ff-4022-858e-8f2168fe781b" + }, + { + "id": "4379e1e8-a4fe-4399-91e4-d56a92991787", + "type": "mobile", + "top": 30, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "9b6a1cde-19ff-4022-858e-8f2168fe781b" + } + ] + }, + { + "id": "a0e9472c-cf26-41c3-a253-c244d54b7611", + "name": "text1", + "type": "Text", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": "1e64cd80-9e4b-4163-abaa-aa0478ca0c7b", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "403230b9-15e9-4d98-aa7a-9c80e69a3b78", + "type": "desktop", + "top": 10, + "left": 4.6511685142596155, + "width": 9, + "height": 40, + "componentId": "a0e9472c-cf26-41c3-a253-c244d54b7611" + } + ] + }, + { + "id": "a9d85987-3dcc-4972-8ef9-aac1d74811ce", + "name": "text2", + "type": "Text", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": "1e64cd80-9e4b-4163-abaa-aa0478ca0c7b", + "properties": { + "text": { + "value": "
Finance underwriting
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "b188bb8a-7c17-4c9b-9633-6133112589b3", + "type": "desktop", + "top": 10, + "left": 51.162790697674424, + "width": 19, + "height": 40, + "componentId": "a9d85987-3dcc-4972-8ef9-aac1d74811ce" + } + ] + }, + { + "id": "1e64cd80-9e4b-4163-abaa-aa0478ca0c7b", + "name": "container1", + "type": "Container", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "c89a7a40-f5a7-4244-b88a-992116574fa6", + "type": "desktop", + "top": 20, + "left": 6.976744186046512, + "width": 37, + "height": 70, + "componentId": "1e64cd80-9e4b-4163-abaa-aa0478ca0c7b" + } + ] + }, + { + "id": "da442a59-540e-4c77-8050-41061c8d7e24", + "name": "container2", + "type": "Container", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "d777412f-983a-4ca2-9cfc-b6d70588f789", + "type": "desktop", + "top": 100, + "left": 6.976744186046512, + "width": 37, + "height": 290, + "componentId": "da442a59-540e-4c77-8050-41061c8d7e24" + }, + { + "id": "4dc5370e-9483-4795-b58b-306d61d3cf59", + "type": "mobile", + "top": 100, + "left": 6.976744186046512, + "width": 5, + "height": 200, + "componentId": "da442a59-540e-4c77-8050-41061c8d7e24" + } + ] + }, + { + "id": "edf14c35-ee35-443a-9f9e-8f575c9a520b", + "name": "text3", + "type": "Text", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": "da442a59-540e-4c77-8050-41061c8d7e24", + "properties": { + "text": { + "value": "Application submitted successfully\n" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000", + "fxActive": false + }, + "textSize": { + "value": "24" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textAlign": { + "value": "center" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "973f7d4b-766d-4eb2-8d48-f60f3739710a", + "type": "mobile", + "top": 30, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "edf14c35-ee35-443a-9f9e-8f575c9a520b" + }, + { + "id": "086d3ce6-8cff-4a99-a516-fcaec71ccc47", + "type": "desktop", + "top": 60, + "left": 4.651161484127214, + "width": 39, + "height": 60, + "componentId": "edf14c35-ee35-443a-9f9e-8f575c9a520b" + } + ] + }, + { + "id": "d3f598c1-4adb-44ca-b2ac-ec4c2260bad4", + "name": "button1", + "type": "Button", + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "parent": "da442a59-540e-4c77-8050-41061c8d7e24", + "properties": { + "text": { + "value": "Submit another response" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "layouts": [ + { + "id": "18233265-4174-455c-94f7-0bc779af2b4e", + "type": "mobile", + "top": 180, + "left": 25.581395348837212, + "width": 6.976744186046512, + "height": 30, + "componentId": "d3f598c1-4adb-44ca-b2ac-ec4c2260bad4" + }, + { + "id": "06e8ec7f-605a-41d5-9738-8de98c2f229a", + "type": "desktop", + "top": 160, + "left": 34.88372211578353, + "width": 13, + "height": 50, + "componentId": "d3f598c1-4adb-44ca-b2ac-ec4c2260bad4" + } + ] + } + ], + "pages": [ + { + "id": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6" + }, + { + "id": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "name": "Submitted", + "handle": "submitted", + "index": 2, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6" + } + ], + "events": [ + { + "id": "a2e3332f-f900-4df6-bc79-77f2f5e036f4", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "884e2f8b-4c41-4f16-aee4-262ebfb32ec1", + "actionId": "run-query", + "alertType": "info", + "queryName": "submitApplication", + "parameters": {} + }, + "sourceId": "ae7afb3d-940e-4ab5-a37d-84d7f7768862", + "target": "component", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.510Z" + }, + { + "id": "865e6652-b502-4e6a-8e1d-8bd92b216fa0", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "componentSpecificActionHandle": "resetForm", + "componentSpecificActionParams": [] + }, + "sourceId": "343b2a0a-9028-4a8c-a084-6e070d409a9e", + "target": "component", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.556Z" + }, + { + "id": "159eab4c-aa48-46e4-9bd2-d4a0619b7ab0", + "name": "onDataQueryFailure", + "index": 2, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to submit application! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "884e2f8b-4c41-4f16-aee4-262ebfb32ec1", + "target": "data_query", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.046Z" + }, + { + "id": "bdb42e88-c10a-46ed-addc-edd74d63415b", + "name": "onClick", + "index": 0, + "event": { + "pageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info" + }, + "sourceId": "d3f598c1-4adb-44ca-b2ac-ec4c2260bad4", + "target": "component", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.521Z" + }, + { + "id": "e6ae827f-82ed-487e-a312-fafc683e8165", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "fafe8505-ecc1-4df5-9247-c63670ed4243", + "componentSpecificActionHandle": "submitForm", + "componentSpecificActionParams": [] + }, + "sourceId": "884e2f8b-4c41-4f16-aee4-262ebfb32ec1", + "target": "data_query", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.534Z" + }, + { + "id": "aa0d32aa-3889-40fa-8002-4bfd49b8bbe1", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "pageId": "3014f295-58d7-4844-99fa-c18fb7d353aa", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "switch-page", + "alertType": "info" + }, + "sourceId": "884e2f8b-4c41-4f16-aee4-262ebfb32ec1", + "target": "data_query", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T00:07:10.545Z" + } + ], + "dataQueries": [ + { + "id": "884e2f8b-4c41-4f16-aee4-262ebfb32ec1", + "name": "submitApplication", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "7bc483fb-ec16-4179-a16e-e02d42a64963", + "table_id": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "join_table": { + "joins": [ + { + "id": 1714114531896, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "04df6269-fec2-47a8-970e-9bcdfd97d59d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "applicant_name", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "application_type", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "loan_amount", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "credit_score", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "annual_turnover", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "collateral", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "notes", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "assigned_to", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "created_at", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "updated_at", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + }, + { + "name": "status", + "table": "04df6269-fec2-47a8-970e-9bcdfd97d59d" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "applicant_name", + "value": "{{components.form1.data.textinput1.value}}" + }, + "1": { + "column": "application_type", + "value": "{{components.form1.data.dropdown1.value}}" + }, + "2": { + "column": "loan_amount", + "value": "{{components.form1.data.numberinput1.value}}" + }, + "3": { + "column": "credit_score", + "value": "{{components.form1.data.numberinput2.value}}" + }, + "4": { + "column": "annual_turnover", + "value": "{{components.form1.data.numberinput3.value}}" + }, + "5": { + "column": "collateral", + "value": "{{components.form1.data.textinput2.value}}" + }, + "6": { + "column": "status", + "value": "Under Review" + }, + "7": { + "column": "notes", + "value": "{{components.form1.data.textarea1.value}}" + }, + "8": { + "column": "assigned_to", + "value": "unassigned" + }, + "9": { + "column": "created_at", + "value": "{{moment().format()}}" + }, + "c46b3664-4680-4199-ba08-dce3eecf8701": { + "column": "updated_at", + "value": "{{moment().format()}}" + } + } + }, + "dataSourceId": "afb65901-5006-413e-9ba5-8f38a41186e8", + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "createdAt": "2024-04-26T00:07:10.046Z", + "updatedAt": "2024-04-26T06:55:25.345Z" + } + ], + "dataSources": [ + { + "id": "dd73089f-f857-4f67-b2e4-e9d270aa843c", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:07:10.056Z", + "updatedAt": "2024-04-26T00:07:10.056Z" + }, + { + "id": "727bbeca-5553-4a79-80d1-da9a87af8419", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:07:10.074Z", + "updatedAt": "2024-04-26T00:07:10.074Z" + }, + { + "id": "ef390b49-babc-4b77-902b-f031db85bbea", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:07:10.094Z", + "updatedAt": "2024-04-26T00:07:10.094Z" + }, + { + "id": "afb65901-5006-413e-9ba5-8f38a41186e8", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:07:10.105Z", + "updatedAt": "2024-04-26T00:07:10.105Z" + }, + { + "id": "e06c45e9-a2b1-48dd-9cd2-ac6ae60bdf4a", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-26T00:07:10.123Z", + "updatedAt": "2024-04-26T00:07:10.123Z" + } + ], + "appVersions": [ + { + "id": "4e6236d7-ca5e-4b94-bf22-e1ada5c474f6", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "dcbb4576-8aa4-4789-8d5a-04957123724b", + "appId": "c43aa960-7c0b-498c-b288-56ba48b7e671", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-26T00:07:10.038Z", + "updatedAt": "2024-04-30T23:47:00.804Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "609449a6-713d-435b-9ba8-753f1b6bd627", + "dataSourceId": "dd73089f-f857-4f67-b2e4-e9d270aa843c", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:07:10.069Z", + "updatedAt": "2024-04-26T00:07:10.069Z" + }, + { + "id": "9a0df2cc-56fc-463f-88a1-b78cb9ef6dec", + "dataSourceId": "dd73089f-f857-4f67-b2e4-e9d270aa843c", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:07:10.069Z", + "updatedAt": "2024-04-26T00:07:10.069Z" + }, + { + "id": "c0d8ff39-27b7-4062-a0e5-d78324237440", + "dataSourceId": "dd73089f-f857-4f67-b2e4-e9d270aa843c", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:07:10.069Z", + "updatedAt": "2024-04-26T00:07:10.069Z" + }, + { + "id": "84059627-ccca-44c1-bdb8-17a99ba3101d", + "dataSourceId": "727bbeca-5553-4a79-80d1-da9a87af8419", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:07:10.092Z", + "updatedAt": "2024-04-26T00:07:10.092Z" + }, + { + "id": "49820cf4-354a-4f09-8d28-387d4153a387", + "dataSourceId": "727bbeca-5553-4a79-80d1-da9a87af8419", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:07:10.092Z", + "updatedAt": "2024-04-26T00:07:10.092Z" + }, + { + "id": "393f1f2e-0ee1-467d-a3f3-53bfb26d092d", + "dataSourceId": "727bbeca-5553-4a79-80d1-da9a87af8419", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:07:10.092Z", + "updatedAt": "2024-04-26T00:07:10.092Z" + }, + { + "id": "fb9085cc-4323-4030-ac8c-6e6bdc4fbf4b", + "dataSourceId": "ef390b49-babc-4b77-902b-f031db85bbea", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:07:10.101Z", + "updatedAt": "2024-04-26T00:07:10.101Z" + }, + { + "id": "ae05b8f2-336a-4720-a72f-b0ac619f8019", + "dataSourceId": "ef390b49-babc-4b77-902b-f031db85bbea", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:07:10.101Z", + "updatedAt": "2024-04-26T00:07:10.101Z" + }, + { + "id": "7d2061b0-fed4-4c5c-b8f6-bd5614538da9", + "dataSourceId": "ef390b49-babc-4b77-902b-f031db85bbea", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:07:10.101Z", + "updatedAt": "2024-04-26T00:07:10.101Z" + }, + { + "id": "88664d8a-e809-471e-94c4-750d009142ba", + "dataSourceId": "afb65901-5006-413e-9ba5-8f38a41186e8", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:07:10.118Z", + "updatedAt": "2024-04-26T00:07:10.118Z" + }, + { + "id": "318a28c5-761c-4fc1-ab8a-aa6198eb5e9d", + "dataSourceId": "afb65901-5006-413e-9ba5-8f38a41186e8", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:07:10.118Z", + "updatedAt": "2024-04-26T00:07:10.118Z" + }, + { + "id": "a94206b8-74f7-4ba9-9519-6e5b65f59ddf", + "dataSourceId": "afb65901-5006-413e-9ba5-8f38a41186e8", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:07:10.118Z", + "updatedAt": "2024-04-26T00:07:10.118Z" + }, + { + "id": "856c669c-637c-4cb9-bbb4-bf73359790c0", + "dataSourceId": "e06c45e9-a2b1-48dd-9cd2-ac6ae60bdf4a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-26T00:07:10.134Z", + "updatedAt": "2024-04-26T00:07:10.134Z" + }, + { + "id": "a6a77b63-39ab-4250-83ae-4cf2a06ac262", + "dataSourceId": "e06c45e9-a2b1-48dd-9cd2-ac6ae60bdf4a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-26T00:07:10.135Z", + "updatedAt": "2024-04-26T00:07:10.135Z" + }, + { + "id": "6ddaf300-9c52-4368-a94e-4f80636147fd", + "dataSourceId": "e06c45e9-a2b1-48dd-9cd2-ac6ae60bdf4a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-26T00:07:10.135Z", + "updatedAt": "2024-04-26T00:07:10.135Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.35.4-ee2.15.26-cloud2.3.10" +} \ No newline at end of file diff --git a/server/templates/finance-underwriting-user-form/manifest.json b/server/templates/finance-underwriting-user-form/manifest.json new file mode 100644 index 0000000000..d9ef8e1d03 --- /dev/null +++ b/server/templates/finance-underwriting-user-form/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "Finance underwriting - User form", + "description": "Apply for financial services seamlessly with our user-friendly underwriting form.", + "widgets": [ + "Container" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + } + ], + "id": "finance-underwriting-user-form", + "category": "financial-services" +} \ No newline at end of file diff --git a/server/templates/google-cloud-storage-explorer/manifest.json b/server/templates/google-cloud-storage-explorer/manifest.json index 7d7e21d5de..ef7b0e3e40 100644 --- a/server/templates/google-cloud-storage-explorer/manifest.json +++ b/server/templates/google-cloud-storage-explorer/manifest.json @@ -12,5 +12,5 @@ } ], "id": "google-cloud-storage-explorer", - "category": "utilities" + "category": "developer-utilities" } \ No newline at end of file diff --git a/server/templates/image-converter/manifest.json b/server/templates/image-converter/manifest.json index d39db73012..392f0345e8 100644 --- a/server/templates/image-converter/manifest.json +++ b/server/templates/image-converter/manifest.json @@ -11,5 +11,5 @@ } ], "id": "image-converter", - "category": "utilities" + "category": "developer-utilities" } \ No newline at end of file diff --git a/server/templates/kpi-management-dashboard-airtable/manifest.json b/server/templates/kpi-management-dashboard-airtable/manifest.json index 099fe6bcd0..d434a31c34 100644 --- a/server/templates/kpi-management-dashboard-airtable/manifest.json +++ b/server/templates/kpi-management-dashboard-airtable/manifest.json @@ -12,5 +12,5 @@ } ], "id": "kpi-management-dashboard-airtable", - "category": "operations" + "category": "data-and-analytics" } \ No newline at end of file diff --git a/server/templates/kpi-management-dashboard-tooljet-db/manifest.json b/server/templates/kpi-management-dashboard-tooljet-db/manifest.json index 7e17d47754..a3adc2cd65 100644 --- a/server/templates/kpi-management-dashboard-tooljet-db/manifest.json +++ b/server/templates/kpi-management-dashboard-tooljet-db/manifest.json @@ -12,5 +12,5 @@ } ], "id": "kpi-management-dashboard-tooljet-db", - "category": "operations" + "category": "data-and-analytics" } \ No newline at end of file diff --git a/server/templates/lorem-ipsum-generator/definition.json b/server/templates/lorem-ipsum-generator/definition.json new file mode 100644 index 0000000000..5495c4290f --- /dev/null +++ b/server/templates/lorem-ipsum-generator/definition.json @@ -0,0 +1,1237 @@ +{ + "tooljet_database": [], + "app": [ + { + "definition": { + "appV2": { + "id": "b4b91cff-4694-4b09-a38c-596769f91c95", + "type": "front-end", + "name": "Lorem ipsum generator", + "slug": "b4b91cff-4694-4b09-a38c-596769f91c95", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "sentfast", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-25T07:37:02.309Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-25T07:37:02.948Z", + "editingVersion": { + "id": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "appId": "b4b91cff-4694-4b09-a38c-596769f91c95", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:37:02.336Z", + "updatedAt": "2024-05-01T00:01:30.906Z" + }, + "components": [ + { + "id": "0b5b8177-7984-4937-8e51-d334cce9561c", + "name": "generateButton", + "type": "Button", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "text": { + "value": "Generate" + }, + "loadingState": { + "value": "{{queries.generateCompanyNames.isLoading || queries.generateCompanyUrls.isLoading || queries.generateEmails.isLoading || queries.generateFullNames.isLoading || queries.generateParagraphs.isLoading || queries.generateSentences.isLoading || queries.generateTitles.isLoading || queries.generateWords.isLoading || queries.getRandomItem.isLoading || queries.handleContentGeneration.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff", + "fxActive": false + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "7a98b529-1836-48c9-a2c0-d616f0b351ce", + "type": "desktop", + "top": 50, + "left": 41.86046073576237, + "width": 5, + "height": 40, + "componentId": "0b5b8177-7984-4937-8e51-d334cce9561c" + }, + { + "id": "1680d86d-77ad-4d7c-9a04-75d66b074706", + "type": "mobile", + "top": 50, + "left": 88.37209302325581, + "width": 6.976744186046512, + "height": 30, + "componentId": "0b5b8177-7984-4937-8e51-d334cce9561c" + } + ] + }, + { + "id": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "name": "container2", + "type": "Container", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "be23d79d-7831-4230-81e5-fd85c6d02a40", + "type": "desktop", + "top": 100, + "left": 2.3255813953488373, + "width": 41, + "height": 690, + "componentId": "d75c4dcf-a326-42a1-8589-f6d27a5eab37" + }, + { + "id": "3cd59369-a1f7-4a33-b3c5-b341e42b0d38", + "type": "mobile", + "top": 300, + "left": 2.3255813953488373, + "width": 5, + "height": 200, + "componentId": "d75c4dcf-a326-42a1-8589-f6d27a5eab37" + } + ] + }, + { + "id": "dc0b7c38-3956-4beb-b0bb-b8a76b265695", + "name": "text1", + "type": "Text", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "f74c6cbf-ebbb-49b7-aa86-3cc1a2b91b91", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "f54260e6-b608-4868-af99-c7fb9d354649", + "type": "desktop", + "top": 10, + "left": 2.3255811827776833, + "width": 6, + "height": 40, + "componentId": "dc0b7c38-3956-4beb-b0bb-b8a76b265695" + } + ] + }, + { + "id": "f74c6cbf-ebbb-49b7-aa86-3cc1a2b91b91", + "name": "container1", + "type": "Container", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "261803f2-55d7-4702-b0be-55be1684d849", + "type": "desktop", + "top": 20, + "left": 2.3255831109355123, + "width": 41, + "height": 70, + "componentId": "f74c6cbf-ebbb-49b7-aa86-3cc1a2b91b91" + } + ] + }, + { + "id": "3f79e9d3-63bc-4fff-9584-52ddec73fb9a", + "name": "dataset_type", + "type": "DropDown", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{\"sentence\"}}" + }, + "values": { + "value": "{{[\"sentence\", \"paragraph\", \"title\", \"word\", \"fullName\", \"email\", \"companyURL\", \"companyName\"]}}" + }, + "display_values": { + "value": "{{[\"Sentence \", \"Paragraph\", \"Title\", \"Word\", \"Full Name\", \"Email\", \"Company URL\", \"Company Name\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "829999d4-fd2a-4c56-b60d-07ca310aff0c", + "type": "desktop", + "top": 50, + "left": 2.325580329133963, + "width": 8, + "height": 40, + "componentId": "3f79e9d3-63bc-4fff-9584-52ddec73fb9a" + }, + { + "id": "2f9f638c-c989-40f2-a9cf-c33ff88fb1c1", + "type": "mobile", + "top": 80, + "left": 65.11627906976744, + "width": 18.6046511627907, + "height": 30, + "componentId": "3f79e9d3-63bc-4fff-9584-52ddec73fb9a" + } + ] + }, + { + "id": "6f8c642e-28e6-4f53-a1e2-1dd0afbac112", + "name": "dataset_count", + "type": "NumberInput", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "value": { + "value": "1" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "1" + }, + "decimalPlaces": { + "value": "{{0}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}", + "fxActive": false + }, + "backgroundColor": { + "value": "", + "fxActive": true + }, + "borderColor": { + "value": "", + "fxActive": true + }, + "color": { + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "1" + }, + "maxValue": { + "value": "100" + }, + "mandatory": { + "fxActive": false + } + }, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "32af2cf5-308c-4bf9-a102-3a666f87d9b5", + "type": "desktop", + "top": 50, + "left": 25.581397130966927, + "width": 6, + "height": 40, + "componentId": "6f8c642e-28e6-4f53-a1e2-1dd0afbac112" + }, + { + "id": "47310070-bac2-47f4-a58a-3a104ce4826b", + "type": "mobile", + "top": 40, + "left": 18.6046511627907, + "width": 23.25581395348837, + "height": 40, + "componentId": "6f8c642e-28e6-4f53-a1e2-1dd0afbac112" + } + ] + }, + { + "id": "0a996e67-250f-4aad-907f-79d879d834bd", + "name": "text2", + "type": "Text", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "f74c6cbf-ebbb-49b7-aa86-3cc1a2b91b91", + "properties": { + "text": { + "value": "
Lorem ipsum generator
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "normal" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "01f8ca61-b4f2-4896-9834-bf2b5294ed88", + "type": "desktop", + "top": 10, + "left": 69.7674389063173, + "width": 12, + "height": 40, + "componentId": "0a996e67-250f-4aad-907f-79d879d834bd" + } + ] + }, + { + "id": "1da2a31d-53a7-4c41-a71c-27abeb255ef0", + "name": "text3", + "type": "Text", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "text": { + "value": "Dataset type" + } + }, + "general": {}, + "styles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040", + "fxActive": true + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "d25f79bc-aca4-44e0-851c-a983c9623ca7", + "type": "mobile", + "top": 40, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "1da2a31d-53a7-4c41-a71c-27abeb255ef0" + }, + { + "id": "6bb4e2fe-5237-4851-a34d-6783e9198c1d", + "type": "desktop", + "top": 20, + "left": 2.3255797106465375, + "width": 7, + "height": 30, + "componentId": "1da2a31d-53a7-4c41-a71c-27abeb255ef0" + } + ] + }, + { + "id": "49ece817-9e78-45af-afb6-1ee7c37a05bb", + "name": "text4", + "type": "Text", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "text": { + "value": "Dataset count" + } + }, + "general": {}, + "styles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040", + "fxActive": true + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "bf4bc46a-0b41-4ade-a236-9a709e64f93c", + "type": "mobile", + "top": 40, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "49ece817-9e78-45af-afb6-1ee7c37a05bb" + }, + { + "id": "af2429bf-a4ca-436f-8445-d97f3069e37a", + "type": "desktop", + "top": 20, + "left": 25.58139534883721, + "width": 6, + "height": 30, + "componentId": "49ece817-9e78-45af-afb6-1ee7c37a05bb" + } + ] + }, + { + "id": "4ddc073c-bc88-4e5c-b2dd-5a576546d53b", + "name": "text6", + "type": "Text", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "text": { + "value": "Generated content" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040", + "fxActive": true + }, + "isScrollRequired": { + "value": "disabled" + }, + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "b3d23427-c8e3-410f-ada9-8728f88d62cd", + "type": "mobile", + "top": 40, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "4ddc073c-bc88-4e5c-b2dd-5a576546d53b" + }, + { + "id": "418cc5df-7deb-4d1e-b644-626730bae041", + "type": "desktop", + "top": 130, + "left": 2.3255789764927424, + "width": 7, + "height": 40, + "componentId": "4ddc073c-bc88-4e5c-b2dd-5a576546d53b" + } + ] + }, + { + "id": "e9509478-abab-4238-bad7-8b7d767be434", + "name": "button2", + "type": "Button", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "text": { + "value": "Copy to clipboard 📋" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "a16bd5d6-97fe-4290-9a4b-00178c0d2aa7", + "type": "desktop", + "top": 130, + "left": 81.39534640247103, + "width": 7, + "height": 40, + "componentId": "e9509478-abab-4238-bad7-8b7d767be434" + }, + { + "id": "abd171fd-5514-4cbd-8be8-77fa1da31dda", + "type": "mobile", + "top": 130, + "left": 69.76744186046511, + "width": 6.976744186046512, + "height": 30, + "componentId": "e9509478-abab-4238-bad7-8b7d767be434" + } + ] + }, + { + "id": "b16c2a83-cdbe-499c-9be2-7fb42627794a", + "name": "richtexteditor1", + "type": "RichTextEditor", + "pageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "parent": "d75c4dcf-a326-42a1-8589-f6d27a5eab37", + "properties": { + "defaultValue": { + "value": "{{queries.handleContentGeneration.data.generatedData}}" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "layouts": [ + { + "id": "d1061ca8-253c-4750-b714-985a7f6fd98d", + "type": "mobile", + "top": 0, + "left": 0, + "width": 16, + "height": 210, + "componentId": "b16c2a83-cdbe-499c-9be2-7fb42627794a" + }, + { + "id": "2629c4c0-3865-449d-8a47-f1c05cea54a5", + "type": "desktop", + "top": 170, + "left": 2.325587786338283, + "width": 41, + "height": 490, + "componentId": "b16c2a83-cdbe-499c-9be2-7fb42627794a" + } + ] + } + ], + "pages": [ + { + "id": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db" + } + ], + "events": [ + { + "id": "9bb12bee-04eb-4162-98ff-b67c9cb0bc03", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "generatedText", + "value": "{{queries.generateSentences.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info", + "runOnlyIf": "" + }, + "sourceId": "15af8223-e2de-4eac-851a-6865a207d4aa", + "target": "data_query", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "89b33ab2-6758-4d63-a5f3-f043cfbcc92c", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "item", + "value": "{{queries.getRandomItem.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "3f39e7a1-9fec-4759-b1f7-8e4d853f7df6", + "target": "data_query", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "bc51d4ee-faea-48b1-ae5e-91452dc36c7d", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "c456083e-9f11-4161-91a9-346f640a8210", + "actionId": "run-query", + "alertType": "info", + "queryName": "handleGenerateButtonClick", + "parameters": {} + }, + "sourceId": "0b5b8177-7984-4937-8e51-d334cce9561c", + "target": "component", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.893Z" + }, + { + "id": "495b936f-20a5-4b13-8d32-15aa4545293f", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "copy-to-clipboard", + "alertType": "info", + "contentToCopy": "{{queries.handleContentGeneration.data.generatedData}}" + }, + "sourceId": "e9509478-abab-4238-bad7-8b7d767be434", + "target": "component", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-26T07:50:48.101Z" + } + ], + "dataQueries": [ + { + "id": "febf0c7f-c7b9-4bd3-a710-e01994e1117d", + "name": "generateCompanyNames", + "options": { + "code": "// Set of 20 first names for companies\nconst firstCompanyNames = [\n \"Alpha\",\n \"Beta\",\n \"Gamma\",\n \"Delta\",\n \"Omega\",\n \"Nova\",\n \"Zenith\",\n \"Spectrum\",\n \"Horizon\",\n \"Apex\",\n \"Vertex\",\n \"Pinnacle\",\n \"Infinite\",\n \"Eclipse\",\n \"Nimbus\",\n \"Quantum\",\n \"Orbit\",\n \"Aurora\",\n \"Vortex\",\n \"Cascade\",\n];\n\n// Set of 20 second names for companies\nconst secondCompanyNames = [\n \"Technologies\",\n \"Solutions\",\n \"Innovations\",\n \"Systems\",\n \"Enterprises\",\n \"Global\",\n \"International\",\n \"Group\",\n \"Consulting\",\n \"Services\",\n \"Dynamics\",\n \"Digital\",\n \"Networks\",\n \"Ventures\",\n \"Partners\",\n \"Enterprises\",\n \"Solutions\",\n \"Industries\",\n \"Labs\",\n \"Strategies\",\n];\n\n// Array to hold generated company names\nconst companyNames = [];\n\n// Loop to generate specified count of company names\nfor (let i = 0; i < parameters.count; i++) {\n // Retrieve a random first name from the firstCompanyNames array\n await queries.getRandomItem.run({ arr: firstCompanyNames });\n let firstName = `${queries.getRandomItem.getData()}`;\n\n // Retrieve a random second name from the secondCompanyNames array\n await queries.getRandomItem.run({ arr: secondCompanyNames });\n let secondName = `${queries.getRandomItem.getData()}`;\n\n // Concatenate first and second names to form a company name\n let companyName = `${firstName} ${secondName}`;\n\n // Add generated company name to the array\n companyNames.push(companyName);\n}\n\n// Join the generated company names into a comma-separated string and return\nreturn companyNames.join(\", \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "a0c1ad89-51f1-48b1-aea8-3e3ad123db65", + "name": "generateCompanyUrls", + "options": { + "code": "// Set of 20 first names for companies\nconst firstCompanyNames = [\n \"Alpha\",\n \"Beta\",\n \"Gamma\",\n \"Delta\",\n \"Omega\",\n \"Nova\",\n \"Zenith\",\n \"Spectrum\",\n \"Horizon\",\n \"Apex\",\n \"Vertex\",\n \"Pinnacle\",\n \"Infinite\",\n \"Eclipse\",\n \"Nimbus\",\n \"Quantum\",\n \"Orbit\",\n \"Aurora\",\n \"Vortex\",\n \"Cascade\",\n];\n\n// Set of 20 second names for companies\nconst secondCompanyNames = [\n \"Technologies\",\n \"Solutions\",\n \"Innovations\",\n \"Systems\",\n \"Enterprises\",\n \"Global\",\n \"International\",\n \"Group\",\n \"Consulting\",\n \"Services\",\n \"Dynamics\",\n \"Digital\",\n \"Networks\",\n \"Ventures\",\n \"Partners\",\n \"Enterprises\",\n \"Solutions\",\n \"Industries\",\n \"Labs\",\n \"Strategies\",\n];\n\n// Array to hold generated company URLs\nconst companyUrls = [];\n\n// Loop to generate specified count of company URLs\nfor (let i = 0; i < parameters.count; i++) {\n // Retrieve a random first name from the firstCompanyNames array\n await queries.getRandomItem.run({ arr: firstCompanyNames });\n let firstName = `${queries.getRandomItem.getData()}`;\n\n // Retrieve a random second name from the secondCompanyNames array\n await queries.getRandomItem.run({ arr: secondCompanyNames });\n let secondName = `${queries.getRandomItem.getData()}`;\n\n // Create a URL-friendly string by concatenating first and second names and converting to lowercase\n let urlFriendlyName = `${firstName}-${secondName}`.toLowerCase();\n\n // Construct the company URL\n let companyUrl = `https://www.${urlFriendlyName}.com`;\n\n // Add generated company URL to the array\n companyUrls.push(companyUrl);\n}\n\n// Join the generated company URLs into a comma-separated string and return\nreturn companyUrls.join(\", \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "c456083e-9f11-4161-91a9-346f640a8210", + "name": "handleContentGeneration", + "options": { + "code": "// Retrieve selected options from the UI\nconst datasetType = components.dataset_type.value;\nconst datasetCount = parseInt(components.dataset_count.value);\n\n// Check if datasetCount exceeds the maximum limit\nif (datasetCount > 100) {\n // Show an error alert if the maximum limit is exceeded\n actions.showAlert(\"error\", \"Maximum number of datasets is 100\");\n return;\n}\n\n// Check if datasetCount is less than or equal to zero\nif (datasetCount <= 0) {\n // Show an error alert if datasetCount is less than or equal to zero\n actions.showAlert(\"error\", \"Minimum number of datasets is 1\");\n return;\n}\n\n// Generate dummy text based on the selected dataset type\nlet generatedData;\nswitch (datasetType) {\n case \"paragraph\":\n // Generate paragraphs based on the specified count\n await queries.generateParagraphs.run({ count: datasetCount });\n generatedData = queries.generateParagraphs.getData();\n break;\n case \"sentence\":\n // Generate sentences based on the specified count\n await queries.generateSentences.run({ count: datasetCount });\n generatedData = queries.generateSentences.getData();\n break;\n case \"title\":\n // Generate titles based on the specified count\n await queries.generateTitles.run({ count: datasetCount });\n generatedData = queries.generateTitles.getData();\n break;\n case \"word\":\n // Generate words based on the specified count\n await queries.generateWords.run({ count: datasetCount });\n generatedData = queries.generateWords.getData();\n break;\n case \"fullName\":\n // Generate full names based on the specified count\n await queries.generateFullNames.run({ count: datasetCount });\n generatedData = queries.generateFullNames.getData();\n break;\n case \"email\":\n // Generate email addresses based on the specified count\n await queries.generateEmails.run({ count: datasetCount });\n generatedData = queries.generateEmails.getData();\n break;\n case \"companyURL\":\n // Generate company URLs based on the specified count\n await queries.generateCompanyUrls.run({ count: datasetCount });\n generatedData = queries.generateCompanyUrls.getData();\n break;\n case \"companyName\":\n // Generate company names based on the specified count\n await queries.generateCompanyNames.run({ count: datasetCount });\n generatedData = queries.generateCompanyNames.getData();\n break;\n}\n\n// Return the generated dummy text\nreturn { generatedData };", + "parameters": [], + "runOnPageLoad": false + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "15af8223-e2de-4eac-851a-6865a207d4aa", + "name": "generateSentences", + "options": { + "code": "// Array to hold generated sentences\nconst sentences = [];\n\n// Loop to generate specified count of sentences\nfor (let i = 0; i < parameters.count; i++) {\n // Generate a random count of words for this sentence (between 8 and 24)\n let randomCount = Math.floor(Math.random() * 17) + 8;\n\n // Generate words using the query with the random count\n await queries.generateWords.run({ count: randomCount });\n let sentence = queries.generateWords.getData();\n\n // Capitalize the first letter of the sentence and make the rest lowercase\n sentence = sentence[0].toUpperCase() + sentence.slice(1).toLowerCase();\n\n // Append punctuation to the end of the sentence\n sentence += \".\";\n\n // Append the generated sentence to the sentences array\n sentences.push(sentence);\n}\n\n// Join the generated sentences into a single string separated by spaces and return\nreturn sentences.join(\" \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "3f39e7a1-9fec-4759-b1f7-8e4d853f7df6", + "name": "getRandomItem", + "options": { + "code": "// Generate a random index within the range of the array length\nconst randomIndex = parseInt(Math.random() * parameters.arr.length);\n\n// Return the element at the randomly generated index from the array\nreturn parameters.arr[randomIndex];", + "parameters": [ + { + "name": "arr", + "defaultValue": "[\n \"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.\",\n \"Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.\"]" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "4001beb7-bc79-407b-923a-ec3f65434daa", + "name": "generateParagraphs", + "options": { + "code": "// Generate a random size for each paragraph, ranging from 3 to 7 sentences\nconst randomSize = parseInt(Math.random() * 5) + 3;\n\n// Array to hold generated paragraphs\nconst paragraphs = [];\n\n// Loop to generate specified count of paragraphs\nfor (let i = 0; i < parameters.count; i++) {\n // Generate a paragraph with a random number of sentences\n await queries.generateSentences.run({ count: randomSize });\n paragraphs.push(queries.generateSentences.getData());\n}\n\n// Join the generated paragraphs into a string separated by two newlines and return\nreturn paragraphs.join(\"\\n\\n\");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "a70fa010-6e1a-4193-83d4-4864f4ae7c33", + "name": "generateWords", + "options": { + "code": "// Set of 30 words\nconst wordSet = [\n \"Lorem\",\n \"ipsum\",\n \"dolor\",\n \"sit\",\n \"amet\",\n \"consectetur\",\n \"adipiscing\",\n \"elit\",\n \"sed\",\n \"auctor\",\n \"magna\",\n \"non\",\n \"bibendum\",\n \"efficitur\",\n \"ipsum\",\n \"velit\",\n \"Suspendisse\",\n \"potenti\",\n \"Donec\",\n \"enim\",\n \"ex\",\n \"faucibus\",\n \"placerat\",\n \"Cras\",\n \"felis\",\n \"magna\",\n \"vestibulum\",\n \"commodo\",\n \"Nullam\",\n \"auctor\",\n];\n\n// Array to hold generated words\nconst words = [];\n\n// Loop to generate specified count of words\nfor (let i = 0; i < parameters.count; i++) {\n // Retrieve a random word from the wordSet array\n await queries.getRandomItem.run({ arr: wordSet });\n words.push(queries.getRandomItem.getData());\n}\n\n// Join the generated words into a single string separated by spaces and return\nreturn words.join(\" \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "5ea3c213-9e17-4553-9ca1-0b4c097f4c61", + "name": "generateTitles", + "options": { + "code": "// Array to hold generated titles\nconst titles = [];\n\n// Loop to generate specified count of titles\nfor (let i = 0; i < parameters.count; i++) {\n // Generate a random count of words for this title (between 3 and 4)\n let randomCount = Math.floor(Math.random() * 2) + 3;\n\n // Generate words using the query with the random count\n await queries.generateWords.run({ count: randomCount });\n\n // Append the generated words to the titles array\n titles.push(queries.generateWords.getData());\n}\n\n// Join the generated titles into a single string separated by commas and return\nreturn titles.join(\", \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "02f9b53b-339e-4111-94d8-ec16042a0ead", + "name": "generateFullNames", + "options": { + "code": "// Set of 20 first names\nconst firstNames = [\n \"John\",\n \"Jane\",\n \"Michael\",\n \"Emily\",\n \"David\",\n \"Emma\",\n \"Daniel\",\n \"Olivia\",\n \"James\",\n \"Sophia\",\n \"William\",\n \"Isabella\",\n \"Benjamin\",\n \"Mia\",\n \"Jacob\",\n \"Charlotte\",\n \"Ethan\",\n \"Amelia\",\n \"Alexander\",\n \"Harper\",\n];\n\n// Set of 20 last names\nconst lastNames = [\n \"Smith\",\n \"Johnson\",\n \"Williams\",\n \"Jones\",\n \"Brown\",\n \"Davis\",\n \"Miller\",\n \"Wilson\",\n \"Moore\",\n \"Taylor\",\n \"Anderson\",\n \"Thomas\",\n \"Jackson\",\n \"White\",\n \"Harris\",\n \"Martin\",\n \"Thompson\",\n \"Garcia\",\n \"Martinez\",\n \"Robinson\",\n];\n\n// Array to hold generated full names\nlet fullNames = [];\n\n// Loop to generate specified count of full names\nfor (let i = 0; i < parameters.count; i++) {\n // Retrieve a random first name from the firstNames array\n await queries.getRandomItem.run({ arr: firstNames });\n let firstName = `${queries.getRandomItem.getData()}`;\n\n // Retrieve a random last name from the lastNames array\n await queries.getRandomItem.run({ arr: lastNames });\n let lastName = `${queries.getRandomItem.getData()}`;\n\n // Concatenate first and last names to form a full name\n let fullName = `${firstName} ${lastName}`;\n\n // Add generated full name to the array\n fullNames.push(fullName);\n}\n\n// Join the generated full names into a comma-separated string and return\nreturn fullNames.join(\", \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + }, + { + "id": "b062e3a9-4277-428a-b809-25b3f08071a7", + "name": "generateEmails", + "options": { + "code": "// Set of 20 first names for email generation\nconst firstNames = [\n \"John\",\n \"Jane\",\n \"Michael\",\n \"Emily\",\n \"David\",\n \"Sarah\",\n \"James\",\n \"Emma\",\n \"Daniel\",\n \"Olivia\",\n \"Christopher\",\n \"Sophia\",\n \"Matthew\",\n \"Ava\",\n \"Andrew\",\n \"Isabella\",\n \"William\",\n \"Mia\",\n \"Joseph\",\n \"Charlotte\",\n];\n\n// Set of 20 last names for email generation\nconst lastNames = [\n \"Smith\",\n \"Johnson\",\n \"Brown\",\n \"Taylor\",\n \"Anderson\",\n \"Wilson\",\n \"Miller\",\n \"Davis\",\n \"White\",\n \"Clark\",\n \"Walker\",\n \"Hall\",\n \"Allen\",\n \"Young\",\n \"Hill\",\n \"Scott\",\n \"Green\",\n \"Adams\",\n \"Baker\",\n \"Ross\",\n];\n\n// Set of common email domains\nconst emailDomains = [\n \"gmail.com\",\n \"yahoo.com\",\n \"hotmail.com\",\n \"outlook.com\",\n \"icloud.com\",\n \"aol.com\",\n \"mail.com\",\n \"protonmail.com\",\n \"zoho.com\",\n \"yandex.com\",\n];\n\n// Array to hold generated email addresses\nconst emails = [];\n\n// Loop to generate specified count of email addresses\nfor (let i = 0; i < parameters.count; i++) {\n // Retrieve a random first name from the firstNames array\n await queries.getRandomItem.run({ arr: firstNames });\n let urlFriendlyfirstName =\n `${queries.getRandomItem.getData()}`.toLocaleLowerCase();\n\n // Retrieve a random last name from the lastNames array\n await queries.getRandomItem.run({ arr: lastNames });\n let urlFriendlylastName =\n `${queries.getRandomItem.getData()}`.toLocaleLowerCase();\n\n // Retrieve a random email domain from the emailDomains array\n await queries.getRandomItem.run({ arr: emailDomains });\n let domain = `${queries.getRandomItem.getData()}`;\n\n // Generate a random number for email address variation\n let randomNum = parseInt(Math.random() * 1000);\n\n // Construct the email address\n let emailAddress = `${urlFriendlyfirstName}.${urlFriendlylastName}${randomNum}@${domain}`;\n\n // Add generated email address to the array\n emails.push(emailAddress);\n}\n\n// Join the generated email addresses into a comma-separated string and return\nreturn emails.join(\", \");", + "parameters": [ + { + "name": "count", + "defaultValue": "1" + } + ] + }, + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "createdAt": "2024-04-25T07:37:02.346Z", + "updatedAt": "2024-04-25T07:37:02.346Z" + } + ], + "dataSources": [ + { + "id": "41aff3d4-fbb7-4871-a975-db6c6f4bdf8a", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:37:02.361Z", + "updatedAt": "2024-04-25T07:37:02.361Z" + }, + { + "id": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:37:02.377Z", + "updatedAt": "2024-04-25T07:37:02.377Z" + }, + { + "id": "894a758d-ebfc-4fb1-a83c-45aa15ff07e1", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:37:02.397Z", + "updatedAt": "2024-04-25T07:37:02.397Z" + }, + { + "id": "dc0e55ba-6b83-43c8-85ab-db2efefd64f5", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:37:02.418Z", + "updatedAt": "2024-04-25T07:37:02.418Z" + }, + { + "id": "9aa808cc-ed65-4a32-9685-6a194f35e37b", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-25T07:37:02.434Z", + "updatedAt": "2024-04-25T07:37:02.434Z" + } + ], + "appVersions": [ + { + "id": "b75b6272-9f15-4940-8efd-be6faec4a5db", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "dda125ae-5c5d-470a-9c17-d8397aa88399", + "appId": "b4b91cff-4694-4b09-a38c-596769f91c95", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-25T07:37:02.336Z", + "updatedAt": "2024-05-01T00:01:30.906Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "bcae2e2c-eb2c-4f26-a023-395dd86ab457", + "dataSourceId": "41aff3d4-fbb7-4871-a975-db6c6f4bdf8a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:37:02.373Z", + "updatedAt": "2024-04-25T07:37:02.373Z" + }, + { + "id": "00ac6eb5-7387-4dba-9067-6f953af5d2ad", + "dataSourceId": "41aff3d4-fbb7-4871-a975-db6c6f4bdf8a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:37:02.373Z", + "updatedAt": "2024-04-25T07:37:02.373Z" + }, + { + "id": "b8c29ce2-aafd-4248-babc-6d9d1285ac79", + "dataSourceId": "41aff3d4-fbb7-4871-a975-db6c6f4bdf8a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:37:02.373Z", + "updatedAt": "2024-04-25T07:37:02.373Z" + }, + { + "id": "a976f647-ea95-4067-a505-72acd8299b63", + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:37:02.392Z", + "updatedAt": "2024-04-25T07:37:02.392Z" + }, + { + "id": "a47cf867-a1e9-409b-94b1-5a87f5841afd", + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:37:02.392Z", + "updatedAt": "2024-04-25T07:37:02.392Z" + }, + { + "id": "6c2fcf31-919e-41ad-b6de-a9d75bca0bf2", + "dataSourceId": "66ea122c-62fa-42bb-9b5b-ea97aa20f991", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:37:02.392Z", + "updatedAt": "2024-04-25T07:37:02.392Z" + }, + { + "id": "023d9221-a740-486f-98cc-6a9f337cc504", + "dataSourceId": "894a758d-ebfc-4fb1-a83c-45aa15ff07e1", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:37:02.414Z", + "updatedAt": "2024-04-25T07:37:02.414Z" + }, + { + "id": "4db019ef-66e1-4041-b8d4-d0876df09fa2", + "dataSourceId": "894a758d-ebfc-4fb1-a83c-45aa15ff07e1", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:37:02.414Z", + "updatedAt": "2024-04-25T07:37:02.414Z" + }, + { + "id": "afc17d15-ab19-44fb-b239-ccd2861894e4", + "dataSourceId": "894a758d-ebfc-4fb1-a83c-45aa15ff07e1", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:37:02.414Z", + "updatedAt": "2024-04-25T07:37:02.414Z" + }, + { + "id": "005cdfbe-7b31-4377-a17f-a557c49d700d", + "dataSourceId": "dc0e55ba-6b83-43c8-85ab-db2efefd64f5", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:37:02.430Z", + "updatedAt": "2024-04-25T07:37:02.430Z" + }, + { + "id": "026c4fc4-561b-4858-9c6b-264554c1b126", + "dataSourceId": "dc0e55ba-6b83-43c8-85ab-db2efefd64f5", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:37:02.430Z", + "updatedAt": "2024-04-25T07:37:02.430Z" + }, + { + "id": "e176aa78-6a6e-401f-bce7-eaa4b50f8809", + "dataSourceId": "dc0e55ba-6b83-43c8-85ab-db2efefd64f5", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:37:02.430Z", + "updatedAt": "2024-04-25T07:37:02.430Z" + }, + { + "id": "497c58e2-8b63-4c71-9069-a872c3af2ae4", + "dataSourceId": "9aa808cc-ed65-4a32-9685-6a194f35e37b", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-25T07:37:02.448Z", + "updatedAt": "2024-04-25T07:37:02.448Z" + }, + { + "id": "cb4e5d82-1d85-4fbf-8a12-10385dd489ff", + "dataSourceId": "9aa808cc-ed65-4a32-9685-6a194f35e37b", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-25T07:37:02.448Z", + "updatedAt": "2024-04-25T07:37:02.448Z" + }, + { + "id": "d5afd133-1777-4a6a-a53c-1a8d9af872fe", + "dataSourceId": "9aa808cc-ed65-4a32-9685-6a194f35e37b", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-25T07:37:02.448Z", + "updatedAt": "2024-04-25T07:37:02.448Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.35.4-ee2.15.26-cloud2.3.10" +} \ No newline at end of file diff --git a/server/templates/lorem-ipsum-generator/manifest.json b/server/templates/lorem-ipsum-generator/manifest.json new file mode 100644 index 0000000000..62a942b5d4 --- /dev/null +++ b/server/templates/lorem-ipsum-generator/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "Lorem ipsum generator", + "description": "Generate placeholder text instantly for your design projects with our user-friendly lorem ipsum generator.", + "widgets": [ + "Container" + ], + "sources": [ + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "lorem-ipsum-generator", + "category": "developer-utilities" +} \ No newline at end of file diff --git a/server/templates/mortgage-calculator/manifest.json b/server/templates/mortgage-calculator/manifest.json index 2165e17d1d..d2970fc1bc 100644 --- a/server/templates/mortgage-calculator/manifest.json +++ b/server/templates/mortgage-calculator/manifest.json @@ -11,5 +11,5 @@ } ], "id": "mortgage-calculator", - "category": "operations" + "category": "financial-services" } \ No newline at end of file diff --git a/server/templates/postgresql-database-explorer/definition.json b/server/templates/postgresql-database-explorer/definition.json new file mode 100644 index 0000000000..77024ce709 --- /dev/null +++ b/server/templates/postgresql-database-explorer/definition.json @@ -0,0 +1,35006 @@ +{ + "tooljet_database": [], + "app": [ + { + "definition": { + "appV2": { + "id": "3f78ff42-1df5-4ac8-9dd6-bf1ab76bee0c", + "type": "front-end", + "name": "PostgreSQL database explorer", + "slug": "3f78ff42-1df5-4ac8-9dd6-bf1ab76bee0c", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "server", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-05-03T07:39:36.634Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-05-03T07:54:05.144Z", + "editingVersion": { + "id": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "name": "v1", + "definition": { + "showViewerNavigation": false, + "homePageId": "618e84d3-ca56-4615-8511-eff8c3fb7d14", + "pages": { + "618e84d3-ca56-4615-8511-eff8c3fb7d14": { + "components": { + "59487773-99d3-4b3d-b43d-a8bb92d0f6b1": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#222f3e", + "fxActive": false + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 20, + "left": 2.3255813953488373, + "width": 41, + "height": 70 + } + }, + "withDefaultChildren": false + }, + "afeeaa7c-0509-49de-932e-e640f4a99ad8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{22}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "AWS S3 File Browser" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 10, + "left": 2.3471059440993565, + "width": 13.993303186907838, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "22c90be5-7657-49b7-8128-e9d3fbae4d9e": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal Height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#222f3eff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "400px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Modal triggered by events", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 834.0000534057617, + "left": 83.71498842974984, + "width": 7, + "height": 50 + } + }, + "withDefaultChildren": false + }, + "73b65b00-5865-441a-8062-6a2716c8bb93": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload an image file to S3 bucket: {{components.table2.selectedRow.Name}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 20.00000762939453, + "left": 4.651162858978287, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "2d14b7de-a28f-45c8-87ab-af456a209b20": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "c45b9711-6db4-47d6-a12c-836a4550e355", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{components.textinput2.value == \"\" || components.filepicker1.file.length == 0}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{queries.uploadObject.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 330, + "left": 79.06977621357093, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "c45a4353-c94b-4aed-9ee7-8ebf2f7e2212": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a6230d" + }, + "textColor": { + "value": "#f5a623ff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f5a623ff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 330, + "left": 60.46512903792135, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b26452e5-bc4e-4545-acf5-94b58a41a8d7": { + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{10}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop an image file here, or click to select an image file" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{1}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker1", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 180, + "left": 4.65118644767613, + "width": 39.00000000000001, + "height": 130 + } + }, + "withDefaultChildren": false + }, + "94cb14f6-8b09-4e44-b338-b0cb817f61ab": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 80, + "left": 4.6511588228167575, + "width": 39.00000000000001, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "bb00d395-fbda-4c36-9fbb-f857192e2453": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput2", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 110, + "left": 4.651175274346323, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "5920cde4-3e72-4531-a2d3-c97574bffc6a": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#85a4c61a" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container2", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 110, + "left": 2.3255811696137485, + "width": 41, + "height": 660 + } + }, + "withDefaultChildren": false + }, + "a86d4752-2f8a-48df-a42c-ce2177b5dbe5": { + "id": "a86d4752-2f8a-48df-a42c-ce2177b5dbe5", + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onRowClicked", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4036c725-ce5f-49f4-95ab-b97e704e3f4d", + "queryName": "getObjects" + } + ], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "condensed" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-classic" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getBuckets.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getBuckets.data.Buckets}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{false}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "4d5e17e8-d0c6-416e-b086-6f3f357ece04", + "name": "Buckets", + "key": "Name", + "columnType": "string", + "autogenerated": true, + "cellBackgroundColor": "{{rowData.Name == components.table2.selectedRow.Name ? \"#F90\" : \"inherit\"}}", + "textColor": "{{rowData.Name == components.table2.selectedRow.Name ? \"#FFFFFF\" : \"\"}}" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id", + "email", + "CreationDate" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table2", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 29.999977111816406, + "left": 2.325579345979842, + "width": 12.000000000000002, + "height": 590 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "a49e6b60-0c29-4ac7-b0ac-1e9bb85b0cee": { + "id": "a49e6b60-0c29-4ac7-b0ac-1e9bb85b0cee", + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getObjects.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getObjects.data.Contents}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "1b26d091-d602-47af-bd5c-87179e1092da", + "name": "Name", + "key": "Key", + "columnType": "string", + "autogenerated": true + }, + { + "id": "ea9cee72-c734-4069-9618-67a5d5617834", + "name": "last modified", + "key": "LastModified", + "columnType": "string", + "autogenerated": true + }, + { + "id": "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd", + "name": "size", + "key": "Size", + "columnType": "number", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "ea9cee72-c734-4069-9618-67a5d5617834": 279, + "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd": 79, + "1b26d091-d602-47af-bd5c-87179e1092da": 415 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Copy signed URL", + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "14c34903-6a38-47d2-a1c7-ffceb55b9fa6", + "queryName": "getSignedUrl", + "parameters": {} + } + ], + "position": "right", + "textColor": "#539fe5ff", + "backgroundColor": "#ffffff00", + "fxActive": true, + "disableActionButton": "{{queries.getSignedUrl.isLoading}}" + } + ] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "ETag", + "StorageClass" + ] + }, + "serverSideSearch": { + "value": "" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table3", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 80.00001525878906, + "left": 32.55814106421492, + "width": 28, + "height": 540 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "d28af613-c578-4dd0-a60d-eb20e0a81dad": { + "id": "d28af613-c578-4dd0-a60d-eb20e0a81dad", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "queryName": "switchToUploader", + "runOnlyIf": "", + "componentSpecificActionHandle": "setTab", + "componentId": "aac6738d-810f-4141-9dac-0e35cdfa779c", + "componentSpecificActionParams": [ + { + "handle": "id", + "displayName": "Id", + "value": "1" + } + ] + } + ], + "styles": { + "backgroundColor": { + "value": "#ec912dff", + "fxActive": true + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{components.table2.selectedRow.Name == undefined}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "{{components.table2.selectedRow.Name == undefined ? \"Select a bucket to upload file\" : \"\"}}" + } + }, + "exposedVariables": {} + }, + "name": "button6", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30.00000762939453, + "left": 86.0465187752681, + "width": 5.03934847036995, + "height": 40 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "1548137c-e4ce-4bca-90e5-f9923b51fbf3": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.table2.selectedRow.Name == undefined ? \"Select a bucket to view files stored in it.\" : \"Files in the selected bucket:\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text9", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a", + "layouts": { + "desktop": { + "top": 30, + "left": 32.558141027828526, + "width": 14.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ad5f5b17-c77c-4195-8084-f6b25c7e71ee": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#539fe5ff" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{queries?.getSignedUrl?.isLoading ?? false}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "" + }, + "loadingState": { + "value": "{{queries.getSignedUrl.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 10, + "left": 95.34884394657414, + "width": 1, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "31e9f96a-7936-4bdf-b2dc-dae018d63fea": { + "id": "31e9f96a-7936-4bdf-b2dc-dae018d63fea", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#539fe5ff" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{queries?.getSignedUrl?.isLoading ?? false}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Generating signed URL" + }, + "loadingState": { + "value": "", + "fxActive": false + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10.000007629394531, + "left": 79.06976467606238, + "width": 7, + "height": 40 + } + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1" + } + }, + "handle": "home", + "name": "Home" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": "5000", + "canvasMaxWidthType": "px", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "", + "backgroundFxQuery": "" + }, + "components": { + "aac6738d-810f-4141-9dac-0e35cdfa779c": { + "component": { + "properties": { + "tabs": { + "type": "code", + "displayName": "Tabs", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object", + "object": { + "id": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + } + } + }, + "defaultTab": { + "type": "code", + "displayName": "Default tab", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "hideTabs": { + "type": "toggle", + "displayName": "Hide Tabs", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "renderOnlyActiveTab": { + "type": "toggle", + "displayName": "Render only active tab", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onTabSwitch": { + "displayName": "On tab switch" + } + }, + "styles": { + "highlightColor": { + "type": "color", + "displayName": "Highlight Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "tabWidth": { + "type": "select", + "displayName": "Tab width", + "options": [ + { + "name": "Auto", + "value": "auto" + }, + { + "name": "Equally split", + "value": "split" + } + ] + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "highlightColor": { + "value": "#ec912dff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "tabWidth": { + "value": "auto" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "tabs": { + "value": "{{[ \n\t\t{ title: 'Browser', id: '0' }, \n\t\t{ title: 'Uploader', id: '1' }, \n ]}}" + }, + "defaultTab": { + "value": "0" + }, + "hideTabs": { + "value": false + }, + "renderOnlyActiveTab": { + "value": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "tabs1", + "displayName": "Tabs", + "description": "Tabs component", + "defaultSize": { + "width": 30, + "height": 300 + }, + "defaultChildren": [ + { + "componentName": "Image", + "layout": { + "top": 60, + "left": 37, + "height": 100 + }, + "tab": 0, + "properties": [ + "source" + ], + "defaultValue": { + "source": "https://uploads-ssl.webflow.com/6266634263b9179f76b2236e/62666392f32677b5cb2fb84b_logo.svg" + } + }, + { + "componentName": "Text", + "layout": { + "top": 100, + "left": 17, + "height": 50, + "width": 34 + }, + "tab": 1, + "properties": [ + "text" + ], + "defaultValue": { + "text": "Open-source low-code framework to build & deploy internal tools within minutes." + } + }, + { + "componentName": "Table", + "layout": { + "top": 0, + "left": 1, + "width": 42, + "height": 250 + }, + "tab": 2 + } + ], + "component": "Tabs", + "actions": [ + { + "handle": "setTab", + "displayName": "Set current tab", + "params": [ + { + "handle": "id", + "displayName": "Id" + } + ] + } + ], + "exposedVariables": { + "currentTab": "" + } + }, + "layouts": { + "desktop": { + "top": 120, + "left": 6.953317528514922, + "width": 36, + "height": 670 + } + }, + "withDefaultChildren": false + }, + "c5b6efb3-490a-494e-804d-2862575f399d": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "compact" + }, + "borderRadius": { + "value": "0" + }, + "tableType": { + "value": "table-bordered" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "data": { + "value": "{{ [ \n\t\t{ id: 1, name: 'Sarah', email: 'sarah@example.com'}, \n\t\t{ id: 2, name: 'Lisa', email: 'lisa@example.com'}, \n\t\t{ id: 3, name: 'Sam', email: 'sam@example.com'}, \n\t\t{ id: 4, name: 'Jon', email: 'jon@example.com'} \n] }}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{true}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true + }, + { + "name": "name", + "id": "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a", + "autogenerated": true + }, + { + "name": "email", + "id": "afc9a5091750a1bd4760e38760de3b4be11a43452ae8ae07ce2eebc569fe9a7f", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{true}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{true}}" + }, + "allowSelection": { + "value": "{{true}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table1", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-2", + "layouts": { + "desktop": { + "top": 0, + "left": 1, + "width": 42, + "height": 250 + } + } + }, + "59487773-99d3-4b3d-b43d-a8bb92d0f6b1": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#2C3748", + "fxActive": true + }, + "borderRadius": { + "value": "0" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 0, + "left": -0.019166757772257036, + "width": 43, + "height": 90 + } + }, + "withDefaultChildren": false + }, + "643a3d7e-0eba-49c0-b073-d5b20e7c7b3b": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onRowClicked", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "d39a7124-2edd-4f44-bf84-dc465a7d2e5b", + "queryName": "getObjects" + } + ], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "spacious" + }, + "borderRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getBuckets.data.Buckets}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{false}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "4d5e17e8-d0c6-416e-b086-6f3f357ece04", + "name": "Buckets", + "key": "Name", + "columnType": "string", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{false}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id", + "email", + "CreationDate" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table2", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 2.325613821749114, + "width": 10.973363744220382, + "height": 590 + } + }, + "withDefaultChildren": false + }, + "afeeaa7c-0509-49de-932e-e640f4a99ad8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{22}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "AWS S3 File Browser" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 20, + "left": 2.3471096549217116, + "width": 13.993303186907838, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b58c165d-312f-4ad7-907b-8f4467207a81": { + "component": { + "properties": { + "icon": { + "type": "iconPicker", + "displayName": "Icon", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "iconColor": { + "type": "color", + "displayName": "Icon Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "iconColor": { + "value": "#ffffffff", + "fxActive": false + }, + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "icon": { + "value": "IconLogout" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "icon1", + "displayName": "Icon", + "description": "Icon", + "defaultSize": { + "width": 5, + "height": 48 + }, + "component": "Icon", + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "displayName": "Set Visibility", + "handle": "setVisibility", + "params": [ + { + "handle": "value", + "displayName": "Value", + "defaultValue": "{{true}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 28, + "left": 93.65342265740117, + "width": 0.9786882267441847, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "5d14cc41-dd47-4de3-b9e6-8c72286da085": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "spacious" + }, + "borderRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getObjects.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getObjects.data.Contents}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "1b26d091-d602-47af-bd5c-87179e1092da", + "name": "Key", + "key": "Key", + "columnType": "string", + "autogenerated": true + }, + { + "id": "ea9cee72-c734-4069-9618-67a5d5617834", + "name": "LastModified", + "key": "LastModified", + "columnType": "string", + "autogenerated": true + }, + { + "id": "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd", + "name": "Size", + "key": "Size", + "columnType": "number", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "ea9cee72-c734-4069-9618-67a5d5617834": 237, + "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd": 47, + "1b26d091-d602-47af-bd5c-87179e1092da": 391 + } + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{false}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "ETag", + "StorageClass" + ] + }, + "serverSideSearch": { + "value": "" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table3", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 85, + "left": 30.23277648693854, + "width": 29.023997256310512, + "height": 520 + } + }, + "withDefaultChildren": false + }, + "57e932d8-11e9-402d-ba82-9c5c8b8d62eb": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#ec912dff", + "fxActive": true + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload files" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button1", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 86.00513695268548, + "width": 5.03934847036995, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "33c07316-9b9a-4c68-a7a2-1afee1b881a6": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Prefix" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput1", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 30.272567524824503, + "width": 12.002668604065757, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cc871558-cd81-48a1-a654-5f076cadad8c": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "textColor": { + "value": "#ec912dff", + "fxActive": true + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Search" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button2", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 58.139530795373226, + "width": 4.000849940323339, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "22c90be5-7657-49b7-8128-e9d3fbae4d9e": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal Height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#ffffffff" + }, + "headerTextColor": { + "value": "#000000" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "400px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Modal triggered by events", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 940, + "left": 37.2093025964635, + "width": 10, + "height": 34 + } + }, + "withDefaultChildren": false + }, + "73b65b00-5865-441a-8062-6a2716c8bb93": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload you files to S3 bucket: {{components.table2.selectedRow.Name}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 20, + "left": 4.651165021277508, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "2d14b7de-a28f-45c8-87ab-af456a209b20": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4d945178-ffd4-447a-a452-819154bead88", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 310, + "left": 4.651170644788405, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "c45a4353-c94b-4aed-9ee7-8ebf2f7e2212": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#fcfbf9ff" + }, + "textColor": { + "value": "#f5a623ff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 310, + "left": 23.255816865301114, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b26452e5-bc4e-4545-acf5-94b58a41a8d7": { + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{0}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop some image files here, or click to select image files" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{2}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker1", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 190, + "left": 4.651166394429335, + "width": 39.016032907948436, + "height": 100 + } + }, + "withDefaultChildren": false + }, + "94cb14f6-8b09-4e44-b338-b0cb817f61ab": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 70, + "left": 4.651165222233789, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "bb00d395-fbda-4c36-9fbb-f857192e2453": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{0}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput2", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 110, + "left": 4.651165185472113, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "443cd7b9-0a80-4508-be2b-33d56a510e30": { + "id": "443cd7b9-0a80-4508-be2b-33d56a510e30", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload you files to S3 bucket" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 20, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "4c9e518a-5eaf-4453-aaa1-3c429bdb6675": { + "id": "4c9e518a-5eaf-4453-aaa1-3c429bdb6675", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 190, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "fd7f805b-adfa-4323-80e2-09d382e46f04": { + "id": "fd7f805b-adfa-4323-80e2-09d382e46f04", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dae2ebff" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{0}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput3", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 230, + "left": 4.651272015784802, + "width": 25.99956493770245, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "846bcf76-7f5c-4656-be3b-d8b649e4573b": { + "id": "846bcf76-7f5c-4656-be3b-d8b649e4573b", + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{0}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop some image files here, or click to select image files" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{2}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker2", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "layouts": { + "desktop": { + "top": 330, + "left": 4.651216987328487, + "width": 39.016032907948436, + "height": 160 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "7a324eaf-fea3-4a05-afb0-313209c6914b": { + "id": "7a324eaf-fea3-4a05-afb0-313209c6914b", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4d945178-ffd4-447a-a452-819154bead88", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button5", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 520, + "left": 79.06976577375512, + "width": 7.036632765433699, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "aad7f0d2-4e54-410a-8322-95cf6b6a7967": { + "id": "aad7f0d2-4e54-410a-8322-95cf6b6a7967", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Bucket Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text7", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 80, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "d9c49043-d3fc-4ab7-ab95-4feead33c936": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table2.selectedRow.Name}}" + }, + "values": { + "value": "{{queries.getBuckets.data.Buckets.map(item => item.Name)}}" + }, + "display_values": { + "value": "{{queries.getBuckets.data.Buckets.map(item => item.Name)}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select your bucket" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown1", + "displayName": "Dropdown", + "description": "Select one value from options", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1", + "layouts": { + "desktop": { + "top": 120, + "left": 4.651250004402277, + "width": 26.00937885557519, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cdcb741e-2ee6-4e86-9f7d-db36186db348": { + "id": "cdcb741e-2ee6-4e86-9f7d-db36186db348", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload your file" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text8", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 290, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + } + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "233360ff-6d3e-4069-b558-6388e243162c", + "appId": "3f78ff42-1df5-4ac8-9dd6-bf1ab76bee0c", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-05-03T07:39:36.656Z", + "updatedAt": "2024-05-03T07:59:44.904Z" + }, + "components": [ + { + "id": "2f856df4-7570-4b3f-92bb-5450cfa09d45", + "name": "container1", + "type": "Container", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": null, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff", + "fxActive": false + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "acef1d1f-750d-4f67-8320-ec76956949eb", + "type": "desktop", + "top": 20, + "left": 2.325581987375446, + "width": 41, + "height": 70, + "componentId": "2f856df4-7570-4b3f-92bb-5450cfa09d45", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "60067c3d-1d5f-4d26-9671-fe63ad409849", + "name": "text5", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "2f856df4-7570-4b3f-92bb-5450cfa09d45", + "properties": { + "text": { + "value": "" + }, + "loadingState": { + "value": "{{queries.getSignedUrl.isLoading}}", + "fxActive": true + }, + "visibility": { + "value": "{{queries?.getSignedUrl?.isLoading ?? false}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#539fe5ff" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "a31f663b-e6d0-47eb-89a1-844f2d73d5a9", + "type": "desktop", + "top": 10, + "left": 95.34884394657414, + "width": 1, + "height": 40, + "componentId": "60067c3d-1d5f-4d26-9671-fe63ad409849", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3250ba9c-4578-477d-b990-26660149062c", + "name": "text2", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "2f856df4-7570-4b3f-92bb-5450cfa09d45", + "properties": { + "text": { + "value": "
PostgreSQL database explorer
" + }, + "loadingState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{22}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "8390340f-a548-446d-a4d2-e0a6367c184c", + "type": "desktop", + "top": 10, + "left": 2.347105873922695, + "width": 13.993303186907838, + "height": 40, + "componentId": "3250ba9c-4578-477d-b990-26660149062c", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "bfdcea7c-ba59-4287-9a51-73661e6ee70a", + "name": "text9", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "text": { + "value": "{{components.table2.selectedRow.table_name == undefined ? \"Select a table to view data stored in it.\" : \"Data in the selected table:\"}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "aba398e4-ad8e-4c7f-8063-a61a84cf42d0", + "type": "desktop", + "top": 30, + "left": 32.55813953488372, + "width": 14, + "height": 40, + "componentId": "bfdcea7c-ba59-4287-9a51-73661e6ee70a", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "name": "button1", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "text": { + "value": "Create a new table" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "5bec3702-353c-4931-9b40-327d66d53743", + "type": "mobile", + "top": 30, + "left": 83.72093023255813, + "width": 6.976744186046512, + "height": 30, + "componentId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "4394ebda-f5f8-4122-b8d6-55ab6a7edb2b", + "type": "desktop", + "top": 30, + "left": 2.325580702270125, + "width": 12.000000000000002, + "height": 40, + "componentId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "updatedAt": "2024-05-03T07:40:06.385Z" + } + ] + }, + { + "id": "19c32706-a2ff-4d93-964e-b3df2671c363", + "name": "modal1", + "type": "Modal", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "950px" + }, + "title": { + "value": "Create table" + }, + "size": { + "value": "xl" + } + }, + "general": {}, + "styles": { + "headerTextColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "b87152e4-6f89-47de-816a-22481af201e4", + "type": "mobile", + "top": 820, + "left": 4.651162790697675, + "width": 10, + "height": 34, + "componentId": "19c32706-a2ff-4d93-964e-b3df2671c363", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "902e9d7c-5723-4942-8a8a-78aaecac64dd", + "type": "desktop", + "top": 840, + "left": 2.325581835470239, + "width": 5, + "height": 30, + "componentId": "19c32706-a2ff-4d93-964e-b3df2671c363", + "updatedAt": "2024-05-03T07:58:21.508Z" + } + ] + }, + { + "id": "8fdb421d-2e5a-4bcf-bc99-ee450dc8e097", + "name": "textinput1", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter table name" + }, + "tooltip": { + "value": "{{ !components.textinput1.isValid ? \"Hover over info icon for conditions regarding table name.\" : \"\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "direction": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{/^[a-z_][a-z0-9_]{0,30}$/\n.test(components.textinput1.value) ? true : \" \"}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "0143950d-6715-400a-a1df-b190d194dbe5", + "type": "mobile", + "top": 30, + "left": 18.6046511627907, + "width": 23.25581395348837, + "height": 40, + "componentId": "8fdb421d-2e5a-4bcf-bc99-ee450dc8e097", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "9b7058c9-c1ef-4fdd-a196-d258cd92accf", + "type": "desktop", + "top": 20, + "left": 13.953501240611086, + "width": 34, + "height": 40, + "componentId": "8fdb421d-2e5a-4bcf-bc99-ee450dc8e097", + "updatedAt": "2024-05-03T07:41:04.377Z" + } + ] + }, + { + "id": "b947856b-7c51-4939-952f-4117f5ba33f1", + "name": "text7", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "
Table name
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "5b6d670d-0597-4cd5-819b-ee1fd17756e6", + "type": "desktop", + "top": 20, + "left": 4.651163246590071, + "width": 4, + "height": 40, + "componentId": "b947856b-7c51-4939-952f-4117f5ba33f1", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "f5aedc3a-3436-4529-9b8c-c0b4d1f7efcf", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "b947856b-7c51-4939-952f-4117f5ba33f1", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "592aabe1-023e-435d-aaa3-e106bd037647", + "name": "text8", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "ℹ" + }, + "tooltip": { + "value": "Table names must start with a lowercase letter or underscore, followed by lowercase letters, numbers, or underscores, and of maximum 31 characters." + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "center" + }, + "textSize": { + "value": "20" + }, + "borderRadius": { + "value": "5" + }, + "textColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "backgroundColor": { + "value": "#3e63dd1a" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "4fb185de-d06f-4061-bd53-ced3422142d9", + "type": "desktop", + "top": 20, + "left": 93.02325375949661, + "width": 2, + "height": 40, + "componentId": "592aabe1-023e-435d-aaa3-e106bd037647", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "7ba430c9-cdc6-4607-92a3-e401fe66a69e", + "type": "mobile", + "top": 170, + "left": 55.81395348837209, + "width": 13.953488372093023, + "height": 40, + "componentId": "592aabe1-023e-435d-aaa3-e106bd037647", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "name": "listview1", + "type": "Listview", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "rowHeight": { + "value": "85" + }, + "data": { + "value": "{{variables.tableColumns}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{10}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "1da3b92b-ca5e-4e04-9388-8f263b170da8", + "type": "desktop", + "top": 180, + "left": 4.651177792531572, + "width": 40, + "height": 300, + "componentId": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "b1953552-f343-43b5-be4e-7c82020f63d3", + "type": "mobile", + "top": 150, + "left": 4.651162790697675, + "width": 46.51162790697674, + "height": 300, + "componentId": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "name": "container3", + "type": "Container", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "backgroundColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "978fa67d-f8dd-45d5-a374-6e12d9c0438e", + "type": "desktop", + "top": 120, + "left": 4.65118738796188, + "width": 40, + "height": 60, + "componentId": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0eaa3c56-f86c-4749-9298-17a370acbf51", + "type": "mobile", + "top": 100, + "left": 9.30232558139535, + "width": 11.627906976744185, + "height": 200, + "componentId": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3f34aff7-3703-4bd2-8f11-40edfd236068", + "name": "text11", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "properties": { + "text": { + "value": "
Column name
" + } + }, + "general": {}, + "styles": { + "textIndent": { + "value": "10" + }, + "fontWeight": { + "value": "normal" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "a94b6417-2ca3-4bc1-9a57-36d47cd1302e", + "type": "desktop", + "top": 10, + "left": 2.325579106460807, + "width": 5, + "height": 30, + "componentId": "3f34aff7-3703-4bd2-8f11-40edfd236068", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "fbfd2b86-1930-4ba9-805c-1cf09781800e", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "3f34aff7-3703-4bd2-8f11-40edfd236068", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "9138a89d-e7d5-4299-b0e2-5686832e4b2d", + "name": "column_name", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Column name" + }, + "value": { + "value": "{{listItem?.column_name ?? \"\"}}" + }, + "tooltip": { + "value": "{{(components?.listview1?.data[listItem.id]?.column_name?.isValid ?? false) ? \"\" : \"Column name must start with a lowercase letter or underscore, followed by lowercase letters, numbers, or underscores, and of maximum 31 characters.\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{/^[a-z_][a-z0-9_]{0,30}$/\n.test(components.listview1.data[listItem.id].column_name.value) ? true : \" \"}}" + }, + "mandatory": { + "value": "{{true}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "0b6a5efc-619f-4391-b95e-65b7315df461", + "type": "mobile", + "top": 10, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "9138a89d-e7d5-4299-b0e2-5686832e4b2d", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "5d0255c2-8161-4eee-88eb-19de0c3832f4", + "type": "desktop", + "top": 20, + "left": 2.325547216485497, + "width": 6, + "height": 40, + "componentId": "9138a89d-e7d5-4299-b0e2-5686832e4b2d", + "updatedAt": "2024-05-03T07:40:27.805Z" + } + ] + }, + { + "id": "c651732a-e759-422e-bdc0-e016a76a70ad", + "name": "text10", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "properties": { + "text": { + "value": "
Column type
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textIndent": { + "value": "10" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "ae24dfe1-6c28-4ee4-8755-51f7d90373e1", + "type": "desktop", + "top": 10, + "left": 18.604647894506808, + "width": 6.999999999999999, + "height": 30, + "componentId": "c651732a-e759-422e-bdc0-e016a76a70ad", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "8027bcae-e060-4663-aa3d-201f417d0ec9", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "c651732a-e759-422e-bdc0-e016a76a70ad", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "fafb101e-471f-44fc-a988-846ba307a048", + "name": "text12", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "properties": { + "text": { + "value": "
Length (n)
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textIndent": { + "value": "10" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "11a8efee-7e04-403c-b3a8-5ca4a52ad4b6", + "type": "desktop", + "top": 10, + "left": 39.534856922637886, + "width": 6, + "height": 30, + "componentId": "fafb101e-471f-44fc-a988-846ba307a048", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "dc72fa73-acdd-4025-9be5-5f4b4112c3e9", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "fafb101e-471f-44fc-a988-846ba307a048", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "e1d44314-5779-448f-a7bd-e5bdeeb99a62", + "name": "text13", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "properties": { + "text": { + "value": "
Nullable
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textIndent": { + "value": "10" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "53e940b6-a72c-4e28-9af6-c6860b9f633f", + "type": "desktop", + "top": 10, + "left": 79.06976173738735, + "width": 4, + "height": 30, + "componentId": "e1d44314-5779-448f-a7bd-e5bdeeb99a62", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ce2cc48b-dd81-49fb-a8a5-f8ec999c3043", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "e1d44314-5779-448f-a7bd-e5bdeeb99a62", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "4b54bd1c-af82-4330-95a1-0d42ce7ecf1d", + "name": "column_type", + "type": "DropDown", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{listItem.column_type}}" + }, + "values": { + "value": "{{[\n \"bigint\",\n \"bigserial\",\n \"boolean\",\n \"float4\",\n \"float8\",\n \"integer\",\n \"numeric\",\n \"serial\",\n \"text\",\n \"timestamp\",\n \"timestamptz\",\n \"uuid\",\n \"varchar\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"bigint\",\n \"bigserial\",\n \"boolean\",\n \"float4\",\n \"float8\",\n \"integer\",\n \"numeric\",\n \"serial\",\n \"text\",\n \"timestamp\",\n \"timestamptz\",\n \"uuid\",\n \"varchar(n)\"\n]}}" + }, + "placeholder": { + "value": "Select column type" + } + }, + "general": { + "tooltip": { + "value": "{{components.listview1.data[listItem.id].column_type.value == undefined ? \"Please select a column type.\" : \"\"}}" + } + }, + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{components.listview1.data[listItem.id].column_type.value == undefined ? \" \" : true}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "696ef42e-09d6-4265-bae2-0e634946c143", + "type": "mobile", + "top": 20, + "left": 25.581395348837212, + "width": 18.6046511627907, + "height": 30, + "componentId": "4b54bd1c-af82-4330-95a1-0d42ce7ecf1d", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "5f296321-1fe9-4697-9f90-55a85d89523b", + "type": "desktop", + "top": 20, + "left": 18.604675429081993, + "width": 8, + "height": 40, + "componentId": "4b54bd1c-af82-4330-95a1-0d42ce7ecf1d", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "22e54947-6831-4844-bf96-9d1738b7864c", + "name": "length", + "type": "NumberInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "label": { + "value": "" + }, + "visibility": { + "fxActive": true, + "value": "{{(components?.listview1?.data[listItem.id]?.column_type?.value ?? \"\") == \"varchar\"}}" + }, + "value": { + "value": "{{listItem?.length ?? 255}}" + }, + "placeholder": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + }, + "tooltip": { + "value": "{{components.listview1.data[listItem.id].column_type.value == \"varchar\" && (components.listview1.data[listItem.id].length.value || 0) < 1 ? \"Invalid varchar length.\" : \"\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "" + }, + "customRule": { + "value": "{{components.listview1.data[listItem.id].column_type.value == \"varchar\" && (components.listview1.data[listItem.id].length.value || 0) < 1 ? \" \" : true}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "dee9e418-84b6-46b7-a627-216df29ce87b", + "type": "mobile", + "top": 20, + "left": 53.48837209302326, + "width": 23.25581395348837, + "height": 40, + "componentId": "22e54947-6831-4844-bf96-9d1738b7864c", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3ca73c96-c512-4c30-bfb4-5defd3603ded", + "type": "desktop", + "top": 20, + "left": 39.534894071193314, + "width": 6, + "height": 40, + "componentId": "22e54947-6831-4844-bf96-9d1738b7864c", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "8c34d9fc-ce47-4438-80ae-931e5eb6e4cc", + "name": "table2", + "type": "Table", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getTables.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getTables.data}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{false}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "dc664549-390a-43cd-b6c7-3ef1d85a6cda", + "name": "table name", + "key": "table_name", + "columnType": "string", + "autogenerated": true, + "textColor": "", + "cellBackgroundColor": "{{rowData.table_name == components.table2.selectedRow.table_name ? \"#3E63DD33\" : \"inherit\"}}" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{false}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id", + "email", + "CreationDate", + "table_catalog", + "table_schema", + "table_type", + "is_insertable_into", + "is_typed" + ] + }, + "enablePagination": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "cellSize": { + "value": "condensed" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-classic" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "af9abda1-2302-438a-bc33-7ea3e55ee230", + "type": "desktop", + "top": 90.00003051757812, + "left": 2.3255811789541276, + "width": 12, + "height": 570, + "componentId": "8c34d9fc-ce47-4438-80ae-931e5eb6e4cc", + "updatedAt": "2024-05-03T07:59:39.329Z" + } + ] + }, + { + "id": "e371cf48-f535-44ea-9da0-b367165e8ad5", + "name": "table3", + "type": "Table", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getTableSchema.isLoading || queries.getTableData.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{ !queries.getTableSchema.isLoading &&\n!queries.getTableData.isLoading &&\nqueries.getTableData.data.length > 0\n ? queries.getTableData.data\n : [\n queries.getTableSchema.data\n .map((row) => ({\n [row.column_name]: null,\n }))\n .reduce((a, b) => ({ ...a, ...b })),\n]}}" + }, + "useDynamicColumn": { + "value": "{{true}}" + }, + "columnData": { + "value": "{{queries.getTableSchema.data.map((row, index) => ({\n id: index,\n name: row.column_name,\n columnType: \"string\",\n key: row.column_name,\n}))}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": true + }, + "enableNextButton": { + "value": "{{queries.getTableData.rawData.length > 10}}", + "fxActive": true + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "ea9cee72-c734-4069-9618-67a5d5617834": 279, + "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd": 79, + "1b26d091-d602-47af-bd5c-87179e1092da": 415 + } + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "ETag", + "StorageClass" + ] + }, + "serverSideSearch": { + "value": "" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-striped" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "1ef2dd00-7d2e-4190-a745-1085b26db2ee", + "type": "desktop", + "top": 90, + "left": 32.55814463201121, + "width": 28, + "height": 570, + "componentId": "e371cf48-f535-44ea-9da0-b367165e8ad5", + "updatedAt": "2024-05-03T07:59:44.800Z" + } + ] + }, + { + "id": "095cd815-afb4-44c4-9824-208c633606fa", + "name": "container2", + "type": "Container", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": null, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#fff", + "fxActive": false + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "63b35c1e-6f54-4e9e-97d2-f4eb4677c94c", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 41, + "height": 690, + "componentId": "095cd815-afb4-44c4-9824-208c633606fa", + "updatedAt": "2024-05-03T07:59:36.856Z" + } + ] + }, + { + "id": "b1f47a6a-3ea5-473a-a746-eb0deb8a2868", + "name": "nullable", + "type": "ToggleSwitch", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "label": { + "value": "" + }, + "defaultValue": { + "value": "{{listItem?.nullable ?? true}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "toggleSwitchColor": { + "value": "#3e63ddff" + }, + "visibility": { + "fxActive": true, + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview1.data[listItem.id].column_type.value)}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "ecdc1421-2d50-49bb-b280-e2f56fea26d0", + "type": "mobile", + "top": 30, + "left": 79.06976744186046, + "width": 13.953488372093023, + "height": 30, + "componentId": "b1f47a6a-3ea5-473a-a746-eb0deb8a2868", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "654cdd6e-375e-4da5-8359-270bbc31ef8a", + "type": "desktop", + "top": 24, + "left": 79.06977152167082, + "width": 3, + "height": 40, + "componentId": "b1f47a6a-3ea5-473a-a746-eb0deb8a2868", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "9ca653f7-982a-4cd2-a526-63862ec5706f", + "name": "text14", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ed353c19-b39b-42ea-9495-42bfbac721a6", + "properties": { + "text": { + "value": "
Default value
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textIndent": { + "value": "10" + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "cb13bd4f-c2bb-4bd9-90ca-829a8d4ce9fb", + "type": "desktop", + "top": 10, + "left": 55.813962667512804, + "width": 6, + "height": 30, + "componentId": "9ca653f7-982a-4cd2-a526-63862ec5706f", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "c4ac1942-44e6-42b7-9006-9fff90f9913f", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "9ca653f7-982a-4cd2-a526-63862ec5706f", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "6de5747f-9f69-4b33-9689-18aeb80e2a2d", + "name": "default_value", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "{{({\n \"bigint\": \"1234567890\",\n \"boolean\": \"true\",\n \"float4\": \"1234567.89\",\n \"float8\": \"123456789012345.6789\",\n \"integer\": \"1234567890\",\n \"numeric\": \"12345.6789\",\n \"text\": \"Lorem ipsum dolor sit amet\",\n \"timestamp\": \"2021-04-25 12:34:56\",\n \"timestamptz\": \"2021-04-25 12:34:56\",\n \"varchar\": \"Lorem ipsum dolor sit amet\"\n}\n)[components.listview1.data[listItem.id].column_type.value]}}" + }, + "visibility": { + "fxActive": true, + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview1.data[listItem.id].column_type.value)}}" + }, + "value": { + "value": "{{listItem?.default_value ?? \"\"}}" + }, + "tooltip": { + "value": "{{components.listview1.data[listItem.id].default_value.isValid\n ? \"\"\n : !components.listview1.data[listItem.id].nullable.value &&\n components.listview1.data[listItem.id].default_value.value == \"\"\n ? \"Default value cannot be empty if not nullable.\"\n : \"Default value does not match with column type.\"}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{ ![\"undefined\", \"bigserial\", \"serial\", \"uuid\"].includes(\n components.listview1.data[listItem.id].column_type.value\n) &&\n(!components.listview1.data[listItem.id].nullable.value ||\n components.listview1.data[listItem.id].default_value.value != \"\")\n ? (\n {\n bigint: /^-?\\d+$/,\n boolean: /^(true|false)$/,\n float4: /^-?\\d{1,7}(\\.\\d+)?$/,\n float8: /^-?\\d{1,15}(\\.\\d+)?$/,\n integer: /^-?\\d+$/,\n numeric: /^-?\\d+(\\.\\d+)?$/,\n text: /.+/,\n timestamp: /^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$/,\n timestamptz: /^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$/,\n varchar: /.+/,\n }[components.listview1.data[listItem.id].column_type.value || \"\"] ?? \"\"\n ).test(components.listview1.data[listItem.id].default_value.value || \"\")\n ? true\n : \" \"\n : true;\n}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e80da34b-1305-4e6f-a01d-ebc0edf7970d", + "type": "desktop", + "top": 20, + "left": 55.8139320490182, + "width": 8.999999999999998, + "height": 40, + "componentId": "6de5747f-9f69-4b33-9689-18aeb80e2a2d", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "77d06303-08e4-41ba-aacb-01f31fc0392c", + "type": "mobile", + "top": 10, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "6de5747f-9f69-4b33-9689-18aeb80e2a2d", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "name": "delete_button", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "660bf1cf-6b4c-44ce-a7ba-75168509f294", + "properties": { + "text": { + "value": "\n \n \n \n \n" + }, + "textFormat": { + "value": "html" + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "center" + }, + "backgroundColor": { + "value": "#dd00001a" + }, + "borderRadius": { + "value": "5" + }, + "textSize": { + "value": "14" + }, + "verticalAlignment": { + "value": "center" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "1545dd7f-c99a-40fa-884b-2ebb27e32011", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "413963f7-158f-4bb5-aa6d-8ab17265e122", + "type": "desktop", + "top": 20, + "left": 90.69768295324117, + "width": 2, + "height": 40, + "componentId": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "7a0a2c5f-f2ee-4e6d-a144-f4b120e456e4", + "name": "add_new_row_button", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "
+ Add new column
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "", + "fxActive": false + }, + "textSize": { + "value": "14" + }, + "textAlign": { + "value": "center" + }, + "textIndent": { + "value": "0" + }, + "borderRadius": { + "value": "5" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "isScrollRequired": { + "value": "disabled" + }, + "fontWeight": { + "value": "bold" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "62579586-6403-430c-af29-3e5927c77a6a", + "type": "desktop", + "top": 490, + "left": 4.651159279759276, + "width": 31, + "height": 40, + "componentId": "7a0a2c5f-f2ee-4e6d-a144-f4b120e456e4", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "fe17b1c2-7229-406b-beeb-abf5cb693af9", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "7a0a2c5f-f2ee-4e6d-a144-f4b120e456e4", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "2fc7516b-64d8-450d-befd-cc14001f2315", + "name": "generate_query_button", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "
Generate query
" + }, + "disabledState": { + "fxActive": true, + "value": "{{ !components.textinput1.isValid ||\n variables.tableColumns.length < 1 ||\n variables.tableColumns\n .map(\n (row) =>\n !components.listview1.data[row.id].column_name.isValid ||\n !components.listview1.data[row.id].column_type.isValid ||\n !components.listview1.data[row.id].length.isValid ||\n !components.listview1.data[row.id].default_value.isValid\n )\n .includes(true)}}" + }, + "tooltip": { + "value": "{{ !components.textinput1.isValid\n ? \"The specified table name is either empty or invalid.\"\n : variables.tableColumns.length < 1\n ? \"Please add a column to proceed.\"\n : variables.tableColumns\n .map(\n (row) =>\n !components.listview1.data[row.id].column_name.isValid ||\n !components.listview1.data[row.id].column_type.isValid ||\n !components.listview1.data[row.id].length.isValid ||\n !components.listview1.data[row.id].default_value.isValid\n )\n .includes(true)\n ? \"The parameter(s) for the specified table columns is either empty or invalid.\"\n : \"\"}}" + }, + "visibility": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff", + "fxActive": false + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "14" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "0" + }, + "borderColor": { + "value": "", + "fxActive": false + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "78360d07-f803-4b23-9111-ea49a7c92ae3", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "2fc7516b-64d8-450d-befd-cc14001f2315", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "e3d55af1-75e0-4712-a9a5-88c65222038a", + "type": "desktop", + "top": 490, + "left": 79.06972307509841, + "width": 8, + "height": 40, + "componentId": "2fc7516b-64d8-450d-befd-cc14001f2315", + "updatedAt": "2024-05-03T07:41:13.244Z" + } + ] + }, + { + "id": "802e53ed-c062-4439-83c4-d50ae60809b2", + "name": "text15", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "{{`
${(variables?.generatedQuery ?? \"\")\n .replaceAll(\"\\n\", \"
\")\n .replaceAll(\"\\t\", \"    \")}
`}}" + } + }, + "general": {}, + "styles": { + "fontStyle": { + "value": "normal" + }, + "borderRadius": { + "value": "10" + }, + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textAlign": { + "value": "left" + }, + "verticalAlignment": { + "value": "top" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "74ad37b9-777e-4cab-8943-5276804f97e8", + "type": "mobile", + "top": 600, + "left": 18.604651162790695, + "width": 13.953488372093023, + "height": 40, + "componentId": "802e53ed-c062-4439-83c4-d50ae60809b2", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "48665534-d1a5-40c9-9d5e-1e3999b18154", + "type": "desktop", + "top": 610, + "left": 4.651149883013, + "width": 40, + "height": 260, + "componentId": "802e53ed-c062-4439-83c4-d50ae60809b2", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "726a3d25-67c3-4e4a-92b6-e17a215b43be", + "name": "text16", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "
Generated query:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "b8c182f7-05c5-44d4-a4e0-0f99fa3e99f5", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "726a3d25-67c3-4e4a-92b6-e17a215b43be", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "e3b03252-be27-4a2f-998c-0036e039e68e", + "type": "desktop", + "top": 570, + "left": 4.651159642474375, + "width": 7, + "height": 40, + "componentId": "726a3d25-67c3-4e4a-92b6-e17a215b43be", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "caa36a9b-127d-46c6-8cd9-192dda272222", + "name": "text17", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "" + }, + "tooltip": { + "value": "Copy query to clipboard" + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "center" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "", + "fxActive": false + }, + "borderColor": { + "value": "#888888ff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "fa167ed5-9e0b-48d2-9239-5ca427ebb972", + "type": "desktop", + "top": 570, + "left": 93.02325626511912, + "width": 2, + "height": 40, + "componentId": "caa36a9b-127d-46c6-8cd9-192dda272222", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "7f842c07-7d10-4425-b89f-a2b068eaf3ee", + "type": "mobile", + "top": 520, + "left": 69.76744186046513, + "width": 13.953488372093023, + "height": 40, + "componentId": "caa36a9b-127d-46c6-8cd9-192dda272222", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "01b9d972-b008-4e8c-a8a7-6b0b9fef6c45", + "name": "button2", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "Execute query" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.executeGeneratedQuery.isLoading}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "disabledState": { + "fxActive": true, + "value": "{{(variables?.generatedQuery ?? \"\").length < 1}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "b20d7496-d79c-4000-85f2-9565ea7a3129", + "type": "desktop", + "top": 890, + "left": 79.06977250719663, + "width": 8, + "height": 40, + "componentId": "01b9d972-b008-4e8c-a8a7-6b0b9fef6c45", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3db02eb1-2434-4f98-9a49-aba2cff5c86d", + "type": "mobile", + "top": 850, + "left": 76.74418604651164, + "width": 6.976744186046512, + "height": 30, + "componentId": "01b9d972-b008-4e8c-a8a7-6b0b9fef6c45", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "c6a8892a-ef27-4075-8c38-88de6d62a000", + "name": "button3", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "text": { + "value": "Delete this table" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#dd000013" + }, + "textColor": { + "value": "#dd0000ff" + }, + "loaderColor": { + "value": "#dd0000ff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{components.table2.selectedRow.table_name != undefined}}" + }, + "disabledState": { + "value": "{{queries.getTableSchema.isLoading || queries.getTableData.isLoading}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "f024ff24-97aa-4575-b457-8d6340fa1760", + "type": "mobile", + "top": 30, + "left": 83.72093023255813, + "width": 6.976744186046512, + "height": 30, + "componentId": "c6a8892a-ef27-4075-8c38-88de6d62a000", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ce73cbdb-f4c4-475a-9960-94d2406605a4", + "type": "desktop", + "top": 29.999984741210938, + "left": 86.04654615324684, + "width": 4.999999999999999, + "height": 40, + "componentId": "c6a8892a-ef27-4075-8c38-88de6d62a000", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "name": "button4", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "095cd815-afb4-44c4-9824-208c633606fa", + "properties": { + "text": { + "value": "Edit this table" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd12" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "fxActive": true, + "value": "{{components.table2.selectedRow.table_name != undefined}}" + }, + "disabledState": { + "fxActive": true, + "value": "{{queries.getTableSchema.isLoading || queries.getTableData.isLoading}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "40842f1c-176a-46ab-9b73-4deec730762d", + "type": "mobile", + "top": 30, + "left": 83.72093023255813, + "width": 6.976744186046512, + "height": 30, + "componentId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0174895c-6144-4ef7-95e7-b2b5f7b698c7", + "type": "desktop", + "top": 29.999984741210938, + "left": 72.09301752710522, + "width": 4.999999999999999, + "height": 40, + "componentId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "name": "modal2", + "type": "Modal", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": null, + "properties": { + "title": { + "value": "{{`Delete table ${components.table2.selectedRow.table_name}`}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "350px" + } + }, + "general": {}, + "styles": { + "headerTextColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "92585725-804f-4bc9-bf06-d4c8cae847b0", + "type": "mobile", + "top": 850, + "left": 20.930232558139537, + "width": 10, + "height": 34, + "componentId": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a63b38d2-81f0-407a-acc6-5f38b29842c7", + "type": "desktop", + "top": 840, + "left": 16.279068025560765, + "width": 5, + "height": 30, + "componentId": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "updatedAt": "2024-05-03T07:58:21.508Z" + } + ] + }, + { + "id": "1a597f61-3c56-4f7f-9d95-fb8c524301c1", + "name": "text18", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "properties": { + "text": { + "value": "{{`Warning ⚠️ : This action is irreversible.\n
\nAre you sure you want to permanently delete table  ${components.table2.selectedRow.table_name}  ?`}}" + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "left" + }, + "textSize": { + "value": "16" + }, + "lineHeight": { + "value": "2" + }, + "isScrollRequired": { + "value": "disabled" + }, + "verticalAlignment": { + "value": "top" + }, + "backgroundColor": { + "fxActive": false, + "value": "#fff00000" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "51667ee0-2f0a-4940-a2c5-175462b1b887", + "type": "mobile", + "top": 50, + "left": 13.953488372093025, + "width": 13.953488372093023, + "height": 40, + "componentId": "1a597f61-3c56-4f7f-9d95-fb8c524301c1", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1ef473ac-16a4-4b40-bac9-90d4b32f0ede", + "type": "desktop", + "top": 20, + "left": 4.651163871782319, + "width": 39.00000000000001, + "height": 100, + "componentId": "1a597f61-3c56-4f7f-9d95-fb8c524301c1", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3316a9f5-0e53-4377-880c-48f57ecd49c8", + "name": "text20", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "properties": { + "text": { + "value": "{{`
${(variables?.generatedQuery ?? \"\")}
`}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff", + "fxActive": false + }, + "verticalAlignment": { + "value": "top" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "6e074c55-1156-414d-9af2-58281023a5a3", + "type": "desktop", + "top": 180, + "left": 4.651162790697675, + "width": 39.00000000000001, + "height": 70, + "componentId": "3316a9f5-0e53-4377-880c-48f57ecd49c8", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "95136757-9fbf-472e-86a1-3a1499112a18", + "type": "mobile", + "top": 600, + "left": 18.604651162790695, + "width": 13.953488372093023, + "height": 40, + "componentId": "3316a9f5-0e53-4377-880c-48f57ecd49c8", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "8d9706ec-5d60-4a05-a453-689c352e825a", + "name": "text19", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "properties": { + "text": { + "value": "
Query to be executed:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "40b27f0f-b452-431f-ab02-7f493fe05960", + "type": "desktop", + "top": 140, + "left": 4.65116288180019, + "width": 13, + "height": 40, + "componentId": "8d9706ec-5d60-4a05-a453-689c352e825a", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a5f3ff00-60f0-4536-a33a-a5eb1e41cb6f", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "8d9706ec-5d60-4a05-a453-689c352e825a", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "1d5f62f3-7887-4188-a061-f23ff9197fd1", + "name": "button5", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "properties": { + "text": { + "value": "Confirm" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.executeGeneratedQuery.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "48437bb2-df6d-438d-9601-b79e9ca74354", + "type": "mobile", + "top": 310, + "left": 69.76744186046513, + "width": 6.976744186046512, + "height": 30, + "componentId": "1d5f62f3-7887-4188-a061-f23ff9197fd1", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ef3b5b68-918b-435b-b2e2-da82789365ea", + "type": "desktop", + "top": 280, + "left": 79.06977446838876, + "width": 7, + "height": 40, + "componentId": "1d5f62f3-7887-4188-a061-f23ff9197fd1", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "27f57fb8-e876-44b6-9009-06316317667d", + "name": "button6", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "70c2a0c3-765c-497a-b72d-616cf2779281", + "type": "mobile", + "top": 280, + "left": 62.79069767441862, + "width": 6.976744186046512, + "height": 30, + "componentId": "27f57fb8-e876-44b6-9009-06316317667d", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "82b11c96-4a19-45f9-b95a-19e385e91cdd", + "type": "desktop", + "top": 280, + "left": 60.46511482110582, + "width": 7, + "height": 40, + "componentId": "27f57fb8-e876-44b6-9009-06316317667d", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "4204bb91-a485-4a28-a856-59be67b731f0", + "name": "text31", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "{{`
${(variables?.generatedQuery ?? \"\")\n .replaceAll(\"\\n\", \"
\")\n .replaceAll(\"\\t\", \"    \")}
`}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "verticalAlignment": { + "value": "top" + }, + "borderRadius": { + "value": "10" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "5ba17bf6-7775-4e9c-b72b-bd27cc14297e", + "type": "desktop", + "top": 1030, + "left": 4.651167206670694, + "width": 40, + "height": 260, + "componentId": "4204bb91-a485-4a28-a856-59be67b731f0", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1ea33d4c-4b08-499d-ae85-bca3adb77759", + "type": "mobile", + "top": 600, + "left": 18.604651162790695, + "width": 13.953488372093023, + "height": 40, + "componentId": "4204bb91-a485-4a28-a856-59be67b731f0", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "name": "modal3", + "type": "Modal", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": null, + "properties": { + "title": { + "value": "Edit table" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "size": { + "value": "xl" + }, + "modalHeight": { + "value": "1400px" + } + }, + "general": {}, + "styles": { + "headerTextColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "5afdd874-a46a-4bdf-b4b3-725259e1aa70", + "type": "mobile", + "top": 854, + "left": 4.651162790697675, + "width": 10, + "height": 34, + "componentId": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "18d0273d-8652-4384-9834-c17b34ce7d01", + "type": "desktop", + "top": 840, + "left": 30.232554564982543, + "width": 5, + "height": 30, + "componentId": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "updatedAt": "2024-05-03T07:58:21.508Z" + } + ] + }, + { + "id": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "name": "container4", + "type": "Container", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "4407826e-354a-42af-a1b9-01e40fc1d4c7", + "type": "mobile", + "top": 100, + "left": 9.30232558139535, + "width": 11.627906976744185, + "height": 200, + "componentId": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1945e68d-8860-4566-9812-efa16a773b4e", + "type": "desktop", + "top": 560, + "left": 4.65116749190014, + "width": 40, + "height": 60, + "componentId": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "68b86d86-cb0f-4d5a-a0bd-edae33bc3542", + "name": "text21", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "properties": { + "text": { + "value": "
Column name
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "a2432980-dd17-47ba-a0c2-35e3e144a3b0", + "type": "desktop", + "top": 10, + "left": 2.325579106460807, + "width": 5, + "height": 30, + "componentId": "68b86d86-cb0f-4d5a-a0bd-edae33bc3542", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "dcdf5c0d-4da5-4b25-83b6-79efd4ffca84", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "68b86d86-cb0f-4d5a-a0bd-edae33bc3542", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "9d2296b6-6c3b-47f1-ae58-a7c9a86f3090", + "name": "text22", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "properties": { + "text": { + "value": "
Column type
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "089b54df-9953-4552-b442-5970e085e0fd", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "9d2296b6-6c3b-47f1-ae58-a7c9a86f3090", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "30813bb8-2ad4-4195-b981-46a668cfa487", + "type": "desktop", + "top": 10, + "left": 18.604647894506808, + "width": 6.999999999999999, + "height": 30, + "componentId": "9d2296b6-6c3b-47f1-ae58-a7c9a86f3090", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3265eb77-f11b-4800-b3f4-003b54529a49", + "name": "text23", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "properties": { + "text": { + "value": "
Length (n)
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "c177fc1e-bae1-4251-832a-c7db8d8832d0", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "3265eb77-f11b-4800-b3f4-003b54529a49", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "189f5291-f691-4013-af3c-4ce678207dd1", + "type": "desktop", + "top": 10, + "left": 39.534856922637886, + "width": 6, + "height": 30, + "componentId": "3265eb77-f11b-4800-b3f4-003b54529a49", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "708fba4c-b5d2-44cc-ba6b-c9b366f5f275", + "name": "text24", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "properties": { + "text": { + "value": "
Nullable
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "62debdaa-c77f-4ee4-9036-5f2897ca4120", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "708fba4c-b5d2-44cc-ba6b-c9b366f5f275", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "566b8d22-9c27-46c1-945b-8a447b5c7c8e", + "type": "desktop", + "top": 10, + "left": 79.06976173738735, + "width": 4, + "height": 30, + "componentId": "708fba4c-b5d2-44cc-ba6b-c9b366f5f275", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "44fe4693-683d-451e-8ca8-de51812587f3", + "name": "text25", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "f008a81f-07cb-4b7b-b134-dc89debe157c", + "properties": { + "text": { + "value": "
Default value
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "70071c0a-4da9-4482-9a4a-1210db18a411", + "type": "desktop", + "top": 10, + "left": 55.813962667512804, + "width": 6, + "height": 30, + "componentId": "44fe4693-683d-451e-8ca8-de51812587f3", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "4a7b10cf-87f3-4419-9219-c0a550c15f7a", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "44fe4693-683d-451e-8ca8-de51812587f3", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "8549ad25-c64f-4c4b-8579-1210a93d91d2", + "name": "textinput4", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter table name" + }, + "tooltip": { + "value": "{{ !components.textinput4.isValid ? \"Hover over info icon for conditions regarding table name.\" : \"\"}}" + }, + "value": { + "value": "{{components.table2.selectedRow.table_name}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{/^[a-z_][a-z0-9_]{0,30}$/\n.test(components.textinput4.value) ? true : \" \"}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e0c7e6f3-161d-4185-b2a0-cb8a705148fe", + "type": "mobile", + "top": 30, + "left": 18.6046511627907, + "width": 23.25581395348837, + "height": 40, + "componentId": "8549ad25-c64f-4c4b-8579-1210a93d91d2", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ef0a2a79-aeba-4f50-ac8c-031ff955b621", + "type": "desktop", + "top": 20, + "left": 13.953499304740784, + "width": 34, + "height": 40, + "componentId": "8549ad25-c64f-4c4b-8579-1210a93d91d2", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "4842c102-9648-463a-92bc-50ed002f2ccb", + "name": "text26", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
Table name
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "3718bff7-a157-4407-92f0-05a9de95e7b1", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "4842c102-9648-463a-92bc-50ed002f2ccb", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "cd76e47b-455c-4f37-852c-e68505e64d0d", + "type": "desktop", + "top": 20, + "left": 4.651169533702731, + "width": 4, + "height": 40, + "componentId": "4842c102-9648-463a-92bc-50ed002f2ccb", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "name": "listview2", + "type": "Listview", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "data": { + "value": "{{variables.tableColumns}}" + }, + "rowHeight": { + "value": "85" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{10}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e68bd431-88a2-4179-824b-4a408918ff72", + "type": "mobile", + "top": 150, + "left": 4.651162790697675, + "width": 46.51162790697674, + "height": 300, + "componentId": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "47236069-8774-49e1-8cd8-08c6a20e17fe", + "type": "desktop", + "top": 620, + "left": 4.651166022445987, + "width": 40, + "height": 300, + "componentId": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "2430ad1a-00ef-497a-926c-ad235d304ae2", + "name": "add_column_name", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "value": { + "value": "{{listItem?.column_name ?? \"\"}}" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "Column name" + }, + "tooltip": { + "value": "{{(components?.listview2?.data[listItem.id]?.add_column_name?.isValid ?? false) ? \"\" : \"Column name must start with a lowercase letter or underscore, followed by lowercase letters, numbers, or underscores, and of maximum 31 characters.\"}}" + }, + "visibility": { + "fxActive": false + }, + "disabledState": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "mandatory": { + "value": "{{true}}" + }, + "customRule": { + "value": "{{/^[a-z_][a-z0-9_]{0,30}$/\n.test(components.listview2.data[listItem.id].add_column_name.value) ? true : \" \"}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "0ba68c07-183d-4d45-9eb9-ebe54003b4ab", + "type": "mobile", + "top": 10, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "2430ad1a-00ef-497a-926c-ad235d304ae2", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3ba15599-4351-4fb4-894c-dea5c4bb3cbc", + "type": "desktop", + "top": 20, + "left": 2.325541131842148, + "width": 6, + "height": 40, + "componentId": "2430ad1a-00ef-497a-926c-ad235d304ae2", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "e49b8249-2fd3-46ec-baee-ed706ffa3f8c", + "name": "add_length", + "type": "NumberInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "value": { + "value": "{{listItem?.length ?? 255}}" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "" + }, + "decimalPlaces": { + "value": "{{0}}" + }, + "tooltip": { + "value": "{{components.listview2.data[listItem.id].add_column_type.value == \"varchar\" && (components.listview2.data[listItem.id].add_length.value || 0) < 1 ? \"Invalid varchar length.\" : \"\"}}" + }, + "visibility": { + "value": "{{(components?.listview2?.data[listItem.id]?.add_column_type?.value ?? \"\") == \"varchar\"}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{components.listview2.data[listItem.id].add_column_type.value == \"varchar\" && (components.listview2.data[listItem.id].add_length.value || 0) < 1 ? \" \" : true}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "4ab3ec02-967f-4b81-8e22-402c4a36f7ba", + "type": "mobile", + "top": 20, + "left": 53.48837209302326, + "width": 23.25581395348837, + "height": 40, + "componentId": "e49b8249-2fd3-46ec-baee-ed706ffa3f8c", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a6ee7d48-6b8b-4fe8-806f-66238e81c515", + "type": "desktop", + "top": 20, + "left": 39.53490909730696, + "width": 6, + "height": 40, + "componentId": "e49b8249-2fd3-46ec-baee-ed706ffa3f8c", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "4958aed2-09f2-4b0e-a040-a19b0148f277", + "name": "add_column_type", + "type": "DropDown", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{listItem.column_type}}" + }, + "values": { + "value": "{{[\n \"bigint\",\n \"bigserial\",\n \"boolean\",\n \"float4\",\n \"float8\",\n \"integer\",\n \"numeric\",\n \"serial\",\n \"text\",\n \"timestamp\",\n \"timestamptz\",\n \"uuid\",\n \"varchar\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"bigint\",\n \"bigserial\",\n \"boolean\",\n \"float4\",\n \"float8\",\n \"integer\",\n \"numeric\",\n \"serial\",\n \"text\",\n \"timestamp\",\n \"timestamptz\",\n \"uuid\",\n \"varchar(n)\"\n]}}" + }, + "placeholder": { + "value": "Select column type" + } + }, + "general": { + "tooltip": { + "value": "{{components.listview2.data[listItem.id].add_column_type.value == undefined ? \"Please select a column type.\" : \"\"}}" + } + }, + "styles": { + "borderRadius": { + "value": "5" + }, + "visibility": { + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{components.listview2.data[listItem.id].add_column_type.value == undefined ? \" \" : true}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "c6de5ed5-c637-4291-874b-257a5b851612", + "type": "mobile", + "top": 20, + "left": 25.581395348837212, + "width": 18.6046511627907, + "height": 30, + "componentId": "4958aed2-09f2-4b0e-a040-a19b0148f277", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "fbb6d2c9-00f9-4443-833a-b828289f5359", + "type": "desktop", + "top": 20, + "left": 18.604663548629134, + "width": 8, + "height": 40, + "componentId": "4958aed2-09f2-4b0e-a040-a19b0148f277", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "0d7c1f20-b5ba-4810-9abd-cbb5ab54f7e3", + "name": "add_nullable", + "type": "ToggleSwitch", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "label": { + "value": "" + }, + "defaultValue": { + "value": "{{listItem?.nullable ?? true}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "toggleSwitchColor": { + "value": "#3e63ddff" + }, + "visibility": { + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview2.data[listItem.id].add_column_type.value)}}", + "fxActive": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "b201c75b-4f16-47b7-8ad8-4f3884917dae", + "type": "mobile", + "top": 30, + "left": 79.06976744186046, + "width": 13.953488372093023, + "height": 30, + "componentId": "0d7c1f20-b5ba-4810-9abd-cbb5ab54f7e3", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1c776c24-d772-4248-befa-24ad7fdc6815", + "type": "desktop", + "top": 24, + "left": 79.06976154170927, + "width": 3, + "height": 40, + "componentId": "0d7c1f20-b5ba-4810-9abd-cbb5ab54f7e3", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "40768c57-c910-42e3-95b8-2f454bb649d5", + "name": "add_default_value", + "type": "TextInput", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "value": { + "value": "{{listItem?.default_value ?? \"\"}}" + }, + "label": { + "value": "" + }, + "placeholder": { + "value": "{{({\n \"bigint\": \"1234567890\",\n \"boolean\": \"true\",\n \"float4\": \"1234567.89\",\n \"float8\": \"123456789012345.6789\",\n \"integer\": \"1234567890\",\n \"numeric\": \"12345.6789\",\n \"text\": \"Lorem ipsum dolor sit amet\",\n \"timestamp\": \"2021-04-25 12:34:56\",\n \"timestamptz\": \"2021-04-25 12:34:56\",\n \"varchar\": \"Lorem ipsum dolor sit amet\"\n}\n)[components.listview2.data[listItem.id].add_column_type.value]}}" + }, + "visibility": { + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview2.data[listItem.id].add_column_type.value)}}", + "fxActive": true + }, + "tooltip": { + "value": "{{components.listview2.data[listItem.id].add_default_value.isValid\n ? \"\"\n : !components.listview2.data[listItem.id].add_nullable.value &&\n components.listview2.data[listItem.id].add_default_value.value == \"\"\n ? \"Default value cannot be empty if column is not nullable.\"\n : \"Default value does not match with column type.\"}}" + }, + "disabledState": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "customRule": { + "value": "{{ ![\"undefined\", \"bigserial\", \"serial\", \"uuid\"].includes(\n components.listview2.data[listItem.id].add_column_type.value\n) &&\n(!components.listview2.data[listItem.id].add_nullable.value ||\n components.listview2.data[listItem.id].add_default_value.value != \"\")\n ? (\n {\n bigint: /^-?\\d+$/,\n boolean: /^(true|false)$/,\n float4: /^-?\\d{1,7}(\\.\\d+)?$/,\n float8: /^-?\\d{1,15}(\\.\\d+)?$/,\n integer: /^-?\\d+$/,\n numeric: /^-?\\d+(\\.\\d+)?$/,\n text: /.+/,\n timestamp: /^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$/,\n timestamptz: /^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$/,\n varchar: /.+/,\n }[components.listview2.data[listItem.id].add_column_type.value || \"\"] ?? \"\"\n ).test(components.listview2.data[listItem.id].add_default_value.value || \"\")\n ? true\n : \" \"\n : true}}" + }, + "mandatory": { + "value": "{{false}}" + } + }, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "cbd3ef4e-5937-4198-b609-6fbe0be544b3", + "type": "mobile", + "top": 10, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "40768c57-c910-42e3-95b8-2f454bb649d5", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0b408cfc-99d6-4e55-8580-c6693298daa8", + "type": "desktop", + "top": 20, + "left": 55.81397489829287, + "width": 8.999999999999998, + "height": 40, + "componentId": "40768c57-c910-42e3-95b8-2f454bb649d5", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "name": "text27", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "e8618d60-7cb4-4a0f-8ed7-3deb6f34aed1", + "properties": { + "text": { + "value": "\n \n \n \n \n" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#dd00001a" + }, + "textSize": { + "value": "14" + }, + "textAlign": { + "value": "center" + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "b5c85c92-2c60-4348-8cf1-ae718be3cd03", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3e009691-2414-4e7d-a143-624416c4798a", + "type": "desktop", + "top": 20, + "left": 90.69765808994107, + "width": 2, + "height": 40, + "componentId": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "a716660f-d9e2-4de4-9572-2b611f66fecf", + "name": "text28", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "ℹ" + }, + "tooltip": { + "value": "Table names must start with a lowercase letter or underscore, followed by lowercase letters, numbers, or underscores, and of maximum 31 characters." + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "20" + }, + "textAlign": { + "value": "center" + }, + "borderColor": { + "fxActive": false + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e08a1e41-efc5-4ece-bcd0-a4fd19b566b3", + "type": "mobile", + "top": 170, + "left": 55.81395348837209, + "width": 13.953488372093023, + "height": 40, + "componentId": "a716660f-d9e2-4de4-9572-2b611f66fecf", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "208f6aba-64dc-44dd-b82d-7205f56b25c7", + "type": "desktop", + "top": 20, + "left": 93.02325375949661, + "width": 2, + "height": 40, + "componentId": "a716660f-d9e2-4de4-9572-2b611f66fecf", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "3193e242-5d40-456d-a5da-f1cffa5f47fb", + "name": "text29", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
+ Add new column
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "", + "fxActive": false + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "14" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "0" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "39bbe8db-63bb-490d-ab21-e1ab9795576d", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "3193e242-5d40-456d-a5da-f1cffa5f47fb", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "2209dd14-dd6e-478b-bc9e-fa9bb8b925ec", + "type": "desktop", + "top": 930, + "left": 4.651165851739298, + "width": 31, + "height": 40, + "componentId": "3193e242-5d40-456d-a5da-f1cffa5f47fb", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "610fc3c5-37cf-4667-829b-968e1d65b354", + "name": "text30", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
Generate query
" + }, + "disabledState": { + "value": "{{ !components.textinput4.isValid ||\n (variables.tableColumns.length < 1 &&\n Object.values(components.listview3.data).filter((row) => !row.include.value)\n .length < 1) ||\n variables.tableColumns\n .map(\n (row) =>\n !components.listview2.data[row.id].add_column_name.isValid ||\n !components.listview2.data[row.id].add_column_type.isValid ||\n !components.listview2.data[row.id].add_length.isValid ||\n !components.listview2.data[row.id].add_default_value.isValid\n )\n .includes(true)}}", + "fxActive": true + }, + "visibility": { + "fxActive": true + }, + "tooltip": { + "value": "{{ !components.textinput4.isValid\n ? \"The specified table name is either empty or invalid.\"\n : variables.tableColumns.length < 1 &&\n Object.values(components.listview3.data).filter((row) => !row.include.value)\n .length < 1\n ? \"Please add or uncheck a column to proceed.\"\n : variables.tableColumns\n .map(\n (row) =>\n !components.listview2.data[row.id].add_column_name.isValid ||\n !components.listview2.data[row.id].add_column_type.isValid ||\n !components.listview2.data[row.id].add_length.isValid ||\n !components.listview2.data[row.id].add_default_value.isValid\n )\n .includes(true)\n ? \"The parameter(s) for the specified table columns is either empty or invalid.\"\n : \"\"}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff", + "fxActive": false + }, + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "14" + }, + "textAlign": { + "value": "center" + }, + "fontWeight": { + "value": "bold" + }, + "textIndent": { + "value": "0" + }, + "borderColor": { + "fxActive": false + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "1fc83ca1-94cb-452e-82d7-a0f47fcf8e30", + "type": "mobile", + "top": 50, + "left": 76.74418604651163, + "width": 13.953488372093023, + "height": 40, + "componentId": "610fc3c5-37cf-4667-829b-968e1d65b354", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1b49d0ea-6e37-4af6-a7a9-6328fe8957ec", + "type": "desktop", + "top": 930, + "left": 79.06972937204834, + "width": 8, + "height": 40, + "componentId": "610fc3c5-37cf-4667-829b-968e1d65b354", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "6ea1d122-a7f6-4922-b1bd-85335b8113a6", + "name": "text32", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
Generated query:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "8b1267e9-648a-4325-ad45-f2cf37d8cc3f", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "6ea1d122-a7f6-4922-b1bd-85335b8113a6", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a53dd41e-bef6-4672-ba6e-5e7a81fe8987", + "type": "desktop", + "top": 990, + "left": 4.651183855617895, + "width": 7, + "height": 40, + "componentId": "6ea1d122-a7f6-4922-b1bd-85335b8113a6", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "5b40d947-a146-4997-ba4a-e6b1b1a774b2", + "name": "text33", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "" + }, + "tooltip": { + "value": "Copy query to clipboard" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "", + "fxActive": false + }, + "textAlign": { + "value": "center" + }, + "borderColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "981fd470-c8b1-486b-9a4f-076ee4685f3d", + "type": "mobile", + "top": 520, + "left": 69.76744186046513, + "width": 13.953488372093023, + "height": 40, + "componentId": "5b40d947-a146-4997-ba4a-e6b1b1a774b2", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "6a2a1711-8d09-476c-bc31-4f908d1ab916", + "type": "desktop", + "top": 990, + "left": 93.02327783817123, + "width": 2, + "height": 40, + "componentId": "5b40d947-a146-4997-ba4a-e6b1b1a774b2", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "5e3901db-65e9-42b7-826f-96e6cabdb744", + "name": "button7", + "type": "Button", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "Execute query" + }, + "loadingState": { + "value": "{{queries.executeGeneratedQuery.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{(variables?.generatedQuery ?? \"\").length < 1}}", + "fxActive": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "d16c4a47-4cef-4512-8ea9-4104c176fa05", + "type": "mobile", + "top": 850, + "left": 76.74418604651164, + "width": 6.976744186046512, + "height": 30, + "componentId": "5e3901db-65e9-42b7-826f-96e6cabdb744", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0ccfab8a-e3bb-49ca-9e42-0f01bf834074", + "type": "desktop", + "top": 1310, + "left": 79.06978372676494, + "width": 8, + "height": 40, + "componentId": "5e3901db-65e9-42b7-826f-96e6cabdb744", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "18bd502d-7099-48bd-a205-32505a69867e", + "name": "text35", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "properties": { + "text": { + "value": "
Column type
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e260c42f-6741-4738-afa9-6b374999d9b5", + "type": "desktop", + "top": 10, + "left": 34.88371953574772, + "width": 6, + "height": 30, + "componentId": "18bd502d-7099-48bd-a205-32505a69867e", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3faa3d1a-0dea-44c3-bd8f-7c371943a220", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "18bd502d-7099-48bd-a205-32505a69867e", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "name": "container5", + "type": "Container", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "5d549e7d-67ba-469a-9e41-69601d2348c3", + "type": "mobile", + "top": 100, + "left": 9.30232558139535, + "width": 11.627906976744185, + "height": 200, + "componentId": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "b45bd7bd-bf58-437d-98cb-93e6b70b8fb2", + "type": "desktop", + "top": 130, + "left": 4.651164732006152, + "width": 40, + "height": 60, + "componentId": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "99f72c43-816b-40f0-9201-e8294de4b9ee", + "name": "text38", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "properties": { + "text": { + "value": "
Default value
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "c9e593d8-76d1-4ab0-855d-14ca2d2ab7c9", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "99f72c43-816b-40f0-9201-e8294de4b9ee", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "65653264-4b79-42d7-a5a8-18c8706fcaef", + "type": "desktop", + "top": 10, + "left": 51.16279846156293, + "width": 6, + "height": 30, + "componentId": "99f72c43-816b-40f0-9201-e8294de4b9ee", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "608d21ee-b365-4077-af4f-2a15626c163e", + "name": "text37", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "properties": { + "text": { + "value": "
Nullable
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "64d6b835-3494-459c-a18e-5521998ae5c4", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "608d21ee-b365-4077-af4f-2a15626c163e", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "eb934990-cbe3-46fc-a312-20bbc3ee1ba5", + "type": "desktop", + "top": 10, + "left": 88.3720930232558, + "width": 4, + "height": 30, + "componentId": "608d21ee-b365-4077-af4f-2a15626c163e", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "8b08e482-9e5d-45bf-b098-f9f0bf1a1f1b", + "name": "text34", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "ae9157e9-23b3-4649-a3ac-037754cc2200", + "properties": { + "text": { + "value": "
Column name
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "16" + }, + "textIndent": { + "value": "10" + }, + "isScrollRequired": { + "value": "disabled" + }, + "transformation": { + "value": "none" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "79a76f06-1444-45e5-a76d-0ebfbaed7e47", + "type": "mobile", + "top": 20, + "left": 0, + "width": 13.953488372093023, + "height": 40, + "componentId": "8b08e482-9e5d-45bf-b098-f9f0bf1a1f1b", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0e5f77b5-8ef7-4810-8ae9-6e712a364ffc", + "type": "desktop", + "top": 10, + "left": 6.976738126012872, + "width": 5, + "height": 30, + "componentId": "8b08e482-9e5d-45bf-b098-f9f0bf1a1f1b", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "57972bd5-7807-4307-aec4-aa69bef208af", + "name": "listview3", + "type": "Listview", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "data": { + "value": "{{variables.tableExistingColumns}}" + }, + "rowHeight": { + "value": "65" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{10}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "dbb53170-7952-4e10-8341-f9e9173e1cdb", + "type": "mobile", + "top": 150, + "left": 4.651162790697675, + "width": 46.51162790697674, + "height": 300, + "componentId": "57972bd5-7807-4307-aec4-aa69bef208af", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "915d7ab3-1c4c-496d-9161-405a5335760b", + "type": "desktop", + "top": 190, + "left": 4.651157748322459, + "width": 40, + "height": 300, + "componentId": "57972bd5-7807-4307-aec4-aa69bef208af", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "47add1a1-2a32-4c0f-995e-e5ff2dbefca0", + "name": "current_column_name", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "57972bd5-7807-4307-aec4-aa69bef208af", + "properties": { + "text": { + "value": "{{listItem.column_name}}" + } + }, + "general": {}, + "styles": { + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "4f932c3f-e6dd-46c9-a6f4-66d8dc41d923", + "type": "mobile", + "top": 20, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "47add1a1-2a32-4c0f-995e-e5ff2dbefca0", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "3d1c5ff3-8377-4847-8df3-852aa9a92aea", + "type": "desktop", + "top": 10, + "left": 6.976744186046512, + "width": 11, + "height": 40, + "componentId": "47add1a1-2a32-4c0f-995e-e5ff2dbefca0", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "03901a2b-cf68-42c1-b195-826df43b5a0a", + "name": "current_column_type", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "57972bd5-7807-4307-aec4-aa69bef208af", + "properties": { + "text": { + "value": "{{listItem.column_type}}" + } + }, + "general": {}, + "styles": { + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#888888ff" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "da4e0f16-9963-4bd5-8ba2-edca750ab956", + "type": "mobile", + "top": 20, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "03901a2b-cf68-42c1-b195-826df43b5a0a", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "29f81d4a-1667-4e34-be11-2bf2b5aec103", + "type": "desktop", + "top": 10, + "left": 34.88371953574772, + "width": 6, + "height": 40, + "componentId": "03901a2b-cf68-42c1-b195-826df43b5a0a", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "99f6c97b-c3c2-41bc-9dbe-1cc52cd6209e", + "name": "text41", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "57972bd5-7807-4307-aec4-aa69bef208af", + "properties": { + "text": { + "value": "{{listItem.default_value}}" + }, + "visibility": { + "fxActive": true, + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview3.data[listItem.id].current_column_type.text)}}" + } + }, + "general": {}, + "styles": { + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#888888ff" + }, + "isScrollRequired": { + "value": "enabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e93f2081-1ae7-4edd-8644-679fdfeb2994", + "type": "mobile", + "top": 20, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "99f6c97b-c3c2-41bc-9dbe-1cc52cd6209e", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "736858bb-969e-43d7-8e74-f868bc7907f7", + "type": "desktop", + "top": 10, + "left": 51.16279846156293, + "width": 15, + "height": 40, + "componentId": "99f6c97b-c3c2-41bc-9dbe-1cc52cd6209e", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "68b2dd0a-eb4a-44db-b849-14e40efca072", + "name": "include", + "type": "Checkbox", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "57972bd5-7807-4307-aec4-aa69bef208af", + "properties": { + "label": { + "value": "" + }, + "defaultValue": { + "fxActive": true, + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "e0390fa7-76e2-42f2-9b91-a32f50f9a9c7", + "type": "desktop", + "top": 14, + "left": 2.3256406673284755, + "width": 2, + "height": 30, + "componentId": "68b2dd0a-eb4a-44db-b849-14e40efca072", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "cb06a473-d069-41ba-a424-416c3b4eb82e", + "type": "mobile", + "top": 20, + "left": 2.3255813953488373, + "width": 11.627906976744185, + "height": 30, + "componentId": "68b2dd0a-eb4a-44db-b849-14e40efca072", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "bc434706-20f7-4119-9aef-605926f15733", + "name": "text40", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "57972bd5-7807-4307-aec4-aa69bef208af", + "properties": { + "text": { + "value": "{{listItem.nullable ? \"YES\" : \"NO\"}}" + }, + "visibility": { + "value": "{{ ![\n undefined, \"bigserial\",\n \"serial\",\n \"uuid\",\n].includes(components.listview3.data[listItem.id].current_column_type.text)}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "textIndent": { + "value": "10" + }, + "borderColor": { + "value": "#888888ff" + }, + "textAlign": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "4a06f99f-e6fd-4d8b-bc59-1ad23f190f58", + "type": "desktop", + "top": 10, + "left": 88.37209864370149, + "width": 3, + "height": 40, + "componentId": "bc434706-20f7-4119-9aef-605926f15733", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ab143a39-ef33-4b4e-a03a-2f3d433f1025", + "type": "mobile", + "top": 20, + "left": 4.651162790697675, + "width": 13.953488372093023, + "height": 40, + "componentId": "bc434706-20f7-4119-9aef-605926f15733", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "9d288a96-a526-4ba5-a670-08fa66c6cf60", + "name": "text42", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "19c32706-a2ff-4d93-964e-b3df2671c363", + "properties": { + "text": { + "value": "
Columns to be added:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "c0d082f3-86e0-4889-90d1-a9acfe9e1f51", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "9d288a96-a526-4ba5-a670-08fa66c6cf60", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a296533b-2fdd-4939-9e72-32baaaeb39ad", + "type": "desktop", + "top": 80, + "left": 4.651170672407315, + "width": 7, + "height": 40, + "componentId": "9d288a96-a526-4ba5-a670-08fa66c6cf60", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "fabcd823-78ee-44ea-8004-24f9c7d9a3c1", + "name": "text43", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
Columns to be kept:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "6870483f-4ed1-4bd6-a31a-95ae982f0217", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "fabcd823-78ee-44ea-8004-24f9c7d9a3c1", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "7838b033-f004-40d7-bef3-0a74486dd77d", + "type": "desktop", + "top": 90, + "left": 4.6511642498707095, + "width": 12, + "height": 40, + "componentId": "fabcd823-78ee-44ea-8004-24f9c7d9a3c1", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + }, + { + "id": "691adfe6-21c0-4c1b-a74c-6c2c2b8b95c5", + "name": "text44", + "type": "Text", + "pageId": "233360ff-6d3e-4069-b558-6388e243162c", + "parent": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "properties": { + "text": { + "value": "
Columns to be added:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "layouts": [ + { + "id": "51c3ae0e-7f33-4885-81db-1b5d9d3f6297", + "type": "mobile", + "top": 160, + "left": 6.976744186046512, + "width": 13.953488372093023, + "height": 40, + "componentId": "691adfe6-21c0-4c1b-a74c-6c2c2b8b95c5", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "662a3bbe-25be-4b5d-9113-a99d3d4987ef", + "type": "desktop", + "top": 520, + "left": 4.651163023625626, + "width": 12, + "height": 40, + "componentId": "691adfe6-21c0-4c1b-a74c-6c2c2b8b95c5", + "updatedAt": "2024-05-03T07:39:36.705Z" + } + ] + } + ], + "pages": [ + { + "id": "233360ff-6d3e-4069-b558-6388e243162c", + "name": "Home", + "handle": "home", + "index": 0, + "disabled": false, + "hidden": false, + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5" + } + ], + "events": [ + { + "id": "a9b33a7a-7c68-471e-871e-8c8b45e1c3ac", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "copy-to-clipboard", + "alertType": "info", + "contentToCopy": "{{queries.generateCreateQuery.data.query}}" + }, + "sourceId": "caa36a9b-127d-46c6-8cd9-192dda272222", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "fff0a812-f712-4e44-8245-c5fcae84097b", + "name": "onClick", + "index": 0, + "event": { + "key": "tableColumns", + "value": "{{[]}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "9cd8f646-01f0-473e-a633-1ec98a458d1f", + "name": "onClick", + "index": 1, + "event": { + "key": "executionMode", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0bf23a52-a89b-42af-95c3-5f66ec1aab7e", + "name": "onClick", + "index": 2, + "event": { + "key": "generatedQuery", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ef469afb-2a08-4a04-8548-8893fb7dcdb9", + "name": "onClick", + "index": 1, + "event": { + "modal": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "c6a8892a-ef27-4075-8c38-88de6d62a000", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.318Z" + }, + { + "id": "e08153eb-3c7e-485d-ac22-69b235fe717a", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "615604d5-1c97-477c-a279-67d4c1c8a06f", + "actionId": "run-query", + "alertType": "info", + "queryName": "generateDeleteQuery", + "parameters": {} + }, + "sourceId": "c6a8892a-ef27-4075-8c38-88de6d62a000", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.332Z" + }, + { + "id": "3d2eea7d-a7e5-454e-a794-f39c678d8685", + "name": "onClick", + "index": 3, + "event": { + "modal": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "23be3b5d-2888-48bf-a3d0-4491c14cab16", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.348Z" + }, + { + "id": "84245844-5e1c-468e-80ab-fa414e722544", + "name": "onClick", + "index": 0, + "event": { + "key": "rowIdToDelete", + "value": "{{listItem.id}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "cfe74403-27d9-4e3a-b436-a3194b27771a", + "name": "onClick", + "index": 1, + "event": { + "key": "executionMode", + "value": "delete", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "6f25c07c-f506-43d2-ad18-5897a46ad5ee", + "name": "onClick", + "index": 0, + "event": { + "key": "executionMode", + "value": "add", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "3193e242-5d40-456d-a5da-f1cffa5f47fb", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "2dd24147-b486-4006-9a0c-933eab38946f", + "name": "onClick", + "index": 0, + "event": { + "key": "executionMode", + "value": "generate", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "610fc3c5-37cf-4667-829b-968e1d65b354", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "5121dd56-4a8f-4793-bb73-ca3737c18e38", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "copy-to-clipboard", + "alertType": "info", + "contentToCopy": "{{queries.generateCreateQuery.data.query}}" + }, + "sourceId": "5b40d947-a146-4997-ba4a-e6b1b1a774b2", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "1f97e952-bb4f-492e-88d9-6ea6ecba6fd3", + "name": "onDataQueryFailure", + "index": 0, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to fetch the table's data! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "e9f998ba-4045-43d5-87c6-6d1455d1eafc", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "31dd46a4-142c-4499-9083-fb835bc78302", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "tableColumns", + "value": "{{queries.tableDeleteRow.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "c94b9321-e40c-4184-af50-cb9ab5483956", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "68b963ef-425d-483e-a118-69a09958be96", + "name": "onClick", + "index": 0, + "event": { + "modal": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "27f57fb8-e876-44b6-9009-06316317667d", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.133Z" + }, + { + "id": "f7d998ba-d101-4fca-8d8f-97985ecfd8fb", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableUpdationData", + "parameters": {} + }, + "sourceId": "b687d355-e94c-4a19-80fc-86b0f1dc5c86", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.143Z" + }, + { + "id": "8731ea56-0c73-477e-95f7-46a3751b8425", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableUpdationData", + "parameters": {} + }, + "sourceId": "3193e242-5d40-456d-a5da-f1cffa5f47fb", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.155Z" + }, + { + "id": "f4e8265b-49e0-4895-a7c6-2c43ef8fdcbd", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableUpdationData", + "parameters": {} + }, + "sourceId": "610fc3c5-37cf-4667-829b-968e1d65b354", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.163Z" + }, + { + "id": "0017be39-7564-437f-a161-f21996888f0e", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "actionId": "run-query", + "alertType": "info", + "queryName": "executeGeneratedQuery", + "parameters": {} + }, + "sourceId": "5e3901db-65e9-42b7-826f-96e6cabdb744", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.175Z" + }, + { + "id": "5d6a9f7d-f744-454e-8a3c-3ff44531d11b", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "72dbc354-24ab-4c81-adbf-193604979222", + "actionId": "run-query", + "alertType": "info", + "queryName": "tableCreationAddRow", + "runOnlyIf": "{{variables.executionMode == \"add\"}}", + "parameters": {} + }, + "sourceId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.186Z" + }, + { + "id": "bc8b858f-1790-4611-9e00-4e8f38b4e0c9", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "c94b9321-e40c-4184-af50-cb9ab5483956", + "actionId": "run-query", + "alertType": "info", + "queryName": "tableCreationDeleteRow", + "runOnlyIf": "{{variables.executionMode == \"delete\"}}", + "parameters": {} + }, + "sourceId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.193Z" + }, + { + "id": "03539c4f-9170-4056-a6c8-26df740bfc8d", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "actionId": "run-query", + "alertType": "info", + "queryName": "executeGeneratedQuery", + "parameters": {} + }, + "sourceId": "1d5f62f3-7887-4188-a061-f23ff9197fd1", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.125Z" + }, + { + "id": "deaeb529-9557-430c-ae35-d5fceccdad8d", + "name": "onDataQuerySuccess", + "index": 3, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "d3590df1-32d8-4fa2-a5bb-1ac2ac80949f", + "actionId": "run-query", + "alertType": "info", + "queryName": "generateCreateQuery", + "runOnlyIf": "{{variables.executionMode == \"generate\"}}", + "parameters": {} + }, + "sourceId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.201Z" + }, + { + "id": "65486f1e-1b23-46d7-ac02-bfa2fbebd471", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "actionId": "run-query", + "alertType": "info", + "queryName": "executeGeneratedQuery", + "parameters": {} + }, + "sourceId": "01b9d972-b008-4e8c-a8a7-6b0b9fef6c45", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.309Z" + }, + { + "id": "157658da-dd26-46bf-808e-b28412c1ff88", + "name": "onClick", + "index": 0, + "event": { + "key": "tableColumns", + "value": "{{[{id: 0, column_name: \"id\", column_type: \"serial\"}]}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "6fc8d477-f2ad-42e1-ba5d-d2b38b31c942", + "name": "onClick", + "index": 1, + "event": { + "key": "executionMode", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "09df2adc-f745-47fc-99dd-093668f1b03f", + "name": "onClick", + "index": 2, + "event": { + "key": "generatedQuery", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "8b05f822-6135-4237-baa0-2aa155854bf1", + "name": "onClick", + "index": 0, + "event": { + "key": "rowIdToDelete", + "value": "{{listItem.id}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "933622aa-9b51-411d-b17d-87e1963ab047", + "name": "onClick", + "index": 1, + "event": { + "key": "executionMode", + "value": "delete", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "bd67192b-e509-47b3-8fa1-c6a139c7b37a", + "name": "onClick", + "index": 0, + "event": { + "key": "executionMode", + "value": "add", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "7a0a2c5f-f2ee-4e6d-a144-f4b120e456e4", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "12a47265-65bb-49c9-b7a0-6b31ca149fa8", + "name": "onClick", + "index": 0, + "event": { + "key": "executionMode", + "value": "generate", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "2fc7516b-64d8-450d-befd-cc14001f2315", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ae2e21dc-f9c2-4cc2-b849-03b963674c9c", + "name": "onRowClicked", + "index": 1, + "event": { + "eventId": "onRowClicked", + "message": "Hello world!", + "queryId": "027d7008-a281-4fc4-856c-bbe225b4a15b", + "actionId": "run-query", + "alertType": "info", + "queryName": "getTableSchema", + "parameters": {} + }, + "sourceId": "8c34d9fc-ce47-4438-80ae-931e5eb6e4cc", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.056Z" + }, + { + "id": "61c72fd1-4490-4af1-8e71-35ed9332630f", + "name": "onPageChanged", + "index": 0, + "event": { + "eventId": "onPageChanged", + "message": "Hello world!", + "queryId": "e9f998ba-4045-43d5-87c6-6d1455d1eafc", + "actionId": "run-query", + "alertType": "info", + "queryName": "getTableData", + "parameters": {} + }, + "sourceId": "e371cf48-f535-44ea-9da0-b367165e8ad5", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.063Z" + }, + { + "id": "9f4ddb4e-0aaf-4af7-ab6a-588d24195577", + "name": "onClick", + "index": 3, + "event": { + "modal": "19c32706-a2ff-4d93-964e-b3df2671c363", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "b17b26a4-19bb-4845-9773-fe2b94ee2e7b", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.071Z" + }, + { + "id": "35241bbe-9a1a-4bdf-b3c1-cc7d1a8cf2fe", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableCreationData", + "parameters": {} + }, + "sourceId": "0fb173e2-5e32-4dcd-ac77-c17cddbcd65c", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.097Z" + }, + { + "id": "ce456f27-a1cc-4896-8a4c-720641149511", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableCreationData", + "parameters": {} + }, + "sourceId": "7a0a2c5f-f2ee-4e6d-a144-f4b120e456e4", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.107Z" + }, + { + "id": "c01e952c-5779-4643-98e0-b92c89894947", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "actionId": "run-query", + "alertType": "info", + "queryName": "currentTableCreationData", + "parameters": {} + }, + "sourceId": "2fc7516b-64d8-450d-befd-cc14001f2315", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.115Z" + }, + { + "id": "4a077788-5406-4229-8059-aafaa58cc035", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "currentTableData", + "value": "{{queries.currentTableCreationData.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "a617b70a-137a-4c35-922b-f5aee8262db3", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "26e168b7-294d-47d7-8d90-3b369059bf5a", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "tableColumns", + "value": "{{queries.tableAddRow.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "72dbc354-24ab-4c81-adbf-193604979222", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "210bf87b-beef-4e8a-853b-aeaa4d1a46bb", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "generatedQuery", + "value": "{{queries.generateCreateQuery.data.query}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "d3590df1-32d8-4fa2-a5bb-1ac2ac80949f", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "6204137b-498f-4902-942a-88ddc0f59664", + "name": "onDataQuerySuccess", + "index": 3, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Query executed successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "6f6befb3-50d2-4fe2-95de-607d89944309", + "name": "onDataQueryFailure", + "index": 5, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to execute query! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "54d535ed-5d48-4c2d-8938-82de5f275924", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "generatedQuery", + "value": "{{queries.generateDeleteQuery.data.query}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "615604d5-1c97-477c-a279-67d4c1c8a06f", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "746d5915-64e2-4f5c-b5cc-fc11dc4d9458", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "currentTableData", + "value": "{{queries.currentTableUpdationData.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "71025839-c1bf-4680-bde9-08d9e121f6f4", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "generatedQuery", + "value": "{{queries.generateUpdateQuery.data.query}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0787e514-665b-40a3-b667-f318aaac274c", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "75a6a420-c183-4bca-8487-f9fd9d4b52b9", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "tableExistingColumns", + "value": "{{queries.processedTableSchema.data}}", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "e55a1dff-467e-4661-b051-abe3368573a1", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "52f9be2c-c5fb-4e29-bd2a-a8b0c8a46db7", + "name": "onRowClicked", + "index": 0, + "event": { + "eventId": "onRowClicked", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "e371cf48-f535-44ea-9da0-b367165e8ad5", + "componentSpecificActionHandle": "setPage", + "componentSpecificActionParams": [ + { + "value": "{{1}}", + "handle": "page" + } + ] + }, + "sourceId": "8c34d9fc-ce47-4438-80ae-931e5eb6e4cc", + "target": "component", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.047Z" + }, + { + "id": "dc273f7d-9d08-444e-aac7-f0726961db74", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "19c32706-a2ff-4d93-964e-b3df2671c363", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info", + "runOnlyIf": "{{components.modal1.show}}" + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.216Z" + }, + { + "id": "b8a53546-88fc-4b1e-9c2c-b6459403a251", + "name": "onDataQuerySuccess", + "index": 4, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "ba0ded0e-66cb-4d10-9369-584caa44e8ba", + "actionId": "run-query", + "alertType": "info", + "queryName": "getTables", + "parameters": {} + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.226Z" + }, + { + "id": "86a76ac7-6bfd-461f-bb99-97bd30e04c2e", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "modal": "f559eb68-9cec-4db0-9a6a-d867f97bac9a", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info", + "runOnlyIf": "{{components.modal2.show}}" + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.237Z" + }, + { + "id": "15645336-f538-497b-b45f-2088dff541ae", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "modal": "3fa080e9-c9f9-44f1-b64c-1c60adc93c4f", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info", + "runOnlyIf": "{{components.modal3.show}}" + }, + "sourceId": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.246Z" + }, + { + "id": "15f04273-fcd0-43e7-9e05-f5db64be3e88", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e55a1dff-467e-4661-b051-abe3368573a1", + "actionId": "run-query", + "alertType": "info", + "queryName": "processedTableSchema", + "parameters": {} + }, + "sourceId": "027d7008-a281-4fc4-856c-bbe225b4a15b", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.256Z" + }, + { + "id": "014bd0a2-c648-4cc2-a4b6-d1bb1373707c", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "e9f998ba-4045-43d5-87c6-6d1455d1eafc", + "actionId": "run-query", + "alertType": "info", + "queryName": "getTableData", + "parameters": {} + }, + "sourceId": "027d7008-a281-4fc4-856c-bbe225b4a15b", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.264Z" + }, + { + "id": "fc7a5500-f97b-4c6a-a1fc-6bcf40889a43", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "72dbc354-24ab-4c81-adbf-193604979222", + "actionId": "run-query", + "alertType": "info", + "queryName": "tableCreationAddRow", + "runOnlyIf": "{{variables.executionMode == \"add\"}}", + "parameters": {} + }, + "sourceId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.277Z" + }, + { + "id": "027cb98b-c39a-46d7-9400-1c55314d35f0", + "name": "onDataQuerySuccess", + "index": 3, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "0787e514-665b-40a3-b667-f318aaac274c", + "actionId": "run-query", + "alertType": "info", + "queryName": "generateUpdateQuery", + "runOnlyIf": "{{variables.executionMode == \"generate\"}}", + "parameters": {} + }, + "sourceId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.285Z" + }, + { + "id": "8e325960-dbaa-4723-935e-118db1ff3988", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "c94b9321-e40c-4184-af50-cb9ab5483956", + "actionId": "run-query", + "alertType": "info", + "queryName": "tableCreationDeleteRow", + "runOnlyIf": "{{variables.executionMode == \"delete\"}}", + "parameters": {} + }, + "sourceId": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "target": "data_query", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:38.294Z" + } + ], + "dataQueries": [ + { + "id": "c94b9321-e40c-4184-af50-cb9ab5483956", + "name": "tableDeleteRow", + "options": { + "code": "return variables.currentTableData\n .filter((row) => row.id != variables.rowIdToDelete)\n .map((row, n) => ({ ...row, id: n }));", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "a617b70a-137a-4c35-922b-f5aee8262db3", + "name": "currentTableCreationData", + "options": { + "code": "return Object.keys(components.listview1.data)\n .map((row) => parseInt(row))\n .toSorted((a, b) => a - b)\n .slice(0, variables.tableColumns.length)\n .map((row) => ({\n id: row,\n column_name: components.listview1.data[row].column_name.value,\n column_type: components.listview1.data[row].column_type.value,\n length: components.listview1.data[row].length.value,\n default_value: components.listview1.data[row].default_value.value,\n nullable: components.listview1.data[row].nullable.value,\n }));", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "72dbc354-24ab-4c81-adbf-193604979222", + "name": "tableAddRow", + "options": { + "code": "return [\n ...variables.currentTableData,\n { id: variables.currentTableData.length },\n];", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "d3590df1-32d8-4fa2-a5bb-1ac2ac80949f", + "name": "generateCreateQuery", + "options": { + "code": "const columns = variables.currentTableData;\nconst tableName = components.textinput1.value;\n\nlet query = `CREATE TABLE ${tableName} (`;\n\ncolumns.forEach((column, index) => {\n let columnDefinition = `\\n\\t\"${column.column_name}\" ${column.column_type}`;\n if (column.column_type === \"varchar\" && column.length) {\n columnDefinition += `(${column.length})`;\n }\n if (\n ![\"undefined\", \"bigserial\", \"serial\", \"uuid\"].includes(column.column_type)\n ) {\n if (!column.nullable) {\n columnDefinition += ` NOT NULL`;\n }\n\n if (column.default_value !== \"\") {\n if (\n [\"varchar\", \"text\", \"timestamp\", \"timestamptz\"].includes(\n column.column_type\n )\n ) {\n const escapedDefaultValue = column.default_value.replace(/'/g, \"''\");\n columnDefinition += ` DEFAULT '${escapedDefaultValue}'`;\n } else {\n columnDefinition += ` DEFAULT ${column.default_value}`;\n }\n }\n }\n query += `${columnDefinition}`;\n if (index < columns.length - 1) {\n query += `,`;\n }\n});\n\nquery += `\\n);`;\n\nreturn { query };", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "615604d5-1c97-477c-a279-67d4c1c8a06f", + "name": "generateDeleteQuery", + "options": { + "code": "return { query : `DROP TABLE ${components.table2.selectedRow.table_name};` }", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "8479bc12-cd75-40b1-bc74-f40e8fdba582", + "name": "currentTableUpdationData", + "options": { + "code": "return Object.keys(components.listview2.data)\n .map((row) => parseInt(row))\n .toSorted((a, b) => a - b)\n .slice(0, variables.tableColumns.length)\n .map((row) => ({\n id: row,\n column_name: components.listview2.data[row].add_column_name.value,\n column_type: components.listview2.data[row].add_column_type.value,\n length: components.listview2.data[row].add_length.value,\n default_value: components.listview2.data[row].add_default_value.value,\n nullable: components.listview2.data[row].add_nullable.value,\n }));", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "0787e514-665b-40a3-b667-f318aaac274c", + "name": "generateUpdateQuery", + "options": { + "code": "const columnsToAdd = variables.currentTableData;\nconst tableName = components.textinput4.value;\nconst columnsToRemove = Object.keys(components.listview3.data)\n .filter((row) => !components.listview3.data[row].include.value)\n .toSorted((a, b) => a - b)\n .map((row) => components.listview3.data[row].current_column_name.text);\n\nlet query = `ALTER TABLE ${tableName}`;\n\ncolumnsToRemove.forEach((column, index) => {\n let columnDefinition = `\\n\\tDROP COLUMN \"${column}\"`;\n query += `${columnDefinition}`;\n if (index < columnsToRemove.length - 1 || columnsToAdd.length > 0) {\n query += `,`;\n }\n});\n\ncolumnsToAdd.forEach((column, index) => {\n let columnDefinition = `\\n\\tADD COLUMN \"${column.column_name}\" ${column.column_type}`;\n if (column.column_type === \"varchar\" && column.length) {\n columnDefinition += `(${column.length})`;\n }\n if (\n ![\"undefined\", \"bigserial\", \"serial\", \"uuid\"].includes(column.column_type)\n ) {\n if (!column.nullable) {\n columnDefinition += ` NOT NULL`;\n }\n\n if (column.default_value !== \"\") {\n if (\n [\"varchar\", \"text\", \"timestamp\", \"timestamptz\"].includes(\n column.column_type\n )\n ) {\n const escapedDefaultValue = column.default_value.replace(/'/g, \"''\");\n columnDefinition += ` DEFAULT '${escapedDefaultValue}'`;\n } else {\n columnDefinition += ` DEFAULT ${column.default_value}`;\n }\n }\n }\n query += `${columnDefinition}`;\n if (index < columnsToAdd.length - 1) {\n query += `,`;\n }\n});\n\nquery += `;`;\n\nreturn { query };", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "e55a1dff-467e-4661-b051-abe3368573a1", + "name": "processedTableSchema", + "options": { + "code": "const finalData = [];\n\nqueries.getTableSchema.data.forEach((row, index) => {\n let rowDetails = {\n id: index,\n column_name: row.column_name,\n column_type: \"\",\n default_value: \"\",\n nullable: row.is_nullable == \"YES\",\n };\n\n switch (row.data_type) {\n case \"bigint\":\n if (\n row.column_default ==\n `nextval('${row.table_name}_${row.column_name}_seq'::regclass)`\n ) {\n rowDetails.column_type = \"bigserial\";\n rowDetails.default_value = null;\n } else {\n rowDetails.column_type = \"bigint\";\n rowDetails.default_value = row.column_default;\n }\n break;\n\n case \"boolean\":\n rowDetails.column_type = \"boolean\";\n rowDetails.default_value = row.column_default;\n break;\n\n case \"real\":\n rowDetails.column_type = \"float4\";\n rowDetails.default_value = row.column_default;\n break;\n\n case \"double precision\":\n rowDetails.column_type = \"float8\";\n rowDetails.default_value = row.column_default;\n break;\n\n case \"integer\":\n if (\n row.column_default ==\n `nextval('${row.table_name}_${row.column_name}_seq'::regclass)`\n ) {\n rowDetails.column_type = \"serial\";\n rowDetails.default_value = null;\n } else {\n rowDetails.column_type = \"integer\";\n rowDetails.default_value = row.column_default;\n }\n break;\n\n case \"numeric\":\n rowDetails.column_type = \"numeric\";\n rowDetails.default_value = row.column_default;\n break;\n\n case \"text\":\n rowDetails.column_type = \"text\";\n rowDetails.default_value = row.column_default\n ? row.column_default.match(/^'(.+)'::text$/)[1]\n : null;\n break;\n\n case \"timestamp without time zone\":\n rowDetails.column_type = \"timestamp\";\n rowDetails.default_value = row.column_default\n ? row.column_default.match(/^'(.+)'::timestamp without time zone$/)[1]\n : null;\n break;\n\n case \"timestamp with time zone\":\n rowDetails.column_type = \"timestamptz\";\n rowDetails.default_value = row.column_default\n ? row.column_default.match(/^'(.+)'::timestamp with time zone$/)[1]\n : null;\n break;\n\n case \"uuid\":\n rowDetails.column_type = \"uuid\";\n rowDetails.default_value = row.column_default;\n break;\n\n case \"character varying\":\n rowDetails.column_type = \"varchar\";\n rowDetails.default_value = row.column_default\n ? row.column_default.match(/^'(.+)'::character varying$/)[1]\n : null;\n break;\n }\n\n finalData.push(rowDetails);\n});\n\nreturn finalData;", + "parameters": [] + }, + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:39:36.705Z" + }, + { + "id": "ba0ded0e-66cb-4d10-9369-584caa44e8ba", + "name": "getTables", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "SELECT\n table_name\nFROM\n information_schema.tables\nWHERE\n table_schema = 'public'\n AND table_type = 'BASE TABLE'\nORDER BY\n table_name;", + "runOnPageLoad": true + }, + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T09:53:48.826Z" + }, + { + "id": "e9f998ba-4045-43d5-87c6-6d1455d1eafc", + "name": "getTableData", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": true, + "query": "{{`\nSELECT\n *\nFROM\n ${ components.table2.selectedRow.table_name }\nLIMIT 11 OFFSET ${ (components.table3.pageIndex - 1) * 10 };\n`}}", + "transformation": "return data.slice(0, 10);" + }, + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T08:36:31.550Z" + }, + { + "id": "e0a74c39-12e8-4bd0-a1a9-da6bdc623baf", + "name": "executeGeneratedQuery", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "{{variables.generatedQuery}}" + }, + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T07:41:12.949Z" + }, + { + "id": "027d7008-a281-4fc4-856c-bbe225b4a15b", + "name": "getTableSchema", + "options": { + "mode": "sql", + "transformationLanguage": "javascript", + "enableTransformation": false, + "query": "{{`SELECT\n table_name,\n column_name,\n ordinal_position,\n column_default,\n is_nullable,\n data_type,\n udt_name\nFROM\n information_schema.columns\nWHERE\n table_name = '${components.table2.selectedRow.table_name}'\nORDER BY\n ordinal_position;`}}" + }, + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "createdAt": "2024-05-03T07:39:36.705Z", + "updatedAt": "2024-05-03T08:36:28.805Z" + } + ], + "dataSources": [ + { + "id": "4963bcfd-407b-4221-a917-3fc35bf9f48f", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "organizationId": null, + "scope": "local", + "createdAt": "2024-05-03T07:39:36.714Z", + "updatedAt": "2024-05-03T07:39:36.714Z" + }, + { + "id": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "organizationId": null, + "scope": "local", + "createdAt": "2024-05-03T07:39:36.730Z", + "updatedAt": "2024-05-03T07:39:36.730Z" + }, + { + "id": "c19d208d-ece0-4a0e-a7a5-e4635c5ab018", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "organizationId": null, + "scope": "local", + "createdAt": "2024-05-03T07:39:36.747Z", + "updatedAt": "2024-05-03T07:39:36.747Z" + }, + { + "id": "492ba617-ca80-4a72-b010-733b3bfe86d5", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "organizationId": null, + "scope": "local", + "createdAt": "2024-05-03T07:39:36.765Z", + "updatedAt": "2024-05-03T07:39:36.765Z" + }, + { + "id": "212f84be-d71d-4a10-81c9-01b54f070de8", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "organizationId": null, + "scope": "local", + "createdAt": "2024-05-03T07:39:36.777Z", + "updatedAt": "2024-05-03T07:39:36.777Z" + }, + { + "id": "49a229ad-8349-48e7-a421-801b8680dd29", + "name": "TJTestSystem", + "kind": "postgresql", + "type": "default", + "pluginId": null, + "appVersionId": null, + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "scope": "global", + "createdAt": "2024-03-19T08:15:54.925Z", + "updatedAt": "2024-03-19T08:16:55.078Z" + } + ], + "appVersions": [ + { + "id": "687ac949-7559-44aa-b147-0baaf5c1bdc5", + "name": "v1", + "definition": { + "showViewerNavigation": false, + "homePageId": "618e84d3-ca56-4615-8511-eff8c3fb7d14", + "pages": { + "618e84d3-ca56-4615-8511-eff8c3fb7d14": { + "components": { + "59487773-99d3-4b3d-b43d-a8bb92d0f6b1": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#222f3e", + "fxActive": false + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 20, + "left": 2.3255813953488373, + "width": 41, + "height": 70 + } + }, + "withDefaultChildren": false + }, + "afeeaa7c-0509-49de-932e-e640f4a99ad8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{22}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "AWS S3 File Browser" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 10, + "left": 2.3471059440993565, + "width": 13.993303186907838, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "22c90be5-7657-49b7-8128-e9d3fbae4d9e": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal Height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#222f3eff" + }, + "headerTextColor": { + "value": "#ffffffff" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "400px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Modal triggered by events", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 834.0000534057617, + "left": 83.71498842974984, + "width": 7, + "height": 50 + } + }, + "withDefaultChildren": false + }, + "73b65b00-5865-441a-8062-6a2716c8bb93": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload an image file to S3 bucket: {{components.table2.selectedRow.Name}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 20.00000762939453, + "left": 4.651162858978287, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "2d14b7de-a28f-45c8-87ab-af456a209b20": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "c45b9711-6db4-47d6-a12c-836a4550e355", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{components.textinput2.value == \"\" || components.filepicker1.file.length == 0}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{queries.uploadObject.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 330, + "left": 79.06977621357093, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "c45a4353-c94b-4aed-9ee7-8ebf2f7e2212": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a6230d" + }, + "textColor": { + "value": "#f5a623ff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#f5a623ff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 330, + "left": 60.46512903792135, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b26452e5-bc4e-4545-acf5-94b58a41a8d7": { + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{10}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop an image file here, or click to select an image file" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{1}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker1", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 180, + "left": 4.65118644767613, + "width": 39.00000000000001, + "height": 130 + } + }, + "withDefaultChildren": false + }, + "94cb14f6-8b09-4e44-b338-b0cb817f61ab": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 80, + "left": 4.6511588228167575, + "width": 39.00000000000001, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "bb00d395-fbda-4c36-9fbb-f857192e2453": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput2", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 110, + "left": 4.651175274346323, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "5920cde4-3e72-4531-a2d3-c97574bffc6a": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#85a4c61a" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container2", + "displayName": "Container", + "description": "Group components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 110, + "left": 2.3255811696137485, + "width": 41, + "height": 660 + } + }, + "withDefaultChildren": false + }, + "a86d4752-2f8a-48df-a42c-ce2177b5dbe5": { + "id": "a86d4752-2f8a-48df-a42c-ce2177b5dbe5", + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onRowClicked", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4036c725-ce5f-49f4-95ab-b97e704e3f4d", + "queryName": "getObjects" + } + ], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "condensed" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-classic" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getBuckets.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getBuckets.data.Buckets}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{false}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "4d5e17e8-d0c6-416e-b086-6f3f357ece04", + "name": "Buckets", + "key": "Name", + "columnType": "string", + "autogenerated": true, + "cellBackgroundColor": "{{rowData.Name == components.table2.selectedRow.Name ? \"#F90\" : \"inherit\"}}", + "textColor": "{{rowData.Name == components.table2.selectedRow.Name ? \"#FFFFFF\" : \"\"}}" + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id", + "email", + "CreationDate" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table2", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 29.999977111816406, + "left": 2.325579345979842, + "width": 12.000000000000002, + "height": 590 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "a49e6b60-0c29-4ac7-b0ac-1e9bb85b0cee": { + "id": "a49e6b60-0c29-4ac7-b0ac-1e9bb85b0cee", + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Regular", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "5" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "regular" + }, + "borderRadius": { + "value": "10" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getObjects.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getObjects.data.Contents}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "1b26d091-d602-47af-bd5c-87179e1092da", + "name": "Name", + "key": "Key", + "columnType": "string", + "autogenerated": true + }, + { + "id": "ea9cee72-c734-4069-9618-67a5d5617834", + "name": "last modified", + "key": "LastModified", + "columnType": "string", + "autogenerated": true + }, + { + "id": "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd", + "name": "size", + "key": "Size", + "columnType": "number", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "ea9cee72-c734-4069-9618-67a5d5617834": 279, + "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd": 79, + "1b26d091-d602-47af-bd5c-87179e1092da": 415 + } + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Copy signed URL", + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "14c34903-6a38-47d2-a1c7-ffceb55b9fa6", + "queryName": "getSignedUrl", + "parameters": {} + } + ], + "position": "right", + "textColor": "#539fe5ff", + "backgroundColor": "#ffffff00", + "fxActive": true, + "disableActionButton": "{{queries.getSignedUrl.isLoading}}" + } + ] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "ETag", + "StorageClass" + ] + }, + "serverSideSearch": { + "value": "" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table3", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 80.00001525878906, + "left": 32.55814106421492, + "width": 28, + "height": 540 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "d28af613-c578-4dd0-a60d-eb20e0a81dad": { + "id": "d28af613-c578-4dd0-a60d-eb20e0a81dad", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "queryName": "switchToUploader", + "runOnlyIf": "", + "componentSpecificActionHandle": "setTab", + "componentId": "aac6738d-810f-4141-9dac-0e35cdfa779c", + "componentSpecificActionParams": [ + { + "handle": "id", + "displayName": "Id", + "value": "1" + } + ] + } + ], + "styles": { + "backgroundColor": { + "value": "#ec912dff", + "fxActive": true + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{components.table2.selectedRow.Name == undefined}}", + "fxActive": true + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": { + "tooltip": { + "value": "{{components.table2.selectedRow.Name == undefined ? \"Select a bucket to upload file\" : \"\"}}" + } + }, + "exposedVariables": {} + }, + "name": "button6", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 30.00000762939453, + "left": 86.0465187752681, + "width": 5.03934847036995, + "height": 40 + } + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a" + }, + "1548137c-e4ce-4bca-90e5-f9923b51fbf3": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "{{components.table2.selectedRow.Name == undefined ? \"Select a bucket to view files stored in it.\" : \"Files in the selected bucket:\"}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text9", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "5920cde4-3e72-4531-a2d3-c97574bffc6a", + "layouts": { + "desktop": { + "top": 30, + "left": 32.558141027828526, + "width": 14.000000000000002, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "ad5f5b17-c77c-4195-8084-f6b25c7e71ee": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#539fe5ff" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{queries?.getSignedUrl?.isLoading ?? false}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "" + }, + "loadingState": { + "value": "{{queries.getSignedUrl.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 10, + "left": 95.34884394657414, + "width": 1, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "31e9f96a-7936-4bdf-b2dc-dae018d63fea": { + "id": "31e9f96a-7936-4bdf-b2dc-dae018d63fea", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#539fe5ff" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "normal" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{queries?.getSignedUrl?.isLoading ?? false}}", + "fxActive": true + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Generating signed URL" + }, + "loadingState": { + "value": "", + "fxActive": false + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display text or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 10.000007629394531, + "left": 79.06976467606238, + "width": 7, + "height": 40 + } + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1" + } + }, + "handle": "home", + "name": "Home" + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": "5000", + "canvasMaxWidthType": "px", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "", + "backgroundFxQuery": "" + }, + "components": { + "aac6738d-810f-4141-9dac-0e35cdfa779c": { + "component": { + "properties": { + "tabs": { + "type": "code", + "displayName": "Tabs", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object", + "object": { + "id": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + } + } + }, + "defaultTab": { + "type": "code", + "displayName": "Default tab", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "hideTabs": { + "type": "toggle", + "displayName": "Hide Tabs", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "renderOnlyActiveTab": { + "type": "toggle", + "displayName": "Render only active tab", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onTabSwitch": { + "displayName": "On tab switch" + } + }, + "styles": { + "highlightColor": { + "type": "color", + "displayName": "Highlight Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "tabWidth": { + "type": "select", + "displayName": "Tab width", + "options": [ + { + "name": "Auto", + "value": "auto" + }, + { + "name": "Equally split", + "value": "split" + } + ] + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "highlightColor": { + "value": "#ec912dff" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "tabWidth": { + "value": "auto" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "tabs": { + "value": "{{[ \n\t\t{ title: 'Browser', id: '0' }, \n\t\t{ title: 'Uploader', id: '1' }, \n ]}}" + }, + "defaultTab": { + "value": "0" + }, + "hideTabs": { + "value": false + }, + "renderOnlyActiveTab": { + "value": true + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "tabs1", + "displayName": "Tabs", + "description": "Tabs component", + "defaultSize": { + "width": 30, + "height": 300 + }, + "defaultChildren": [ + { + "componentName": "Image", + "layout": { + "top": 60, + "left": 37, + "height": 100 + }, + "tab": 0, + "properties": [ + "source" + ], + "defaultValue": { + "source": "https://uploads-ssl.webflow.com/6266634263b9179f76b2236e/62666392f32677b5cb2fb84b_logo.svg" + } + }, + { + "componentName": "Text", + "layout": { + "top": 100, + "left": 17, + "height": 50, + "width": 34 + }, + "tab": 1, + "properties": [ + "text" + ], + "defaultValue": { + "text": "Open-source low-code framework to build & deploy internal tools within minutes." + } + }, + { + "componentName": "Table", + "layout": { + "top": 0, + "left": 1, + "width": 42, + "height": 250 + }, + "tab": 2 + } + ], + "component": "Tabs", + "actions": [ + { + "handle": "setTab", + "displayName": "Set current tab", + "params": [ + { + "handle": "id", + "displayName": "Id" + } + ] + } + ], + "exposedVariables": { + "currentTab": "" + } + }, + "layouts": { + "desktop": { + "top": 120, + "left": 6.953317528514922, + "width": 36, + "height": 670 + } + }, + "withDefaultChildren": false + }, + "c5b6efb3-490a-494e-804d-2862575f399d": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "compact" + }, + "borderRadius": { + "value": "0" + }, + "tableType": { + "value": "table-bordered" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "data": { + "value": "{{ [ \n\t\t{ id: 1, name: 'Sarah', email: 'sarah@example.com'}, \n\t\t{ id: 2, name: 'Lisa', email: 'lisa@example.com'}, \n\t\t{ id: 3, name: 'Sam', email: 'sam@example.com'}, \n\t\t{ id: 4, name: 'Jon', email: 'jon@example.com'} \n] }}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{true}}" + }, + "showFilterButton": { + "value": "{{true}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "name": "id", + "id": "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737", + "autogenerated": true + }, + { + "name": "name", + "id": "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a", + "autogenerated": true + }, + { + "name": "email", + "id": "afc9a5091750a1bd4760e38760de3b4be11a43452ae8ae07ce2eebc569fe9a7f", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{true}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{true}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{true}}" + }, + "allowSelection": { + "value": "{{true}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table1", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-2", + "layouts": { + "desktop": { + "top": 0, + "left": 1, + "width": 42, + "height": 250 + } + } + }, + "59487773-99d3-4b3d-b43d-a8bb92d0f6b1": { + "component": { + "properties": { + "loadingState": { + "type": "toggle", + "displayName": "loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#2C3748", + "fxActive": true + }, + "borderRadius": { + "value": "0" + }, + "borderColor": { + "value": "#ffffff00" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "container1", + "displayName": "Container", + "description": "Wrapper for multiple components", + "defaultSize": { + "width": 5, + "height": 200 + }, + "component": "Container", + "exposedVariables": {} + }, + "layouts": { + "desktop": { + "top": 0, + "left": -0.019166757772257036, + "width": 43, + "height": 90 + } + }, + "withDefaultChildren": false + }, + "643a3d7e-0eba-49c0-b073-d5b20e7c7b3b": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onRowClicked", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "d39a7124-2edd-4f44-bf84-dc465a7d2e5b", + "queryName": "getObjects" + } + ], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "spacious" + }, + "borderRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getBuckets.data.Buckets}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{false}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "4d5e17e8-d0c6-416e-b086-6f3f357ece04", + "name": "Buckets", + "key": "Name", + "columnType": "string", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": "{{({})}}" + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{false}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "id", + "email", + "CreationDate" + ] + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table2", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 2.325613821749114, + "width": 10.973363744220382, + "height": 590 + } + }, + "withDefaultChildren": false + }, + "afeeaa7c-0509-49de-932e-e640f4a99ad8": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{22}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "AWS S3 File Browser" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text2", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 20, + "left": 2.3471096549217116, + "width": 13.993303186907838, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b58c165d-312f-4ad7-907b-8f4467207a81": { + "component": { + "properties": { + "icon": { + "type": "iconPicker", + "displayName": "Icon", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "iconColor": { + "type": "color", + "displayName": "Icon Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "iconColor": { + "value": "#ffffffff", + "fxActive": false + }, + "visibility": { + "value": "{{true}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "icon": { + "value": "IconLogout" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "icon1", + "displayName": "Icon", + "description": "Icon", + "defaultSize": { + "width": 5, + "height": 48 + }, + "component": "Icon", + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "displayName": "Set Visibility", + "handle": "setVisibility", + "params": [ + { + "handle": "value", + "displayName": "Value", + "defaultValue": "{{true}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "59487773-99d3-4b3d-b43d-a8bb92d0f6b1", + "layouts": { + "desktop": { + "top": 28, + "left": 93.65342265740117, + "width": 0.9786882267441847, + "height": 30 + } + }, + "withDefaultChildren": false + }, + "5d14cc41-dd47-4de3-b9e6-8c72286da085": { + "component": { + "properties": { + "title": { + "type": "string", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "data": { + "type": "code", + "displayName": "Table data", + "validation": { + "schema": { + "type": "array", + "element": { + "type": "object" + }, + "optional": true + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columns": { + "type": "array", + "displayName": "Table Columns" + }, + "useDynamicColumn": { + "type": "toggle", + "displayName": "Use dynamic column", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "columnData": { + "type": "code", + "displayName": "Column data" + }, + "rowsPerPage": { + "type": "code", + "displayName": "Number of rows per page", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "serverSidePagination": { + "type": "toggle", + "displayName": "Server-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableNextButton": { + "type": "toggle", + "displayName": "Enable next page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enabledSort": { + "type": "toggle", + "displayName": "Enable sorting", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "hideColumnSelectorButton": { + "type": "toggle", + "displayName": "Hide column selector button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePrevButton": { + "type": "toggle", + "displayName": "Enable previous page button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "totalRecords": { + "type": "code", + "displayName": "Total records server side", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "clientSidePagination": { + "type": "toggle", + "displayName": "Client-side pagination", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSearch": { + "type": "toggle", + "displayName": "Server-side search", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideSort": { + "type": "toggle", + "displayName": "Server-side sort", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "serverSideFilter": { + "type": "toggle", + "displayName": "Server-side filter", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "actionButtonBackgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonTextColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "displaySearchBox": { + "type": "toggle", + "displayName": "Show search box", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showDownloadButton": { + "type": "toggle", + "displayName": "Show download button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showFilterButton": { + "type": "toggle", + "displayName": "Show filter button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkUpdateActions": { + "type": "toggle", + "displayName": "Show update buttons", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "allowSelection": { + "type": "toggle", + "displayName": "Allow selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showBulkSelector": { + "type": "toggle", + "displayName": "Bulk selection", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "highlightSelectedRow": { + "type": "toggle", + "displayName": "Highlight selected row", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "showAddNewRowButton": { + "type": "toggle", + "displayName": "Show add new row button", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop " + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onRowHovered": { + "displayName": "Row hovered" + }, + "onRowClicked": { + "displayName": "Row clicked" + }, + "onBulkUpdate": { + "displayName": "Save changes" + }, + "onPageChanged": { + "displayName": "Page changed" + }, + "onSearch": { + "displayName": "Search" + }, + "onCancelChanges": { + "displayName": "Cancel changes" + }, + "onSort": { + "displayName": "Sort applied" + }, + "onCellValueChanged": { + "displayName": "Cell value changed" + }, + "onFilterChanged": { + "displayName": "Filter changed" + }, + "onNewRowsAdded": { + "displayName": "Add new rows" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "actionButtonRadius": { + "type": "code", + "displayName": "Action Button Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + } + } + }, + "tableType": { + "type": "select", + "displayName": "Table type", + "options": [ + { + "name": "Bordered", + "value": "table-bordered" + }, + { + "name": "Borderless", + "value": "table-borderless" + }, + { + "name": "Classic", + "value": "table-classic" + }, + { + "name": "Striped", + "value": "table-striped" + }, + { + "name": "Striped & bordered", + "value": "table-striped table-bordered" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "cellSize": { + "type": "select", + "displayName": "Cell size", + "options": [ + { + "name": "Compact", + "value": "compact" + }, + { + "name": "Spacious", + "value": "spacious" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border Radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "actionButtonRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "cellSize": { + "value": "spacious" + }, + "borderRadius": { + "value": "5" + }, + "tableType": { + "value": "table-striped" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Table" + }, + "visible": { + "value": "{{true}}" + }, + "loadingState": { + "value": "{{queries.getObjects.isLoading}}", + "fxActive": true + }, + "data": { + "value": "{{queries.getObjects.data.Contents}}" + }, + "useDynamicColumn": { + "value": "{{false}}" + }, + "columnData": { + "value": "{{[{name: 'email', key: 'email'}, {name: 'Full name', key: 'name', isEditable: true}]}}" + }, + "rowsPerPage": { + "value": "{{10}}" + }, + "serverSidePagination": { + "value": "{{false}}" + }, + "enableNextButton": { + "value": "{{true}}" + }, + "enablePrevButton": { + "value": "{{true}}" + }, + "totalRecords": { + "value": "" + }, + "clientSidePagination": { + "value": "{{true}}" + }, + "serverSideSort": { + "value": "{{false}}" + }, + "serverSideFilter": { + "value": "{{false}}" + }, + "displaySearchBox": { + "value": "{{true}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showFilterButton": { + "value": "{{false}}" + }, + "autogenerateColumns": { + "value": true + }, + "columns": { + "value": [ + { + "id": "1b26d091-d602-47af-bd5c-87179e1092da", + "name": "Key", + "key": "Key", + "columnType": "string", + "autogenerated": true + }, + { + "id": "ea9cee72-c734-4069-9618-67a5d5617834", + "name": "LastModified", + "key": "LastModified", + "columnType": "string", + "autogenerated": true + }, + { + "id": "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd", + "name": "Size", + "key": "Size", + "columnType": "number", + "autogenerated": true + } + ] + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "showBulkSelector": { + "value": "{{false}}" + }, + "highlightSelectedRow": { + "value": "{{false}}" + }, + "columnSizes": { + "value": { + "ea9cee72-c734-4069-9618-67a5d5617834": 237, + "1c53ddfe-d4ce-4557-9dbf-6ca80b9673dd": 47, + "1b26d091-d602-47af-bd5c-87179e1092da": 391 + } + }, + "actions": { + "value": [] + }, + "enabledSort": { + "value": "{{false}}" + }, + "hideColumnSelectorButton": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "allowSelection": { + "value": "{{false}}" + }, + "columnDeletionHistory": { + "value": [ + "ETag", + "StorageClass" + ] + }, + "serverSideSearch": { + "value": "" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "table3", + "displayName": "Table", + "description": "Display paginated tabular data", + "component": "Table", + "defaultSize": { + "width": 20, + "height": 358 + }, + "exposedVariables": { + "selectedRow": {}, + "changeSet": {}, + "dataUpdates": [], + "pageIndex": 1, + "searchText": "", + "selectedRows": [], + "filters": [] + }, + "actions": [ + { + "handle": "setPage", + "displayName": "Set page", + "params": [ + { + "handle": "page", + "displayName": "Page", + "defaultValue": "{{1}}" + } + ] + }, + { + "handle": "selectRow", + "displayName": "Select row", + "params": [ + { + "handle": "key", + "displayName": "Key" + }, + { + "handle": "value", + "displayName": "Value" + } + ] + }, + { + "handle": "deselectRow", + "displayName": "Deselect row" + }, + { + "handle": "discardChanges", + "displayName": "Discard Changes" + }, + { + "handle": "discardNewlyAddedRows", + "displayName": "Discard newly added rows" + }, + { + "displayName": "Download table data", + "handle": "downloadTableData", + "params": [ + { + "handle": "type", + "displayName": "Type", + "options": [ + { + "name": "Download as Excel", + "value": "xlsx" + }, + { + "name": "Download as CSV", + "value": "csv" + }, + { + "name": "Download as PDF", + "value": "pdf" + } + ], + "defaultValue": "{{Download as Excel}}", + "type": "select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 85, + "left": 30.23277648693854, + "width": 29.023997256310512, + "height": 520 + } + }, + "withDefaultChildren": false + }, + "57e932d8-11e9-402d-ba82-9c5c8b8d62eb": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "show-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#ec912dff", + "fxActive": true + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload files" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button1", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 86.00513695268548, + "width": 5.03934847036995, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "33c07316-9b9a-4c68-a7a2-1afee1b881a6": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{5}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Prefix" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput1", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 30.272567524824503, + "width": 12.002668604065757, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cc871558-cd81-48a1-a654-5f076cadad8c": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "textColor": { + "value": "#ec912dff", + "fxActive": true + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ec912dff" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Search" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button2", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-0", + "layouts": { + "desktop": { + "top": 20, + "left": 58.139530795373226, + "width": 4.000849940323339, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "22c90be5-7657-49b7-8128-e9d3fbae4d9e": { + "component": { + "properties": { + "title": { + "type": "code", + "displayName": "Title", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "useDefaultButton": { + "type": "toggle", + "displayName": "Use default trigger button", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "triggerButtonLabel": { + "type": "code", + "displayName": "Trigger button label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "hideTitleBar": { + "type": "toggle", + "displayName": "Hide title bar" + }, + "hideCloseButton": { + "type": "toggle", + "displayName": "Hide close button" + }, + "hideOnEsc": { + "type": "toggle", + "displayName": "Close on escape key" + }, + "closeOnClickingOutside": { + "type": "toggle", + "displayName": "Close on clicking outside" + }, + "size": { + "type": "select", + "displayName": "Modal size", + "options": [ + { + "name": "small", + "value": "sm" + }, + { + "name": "medium", + "value": "lg" + }, + { + "name": "large", + "value": "xl" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + }, + "modalHeight": { + "type": "code", + "displayName": "Modal Height", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onOpen": { + "displayName": "On open" + }, + "onClose": { + "displayName": "On close" + } + }, + "styles": { + "headerBackgroundColor": { + "type": "color", + "displayName": "Header background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "headerTextColor": { + "type": "color", + "displayName": "Header title color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "bodyBackgroundColor": { + "type": "color", + "displayName": "Body background color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": true + } + }, + "triggerButtonBackgroundColor": { + "type": "color", + "displayName": "Trigger button background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "triggerButtonTextColor": { + "type": "color", + "displayName": "Trigger button text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "headerBackgroundColor": { + "value": "#ffffffff" + }, + "headerTextColor": { + "value": "#000000" + }, + "bodyBackgroundColor": { + "value": "#ffffffff" + }, + "disabledState": { + "value": "{{false}}" + }, + "visibility": { + "value": "{{true}}" + }, + "triggerButtonBackgroundColor": { + "value": "#4D72FA" + }, + "triggerButtonTextColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "title": { + "value": "Upload file" + }, + "loadingState": { + "value": "{{false}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "triggerButtonLabel": { + "value": "Launch Modal" + }, + "size": { + "value": "lg" + }, + "hideTitleBar": { + "value": "{{false}}" + }, + "hideCloseButton": { + "value": "{{false}}" + }, + "hideOnEsc": { + "value": "{{true}}" + }, + "closeOnClickingOutside": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "400px" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "modal1", + "displayName": "Modal", + "description": "Modal triggered by events", + "component": "Modal", + "defaultSize": { + "width": 10, + "height": 34 + }, + "exposedVariables": { + "show": false + }, + "actions": [ + { + "handle": "open", + "displayName": "Open" + }, + { + "handle": "close", + "displayName": "Close" + } + ] + }, + "layouts": { + "desktop": { + "top": 940, + "left": 37.2093025964635, + "width": 10, + "height": 34 + } + }, + "withDefaultChildren": false + }, + "73b65b00-5865-441a-8062-6a2716c8bb93": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload you files to S3 bucket: {{components.table2.selectedRow.Name}}" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text3", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 20, + "left": 4.651165021277508, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "2d14b7de-a28f-45c8-87ab-af456a209b20": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4d945178-ffd4-447a-a452-819154bead88", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button3", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 310, + "left": 4.651170644788405, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "c45a4353-c94b-4aed-9ee7-8ebf2f7e2212": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "close-modal", + "message": "Hello world!", + "alertType": "info", + "modal": "22c90be5-7657-49b7-8128-e9d3fbae4d9e" + } + ], + "styles": { + "backgroundColor": { + "value": "#fcfbf9ff" + }, + "textColor": { + "value": "#f5a623ff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Cancel" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button4", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 310, + "left": 23.255816865301114, + "width": 7.036632765433699, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "b26452e5-bc4e-4545-acf5-94b58a41a8d7": { + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{0}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop some image files here, or click to select image files" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{2}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker1", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 190, + "left": 4.651166394429335, + "width": 39.016032907948436, + "height": 100 + } + }, + "withDefaultChildren": false + }, + "94cb14f6-8b09-4e44-b338-b0cb817f61ab": { + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text4", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 70, + "left": 4.651165222233789, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "bb00d395-fbda-4c36-9fbb-f857192e2453": { + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dadcde" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{0}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput2", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "parent": "22c90be5-7657-49b7-8128-e9d3fbae4d9e", + "layouts": { + "desktop": { + "top": 110, + "left": 4.651165185472113, + "width": 38.986914555937034, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "443cd7b9-0a80-4508-be2b-33d56a510e30": { + "id": "443cd7b9-0a80-4508-be2b-33d56a510e30", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": "{{18}}" + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload you files to S3 bucket" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text5", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 20, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "4c9e518a-5eaf-4453-aaa1-3c429bdb6675": { + "id": "4c9e518a-5eaf-4453-aaa1-3c429bdb6675", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "File Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text6", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 190, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "fd7f805b-adfa-4323-80e2-09d382e46f04": { + "id": "fd7f805b-adfa-4323-80e2-09d382e46f04", + "component": { + "properties": { + "value": { + "type": "code", + "displayName": "Default value", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onChange": { + "displayName": "On change" + }, + "onEnterPressed": { + "displayName": "On Enter Pressed" + }, + "onFocus": { + "displayName": "On focus" + }, + "onBlur": { + "displayName": "On blur" + } + }, + "styles": { + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderColor": { + "type": "color", + "displayName": "Border Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "errTextColor": { + "type": "color", + "displayName": "Error Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "textColor": { + "value": "#000" + }, + "borderColor": { + "value": "#dae2ebff" + }, + "errTextColor": { + "value": "#ff0000" + }, + "borderRadius": { + "value": "{{0}}" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "backgroundColor": { + "value": "#fff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "regex": { + "value": "" + }, + "minLength": { + "value": null + }, + "maxLength": { + "value": null + }, + "customRule": { + "value": null + } + }, + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter file name according to S3 conventions" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "textinput3", + "displayName": "Text Input", + "description": "Text field for forms", + "component": "TextInput", + "defaultSize": { + "width": 6, + "height": 30 + }, + "validation": { + "regex": { + "type": "code", + "displayName": "Regex" + }, + "minLength": { + "type": "code", + "displayName": "Min length" + }, + "maxLength": { + "type": "code", + "displayName": "Max length" + }, + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": "" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set text", + "params": [ + { + "handle": "text", + "displayName": "text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "clear", + "displayName": "Clear" + }, + { + "handle": "setFocus", + "displayName": "Set focus" + }, + { + "handle": "setBlur", + "displayName": "Set blur" + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 230, + "left": 4.651272015784802, + "width": 25.99956493770245, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "846bcf76-7f5c-4656-be3b-d8b649e4573b": { + "id": "846bcf76-7f5c-4656-be3b-d8b649e4573b", + "component": { + "properties": { + "instructionText": { + "type": "code", + "displayName": "Instruction Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "enableDropzone": { + "type": "code", + "displayName": "Use Drop zone", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enablePicker": { + "type": "code", + "displayName": "Use File Picker", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "enableMultiple": { + "type": "code", + "displayName": "Pick multiple files", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "maxFileCount": { + "type": "code", + "displayName": "Max file count", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "fileType": { + "type": "code", + "displayName": "Accept file types", + "validation": { + "schema": { + "type": "string" + } + } + }, + "maxSize": { + "type": "code", + "displayName": "Max size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "minSize": { + "type": "code", + "displayName": "Min size limit (Bytes)", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "parseContent": { + "type": "toggle", + "displayName": "Parse content", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "parseFileType": { + "type": "select", + "displayName": "File type", + "options": [ + { + "name": "Autodetect from extension", + "value": "auto-detect" + }, + { + "name": "CSV", + "value": "csv" + }, + { + "name": "Microsoft Excel - xls", + "value": "vnd.ms-excel" + }, + { + "name": "Microsoft Excel - xlsx", + "value": "vnd.openxmlformats-officedocument.spreadsheetml.sheet" + } + ], + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onFileSelected": { + "displayName": "On File Selected" + }, + "onFileLoaded": { + "displayName": "On File Loaded" + }, + "onFileDeselected": { + "displayName": "On File Deselected" + } + }, + "styles": { + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{0}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "instructionText": { + "value": "Drag and Drop some image files here, or click to select image files" + }, + "enableDropzone": { + "value": "{{true}}" + }, + "enablePicker": { + "value": "{{true}}" + }, + "maxFileCount": { + "value": "{{2}}" + }, + "enableMultiple": { + "value": "{{false}}" + }, + "fileType": { + "value": "{{\"image/*\"}}" + }, + "maxSize": { + "value": "{{1048576}}" + }, + "minSize": { + "value": "{{50}}" + }, + "parseContent": { + "value": "{{false}}" + }, + "parseFileType": { + "value": "auto-detect" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "filepicker2", + "displayName": "File Picker", + "description": "File Picker", + "component": "FilePicker", + "defaultSize": { + "width": 15, + "height": 100 + }, + "actions": [ + { + "handle": "clearFiles", + "displayName": "Clear Files" + } + ], + "exposedVariables": { + "file": [ + { + "name": "", + "content": "", + "dataURL": "", + "type": "", + "parsedData": "" + } + ], + "isParsing": false + } + }, + "layouts": { + "desktop": { + "top": 330, + "left": 4.651216987328487, + "width": 39.016032907948436, + "height": 160 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "7a324eaf-fea3-4a05-afb0-313209c6914b": { + "id": "7a324eaf-fea3-4a05-afb0-313209c6914b", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Button Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Loading State", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onClick": { + "displayName": "On click" + }, + "onHover": { + "displayName": "On hover" + } + }, + "styles": { + "backgroundColor": { + "type": "color", + "displayName": "Background color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "textColor": { + "type": "color", + "displayName": "Text color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "loaderColor": { + "type": "color", + "displayName": "Loader color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + }, + "defaultValue": false + } + }, + "borderRadius": { + "type": "number", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "number" + }, + "defaultValue": false + } + }, + "borderColor": { + "type": "color", + "displayName": "Border color", + "validation": { + "schema": { + "type": "string" + }, + "defaultValue": false + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [ + { + "eventId": "onClick", + "actionId": "run-query", + "message": "Hello world!", + "alertType": "info", + "queryId": "4d945178-ffd4-447a-a452-819154bead88", + "queryName": "s33" + } + ], + "styles": { + "backgroundColor": { + "value": "#f5a623ff" + }, + "textColor": { + "value": "#fff" + }, + "loaderColor": { + "value": "#fff" + }, + "visibility": { + "value": "{{true}}" + }, + "borderRadius": { + "value": "{{6}}" + }, + "borderColor": { + "value": "#375FCF" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "button5", + "displayName": "Button", + "description": "Trigger actions: queries, alerts etc", + "component": "Button", + "defaultSize": { + "width": 3, + "height": 30 + }, + "exposedVariables": {}, + "actions": [ + { + "handle": "click", + "displayName": "Click" + }, + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New Text" + } + ] + }, + { + "handle": "disable", + "displayName": "Disable", + "params": [ + { + "handle": "disable", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "visibility", + "displayName": "Visibility", + "params": [ + { + "handle": "visible", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + }, + { + "handle": "loading", + "displayName": "Loading", + "params": [ + { + "handle": "loading", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 520, + "left": 79.06976577375512, + "width": 7.036632765433699, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "aad7f0d2-4e54-410a-8322-95cf6b6a7967": { + "id": "aad7f0d2-4e54-410a-8322-95cf6b6a7967", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Bucket Name" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text7", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 80, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + }, + "d9c49043-d3fc-4ab7-ab95-4feead33c936": { + "component": { + "properties": { + "label": { + "type": "code", + "displayName": "Label", + "validation": { + "schema": { + "type": "string" + } + } + }, + "placeholder": { + "type": "code", + "displayName": "Placeholder", + "validation": { + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "advanced": { + "type": "toggle", + "displayName": "Advanced", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "value": { + "type": "code", + "displayName": "Default value", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + }, + "values": { + "type": "code", + "displayName": "Option values", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "display_values": { + "type": "code", + "displayName": "Option labels", + "conditionallyRender": { + "key": "advanced", + "value": false + }, + "validation": { + "schema": { + "type": "array", + "element": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "schema": { + "type": "code", + "displayName": "Schema", + "conditionallyRender": { + "key": "advanced", + "value": true + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Options loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": { + "onSelect": { + "displayName": "On select" + }, + "onSearchTextChanged": { + "displayName": "On search text changed" + } + }, + "styles": { + "borderRadius": { + "type": "code", + "displayName": "Border radius", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "selectedTextColor": { + "type": "color", + "displayName": "Selected Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "justifyContent": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "borderRadius": { + "value": "0" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + }, + "justifyContent": { + "value": "left" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "validation": { + "customRule": { + "value": null + } + }, + "properties": { + "advanced": { + "value": "{{false}}" + }, + "schema": { + "value": "{{[\t{label: 'One',value: 1,disable: false,visible: true,default: true},{label: 'Two',value: 2,disable: false,visible: true},{label: 'Three',value: 3,disable: false,visible: true}\t]}}" + }, + "label": { + "value": "" + }, + "value": { + "value": "{{components.table2.selectedRow.Name}}" + }, + "values": { + "value": "{{queries.getBuckets.data.Buckets.map(item => item.Name)}}" + }, + "display_values": { + "value": "{{queries.getBuckets.data.Buckets.map(item => item.Name)}}" + }, + "loadingState": { + "value": "{{false}}" + }, + "placeholder": { + "value": "Select your bucket" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "dropdown1", + "displayName": "Dropdown", + "description": "Select one value from options", + "defaultSize": { + "width": 8, + "height": 30 + }, + "component": "DropDown", + "validation": { + "customRule": { + "type": "code", + "displayName": "Custom validation" + } + }, + "exposedVariables": { + "value": 2, + "searchText": "", + "label": "Select", + "optionLabels": [ + "one", + "two", + "three" + ], + "selectedOptionLabel": "two" + }, + "actions": [ + { + "handle": "selectOption", + "displayName": "Select option", + "params": [ + { + "handle": "select", + "displayName": "Select" + } + ] + } + ] + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1", + "layouts": { + "desktop": { + "top": 120, + "left": 4.651250004402277, + "width": 26.00937885557519, + "height": 40 + } + }, + "withDefaultChildren": false + }, + "cdcb741e-2ee6-4e86-9f7d-db36186db348": { + "id": "cdcb741e-2ee6-4e86-9f7d-db36186db348", + "component": { + "properties": { + "text": { + "type": "code", + "displayName": "Text", + "validation": { + "schema": { + "type": "union", + "schemas": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + }, + "loadingState": { + "type": "toggle", + "displayName": "Show loading state", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "general": { + "tooltip": { + "type": "code", + "displayName": "Tooltip", + "validation": { + "schema": { + "type": "string" + } + } + } + }, + "others": { + "showOnDesktop": { + "type": "toggle", + "displayName": "Show on desktop" + }, + "showOnMobile": { + "type": "toggle", + "displayName": "Show on mobile" + } + }, + "events": {}, + "styles": { + "fontWeight": { + "type": "select", + "displayName": "Font Weight", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "bold", + "value": "bold" + }, + { + "name": "lighter", + "value": "lighter" + }, + { + "name": "bolder", + "value": "bolder" + } + ] + }, + "decoration": { + "type": "select", + "displayName": "Text Decoration", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "overline", + "value": "overline" + }, + { + "name": "line-through", + "value": "line-through" + }, + { + "name": "underline", + "value": "underline" + }, + { + "name": "overline underline", + "value": "overline underline" + } + ] + }, + "transformation": { + "type": "select", + "displayName": "Text Transformation", + "options": [ + { + "name": "none", + "value": "none" + }, + { + "name": "uppercase", + "value": "uppercase" + }, + { + "name": "lowercase", + "value": "lowercase" + }, + { + "name": "capitalize", + "value": "capitalize" + } + ] + }, + "fontStyle": { + "type": "select", + "displayName": "Font Style", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "italic", + "value": "italic" + }, + { + "name": "oblique", + "value": "oblique" + } + ] + }, + "lineHeight": { + "type": "number", + "displayName": "Line Height" + }, + "textIndent": { + "type": "number", + "displayName": "Text Indent" + }, + "letterSpacing": { + "type": "number", + "displayName": "Letter Spacing" + }, + "wordSpacing": { + "type": "number", + "displayName": "Word Spacing" + }, + "fontVariant": { + "type": "select", + "displayName": "Font Variant", + "options": [ + { + "name": "normal", + "value": "normal" + }, + { + "name": "small-caps", + "value": "small-caps" + }, + { + "name": "initial", + "value": "initial" + }, + { + "name": "inherit", + "value": "inherit" + } + ] + }, + "textSize": { + "type": "number", + "displayName": "Text Size", + "validation": { + "schema": { + "type": "number" + } + } + }, + "backgroundColor": { + "type": "color", + "displayName": "Background Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textColor": { + "type": "color", + "displayName": "Text Color", + "validation": { + "schema": { + "type": "string" + } + } + }, + "textAlign": { + "type": "alignButtons", + "displayName": "Align Text", + "validation": { + "schema": { + "type": "string" + } + } + }, + "visibility": { + "type": "toggle", + "displayName": "Visibility", + "validation": { + "schema": { + "type": "boolean" + } + } + }, + "disabledState": { + "type": "toggle", + "displayName": "Disable", + "validation": { + "schema": { + "type": "boolean" + } + } + } + }, + "validate": true, + "generalStyles": { + "boxShadow": { + "type": "boxShadow", + "displayName": "Box Shadow" + } + }, + "definition": { + "others": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "events": [], + "styles": { + "backgroundColor": { + "value": "#fff00000" + }, + "textColor": { + "value": "#000000" + }, + "textSize": { + "value": 14 + }, + "textAlign": { + "value": "left" + }, + "fontWeight": { + "value": "bold" + }, + "decoration": { + "value": "none" + }, + "transformation": { + "value": "none" + }, + "fontStyle": { + "value": "normal" + }, + "lineHeight": { + "value": 1.5 + }, + "textIndent": { + "value": 0 + }, + "letterSpacing": { + "value": 0 + }, + "wordSpacing": { + "value": 0 + }, + "fontVariant": { + "value": "normal" + }, + "visibility": { + "value": "{{true}}" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "properties": { + "text": { + "value": "Upload your file" + }, + "loadingState": { + "value": "{{false}}" + } + }, + "general": {}, + "exposedVariables": {} + }, + "name": "text8", + "displayName": "Text", + "description": "Display markdown or HTML", + "component": "Text", + "defaultSize": { + "width": 6, + "height": 30 + }, + "exposedVariables": { + "text": "Hello, there!" + }, + "actions": [ + { + "handle": "setText", + "displayName": "Set Text", + "params": [ + { + "handle": "text", + "displayName": "Text", + "defaultValue": "New text" + } + ] + }, + { + "handle": "visibility", + "displayName": "Set Visibility", + "params": [ + { + "handle": "visibility", + "displayName": "Value", + "defaultValue": "{{false}}", + "type": "toggle" + } + ] + } + ] + }, + "layouts": { + "desktop": { + "top": 290, + "left": 4.651162045184044, + "width": 38.986914555937034, + "height": 40 + } + }, + "parent": "aac6738d-810f-4141-9dac-0e35cdfa779c-1" + } + } + }, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "233360ff-6d3e-4069-b558-6388e243162c", + "appId": "3f78ff42-1df5-4ac8-9dd6-bf1ab76bee0c", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-05-03T07:39:36.656Z", + "updatedAt": "2024-05-03T07:59:44.904Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "9b3dca70-8bca-41b4-be17-635fa5ebaa00", + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": { + "host": { + "value": "35.202.183.199", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "postgres", + "encrypted": false + }, + "username": { + "value": "postgres", + "encrypted": false + }, + "password": { + "credential_id": "5c90e4e0-e83f-4247-a69f-6004dd99ad1a", + "encrypted": true + }, + "ssl_enabled": { + "value": false, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-03-19T08:15:54.936Z", + "updatedAt": "2024-03-19T08:16:55.076Z" + }, + { + "id": "c196f2a2-c627-46ee-8362-6d33bb79c22d", + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": { + "host": { + "value": "localhost", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "", + "encrypted": false + }, + "username": { + "value": "", + "encrypted": false + }, + "password": { + "credential_id": "22797743-6cf8-42da-8561-88847f288b57", + "encrypted": true + }, + "ssl_enabled": { + "value": true, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-03-19T08:15:54.936Z", + "updatedAt": "2024-03-19T08:15:54.945Z" + }, + { + "id": "338a19c6-867e-4816-93ca-05ca8ad3271f", + "dataSourceId": "49a229ad-8349-48e7-a421-801b8680dd29", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": { + "host": { + "value": "localhost", + "encrypted": false + }, + "port": { + "value": 5432, + "encrypted": false + }, + "database": { + "value": "", + "encrypted": false + }, + "username": { + "value": "", + "encrypted": false + }, + "password": { + "credential_id": "9a8cc40e-bf4c-4d68-8ba9-8556944b8f77", + "encrypted": true + }, + "ssl_enabled": { + "value": true, + "encrypted": false + }, + "ssl_certificate": { + "value": "none", + "encrypted": false + } + }, + "createdAt": "2024-03-19T08:15:54.936Z", + "updatedAt": "2024-03-19T08:15:54.956Z" + }, + { + "id": "174f09c9-7d8b-4806-816f-cb6eff210fce", + "dataSourceId": "4963bcfd-407b-4221-a917-3fc35bf9f48f", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-05-03T07:39:36.726Z", + "updatedAt": "2024-05-03T07:39:36.726Z" + }, + { + "id": "59e4ca8c-a20e-4504-9809-c22e60d3ecfa", + "dataSourceId": "4963bcfd-407b-4221-a917-3fc35bf9f48f", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-05-03T07:39:36.726Z", + "updatedAt": "2024-05-03T07:39:36.726Z" + }, + { + "id": "6b1d97e1-a702-48b2-a42a-940cfac06883", + "dataSourceId": "4963bcfd-407b-4221-a917-3fc35bf9f48f", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-05-03T07:39:36.726Z", + "updatedAt": "2024-05-03T07:39:36.726Z" + }, + { + "id": "77943314-cfd5-407a-9020-44afb01a838d", + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-05-03T07:39:36.743Z", + "updatedAt": "2024-05-03T07:39:36.743Z" + }, + { + "id": "7cfe0035-8379-4b22-a1df-0d11e5bd4939", + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-05-03T07:39:36.743Z", + "updatedAt": "2024-05-03T07:39:36.743Z" + }, + { + "id": "97774226-d278-46a6-a28e-3cbee04e1722", + "dataSourceId": "fa22e62f-d6de-4b7e-a93a-f0c21bff9ba6", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-05-03T07:39:36.743Z", + "updatedAt": "2024-05-03T07:39:36.743Z" + }, + { + "id": "2778a1a0-a23c-453f-a8d7-9a6d538e8287", + "dataSourceId": "c19d208d-ece0-4a0e-a7a5-e4635c5ab018", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-05-03T07:39:36.760Z", + "updatedAt": "2024-05-03T07:39:36.760Z" + }, + { + "id": "f9943a38-d8ce-4a95-bbe8-741f2372ff47", + "dataSourceId": "c19d208d-ece0-4a0e-a7a5-e4635c5ab018", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-05-03T07:39:36.760Z", + "updatedAt": "2024-05-03T07:39:36.760Z" + }, + { + "id": "94056c94-c4e5-4f6d-a491-c78c3d45f4cd", + "dataSourceId": "c19d208d-ece0-4a0e-a7a5-e4635c5ab018", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-05-03T07:39:36.760Z", + "updatedAt": "2024-05-03T07:39:36.760Z" + }, + { + "id": "7504f171-867b-471c-af23-32a75a58dd9b", + "dataSourceId": "492ba617-ca80-4a72-b010-733b3bfe86d5", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-05-03T07:39:36.774Z", + "updatedAt": "2024-05-03T07:39:36.774Z" + }, + { + "id": "6573c76e-9999-4b56-b01f-467bb5ac6161", + "dataSourceId": "492ba617-ca80-4a72-b010-733b3bfe86d5", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-05-03T07:39:36.774Z", + "updatedAt": "2024-05-03T07:39:36.774Z" + }, + { + "id": "783c9a7f-6ef5-4c35-8f73-794af196661f", + "dataSourceId": "492ba617-ca80-4a72-b010-733b3bfe86d5", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-05-03T07:39:36.774Z", + "updatedAt": "2024-05-03T07:39:36.774Z" + }, + { + "id": "88b4f8e2-2135-490a-a96c-f894ce07ce7e", + "dataSourceId": "212f84be-d71d-4a10-81c9-01b54f070de8", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-05-03T07:39:36.787Z", + "updatedAt": "2024-05-03T07:39:36.787Z" + }, + { + "id": "69acdf7e-d26c-4409-804e-0daf10ac307e", + "dataSourceId": "212f84be-d71d-4a10-81c9-01b54f070de8", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-05-03T07:39:36.787Z", + "updatedAt": "2024-05-03T07:39:36.787Z" + }, + { + "id": "6fae70d7-b9d5-4737-acd1-c5f878442d52", + "dataSourceId": "212f84be-d71d-4a10-81c9-01b54f070de8", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-05-03T07:39:36.787Z", + "updatedAt": "2024-05-03T07:39:36.787Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/postgresql-database-explorer/manifest.json b/server/templates/postgresql-database-explorer/manifest.json new file mode 100644 index 0000000000..c75b3c64ac --- /dev/null +++ b/server/templates/postgresql-database-explorer/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "PostgreSQL database explorer", + "description": "Navigate, explore, and manage PostgreSQL tables seamlessly with our user-friendly database explorer.", + "widgets": [ + "Table" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + }, + { + "name": "Run JavaScript", + "id": "runjs" + } + ], + "id": "postgresql-database-explorer", + "category": "developer-utilities" +} \ No newline at end of file diff --git a/server/templates/sales-analytics-dashboard-snowflake/manifest.json b/server/templates/sales-analytics-dashboard-snowflake/manifest.json index 2141d28e05..1b733633c2 100644 --- a/server/templates/sales-analytics-dashboard-snowflake/manifest.json +++ b/server/templates/sales-analytics-dashboard-snowflake/manifest.json @@ -12,5 +12,5 @@ } ], "id": "sales-analytics-dashboard-snowflake", - "category": "sales-and-marketing" + "category": "data-and-analytics" } \ No newline at end of file diff --git a/server/templates/sales-analytics-dashboard-tooljet-db/manifest.json b/server/templates/sales-analytics-dashboard-tooljet-db/manifest.json index 32adfdf2c2..7d18eeeb5f 100644 --- a/server/templates/sales-analytics-dashboard-tooljet-db/manifest.json +++ b/server/templates/sales-analytics-dashboard-tooljet-db/manifest.json @@ -12,5 +12,5 @@ } ], "id": "sales-analytics-dashboard-tooljet-db", - "category": "sales-and-marketing" + "category": "data-and-analytics" } \ No newline at end of file diff --git a/server/templates/simple-marketplace-admin/definition.json b/server/templates/simple-marketplace-admin/definition.json new file mode 100644 index 0000000000..58e3e65f2d --- /dev/null +++ b/server/templates/simple-marketplace-admin/definition.json @@ -0,0 +1,7828 @@ +{ + "tooljet_database": [ + { + "id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "table_name": "marketplace_products", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"0c78ec76-2bc2-43b1-b421-da99256f3317_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "description", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_1", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_2", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_3", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "listed_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "category", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_thumbnail", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "is_active", + "data_type": "boolean", + "column_default": "true", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "price", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "status", + "data_type": "character varying", + "column_default": "pending", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "contact_number", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "contact_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + }, + { + "id": "52a248b1-0879-4054-8353-39c4d8da988f", + "table_name": "marketplace_favourites", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"52a248b1-0879-4054-8353-39c4d8da988f_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "product_id", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "favourited_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "13958ccf-cdba-4aed-9142-df77f13c3abf", + "type": "front-end", + "name": "Simple marketplace - Admin", + "slug": "13958ccf-cdba-4aed-9142-df77f13c3abf", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "server", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-08T07:11:19.524Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-08T07:11:21.465Z", + "editingVersion": { + "id": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "appId": "13958ccf-cdba-4aed-9142-df77f13c3abf", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-08T07:11:19.547Z", + "updatedAt": "2024-05-03T11:18:00.433Z" + }, + "components": [ + { + "id": "9d1ed941-a5f0-4773-b063-f12dfef654cf", + "name": "text44", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Contact number
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "fad59fc7-83b2-44d3-a46f-ea95151d52c1", + "type": "desktop", + "top": 570, + "left": 4.651162345120721, + "width": 7.000000000000001, + "height": 40, + "componentId": "9d1ed941-a5f0-4773-b063-f12dfef654cf", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e8b5c568-1d3e-45fe-b535-2c38b0ec2ee7", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "9d1ed941-a5f0-4773-b063-f12dfef654cf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "name": "listview1", + "type": "Listview", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": { + "mode": { + "value": "grid" + }, + "columns": { + "fxActive": true, + "value": "{{parseInt((document.documentElement.clientWidth / 600).toFixed(0))}}" + }, + "data": { + "value": "{{queries.getProducts.data.filter(\n (row) =>\n (row.name\n .toLowerCase()\n .includes(components.textinput1.value.toLowerCase()) ||\n row.description\n .toLowerCase()\n .includes(components.textinput1.value.toLowerCase())) &&\n (components.dropdown2.value == true\n ? queries.getWishlist.data.hasOwnProperty(row.id)\n : true)\n)}}" + }, + "rowHeight": { + "value": "360" + }, + "enablePagination": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{10}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-30T06:40:32.450Z", + "layouts": [ + { + "id": "35af046c-539b-4639-8165-7df9a144c949", + "type": "mobile", + "top": 250, + "left": 2.3255813953488373, + "width": 20, + "height": 300, + "componentId": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0f1ae578-883c-4f83-880e-6145bc42178c", + "type": "desktop", + "top": 190, + "left": 23.25581395348837, + "width": 32, + "height": 610, + "componentId": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "updatedAt": "2024-05-03T10:49:19.420Z" + } + ] + }, + { + "id": "d40ef852-b6f7-41ed-9a76-8e5cc36ae07b", + "name": "text2", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "64fac1e3-58dd-493e-864a-5d33c4315ed8", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c31cd786-6d92-4ad5-8b62-f1780df6e538", + "type": "desktop", + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40, + "componentId": "d40ef852-b6f7-41ed-9a76-8e5cc36ae07b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bbb8273e-8901-488b-a369-d717744fbc98", + "name": "text3", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "64fac1e3-58dd-493e-864a-5d33c4315ed8", + "properties": { + "text": { + "value": "Marketplace for administrator" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "7046d038-46e6-4199-af68-b4e5e003716b", + "type": "desktop", + "top": 10, + "left": 69.76744229792882, + "width": 12, + "height": 40, + "componentId": "bbb8273e-8901-488b-a369-d717744fbc98", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "64fac1e3-58dd-493e-864a-5d33c4315ed8", + "name": "container1", + "type": "Container", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "31bcca8f-0e28-4ee8-b282-4a81ad7b21dd", + "type": "desktop", + "top": 20, + "left": 2.325580291207368, + "width": 41, + "height": 70, + "componentId": "64fac1e3-58dd-493e-864a-5d33c4315ed8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "name": "button2", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "View details" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#3e63ddff" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-30T06:41:35.824Z", + "layouts": [ + { + "id": "07f52def-080a-4d49-9c87-4242abdcae3c", + "type": "mobile", + "top": 260, + "left": 6.9767441860465125, + "width": 6.976744186046512, + "height": 30, + "componentId": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ef32ec5b-7f18-4e07-a52a-1189adde0439", + "type": "desktop", + "top": 270, + "left": 37.20930566543972, + "width": 23, + "height": 50, + "componentId": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "updatedAt": "2024-05-03T11:17:41.382Z" + } + ] + }, + { + "id": "db3ebcca-0629-47b1-9315-3aab62fc521c", + "name": "text4", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "
" + }, + "visibility": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "padding": { + "value": "default" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "3d75b5bb-9732-4353-a6d8-a780c06e561d", + "type": "mobile", + "top": 260, + "left": 6.9767441860465125, + "width": 13.953488372093023, + "height": 40, + "componentId": "db3ebcca-0629-47b1-9315-3aab62fc521c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cb08f67a-d8d1-4e67-9edd-180b88638649", + "type": "desktop", + "top": 350, + "left": 2.32558215869854, + "width": 41, + "height": 10, + "componentId": "db3ebcca-0629-47b1-9315-3aab62fc521c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "83047230-7a83-4486-a0f5-7233a0d2c902", + "name": "text5", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textAlign": { + "value": "center" + }, + "isScrollRequired": { + "value": "disabled" + }, + "padding": { + "value": "default" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "95afe518-5756-45c0-8e3c-7f0f3be9782a", + "type": "mobile", + "top": 250, + "left": 23.25581395348837, + "width": 13.953488372093023, + "height": 40, + "componentId": "83047230-7a83-4486-a0f5-7233a0d2c902", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2cb57ce5-39cc-4899-b05c-90634d63ed8b", + "type": "desktop", + "top": 0, + "left": 95.34883720930232, + "width": 2, + "height": 350, + "componentId": "83047230-7a83-4486-a0f5-7233a0d2c902", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "name": "container2", + "type": "Container", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "cb97df7e-eddb-4bc1-baea-1b2098ebfe0f", + "type": "mobile", + "top": 570, + "left": 4.651162790697675, + "width": 5, + "height": 200, + "componentId": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "436ce6d0-dfa0-4dec-92dc-79aaee4875af", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 8, + "height": 690, + "componentId": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "updatedAt": "2024-05-03T10:49:22.242Z" + } + ] + }, + { + "id": "ae0de6cb-1bbb-47d5-9bab-b10bc12bd0db", + "name": "textinput1", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Search" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + }, + "iconColor": { + "value": "#888888ff" + }, + "auto": { + "value": true + }, + "icon": { + "value": "IconSearch" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5c325da2-30f1-4f9e-8a87-fb55beeb13dd", + "type": "desktop", + "top": 20, + "left": 6.976741683716129, + "width": 36, + "height": 40, + "componentId": "ae0de6cb-1bbb-47d5-9bab-b10bc12bd0db", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5e16fe7e-f3f3-4a75-932e-5e2f567181e4", + "type": "mobile", + "top": 0, + "left": 0, + "width": 10, + "height": 40, + "componentId": "ae0de6cb-1bbb-47d5-9bab-b10bc12bd0db", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4ce5da06-1037-4943-8f52-1ed54297a912", + "name": "dropdown1", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Select category" + }, + "value": { + "value": "{{\"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\"}}" + }, + "display_values": { + "value": "{{[\n \"All categories\",\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "values": { + "value": "{{[\n \"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\",\n \"[\\\"Electronics\\\"]\",\n \"[\\\"Kitchenware\\\"]\",\n \"[\\\"Apparel\\\"]\",\n \"[\\\"Wellness\\\"]\",\n \"[\\\"Sports\\\"]\",\n \"[\\\"Beauty\\\"]\",\n \"[\\\"Toys\\\"]\",\n \"[\\\"Automotive\\\"]\",\n \"[\\\"Pets\\\"]\",\n \"[\\\"Tools\\\"]\"\n]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c039c83b-0d3e-46af-bd62-0f4cd46145d0", + "type": "desktop", + "top": 250, + "left": 6.976751689437488, + "width": 36, + "height": 40, + "componentId": "4ce5da06-1037-4943-8f52-1ed54297a912", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "6bd8eb02-b39d-4861-8caf-e90dbc04c9b6", + "type": "mobile", + "top": 150, + "left": 13.953488372093023, + "width": 18.6046511627907, + "height": 30, + "componentId": "4ce5da06-1037-4943-8f52-1ed54297a912", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0a31682d-8a22-440f-9fc9-8ff3a69272f0", + "name": "text6", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "61d8526b-72cf-4457-b362-d5bff2763107", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "0a31682d-8a22-440f-9fc9-8ff3a69272f0", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f84f1833-ab60-46fc-aef3-421d90639134", + "type": "desktop", + "top": 220, + "left": 6.976757682690073, + "width": 34.99999999999999, + "height": 30, + "componentId": "0a31682d-8a22-440f-9fc9-8ff3a69272f0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "89ec44ea-9f52-493f-878e-5a886d68d70a", + "name": "text7", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "
Minimum price
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "8addb985-87c0-4e84-b763-eafa80b97ca9", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "89ec44ea-9f52-493f-878e-5a886d68d70a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "867787ca-9445-4708-922b-b54bb271ae34", + "type": "desktop", + "top": 320, + "left": 6.9767546626595935, + "width": 34.99999999999999, + "height": 30, + "componentId": "89ec44ea-9f52-493f-878e-5a886d68d70a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b14e7810-2d86-45a0-8b1b-e781148a6b0a", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "" + }, + "value": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconColor": { + "value": "#888888ff" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "{{components.numberinput2.value}}" + } + }, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "427a8950-80ab-4f9d-9628-e105df12d625", + "type": "desktop", + "top": 350, + "left": 6.976752705987563, + "width": 36, + "height": 40, + "componentId": "b14e7810-2d86-45a0-8b1b-e781148a6b0a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1b90a057-71ac-4d0e-b4c7-aa308b5cf9b2", + "type": "mobile", + "top": 240, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "b14e7810-2d86-45a0-8b1b-e781148a6b0a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f178fd2e-fcc7-4db7-8267-65179b38b16e", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "99999.99" + }, + "placeholder": { + "value": "" + }, + "decimalPlaces": { + "value": "{{2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconColor": { + "value": "#888888ff" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "maxValue": { + "value": "" + }, + "minValue": { + "value": "{{components.numberinput1.value}}" + }, + "mandatory": { + "value": "{{false}}" + } + }, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "1545182d-faee-49d3-9eba-3c018d042fcc", + "type": "desktop", + "top": 450, + "left": 6.976749743335181, + "width": 36, + "height": 40, + "componentId": "f178fd2e-fcc7-4db7-8267-65179b38b16e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "91af5d23-4b51-4253-9e84-eef2a208f443", + "type": "mobile", + "top": 240, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "f178fd2e-fcc7-4db7-8267-65179b38b16e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b8b66ac6-19f6-4d04-bcee-1cedda76ebbb", + "name": "text8", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "
Maximum price
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "ac167290-cee8-4788-b796-732c1e04b7fb", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "b8b66ac6-19f6-4d04-bcee-1cedda76ebbb", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ab063e12-94d7-4db0-9687-284e92d9574c", + "type": "desktop", + "top": 420, + "left": 6.976747923546997, + "width": 34.99999999999999, + "height": 30, + "componentId": "b8b66ac6-19f6-4d04-bcee-1cedda76ebbb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "name": "button3", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "Reset filters" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "05e38af0-f695-4d8b-8ec3-021fac86d8c2", + "type": "mobile", + "top": 420, + "left": 13.953488372093025, + "width": 6.976744186046512, + "height": 30, + "componentId": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3c1648b8-2238-45ed-8475-fe94083fa916", + "type": "desktop", + "top": 570, + "left": 6.97674118298545, + "width": 36, + "height": 40, + "componentId": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "updatedAt": "2024-05-03T10:49:30.161Z" + } + ] + }, + { + "id": "6166f754-0d55-4bbd-8f13-bfc18bccc7ad", + "name": "button4", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "Apply filters" + }, + "loadingState": { + "fxActive": true, + "value": "{{(variables?.applyingFilter ?? false) && queries.getProducts.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "fb05c89a-3d17-48ed-afeb-1a6244609756", + "type": "mobile", + "top": 480, + "left": 4.651162790697675, + "width": 6.976744186046512, + "height": 30, + "componentId": "6166f754-0d55-4bbd-8f13-bfc18bccc7ad", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b3d849d2-2114-436c-b873-537f397cac63", + "type": "desktop", + "top": 620, + "left": 6.976735765785905, + "width": 36, + "height": 40, + "componentId": "6166f754-0d55-4bbd-8f13-bfc18bccc7ad", + "updatedAt": "2024-05-03T10:49:30.161Z" + } + ] + }, + { + "id": "1475462d-bde5-4c26-ad62-bcb24dc371cf", + "name": "text10", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "text": { + "value": "
Filters
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "18" + }, + "textIndent": { + "value": "0" + }, + "isScrollRequired": { + "value": "disabled" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textAlign": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "9ed085c3-b7df-4c37-aa95-8ed2cfc352c2", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "1475462d-bde5-4c26-ad62-bcb24dc371cf", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4c18de03-215a-4138-8e40-ba52d28a9826", + "type": "desktop", + "top": 160, + "left": 6.976749175000256, + "width": 36, + "height": 40, + "componentId": "1475462d-bde5-4c26-ad62-bcb24dc371cf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "name": "container3", + "type": "Container", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "fc334ec9-51c1-4f94-bbf1-28d366273ae5", + "type": "desktop", + "top": 110, + "left": 23.25581395348837, + "width": 32, + "height": 70, + "componentId": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f1b7dd2d-4e2d-44dc-9da9-e6145d9a8f4a", + "type": "mobile", + "top": 700, + "left": 23.25581395348837, + "width": 5, + "height": 200, + "componentId": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2ee89700-8c95-4c10-af66-db83177d1e68", + "name": "button7", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "properties": { + "text": { + "value": "Manage all listings" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "f3c65fea-5383-42e0-b991-27d189984648", + "type": "mobile", + "top": 180, + "left": 0, + "width": 3, + "height": 30, + "componentId": "2ee89700-8c95-4c10-af66-db83177d1e68", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1ff1f67b-41a3-48b6-95f2-459a85d7cac8", + "type": "desktop", + "top": 10, + "left": 58.1395389027077, + "width": 9, + "height": 40, + "componentId": "2ee89700-8c95-4c10-af66-db83177d1e68", + "updatedAt": "2024-05-03T11:17:44.911Z" + } + ] + }, + { + "id": "e4a0ed27-209b-4813-a1dc-1799db62e8a2", + "name": "button8", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "properties": { + "text": { + "value": "List a product" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c933a836-ca51-4c72-a65f-2e8ce9b99313", + "type": "desktop", + "top": 10, + "left": 81.39536571365016, + "width": 7, + "height": 40, + "componentId": "e4a0ed27-209b-4813-a1dc-1799db62e8a2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f1ad54af-94cc-4c9d-8acf-b0d4073c9ca1", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "e4a0ed27-209b-4813-a1dc-1799db62e8a2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e4f0f4e5-7f68-4dc1-a320-1a73de9f8e6b", + "name": "text11", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "5a3c1926-f99d-46bc-b601-ab77208cfbe2", + "properties": { + "text": { + "value": "
Products
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "18" + }, + "textIndent": { + "value": "0" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "d9bd43fa-6bca-48e0-a70a-fa38d346a751", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "e4f0f4e5-7f68-4dc1-a320-1a73de9f8e6b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3ae3f286-aed9-41f8-8456-e53173053547", + "type": "desktop", + "top": 10, + "left": 2.325581412307962, + "width": 6, + "height": 40, + "componentId": "e4f0f4e5-7f68-4dc1-a320-1a73de9f8e6b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "name": "text13", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "{{queries.getWishlist.data.hasOwnProperty(listItem.id) ? `\n \n` : `\n \n`}}" + }, + "loadingState": { + "value": "{{variables.selectedProductForBookmark.productId == listItem.id && (queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading)}}", + "fxActive": true + }, + "disabledState": { + "fxActive": true, + "value": "{{queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading}}" + }, + "visibility": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "center" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#3e63dd1a" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "47e273b0-ba1e-4deb-93bc-355d755308bf", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "03e0e73d-3237-49c4-aaa5-3c07c4da746a", + "type": "desktop", + "top": 270, + "left": 6.976738928322358, + "width": 6, + "height": 50, + "componentId": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d36c3541-d827-42bb-b5b8-bd8cde0f0f8a", + "name": "dropdown2", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "01f2ed33-dee5-4cda-985d-20d91cbcae99", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "display_values": { + "value": "{{[\"All products\", \"Wishlisted products only\"]}}" + }, + "placeholder": { + "value": "Select favourite preference" + }, + "values": { + "value": "{{[false, true]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "28c36be8-184c-4fdd-8342-29d9695c01e6", + "type": "desktop", + "top": 80, + "left": 6.97674118298545, + "width": 36, + "height": 40, + "componentId": "d36c3541-d827-42bb-b5b8-bd8cde0f0f8a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0ebd0c74-d810-4bd7-9f6a-e74b23be9d4d", + "type": "mobile", + "top": 150, + "left": 13.953488372093023, + "width": 18.6046511627907, + "height": 30, + "componentId": "d36c3541-d827-42bb-b5b8-bd8cde0f0f8a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "064c3967-1972-4cd9-bffd-71c9185ec4a9", + "name": "text14", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "{{`
${listItem.name}
`}}" + } + }, + "general": {}, + "styles": { + "isScrollRequired": { + "value": "disabled" + }, + "verticalAlignment": { + "value": "center" + }, + "textAlign": { + "value": "right" + }, + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-30T06:45:24.721Z", + "layouts": [ + { + "id": "552374eb-d5b9-4fe7-b345-61396ed4fcd5", + "type": "mobile", + "top": 200, + "left": 11.627906976744185, + "width": 13.953488372093023, + "height": 40, + "componentId": "064c3967-1972-4cd9-bffd-71c9185ec4a9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1f7ce904-a64e-4bab-acc5-75899fcf1103", + "type": "desktop", + "top": 230, + "left": 37.20928434808359, + "width": 22.999999999999996, + "height": 30, + "componentId": "064c3967-1972-4cd9-bffd-71c9185ec4a9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "ef884cb8-f9aa-4ae9-ad4f-a0c919d8c1f8", + "name": "text15", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "text": { + "value": "{{`
${new Intl.NumberFormat('en-US', { style: 'currency', currency: \"USD\" }).format(listItem.price)}
`}}" + } + }, + "general": {}, + "styles": { + "isScrollRequired": { + "value": "disabled" + }, + "textSize": { + "value": "16" + }, + "padding": { + "value": "default" + }, + "fontWeight": { + "value": "normal" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-30T06:45:13.250Z", + "layouts": [ + { + "id": "9c6cbcca-949f-44fa-a116-58e8839b50f3", + "type": "mobile", + "top": 200, + "left": 11.627906976744185, + "width": 13.953488372093023, + "height": 40, + "componentId": "ef884cb8-f9aa-4ae9-ad4f-a0c919d8c1f8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d721b890-79e4-414f-aecd-665828c4a6d7", + "type": "desktop", + "top": 230, + "left": 6.976738928322358, + "width": 12, + "height": 30, + "componentId": "ef884cb8-f9aa-4ae9-ad4f-a0c919d8c1f8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "name": "modal1", + "type": "Modal", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "size": { + "value": "lg" + }, + "title": { + "value": "List a product" + }, + "modalHeight": { + "value": "770px" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "6a92ba85-6202-44cc-8492-f9963b5ae22b", + "type": "mobile", + "top": 810, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "654df1bf-7d5c-49ed-88b1-3ad375071be2", + "type": "desktop", + "top": 860, + "left": 2.3255821371982277, + "width": 4, + "height": 30, + "componentId": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "updatedAt": "2024-05-03T10:48:00.999Z" + } + ] + }, + { + "id": "450ba525-f52d-4469-bb02-23c056e2a8ff", + "name": "text16", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Product Name
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "d88d7225-5dd3-4295-9f30-6395e72c684b", + "type": "desktop", + "top": 270, + "left": 4.651157795013531, + "width": 7.000000000000001, + "height": 40, + "componentId": "450ba525-f52d-4469-bb02-23c056e2a8ff", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "de262bdd-0a15-4c64-8cc7-0132c5b6c6a7", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "450ba525-f52d-4469-bb02-23c056e2a8ff", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c5d52a0a-1a92-47dd-b04e-fe27bc773b20", + "name": "textinput2", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter name" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5d72d5d1-60a8-4b46-bc50-fc91a30b67b3", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "c5d52a0a-1a92-47dd-b04e-fe27bc773b20", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5c1de084-cced-42cc-8e77-c6759bbeb93d", + "type": "desktop", + "top": 270, + "left": 20.930216037380013, + "width": 32, + "height": 40, + "componentId": "c5d52a0a-1a92-47dd-b04e-fe27bc773b20", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "57a71247-af9b-44bd-b471-a940388ab31c", + "name": "text18", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Description
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "eb387177-e567-4638-9df4-6696a05389e5", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "57a71247-af9b-44bd-b471-a940388ab31c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "33da69fe-0f7e-4eb7-b1f1-0c22985de1e3", + "type": "desktop", + "top": 330, + "left": 4.6511647458281224, + "width": 6, + "height": 40, + "componentId": "57a71247-af9b-44bd-b471-a940388ab31c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "96e18eba-e9db-4682-aaa2-1f8a80569c5c", + "name": "textarea1", + "type": "TextArea", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "18920f06-c5fb-477d-bda1-6ac9b00347fd", + "type": "desktop", + "top": 330, + "left": 20.930231960068358, + "width": 32, + "height": 100, + "componentId": "96e18eba-e9db-4682-aaa2-1f8a80569c5c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "401660ba-7cc9-4db8-86ce-78e497efaaef", + "type": "mobile", + "top": 120, + "left": 23.255813953488374, + "width": 13.953488372093023, + "height": 100, + "componentId": "96e18eba-e9db-4682-aaa2-1f8a80569c5c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2bbf6c12-e1a9-4c45-858a-2ac845f01451", + "name": "image2", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "source": { + "value": "{{components.textinput3.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput3.value.trim()}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "borderType": { + "value": "rounded" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "e6566944-21a4-4a77-a8c5-fddda5653daf", + "type": "desktop", + "top": 30, + "left": 4.651164443630164, + "width": 9, + "height": 120, + "componentId": "2bbf6c12-e1a9-4c45-858a-2ac845f01451", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "09acc67e-e244-4586-99fc-568e0e9b279a", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "2bbf6c12-e1a9-4c45-858a-2ac845f01451", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "99fa8fc9-5071-490b-88da-4ccd10465da0", + "name": "image1", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "d937fbf0-c386-4007-920a-01a5eb3c83e4", + "properties": { + "source": { + "value": "{{listItem.image_thumbnail}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "7d736e42-995c-4da7-96a4-a23f47c83295", + "type": "desktop", + "top": 40, + "left": 6.976744186046512, + "width": 36, + "height": 180, + "componentId": "99fa8fc9-5071-490b-88da-4ccd10465da0", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f10dc52f-7729-4176-9428-c8333699053d", + "name": "image3", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "source": { + "value": "{{components.textinput4.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput4.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "278ee642-ce2e-4664-b4c9-92860f3b328b", + "type": "desktop", + "top": 30, + "left": 27.906985472585674, + "width": 9, + "height": 120, + "componentId": "f10dc52f-7729-4176-9428-c8333699053d", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a05ff51c-0f92-4d44-b9ad-f5b6f6049875", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "f10dc52f-7729-4176-9428-c8333699053d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4d7ea0c6-08c6-4e45-b19b-41a17b7ec031", + "name": "image4", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "source": { + "value": "{{components.textinput5.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput5.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "40cad8ec-315f-4228-9c8e-c40efa0abf6e", + "type": "desktop", + "top": 30, + "left": 51.16278162692838, + "width": 9, + "height": 120, + "componentId": "4d7ea0c6-08c6-4e45-b19b-41a17b7ec031", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f8ed4e62-08ec-46a7-96ed-132da462cc73", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "4d7ea0c6-08c6-4e45-b19b-41a17b7ec031", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "aca05ce6-34ae-428f-ab61-9ee65108ff30", + "name": "image5", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "source": { + "value": "{{components.textinput6.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput6.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5205cfc4-615c-493f-84ac-2ced1f249745", + "type": "desktop", + "top": 30, + "left": 74.41860510433918, + "width": 9, + "height": 120, + "componentId": "aca05ce6-34ae-428f-ab61-9ee65108ff30", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "64bef685-2219-40c0-957c-7dab7a7e0f73", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "aca05ce6-34ae-428f-ab61-9ee65108ff30", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6f408a9f-73c8-47c4-a4a3-089eb4e1b9f4", + "name": "text19", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Thumbnail URL
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "62923908-73fe-4ff2-b121-d8640eb22735", + "type": "desktop", + "top": 150, + "left": 4.651159609227916, + "width": 9, + "height": 40, + "componentId": "6f408a9f-73c8-47c4-a4a3-089eb4e1b9f4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0e2942d8-8ecf-40e1-b12c-e07a53074650", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "6f408a9f-73c8-47c4-a4a3-089eb4e1b9f4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8da8e0ca-9c3f-4806-92df-f1f8e9d606c7", + "name": "textinput3", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c71946e1-95e2-426c-beda-0aeb7fdda531", + "type": "desktop", + "top": 190, + "left": 4.651159851195644, + "width": 9, + "height": 40, + "componentId": "8da8e0ca-9c3f-4806-92df-f1f8e9d606c7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0aa260f8-e49f-4ff1-a8fb-69008ae020e6", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "8da8e0ca-9c3f-4806-92df-f1f8e9d606c7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0d6610e7-e5f4-4872-bfc3-bd8e93ab8225", + "name": "text20", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Image 1
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "37ab5888-4e42-47d1-b1b0-c19b21288cc4", + "type": "desktop", + "top": 150, + "left": 27.906971490772545, + "width": 9, + "height": 40, + "componentId": "0d6610e7-e5f4-4872-bfc3-bd8e93ab8225", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bcedc299-b02e-49c5-8645-483c8d797af7", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "0d6610e7-e5f4-4872-bfc3-bd8e93ab8225", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "994a4565-58ef-4d31-9136-56e855bdf2ce", + "name": "textinput4", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "b7f5d6a9-3ee7-416a-b1dd-799adfec0047", + "type": "desktop", + "top": 190, + "left": 27.90697434376371, + "width": 9, + "height": 40, + "componentId": "994a4565-58ef-4d31-9136-56e855bdf2ce", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ecda3789-64a4-4b12-9a1b-6c4f8b93e9af", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "994a4565-58ef-4d31-9136-56e855bdf2ce", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "921695f0-efb1-4a1c-98e2-269d2a34a5a4", + "name": "text21", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Image 2
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "3ece9025-03ef-4b49-af62-ec8fbdba47cc", + "type": "desktop", + "top": 150, + "left": 51.1627778686928, + "width": 9, + "height": 40, + "componentId": "921695f0-efb1-4a1c-98e2-269d2a34a5a4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c4e90292-19ec-40d4-a365-59e0e6e76a10", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "921695f0-efb1-4a1c-98e2-269d2a34a5a4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4c98d844-8123-473a-bc91-eb58e0fde753", + "name": "textinput5", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "disabledState": { + "fxActive": false, + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5bb9a62a-43a8-4e78-bf79-3defe2dc21e2", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "4c98d844-8123-473a-bc91-eb58e0fde753", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9c1f23e8-c71a-4d12-882d-b939399cbe59", + "type": "desktop", + "top": 190, + "left": 51.16278010993017, + "width": 9, + "height": 40, + "componentId": "4c98d844-8123-473a-bc91-eb58e0fde753", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "114f2689-3852-466b-ab06-ea5dab39ece2", + "name": "textinput6", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "46a30932-b3d4-449a-8658-920c0229a229", + "type": "desktop", + "top": 190, + "left": 74.4185982799801, + "width": 9, + "height": 40, + "componentId": "114f2689-3852-466b-ab06-ea5dab39ece2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "47486caf-8ab3-4353-997f-bd438f182634", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "114f2689-3852-466b-ab06-ea5dab39ece2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "cb7db7bb-de98-4418-8f75-7c4a3cf9b6a5", + "name": "text22", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Image 3
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "ef8cacb6-2f36-4e56-a31d-d8f44e4cc1a4", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "cb7db7bb-de98-4418-8f75-7c4a3cf9b6a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ed209744-82b2-47bd-8115-de99b163bad8", + "type": "desktop", + "top": 150, + "left": 74.41859447089072, + "width": 9, + "height": 40, + "componentId": "cb7db7bb-de98-4418-8f75-7c4a3cf9b6a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d989fa4d-ac98-449b-b84a-db60a2e49ba1", + "name": "text23", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "bbbcfdc5-25e3-407e-aca8-406fe47addab", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "d989fa4d-ac98-449b-b84a-db60a2e49ba1", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "54b4c091-30e4-4f8d-bf41-61a5e3bc66ed", + "type": "desktop", + "top": 450, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "d989fa4d-ac98-449b-b84a-db60a2e49ba1", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "57f65f12-41ac-46b8-abbd-4b6cc7202e39", + "name": "dropdown3", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Select category" + }, + "values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "value": { + "value": "{{}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "17b1de86-bbb0-42e4-bc49-23a355d0818d", + "type": "desktop", + "top": 450, + "left": 20.93023255813954, + "width": 32, + "height": 40, + "componentId": "57f65f12-41ac-46b8-abbd-4b6cc7202e39", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1cfe3ff2-818f-4b01-ada8-a5fda1302542", + "type": "mobile", + "top": 450, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "57f65f12-41ac-46b8-abbd-4b6cc7202e39", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7995615f-5504-4fc1-941c-605da49a6a32", + "name": "text24", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Price
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "aa196536-1301-4fb9-a5aa-3599a5acafc9", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "7995615f-5504-4fc1-941c-605da49a6a32", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4442e977-1dac-4401-9262-c4863fa293e1", + "type": "desktop", + "top": 510, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "7995615f-5504-4fc1-941c-605da49a6a32", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8371fe15-1242-400f-9f28-9f30ef8e4c17", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + } + }, + "general": {}, + "styles": { + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + }, + "iconColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + }, + "maxValue": { + "value": "99999.99" + } + }, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "cba1a805-6e8d-4147-9edb-0bbf0a7cf5ff", + "type": "mobile", + "top": 510, + "left": 32.55813953488372, + "width": 23.25581395348837, + "height": 40, + "componentId": "8371fe15-1242-400f-9f28-9f30ef8e4c17", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ab5a091c-3ac0-4334-8e58-f8b9584b0b74", + "type": "desktop", + "top": 510, + "left": 20.93023762051931, + "width": 32, + "height": 40, + "componentId": "8371fe15-1242-400f-9f28-9f30ef8e4c17", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "796717fb-2f44-4bb4-a27d-5bf1614c6bbe", + "name": "button6", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.addProduct.isLoading}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "38165a23-e42c-4a9d-9a29-586e844a5ca8", + "type": "desktop", + "top": 700, + "left": 81.39534746660424, + "width": 6.000000000000001, + "height": 40, + "componentId": "796717fb-2f44-4bb4-a27d-5bf1614c6bbe", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "42fb8c86-5c0b-4395-92c1-bd10af3d82bc", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "796717fb-2f44-4bb4-a27d-5bf1614c6bbe", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9aee188f-f974-4a20-bd84-b1d158ff49da", + "name": "button9", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "e1a755ed-3849-443d-9167-029630d47b12", + "type": "desktop", + "top": 700, + "left": 65.11625879246459, + "width": 6.000000000000001, + "height": 40, + "componentId": "9aee188f-f974-4a20-bd84-b1d158ff49da", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f6c99470-9e58-4ca0-afaf-19d7b933379c", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "9aee188f-f974-4a20-bd84-b1d158ff49da", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "90be4c21-34c5-4cb6-8aad-d18ed6bd0aed", + "name": "image6", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "source": { + "value": "{{variables.selectedProduct[`image_${variables.imageIndex}`]}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + }, + "padding": { + "value": "0" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "328a0ebb-76d2-40a3-bf2b-da0ca9c4db20", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "90be4c21-34c5-4cb6-8aad-d18ed6bd0aed", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5dea8e50-ca9e-443a-b21f-24a38726e7a0", + "type": "desktop", + "top": 30, + "left": 6.976735627470138, + "width": 15, + "height": 380, + "componentId": "90be4c21-34c5-4cb6-8aad-d18ed6bd0aed", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0c7a498d-b120-4184-8c68-55dd7564e237", + "name": "modal2", + "type": "Modal", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": { + "title": { + "value": "{{`${variables.selectedProduct.category}`}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "500px" + }, + "size": { + "value": "xl" + }, + "hideTitleBar": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "a67ce6c0-0a83-4d3e-a91d-b36242b61574", + "type": "mobile", + "top": 844, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "0c7a498d-b120-4184-8c68-55dd7564e237", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "61ed5142-0cf2-41eb-958c-7175b3b6137c", + "type": "desktop", + "top": 860, + "left": 13.953478106339443, + "width": 4, + "height": 30, + "componentId": "0c7a498d-b120-4184-8c68-55dd7564e237", + "updatedAt": "2024-05-03T10:48:00.999Z" + } + ] + }, + { + "id": "0ee946e8-9a54-49a0-b3c3-ef8350f0779c", + "name": "text25", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "\n \n" + }, + "disabledState": { + "value": "{{(variables.selectedProduct[`image_${variables.imageIndex + 1}`] ?? \"\") == \"\"}}", + "fxActive": true + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5ef63285-2342-42fd-98a8-fd2766da08a7", + "type": "mobile", + "top": 140, + "left": 58.13953488372093, + "width": 13.953488372093023, + "height": 40, + "componentId": "0ee946e8-9a54-49a0-b3c3-ef8350f0779c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "34e0c726-3abb-44f0-87dd-f8c491f3e888", + "type": "desktop", + "top": 180, + "left": 41.86046387999224, + "width": 2, + "height": 80, + "componentId": "0ee946e8-9a54-49a0-b3c3-ef8350f0779c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d10a477b-0cc3-4f11-89a6-bba3686dff66", + "name": "text27", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "\n \n" + }, + "disabledState": { + "value": "{{variables.imageIndex <= 1}}", + "fxActive": true + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "054a15b3-c1fa-41bc-b66c-881a7a294bb4", + "type": "mobile", + "top": 140, + "left": 58.13953488372093, + "width": 13.953488372093023, + "height": 40, + "componentId": "d10a477b-0cc3-4f11-89a6-bba3686dff66", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "70fc8bf2-5efc-44f3-a89c-ab6cdce3a845", + "type": "desktop", + "top": 180, + "left": 2.325575740059179, + "width": 2, + "height": 80, + "componentId": "d10a477b-0cc3-4f11-89a6-bba3686dff66", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6af56db1-55a8-4603-977a-d1dca0e83dc5", + "name": "text28", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "{{`
${variables.selectedProduct.description}
`}}" + } + }, + "general": {}, + "styles": { + "verticalAlignment": { + "value": "top" + }, + "padding": { + "value": "none" + }, + "backgroundColor": { + "value": "#8888880d" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "30f552ed-e44a-4ff4-9656-7c2c186dbda8", + "type": "mobile", + "top": 130, + "left": 55.8139534883721, + "width": 13.953488372093023, + "height": 40, + "componentId": "6af56db1-55a8-4603-977a-d1dca0e83dc5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "76e446b9-b39c-4a00-85db-8c3b5f0be251", + "type": "desktop", + "top": 136, + "left": 53.48837649993013, + "width": 18, + "height": 134, + "componentId": "6af56db1-55a8-4603-977a-d1dca0e83dc5", + "updatedAt": "2024-05-03T11:13:49.280Z" + } + ] + }, + { + "id": "45e6633e-efb2-42e5-918f-a8b762735ef7", + "name": "text29", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "{{`
${variables.selectedProduct.name}
`}}" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "18" + }, + "verticalAlignment": { + "value": "center" + }, + "textIndent": { + "value": "0" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "748aef14-9392-42f8-8a4b-89dc75589d60", + "type": "desktop", + "top": 30, + "left": 53.488371405728465, + "width": 16, + "height": 50, + "componentId": "45e6633e-efb2-42e5-918f-a8b762735ef7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "84fdaeb6-de22-4dc8-b578-55852cab531e", + "type": "mobile", + "top": 30, + "left": 53.488372093023266, + "width": 13.953488372093023, + "height": 40, + "componentId": "45e6633e-efb2-42e5-918f-a8b762735ef7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "46ea9db7-d6b7-41e6-8f6e-dbd4fdbc5b15", + "name": "text30", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "{{`$${parseFloat(variables.selectedProduct.price).toFixed(2)}`}}" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "18" + }, + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "0" + }, + "textAlign": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "e68b9b4e-d0c7-4861-b24a-2c668ba5a498", + "type": "desktop", + "top": 80, + "left": 53.4883797113863, + "width": 16, + "height": 50, + "componentId": "46ea9db7-d6b7-41e6-8f6e-dbd4fdbc5b15", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "fdab2dae-ccae-4c7b-9d88-a1ed83dd5bc6", + "type": "mobile", + "top": 110, + "left": 51.16279069767441, + "width": 13.953488372093023, + "height": 40, + "componentId": "46ea9db7-d6b7-41e6-8f6e-dbd4fdbc5b15", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c0de5ae2-0bbd-444f-abc9-1def8967687a", + "name": "text33", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "
Contact information:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + }, + "fontWeight": { + "value": "normal" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "354396b4-5feb-4f00-9880-8b96b84d7ec9", + "type": "mobile", + "top": 260, + "left": 55.813953488372086, + "width": 13.953488372093023, + "height": 40, + "componentId": "c0de5ae2-0bbd-444f-abc9-1def8967687a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9379d325-4cdc-421e-b704-9b4c06111d2a", + "type": "desktop", + "top": 290, + "left": 53.48837486600533, + "width": 13.953488372093023, + "height": 40, + "componentId": "c0de5ae2-0bbd-444f-abc9-1def8967687a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "accf4791-aa39-476d-94f9-c960066afe91", + "name": "text34", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "{{[variables.selectedProduct.contact_number, variables.selectedProduct.contact_email].filter(row => row ?? false).join(\"
\")}}" + } + }, + "general": {}, + "styles": { + "verticalAlignment": { + "value": "top" + }, + "lineHeight": { + "value": "2" + }, + "padding": { + "value": "default" + }, + "backgroundColor": { + "value": "#fff00000" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "5cabae2a-16fb-406b-b43f-135547485a6f", + "type": "mobile", + "top": 290, + "left": 53.488372093023266, + "width": 13.953488372093023, + "height": 40, + "componentId": "accf4791-aa39-476d-94f9-c960066afe91", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b8dd808e-6257-4f92-8642-0f22a18cfef6", + "type": "desktop", + "top": 330, + "left": 53.488381407926205, + "width": 18, + "height": 80, + "componentId": "accf4791-aa39-476d-94f9-c960066afe91", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5ea8c493-b428-4015-8a63-87277e32ac21", + "name": "textinput7", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact number" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "e42ac475-ad70-493f-a42c-bfe390ee7a67", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "5ea8c493-b428-4015-8a63-87277e32ac21", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d4128f6c-5c11-44ad-b17d-6a50c6375884", + "type": "desktop", + "top": 570, + "left": 20.930221582838684, + "width": 32, + "height": 40, + "componentId": "5ea8c493-b428-4015-8a63-87277e32ac21", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "590a6478-c860-4546-bdfb-fc45343e9a45", + "name": "text31", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Contact number
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "3cd02a88-29f1-42e9-b0d9-289ab700952d", + "type": "desktop", + "top": 570, + "left": 4.651162345120721, + "width": 7.000000000000001, + "height": 40, + "componentId": "590a6478-c860-4546-bdfb-fc45343e9a45", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f3832d60-318d-4ffa-a07b-1bc4abd4496a", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "590a6478-c860-4546-bdfb-fc45343e9a45", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5641c675-4443-4c00-b910-77a4620321de", + "name": "text32", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "text": { + "value": "
Contact email
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "7aa3dc3a-ca64-4350-99d2-ae569a951268", + "type": "desktop", + "top": 630, + "left": 4.651163997502785, + "width": 7.000000000000001, + "height": 40, + "componentId": "5641c675-4443-4c00-b910-77a4620321de", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "20e84237-3810-4d94-9f68-144857d25269", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "5641c675-4443-4c00-b910-77a4620321de", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0f504c6c-9a96-4932-9caa-307a239226ca", + "name": "textinput8", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact email" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "6aae6925-5284-45bf-b4c4-fedab9cce2c8", + "type": "desktop", + "top": 630, + "left": 20.930225943327873, + "width": 32, + "height": 40, + "componentId": "0f504c6c-9a96-4932-9caa-307a239226ca", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ec490c8a-2ebf-45a8-a80e-9b2d223e3ada", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "0f504c6c-9a96-4932-9caa-307a239226ca", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "name": "text35", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "0c7a498d-b120-4184-8c68-55dd7564e237", + "properties": { + "text": { + "value": "{{queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id) ? `\n \n` : `\n \n`}}" + }, + "loadingState": { + "value": "{{variables.selectedProductForBookmark.productId == variables.selectedProduct.id && (queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading)}}", + "fxActive": true + }, + "disabledState": { + "value": "{{queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textAlign": { + "value": "center" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textIndent": { + "value": "0" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "ee4ed74e-4226-4dba-b098-bf0116c261f0", + "type": "desktop", + "top": 30, + "left": 90.69767341547939, + "width": 2, + "height": 50, + "componentId": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "514c9510-7cd4-4444-b18c-ee63f42750e7", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "name": "modal3", + "type": "Modal", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "600px" + }, + "title": { + "value": "All listed products" + }, + "size": { + "value": "xl" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "006e95e1-c9bd-4371-b9f7-e77b509e4064", + "type": "mobile", + "top": 830, + "left": 32.55813953488372, + "width": 10, + "height": 34, + "componentId": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c0d26018-58a0-4fdf-8a5c-3f9ce0cdd570", + "type": "desktop", + "top": 860, + "left": 25.581388141824675, + "width": 4, + "height": 30, + "componentId": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "updatedAt": "2024-05-03T10:48:00.999Z" + } + ] + }, + { + "id": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "name": "table1", + "type": "Table", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "properties": { + "allowSelection": { + "value": "{{false}}" + }, + "enablePagination": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getListedProducts.data}}" + }, + "columns": { + "value": [ + { + "name": "status", + "id": "063b56a7-767b-4f52-98bb-06be47499e91", + "fxActiveFields": [], + "key": "is_active", + "columnType": "badge", + "values": "{{[true, false]}}", + "labels": "{{[\"ACTIVE\", \"INACTIVE\"]}}", + "horizontalAlignment": "center" + }, + { + "name": "name", + "id": "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a", + "autogenerated": true, + "fxActiveFields": [], + "columnType": "string", + "key": "name" + }, + { + "id": "8bf5c934-fcac-4b18-b6b5-b87cd35def9f", + "name": "category", + "key": "category", + "columnType": "string", + "autogenerated": true + }, + { + "id": "c6e9ab38-8a9e-4996-b006-7025dfbeeb13", + "name": "price", + "key": "formatted_price", + "columnType": "number", + "autogenerated": true + }, + { + "id": "3199b7da-33fb-4c03-a23f-f4f47462ebb0", + "name": "review", + "key": "status", + "columnType": "badge", + "autogenerated": true, + "values": "{{[\"pending\", \"approved\", \"rejected\"]}}", + "labels": "{{[\"PENDING\", \"APPROVED\", \"REJECTED\"]}}", + "horizontalAlignment": "center" + }, + { + "name": "listed by email", + "id": "592d7357-78a4-4ca3-8751-99eb4ba143c7", + "fxActiveFields": [], + "key": "listed_by_email", + "columnType": "string" + }, + { + "name": "created at", + "id": "57c7ee79-1052-43e5-8f26-565b774a115d", + "fxActiveFields": [], + "key": "formatted_created_at", + "columnType": "string" + }, + { + "id": "005ec560-a9eb-4253-8d70-ba713357e57a", + "name": "updated at", + "key": "formatted_updated_at", + "columnType": "string", + "autogenerated": true + }, + { + "id": "5605d720-f826-464f-b036-bfa18a5c6f7f", + "name": "contact number", + "key": "contact_number", + "columnType": "string", + "autogenerated": true + }, + { + "id": "2133f0dc-d45b-47c8-bec6-36d20a66967a", + "name": "contact email", + "key": "contact_email", + "columnType": "string", + "autogenerated": true + } + ] + }, + "columnDeletionHistory": { + "value": [ + "description", + "image_1", + "listed_by_email", + "image_thumbnail", + "is_active", + "image_3", + "image_2", + "id", + "formatted_created_at", + "price", + "updated_at", + "created_at", + "is_active", + "new_column1", + "updated_by_email" + ] + }, + "columnSizes": { + "value": { + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 67, + "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a": 230, + "8bf5c934-fcac-4b18-b6b5-b87cd35def9f": 120, + "38781ac7-f00b-4674-9c02-182b09afa7a7": 95, + "f567e180-0786-40fb-8b5d-5eb02e69c5e3": 163, + "2bc9a2a6-0354-47de-800e-5c3108a09283": 161, + "2133f0dc-d45b-47c8-bec6-36d20a66967a": 278, + "3199b7da-33fb-4c03-a23f-f4f47462ebb0": 104, + "99d005e5-cd95-45cd-82a8-6672ff6597da": 106, + "c6e9ab38-8a9e-4996-b006-7025dfbeeb13": 103, + "57c7ee79-1052-43e5-8f26-565b774a115d": 165, + "005ec560-a9eb-4253-8d70-ba713357e57a": 165, + "5605d720-f826-464f-b036-bfa18a5c6f7f": 158, + "9652417b-e01f-44c9-9f65-ca345b5b5b12": 97, + "063b56a7-767b-4f52-98bb-06be47499e91": 92, + "592d7357-78a4-4ca3-8751-99eb4ba143c7": 251 + } + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getListedProducts.isLoading || queries.updateProductActiveStatus.isLoading}}" + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Manage product", + "events": [], + "position": "left" + } + ] + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "actionButtonRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-05-02T07:53:34.223Z", + "layouts": [ + { + "id": "0a9bd36a-9792-415c-8556-5b85cb573770", + "type": "mobile", + "top": 60, + "left": 11.627906976744187, + "width": 67.11627906976744, + "height": 456, + "componentId": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "6d3e67d9-a1d2-4653-8b6d-9742596c7a4d", + "type": "desktop", + "top": 30, + "left": 2.3255835670765315, + "width": 41, + "height": 540, + "componentId": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "updatedAt": "2024-05-03T11:16:10.359Z" + } + ] + }, + { + "id": "386fe680-8b2f-4c89-bb3c-03abca0448d6", + "name": "textarea2", + "type": "TextArea", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "value": { + "value": "{{variables.selectedProduct.description}}" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "4f997eac-1a84-4696-9e08-30bc91e2753f", + "type": "mobile", + "top": 120, + "left": 23.255813953488374, + "width": 13.953488372093023, + "height": 100, + "componentId": "386fe680-8b2f-4c89-bb3c-03abca0448d6", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "95487f89-ce7d-4779-b2a6-a251d83ea9b1", + "type": "desktop", + "top": 330, + "left": 20.93023160546203, + "width": 32, + "height": 100, + "componentId": "386fe680-8b2f-4c89-bb3c-03abca0448d6", + "updatedAt": "2024-05-03T11:13:35.221Z" + } + ] + }, + { + "id": "b0422b97-5b62-47ba-a55b-add3c2252449", + "name": "dropdown4", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{variables.selectedProduct.category}}" + }, + "values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "placeholder": { + "value": "Select category" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "6a84c615-a157-4ee3-8bd3-4c3d89aaf5d0", + "type": "desktop", + "top": 450, + "left": 20.93022729640271, + "width": 32, + "height": 40, + "componentId": "b0422b97-5b62-47ba-a55b-add3c2252449", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d7879130-61c0-426d-b6ae-ee8f7745d638", + "type": "mobile", + "top": 450, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "b0422b97-5b62-47ba-a55b-add3c2252449", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5ca221cf-27f3-4edf-944b-9fe5a237be02", + "name": "numberinput4", + "type": "NumberInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + }, + "value": { + "value": "{{variables.selectedProduct.formatted_price}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "iconColor": { + "value": "#888888ff" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + }, + "maxValue": { + "value": "99999.99" + } + }, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "40b38b27-9ff1-4373-b877-a5bad3aef97c", + "type": "mobile", + "top": 510, + "left": 32.55813953488372, + "width": 23.25581395348837, + "height": 40, + "componentId": "5ca221cf-27f3-4edf-944b-9fe5a237be02", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "11fd0031-e67f-49d6-90cd-5826eaa61235", + "type": "desktop", + "top": 510, + "left": 20.93024282471769, + "width": 32, + "height": 40, + "componentId": "5ca221cf-27f3-4edf-944b-9fe5a237be02", + "updatedAt": "2024-05-03T11:18:00.337Z" + } + ] + }, + { + "id": "45939fc2-4dee-4a25-b56f-8e9bf9fd72d1", + "name": "image10", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "source": { + "value": "{{components.textinput13.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput13.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "25c88688-0006-40b4-b947-af9185d6131d", + "type": "desktop", + "top": 30, + "left": 74.41861759786082, + "width": 9, + "height": 120, + "componentId": "45939fc2-4dee-4a25-b56f-8e9bf9fd72d1", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f6f18d92-aeca-45bb-a582-3086341ec230", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "45939fc2-4dee-4a25-b56f-8e9bf9fd72d1", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "666e3a35-d44f-4f92-b800-ffef9721dd5a", + "name": "text38", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Thumbnail URL
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "2b1fbf5a-3f8e-4740-b10d-eb8ea733a906", + "type": "desktop", + "top": 150, + "left": 4.651165452011062, + "width": 9, + "height": 40, + "componentId": "666e3a35-d44f-4f92-b800-ffef9721dd5a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "06af09e7-5be6-4d8e-ba11-e1c03eb0f1e5", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "666e3a35-d44f-4f92-b800-ffef9721dd5a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5e1d2704-4f85-4975-9c59-1398c25cb60c", + "name": "textinput10", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_thumbnail}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "8ce41a29-49a5-48d9-b2aa-b626377dbbf6", + "type": "desktop", + "top": 190, + "left": 4.6511789437036875, + "width": 9, + "height": 40, + "componentId": "5e1d2704-4f85-4975-9c59-1398c25cb60c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "fc81610b-dd7c-4cd6-b286-b80b1bd67c98", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "5e1d2704-4f85-4975-9c59-1398c25cb60c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "affadaad-042a-4d4f-8793-ccf981a69625", + "name": "textinput11", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_1}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "96a11077-918d-4563-98d5-5d1cfb57a048", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "affadaad-042a-4d4f-8793-ccf981a69625", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cd9b4b28-e084-4d80-8f39-47b29151ec21", + "type": "desktop", + "top": 190, + "left": 27.906986290939194, + "width": 9, + "height": 40, + "componentId": "affadaad-042a-4d4f-8793-ccf981a69625", + "updatedAt": "2024-05-03T11:17:20.305Z" + } + ] + }, + { + "id": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "name": "modal4", + "type": "Modal", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": null, + "properties": { + "title": { + "value": "Manage product" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "890px" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c39f37f3-722e-4866-af07-178c9d8c85cb", + "type": "mobile", + "top": 844, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cc064338-242f-4d8b-bf8e-f64995fd0d22", + "type": "desktop", + "top": 860, + "left": 37.2093365618049, + "width": 4, + "height": 30, + "componentId": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "updatedAt": "2024-05-03T10:48:00.999Z" + } + ] + }, + { + "id": "bcf63945-3e3c-44de-a80e-ed67ceb29c79", + "name": "button11", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "< Back" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "9318a9ab-ff92-45c9-b9f3-51ebb5b67811", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "bcf63945-3e3c-44de-a80e-ed67ceb29c79", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "be679dcf-21aa-40a0-a052-741086494405", + "type": "desktop", + "top": 820, + "left": 65.11623480750401, + "width": 6.000000000000001, + "height": 40, + "componentId": "bcf63945-3e3c-44de-a80e-ed67ceb29c79", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b57ecb97-9293-489d-824c-fce3b81bcf37", + "name": "textinput13", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_3}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "a5c0d4ea-24b2-4fcb-b519-55375b236f09", + "type": "desktop", + "top": 190, + "left": 74.4185885970445, + "width": 9, + "height": 40, + "componentId": "b57ecb97-9293-489d-824c-fce3b81bcf37", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e1938062-760d-4d5a-82c6-be3d0ba77905", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "b57ecb97-9293-489d-824c-fce3b81bcf37", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "517a8064-1332-4116-aa5a-b1e3bb126829", + "name": "textinput14", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact number" + }, + "value": { + "value": "{{variables.selectedProduct.contact_number}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "844eb2b3-bd2d-45bb-99a3-32567ff42adf", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "517a8064-1332-4116-aa5a-b1e3bb126829", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "69f199b6-1804-4571-8220-7e3e9f7554f7", + "type": "desktop", + "top": 570, + "left": 20.930221206541905, + "width": 32, + "height": 40, + "componentId": "517a8064-1332-4116-aa5a-b1e3bb126829", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "45acd16a-2a8f-417e-b071-f529e1ac1acc", + "name": "text45", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Contact email
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "dd0c6de0-7d00-4e5e-8143-18b566228286", + "type": "desktop", + "top": 630, + "left": 4.651163997502785, + "width": 7.000000000000001, + "height": 40, + "componentId": "45acd16a-2a8f-417e-b071-f529e1ac1acc", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "597ada30-7cfc-4657-b524-99770c999ecf", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "45acd16a-2a8f-417e-b071-f529e1ac1acc", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fa925bb1-be34-496c-adc5-c729b484cc5f", + "name": "textinput15", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact email" + }, + "value": { + "value": "{{variables.selectedProduct.contact_email}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c8d3c502-b20a-45fd-9cdf-4c0557107836", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "fa925bb1-be34-496c-adc5-c729b484cc5f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "af04b45a-ad7a-4402-9c65-be9e1c277591", + "type": "desktop", + "top": 630, + "left": 20.930224054804192, + "width": 32, + "height": 40, + "componentId": "fa925bb1-be34-496c-adc5-c729b484cc5f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5c6beef7-a04f-4871-9e96-5150f39504a4", + "name": "text39", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Image 1
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "860cc556-46d3-49f5-9507-1a31022ec0f5", + "type": "desktop", + "top": 150, + "left": 27.906985905909096, + "width": 9, + "height": 40, + "componentId": "5c6beef7-a04f-4871-9e96-5150f39504a4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b17ba893-1b64-4470-8056-207eb57308e6", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "5c6beef7-a04f-4871-9e96-5150f39504a4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "827e0a51-d74a-476d-be6a-944b78d9d3ea", + "name": "text40", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Image 2
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "a6391d9b-d057-413d-8cf8-9dec5c54a184", + "type": "desktop", + "top": 150, + "left": 51.1627849076183, + "width": 9, + "height": 40, + "componentId": "827e0a51-d74a-476d-be6a-944b78d9d3ea", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4865e57a-aeb5-4c22-92b9-f0e653804802", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "827e0a51-d74a-476d-be6a-944b78d9d3ea", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1ad6590e-20bf-448a-9093-571b9e89ff1e", + "name": "textinput12", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "disabledState": { + "fxActive": false + }, + "value": { + "value": "{{variables.selectedProduct.image_2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "4c4459eb-d399-4f43-a2a8-fc080eea6049", + "type": "desktop", + "top": 190, + "left": 51.16278720825332, + "width": 9, + "height": 40, + "componentId": "1ad6590e-20bf-448a-9093-571b9e89ff1e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "67d0cabd-1359-4b61-affe-c414005dd9c6", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "1ad6590e-20bf-448a-9093-571b9e89ff1e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d200a1cc-868c-425f-980b-f0e5bb8294d5", + "name": "text41", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Image 3
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "c1693f96-7bcc-42f1-84b3-058f0632d4bc", + "type": "desktop", + "top": 150, + "left": 74.4186098081641, + "width": 9, + "height": 40, + "componentId": "d200a1cc-868c-425f-980b-f0e5bb8294d5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "77ad4171-6f77-4f19-bca8-adb6a74d5863", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "d200a1cc-868c-425f-980b-f0e5bb8294d5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "196757f3-9665-4a5f-aa1f-4583a3aca2c8", + "name": "text43", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Price
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "3f65c629-b15e-47d2-8077-0af0c6c22e30", + "type": "desktop", + "top": 510, + "left": 4.651164445571182, + "width": 7.000000000000001, + "height": 40, + "componentId": "196757f3-9665-4a5f-aa1f-4583a3aca2c8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b10d424a-2bcb-4441-a116-7bc5c964f613", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "196757f3-9665-4a5f-aa1f-4583a3aca2c8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3f103589-5675-4b11-8de2-ca2dfe40b653", + "name": "image8", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "source": { + "value": "{{components.textinput11.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput11.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "9dfbf1da-c042-448e-b6e4-06293bf98252", + "type": "desktop", + "top": 30, + "left": 27.907014622026644, + "width": 9, + "height": 120, + "componentId": "3f103589-5675-4b11-8de2-ca2dfe40b653", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ac2faf00-a9be-436a-98ac-3e03af5202bd", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "3f103589-5675-4b11-8de2-ca2dfe40b653", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4feef03e-124e-415e-b4f2-92459e16acfb", + "name": "text36", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Product Name
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "bf036844-f9ce-449e-a8c4-40e036cd6a6c", + "type": "desktop", + "top": 270, + "left": 4.6511628573933015, + "width": 7.000000000000001, + "height": 40, + "componentId": "4feef03e-124e-415e-b4f2-92459e16acfb", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "32534293-039d-4697-8476-c7fc14b506ef", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "4feef03e-124e-415e-b4f2-92459e16acfb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "95ed4818-25f5-4e2c-a0f0-48fbf001759f", + "name": "textinput9", + "type": "TextInput", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter name" + }, + "value": { + "value": "{{variables.selectedProduct.name}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "8249fb4d-d0f8-44c9-a249-5247bd8ed322", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "95ed4818-25f5-4e2c-a0f0-48fbf001759f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "edf1f2fa-9038-4a94-8767-7c6f94320c6d", + "type": "desktop", + "top": 270, + "left": 20.930219694377634, + "width": 32, + "height": 40, + "componentId": "95ed4818-25f5-4e2c-a0f0-48fbf001759f", + "updatedAt": "2024-05-03T11:15:35.249Z" + } + ] + }, + { + "id": "c9751dae-ab3d-403b-9f13-6ee4aab1571e", + "name": "text37", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Description
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "b6b30637-a4a7-4ffa-ba47-7b20c60ef301", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "c9751dae-ab3d-403b-9f13-6ee4aab1571e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bb3b60d9-a6c1-41b3-a407-420dd403fbed", + "type": "desktop", + "top": 330, + "left": 4.6511647458281224, + "width": 6, + "height": 40, + "componentId": "c9751dae-ab3d-403b-9f13-6ee4aab1571e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "842febc0-512f-46eb-b87f-eb7b595c4e15", + "name": "image7", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "source": { + "value": "{{components.textinput10.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput10.value.trim()}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "6e918a42-1774-4976-8ea9-5743259d1a7a", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "842febc0-512f-46eb-b87f-eb7b595c4e15", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4e8ab6ef-cc26-4451-8e16-02abe16ffd91", + "type": "desktop", + "top": 30, + "left": 4.65116233771938, + "width": 9, + "height": 120, + "componentId": "842febc0-512f-46eb-b87f-eb7b595c4e15", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "72389101-170e-4da9-8c47-092e960f38cb", + "name": "image9", + "type": "Image", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "source": { + "value": "{{components.textinput12.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput12.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "7da3cb68-8e39-4838-a4eb-6357a6eed26f", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "72389101-170e-4da9-8c47-092e960f38cb", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "fb683b58-167e-4bb2-8dc6-ef144e457c47", + "type": "desktop", + "top": 30, + "left": 51.16280531481509, + "width": 9, + "height": 120, + "componentId": "72389101-170e-4da9-8c47-092e960f38cb", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d632b22d-7dde-429d-86e0-5f4a8ce86c43", + "name": "text42", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "1b2ac0fb-ae2a-41f4-89c5-ff59d192dd0e", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "d632b22d-7dde-429d-86e0-5f4a8ce86c43", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d828c067-832c-45ef-ada2-c0954bba3a92", + "type": "desktop", + "top": 450, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "d632b22d-7dde-429d-86e0-5f4a8ce86c43", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "60b45535-e63a-44d7-9af6-51020b84fc61", + "name": "button10", + "type": "Button", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.updateProductDetails.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "e11acb70-1a66-4f7f-9b86-ce3761d53b0c", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "60b45535-e63a-44d7-9af6-51020b84fc61", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2abca0c2-af25-477d-be20-c8d515f1f77a", + "type": "desktop", + "top": 820, + "left": 81.39535780412061, + "width": 6.000000000000001, + "height": 40, + "componentId": "60b45535-e63a-44d7-9af6-51020b84fc61", + "updatedAt": "2024-05-03T11:16:31.986Z" + } + ] + }, + { + "id": "18276bf5-4302-47f6-8aa6-27f0d73552f2", + "name": "text46", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Status
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "12c42647-8591-4711-a82b-d540ce58b391", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "18276bf5-4302-47f6-8aa6-27f0d73552f2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e73ee9ef-2527-49cc-b88b-a6e5c0b9b28b", + "type": "desktop", + "top": 690, + "left": 4.65116954753134, + "width": 7.000000000000001, + "height": 40, + "componentId": "18276bf5-4302-47f6-8aa6-27f0d73552f2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c9e032b6-6ff4-4fee-bc0e-29123874032e", + "name": "dropdown5", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "values": { + "value": "{{[true, false]}}" + }, + "display_values": { + "value": "{{[\"Active or available\", \"Inactive or unavailable\"]}}" + }, + "value": { + "value": "{{variables.selectedProduct.is_active}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "909e0442-53ba-4aa0-b514-6d7e6df600d9", + "type": "mobile", + "top": 710, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "c9e032b6-6ff4-4fee-bc0e-29123874032e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d1b1e115-ec1e-42f1-866d-f7a0d491fbc4", + "type": "desktop", + "top": 690, + "left": 20.930225102997454, + "width": 32, + "height": 40, + "componentId": "c9e032b6-6ff4-4fee-bc0e-29123874032e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1355fab3-d4cb-4f56-96e7-ac3d34d60a93", + "name": "dropdown6", + "type": "DropDown", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{variables.selectedProduct.status}}" + }, + "values": { + "value": "{{[\"pending\", \"approved\", \"rejected\"]}}" + }, + "display_values": { + "value": "{{[\"Pending\", \"Approved\", \"Rejected\"]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "0f5d679e-4bd3-45fb-90e2-74ef464ce137", + "type": "mobile", + "top": 710, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "1355fab3-d4cb-4f56-96e7-ac3d34d60a93", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2eff8519-db25-48d6-aec1-f69806379012", + "type": "desktop", + "top": 750, + "left": 20.9302129329644, + "width": 32, + "height": 40, + "componentId": "1355fab3-d4cb-4f56-96e7-ac3d34d60a93", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "dcf289df-7544-49da-99ff-34dbe1731fdd", + "name": "text47", + "type": "Text", + "pageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "parent": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "properties": { + "text": { + "value": "
Review
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "layouts": [ + { + "id": "d2580045-5219-4b92-878d-77009cd6b277", + "type": "desktop", + "top": 750, + "left": 4.651160079198349, + "width": 7.000000000000001, + "height": 40, + "componentId": "dcf289df-7544-49da-99ff-34dbe1731fdd", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "049b43d0-ba6f-4f06-9362-7d96801fb475", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "dcf289df-7544-49da-99ff-34dbe1731fdd", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + } + ], + "pages": [ + { + "id": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0" + } + ], + "events": [ + { + "id": "35de9481-237d-4fad-9683-681ee68247b3", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProduct", + "value": "{{listItem}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "cbd0991a-a719-406e-952d-da2ef8a1921d", + "name": "onClick", + "index": 1, + "event": { + "key": "imageIndex", + "value": "{{1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "541ed2d7-7146-460f-9964-5fd4e0d6f165", + "name": "onClick", + "index": 0, + "event": { + "key": "applyingFilter", + "value": "{{true}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "6166f754-0d55-4bbd-8f13-bfc18bccc7ad", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "6d7b0050-0dbb-4b1d-a761-ee266cf7eb9f", + "name": "onClick", + "index": 2, + "event": { + "modal": "0c7a498d-b120-4184-8c68-55dd7564e237", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "c2c2a98c-9a17-4974-bfb0-e95ed6674d00", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.105Z" + }, + { + "id": "bc420906-10e5-43f6-947a-6f93a7aa6837", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "runOnlyIf": "", + "componentId": "4ce5da06-1037-4943-8f52-1ed54297a912", + "componentSpecificActionHandle": "selectOption", + "componentSpecificActionParams": [ + { + "value": "{{\"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\"}}", + "handle": "select", + "displayName": "Select" + } + ] + }, + "sourceId": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.400Z" + }, + { + "id": "385b1531-e3c0-49e2-9e66-916313edaf64", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "b14e7810-2d86-45a0-8b1b-e781148a6b0a", + "componentSpecificActionHandle": "setText", + "componentSpecificActionParams": [ + { + "value": "0", + "handle": "text", + "displayName": "text", + "defaultValue": "100" + } + ] + }, + "sourceId": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.410Z" + }, + { + "id": "88a0651b-60e3-4bbc-b6e6-09e8971019b5", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "f178fd2e-fcc7-4db7-8267-65179b38b16e", + "componentSpecificActionHandle": "setText", + "componentSpecificActionParams": [ + { + "value": "99999.99", + "handle": "text", + "displayName": "text", + "defaultValue": "100" + } + ] + }, + "sourceId": "462707ea-9a50-480f-8c17-bba46e5a99ef", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.421Z" + }, + { + "id": "c335216f-3b73-4566-984c-0498f55d0be2", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProductForBookmark", + "value": "{{({productId: listItem.id, wishlistId: queries.getWishlist.data[listItem.id]})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "f6197ab5-226b-4c32-89b2-2254b07da3e9", + "name": "onClick", + "index": 0, + "event": { + "key": "imageIndex", + "value": "{{variables.imageIndex + 1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "0ee946e8-9a54-49a0-b3c3-ef8350f0779c", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "ca66fcbf-da98-4911-9f42-5f3bec84c7b2", + "name": "onClick", + "index": 0, + "event": { + "key": "imageIndex", + "value": "{{variables.imageIndex - 1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "d10a477b-0cc3-4f11-89a6-bba3686dff66", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "6194923b-d749-4e79-83e4-61c579fc3660", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProductForBookmark", + "value": "{{({productId: variables.selectedProduct.id, wishlistId: queries.getWishlist.data[variables.selectedProduct.id]})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "425cac04-4aac-4ded-b571-70147253e957", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProduct", + "ref": "Action0", + "value": "{{components.table1.selectedRow}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "target": "table_action", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "1a1d2f18-5b22-4ca0-acef-2cb237c0f59c", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product listing request has been submitted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "b545c82c-dc68-4a0e-8fd3-369477c81fa0", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "4e319dfe-00cb-40ba-be4e-d8d08ca76795", + "name": "onDataQueryFailure", + "index": 2, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to submit product listing request! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "b545c82c-dc68-4a0e-8fd3-369477c81fa0", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "d6a4f74a-2473-46e2-bb15-af810ee7761e", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "applyingFilter", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "1d7d4ec2-7f43-4f14-aff5-316b09726512", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "091bcd68-e597-4319-a16c-718717953e64", + "name": "onClick", + "index": 0, + "event": { + "modal": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "2ee89700-8c95-4c10-af66-db83177d1e68", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.129Z" + }, + { + "id": "34fd5041-5109-4551-a764-b21f475b7dcf", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "ee2768a5-f229-46a9-8584-9dd72571a3c2", + "actionId": "run-query", + "alertType": "info", + "queryName": "getListedProducts", + "parameters": {} + }, + "sourceId": "2ee89700-8c95-4c10-af66-db83177d1e68", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.142Z" + }, + { + "id": "3cf4dd93-5838-4732-8433-df3e6c74dd96", + "name": "onClick", + "index": 0, + "event": { + "modal": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "e4a0ed27-209b-4813-a1dc-1799db62e8a2", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.152Z" + }, + { + "id": "6cae377c-1a11-41e9-a19c-5aca73c24315", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "12ee6e54-199c-4149-91ff-4d8b78173a17", + "actionId": "run-query", + "alertType": "info", + "queryName": "removeFromFavourites", + "runOnlyIf": "{{queries.getWishlist.data.hasOwnProperty(listItem.id)}}", + "parameters": {} + }, + "sourceId": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.180Z" + }, + { + "id": "eb3f9fae-6de6-4882-9c87-c56c8c60d2ae", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "b545c82c-dc68-4a0e-8fd3-369477c81fa0", + "actionId": "run-query", + "alertType": "info", + "queryName": "addProduct", + "parameters": {} + }, + "sourceId": "796717fb-2f44-4bb4-a27d-5bf1614c6bbe", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.190Z" + }, + { + "id": "939a0f75-5d7b-400a-a66b-cb9206ca4eff", + "name": "onClick", + "index": 0, + "event": { + "modal": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "9aee188f-f974-4a20-bd84-b1d158ff49da", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.200Z" + }, + { + "id": "c6aa9f3a-98a1-4db0-a368-d33867118efa", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "12ee6e54-199c-4149-91ff-4d8b78173a17", + "actionId": "run-query", + "alertType": "info", + "queryName": "removeFromFavourites", + "runOnlyIf": "{{queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id)}}", + "parameters": {} + }, + "sourceId": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.224Z" + }, + { + "id": "798d8240-9761-4ece-91e2-91959d8577b8", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "b12dd836-4895-4311-bc6a-98b07f6e09ea", + "actionId": "run-query", + "alertType": "info", + "queryName": "addToFavourites", + "runOnlyIf": "{{!queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id)}}", + "parameters": {} + }, + "sourceId": "44c3e818-df2e-4d5e-939f-8f5cfe43d257", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.235Z" + }, + { + "id": "57b176b3-b728-482e-a6b4-aa6784544363", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "target": "table_action", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.250Z" + }, + { + "id": "860773ca-99e8-43ee-89c1-a3880190b711", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "de777cbf-87e4-4ae7-99a2-8b0c329f498a", + "target": "table_action", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.260Z" + }, + { + "id": "821eb3e4-0882-4fea-9354-d4ed33bada82", + "name": "onClick", + "index": 0, + "event": { + "modal": "13b3db9a-cfba-4061-a253-2c6c5dfaf8d8", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "bcf63945-3e3c-44de-a80e-ed67ceb29c79", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.272Z" + }, + { + "id": "0c56f696-cd3c-4c8e-ae29-1871cd6bad7b", + "name": "onClick", + "index": 1, + "event": { + "modal": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "bcf63945-3e3c-44de-a80e-ed67ceb29c79", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.283Z" + }, + { + "id": "e69125a2-95c4-4cad-affd-bdcb3639cc80", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "actionId": "run-query", + "alertType": "info", + "queryName": "updateProductDetails", + "parameters": {} + }, + "sourceId": "60b45535-e63a-44d7-9af6-51020b84fc61", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.294Z" + }, + { + "id": "07edb337-01e3-4c57-863d-2a37dbf27800", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "33da9275-fd7f-48d7-b0dc-80c4660371ca", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "b545c82c-dc68-4a0e-8fd3-369477c81fa0", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.310Z" + }, + { + "id": "693f87d3-5ec3-4e6c-ae1e-40954356050a", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product details updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "4c606d11-4d59-4870-a2a6-0cf28f88d17f", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update product details! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "5249bbd4-d7d1-44d3-8775-f85f5000024a", + "name": "onDataQueryFailure", + "index": 1, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to add product to wishlist! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "b12dd836-4895-4311-bc6a-98b07f6e09ea", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "d9dc09a7-0192-4554-a78e-d7518e41b1fa", + "name": "onDataQueryFailure", + "index": 1, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to remove product from wishlist! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "12ee6e54-199c-4149-91ff-4d8b78173a17", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "f5e67346-41ee-4f32-b365-0f9b60abc3a0", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "1d7d4ec2-7f43-4f14-aff5-316b09726512", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "6166f754-0d55-4bbd-8f13-bfc18bccc7ad", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.116Z" + }, + { + "id": "2820f003-ac53-4e09-a9aa-648e1147a6d0", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "b12dd836-4895-4311-bc6a-98b07f6e09ea", + "actionId": "run-query", + "alertType": "info", + "queryName": "addToFavourites", + "runOnlyIf": "{{!queries.getWishlist.data.hasOwnProperty(listItem.id)}}", + "parameters": {} + }, + "sourceId": "0ebf315b-6792-4a41-8afc-cf11a745e2de", + "target": "component", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.168Z" + }, + { + "id": "0e93231e-92ab-4b2d-a41c-4c3af5ea06fa", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "965c2dd9-d15d-496d-9cd8-781a3e8f7126", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.340Z" + }, + { + "id": "90eb65e6-3e6a-43f5-8017-8069a0aa94c8", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "1d7d4ec2-7f43-4f14-aff5-316b09726512", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.353Z" + }, + { + "id": "e0cd7170-48a7-4df1-bae4-0e938bf96b78", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "ef420487-9301-4c19-9dbf-ff71f7ac3f82", + "actionId": "run-query", + "alertType": "info", + "queryName": "getFavourites", + "parameters": {} + }, + "sourceId": "b12dd836-4895-4311-bc6a-98b07f6e09ea", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.369Z" + }, + { + "id": "0a165432-b3c2-486e-9a8a-3fbc1d8eaef6", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "ef420487-9301-4c19-9dbf-ff71f7ac3f82", + "actionId": "run-query", + "alertType": "info", + "queryName": "getFavourites", + "parameters": {} + }, + "sourceId": "12ee6e54-199c-4149-91ff-4d8b78173a17", + "target": "data_query", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:21.384Z" + } + ], + "dataQueries": [ + { + "id": "1d7d4ec2-7f43-4f14-aff5-316b09726512", + "name": "getProducts", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712364690954, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "10141c7d-4bc8-41d6-b411-7fca646857a6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "name", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "description", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_1", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_2", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_3", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "listed_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "category", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_thumbnail", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "is_active", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "price", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "created_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "status", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_number", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + ] + }, + "list_rows": { + "where_filters": { + "9ae2f9ec-8fbb-47f5-bc54-c6bdbce1a10a": { + "column": "is_active", + "operator": "eq", + "value": "{{true}}", + "id": "9ae2f9ec-8fbb-47f5-bc54-c6bdbce1a10a" + }, + "24d936f2-9020-4288-a4ab-1866588ef842": { + "column": "status", + "operator": "eq", + "value": "approved", + "id": "24d936f2-9020-4288-a4ab-1866588ef842" + }, + "6c287dbc-3070-441b-bee7-b3458af56a68": { + "column": "category", + "operator": "in", + "value": "{{JSON.parse(components.dropdown1.value)}}", + "id": "6c287dbc-3070-441b-bee7-b3458af56a68" + }, + "f1246aec-b6f3-4d3d-8d9c-6b717f1edcbf": { + "column": "price", + "operator": "gte", + "value": "{{( components.numberinput1.value || 0 ).toFixed(2).toString().padStart(8, \"0\")}}", + "id": "f1246aec-b6f3-4d3d-8d9c-6b717f1edcbf" + }, + "a38457df-7ac2-4b26-87c6-3f2fcf1aff63": { + "column": "price", + "operator": "lte", + "value": "{{( components.numberinput2.value || 0 ).toFixed(2).toString().padStart(8, \"0\")}}", + "id": "a38457df-7ac2-4b26-87c6-3f2fcf1aff63" + } + }, + "order_filters": { + "a069934a-3b17-4687-adbf-02773d42c6c9": { + "column": "id", + "order": "desc", + "id": "a069934a-3b17-4687-adbf-02773d42c6c9" + } + } + }, + "runOnPageLoad": true, + "transformation": "return data.filter(\n (row) =>\n parseFloat(row.price) >= components.numberinput1.value &&\n parseFloat(row.price) <= components.numberinput2.value\n);" + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-05-03T11:22:02.772Z" + }, + { + "id": "ef420487-9301-4c19-9dbf-ff71f7ac3f82", + "name": "getWishlist", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712364700452, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7a7bbbc6-715d-4c45-807c-59fb34fc915d", + "type": "Table" + }, + "fields": [] + }, + "list_rows": { + "where_filters": { + "8c481532-d9aa-4202-9b73-350cf1c984f1": { + "column": "favourited_by_email", + "operator": "eq", + "value": "{{globals.currentUser.email}}", + "id": "8c481532-d9aa-4202-9b73-350cf1c984f1" + } + } + }, + "transformation": "return data\n .map((row) => ({ [row.product_id]: row.id }))\n .reduce((a, b) => ({ ...a, ...b }), {});", + "runOnPageLoad": true + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-05-03T11:22:02.706Z" + }, + { + "id": "12ee6e54-199c-4149-91ff-4d8b78173a17", + "name": "removeFromWishlist", + "options": { + "operation": "delete_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712364710552, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7a7bbbc6-715d-4c45-807c-59fb34fc915d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + }, + { + "name": "product_id", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + }, + { + "name": "favourited_by_email", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + } + ] + }, + "list_rows": {}, + "delete_rows": { + "limit": 1, + "where_filters": { + "f3cdb6be-5432-4b0a-a975-26225960f5dc": { + "column": "id", + "operator": "eq", + "value": "{{variables.selectedProductForBookmark.wishlistId}}", + "id": "f3cdb6be-5432-4b0a-a975-26225960f5dc" + } + } + } + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "b545c82c-dc68-4a0e-8fd3-369477c81fa0", + "name": "addProduct", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712364665227, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "10141c7d-4bc8-41d6-b411-7fca646857a6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "name", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "description", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_1", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_2", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_3", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "listed_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "category", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_thumbnail", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "is_active", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "price", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "created_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "status", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_number", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "name", + "value": "{{components.textinput2.value}}" + }, + "1": { + "column": "description", + "value": "{{components.textarea1.value}}" + }, + "2": { + "column": "image_thumbnail", + "value": "{{components.textinput3.value}}" + }, + "3": { + "column": "image_1", + "value": "{{components.textinput4.value}}" + }, + "4": { + "column": "image_2", + "value": "{{components.textinput5.value}}" + }, + "5": { + "column": "image_3", + "value": "{{components.textinput6.value}}" + }, + "6": { + "column": "listed_by_email", + "value": "{{globals.currentUser.email}}" + }, + "7": { + "column": "category", + "value": "{{components.dropdown3.value}}" + }, + "8": { + "column": "price", + "value": "{{(components.numberinput3.value || 0).toFixed(2).toString().padStart(8, \"0\")}}" + }, + "9": { + "column": "created_at", + "value": "{{moment().valueOf()}}" + }, + "10": { + "column": "updated_at", + "value": "{{moment().valueOf()}}" + }, + "11": { + "column": "status", + "value": "approved" + }, + "12": { + "column": "contact_number", + "value": "{{components.textinput7.value}}" + }, + "13": { + "column": "contact_email", + "value": "{{components.textinput8.value}}" + }, + "14": { + "column": "updated_by_email", + "value": "{{globals.currentUser.email}}" + } + } + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + }, + { + "id": "ee2768a5-f229-46a9-8584-9dd72571a3c2", + "name": "getListedProducts", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712364682688, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "10141c7d-4bc8-41d6-b411-7fca646857a6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "name", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "description", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_1", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_2", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_3", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "listed_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "category", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_thumbnail", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "is_active", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "price", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "created_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "status", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_number", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + ] + }, + "list_rows": { + "where_filters": {}, + "order_filters": { + "7053dcb3-8f1c-454b-acdb-1689efaa70b3": { + "column": "id", + "order": "desc", + "id": "7053dcb3-8f1c-454b-acdb-1689efaa70b3" + } + } + }, + "transformation": "return data.map((row) => ({\n ...row,\n formatted_created_at: moment(parseInt(row.created_at)).format(\n \"DD-MM-YYYY hh:mmA\"\n ),\n formatted_updated_at: moment(parseInt(row.updated_at)).format(\n \"DD-MM-YYYY hh:mmA\"\n ),\n formatted_price: parseFloat(row.price).toFixed(2),\n}));" + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-05-03T11:17:41.714Z" + }, + { + "id": "46a31b00-42c4-4ec5-8c1a-271d5d40dfd9", + "name": "updateProductDetails", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712364719628, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "10141c7d-4bc8-41d6-b411-7fca646857a6", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "name", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "description", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_1", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_2", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_3", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "listed_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "category", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "image_thumbnail", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "is_active", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "price", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "created_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_at", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "status", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_number", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "contact_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + }, + { + "name": "updated_by_email", + "table": "10141c7d-4bc8-41d6-b411-7fca646857a6" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "name", + "value": "{{components.textinput9.value}}" + }, + "1": { + "column": "description", + "value": "{{components.textarea2.value}}" + }, + "2": { + "column": "image_thumbnail", + "value": "{{components.textinput10.value}}" + }, + "3": { + "column": "image_1", + "value": "{{components.textinput11.value}}" + }, + "4": { + "column": "image_2", + "value": "{{components.textinput12.value}}" + }, + "5": { + "column": "image_3", + "value": "{{components.textinput13.value}}" + }, + "6": { + "column": "category", + "value": "{{components.dropdown4.value}}" + }, + "7": { + "column": "price", + "value": "{{(components.numberinput4.value || 0).toFixed(2).toString().padStart(8, \"0\")}}" + }, + "8": { + "column": "status", + "value": "{{components.dropdown6.value}}" + }, + "9": { + "column": "contact_number", + "value": "{{components.textinput14.value}}" + }, + "10": { + "column": "contact_email", + "value": "{{components.textinput15.value}}" + }, + "11": { + "column": "updated_at", + "value": "{{moment().valueOf()}}" + }, + "12": { + "column": "updated_by_email", + "value": "{{globals.currentUser.email}}" + }, + "e62c9f89-8535-49fc-81fd-e19b99d261e5": { + "column": "is_active", + "value": "{{components.dropdown5.value}}" + } + }, + "where_filters": { + "347b2bb6-ca75-40e1-a334-789b1235a901": { + "column": "id", + "operator": "eq", + "value": "{{variables.selectedProduct.id}}", + "id": "347b2bb6-ca75-40e1-a334-789b1235a901" + } + } + } + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-05-03T11:18:00.033Z" + }, + { + "id": "b12dd836-4895-4311-bc6a-98b07f6e09ea", + "name": "addToWishlist", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712364673359, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "7a7bbbc6-715d-4c45-807c-59fb34fc915d", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + }, + { + "name": "product_id", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + }, + { + "name": "favourited_by_email", + "table": "7a7bbbc6-715d-4c45-807c-59fb34fc915d" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "product_id", + "value": "{{variables.selectedProductForBookmark.productId}}" + }, + "d85b2ecd-cd70-4037-ab4c-9ad7babe0f91": { + "column": "favourited_by_email", + "value": "{{globals.currentUser.email}}" + } + } + }, + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "createdAt": "2024-04-08T07:11:19.557Z", + "updatedAt": "2024-04-08T07:11:19.557Z" + } + ], + "dataSources": [ + { + "id": "61d97828-a966-4cb6-b661-d5e25061e5f1", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:11:19.569Z", + "updatedAt": "2024-04-08T07:11:19.569Z" + }, + { + "id": "af9fc18e-bfcd-41b9-a45b-0beff8b6a76a", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:11:19.585Z", + "updatedAt": "2024-04-08T07:11:19.585Z" + }, + { + "id": "a7d432f4-7a8d-4b7e-a36f-608183c52ac1", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:11:19.601Z", + "updatedAt": "2024-04-08T07:11:19.601Z" + }, + { + "id": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:11:19.616Z", + "updatedAt": "2024-04-08T07:11:19.616Z" + }, + { + "id": "9a3f2270-67fd-42df-81a4-5b2e8764f197", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:11:19.629Z", + "updatedAt": "2024-04-08T07:11:19.629Z" + } + ], + "appVersions": [ + { + "id": "a25091bd-dde2-4740-8c6e-8f7b37e72bf0", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "#edeff5" + }, + "showViewerNavigation": false, + "homePageId": "8d5b5111-e0d7-4aae-9948-22489ceb7b60", + "appId": "13958ccf-cdba-4aed-9142-df77f13c3abf", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-08T07:11:19.547Z", + "updatedAt": "2024-05-03T11:18:00.433Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "ead1a45d-4f4a-4ebb-8eb6-8b6a9885d670", + "dataSourceId": "61d97828-a966-4cb6-b661-d5e25061e5f1", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:11:19.581Z", + "updatedAt": "2024-04-08T07:11:19.581Z" + }, + { + "id": "8f761e21-74e1-40c7-8fab-9315ce1d2bea", + "dataSourceId": "61d97828-a966-4cb6-b661-d5e25061e5f1", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:11:19.581Z", + "updatedAt": "2024-04-08T07:11:19.581Z" + }, + { + "id": "1ad42a6c-4c6e-409f-a462-06d7791910c5", + "dataSourceId": "61d97828-a966-4cb6-b661-d5e25061e5f1", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:11:19.581Z", + "updatedAt": "2024-04-08T07:11:19.581Z" + }, + { + "id": "257b45dd-fcf6-4c91-ad0b-05f595a5dba5", + "dataSourceId": "af9fc18e-bfcd-41b9-a45b-0beff8b6a76a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:11:19.597Z", + "updatedAt": "2024-04-08T07:11:19.597Z" + }, + { + "id": "f3cd4ece-257b-4c71-a53e-69dd16426757", + "dataSourceId": "af9fc18e-bfcd-41b9-a45b-0beff8b6a76a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:11:19.597Z", + "updatedAt": "2024-04-08T07:11:19.597Z" + }, + { + "id": "37c067d9-10d2-4197-abcb-985878e9ec4e", + "dataSourceId": "af9fc18e-bfcd-41b9-a45b-0beff8b6a76a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:11:19.597Z", + "updatedAt": "2024-04-08T07:11:19.597Z" + }, + { + "id": "bbd9e512-2f72-4734-9cbb-04383b0decbe", + "dataSourceId": "a7d432f4-7a8d-4b7e-a36f-608183c52ac1", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:11:19.613Z", + "updatedAt": "2024-04-08T07:11:19.613Z" + }, + { + "id": "bf96241c-d6cb-48df-8324-17279ed0ed7c", + "dataSourceId": "a7d432f4-7a8d-4b7e-a36f-608183c52ac1", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:11:19.613Z", + "updatedAt": "2024-04-08T07:11:19.613Z" + }, + { + "id": "32491c03-e457-45fa-b42d-3befce582aa6", + "dataSourceId": "a7d432f4-7a8d-4b7e-a36f-608183c52ac1", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:11:19.613Z", + "updatedAt": "2024-04-08T07:11:19.613Z" + }, + { + "id": "d26d9664-80c6-4c26-b8a5-353245b82586", + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:11:19.626Z", + "updatedAt": "2024-04-08T07:11:19.626Z" + }, + { + "id": "08e64886-0202-4195-bdd4-d6ff253faf96", + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:11:19.626Z", + "updatedAt": "2024-04-08T07:11:19.626Z" + }, + { + "id": "6f764ed2-2dd1-4e01-81e2-18077831465f", + "dataSourceId": "8cf86e2e-ff9f-4fcd-9b5a-e5a62eef5ed6", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:11:19.626Z", + "updatedAt": "2024-04-08T07:11:19.626Z" + }, + { + "id": "b8310ebd-a900-4ca1-a9d0-4444edf05d36", + "dataSourceId": "9a3f2270-67fd-42df-81a4-5b2e8764f197", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:11:19.641Z", + "updatedAt": "2024-04-08T07:11:19.641Z" + }, + { + "id": "e77e1b07-7532-4126-99bf-2435069314f4", + "dataSourceId": "9a3f2270-67fd-42df-81a4-5b2e8764f197", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:11:19.641Z", + "updatedAt": "2024-04-08T07:11:19.641Z" + }, + { + "id": "73d5edc7-3f10-4abd-9969-abb655000810", + "dataSourceId": "9a3f2270-67fd-42df-81a4-5b2e8764f197", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:11:19.641Z", + "updatedAt": "2024-04-08T07:11:19.641Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/simple-marketplace-admin/manifest.json b/server/templates/simple-marketplace-admin/manifest.json new file mode 100644 index 0000000000..b8b6789829 --- /dev/null +++ b/server/templates/simple-marketplace-admin/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "Simple marketplace - Admin", + "description": "Take complete control of your online marketplace with our comprehensive admin interface.", + "widgets": [ + "Listview" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + } + ], + "id": "simple-marketplace-admin", + "category": "operations" +} \ No newline at end of file diff --git a/server/templates/simple-marketplace/definition.json b/server/templates/simple-marketplace/definition.json new file mode 100644 index 0000000000..2d8c0768b3 --- /dev/null +++ b/server/templates/simple-marketplace/definition.json @@ -0,0 +1,7721 @@ +{ + "tooljet_database": [ + { + "id": "52a248b1-0879-4054-8353-39c4d8da988f", + "table_name": "marketplace_favourites", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"52a248b1-0879-4054-8353-39c4d8da988f_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "product_id", + "data_type": "integer", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "favourited_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + }, + { + "id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "table_name": "marketplace_products", + "schema": { + "columns": [ + { + "column_name": "id", + "data_type": "integer", + "column_default": "nextval('\"0c78ec76-2bc2-43b1-b421-da99256f3317_id_seq\"'::regclass)", + "character_maximum_length": null, + "numeric_precision": 32, + "constraints_type": { + "is_not_null": true, + "is_primary_key": true + }, + "keytype": "PRIMARY KEY" + }, + { + "column_name": "name", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "description", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_1", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_2", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_3", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "listed_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "category", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "image_thumbnail", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "is_active", + "data_type": "boolean", + "column_default": "true", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "price", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "created_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_at", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "status", + "data_type": "character varying", + "column_default": "pending", + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "contact_number", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "contact_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + }, + { + "column_name": "updated_by_email", + "data_type": "character varying", + "column_default": null, + "character_maximum_length": null, + "numeric_precision": null, + "constraints_type": { + "is_not_null": false, + "is_primary_key": false + }, + "keytype": "" + } + ] + } + } + ], + "app": [ + { + "definition": { + "appV2": { + "id": "59225dfd-4e45-4eac-bb73-44f631f6639e", + "type": "front-end", + "name": "Simple marketplace", + "slug": "59225dfd-4e45-4eac-bb73-44f631f6639e", + "isPublic": false, + "isMaintenanceOn": false, + "icon": "server", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "currentVersionId": null, + "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", + "workflowApiToken": null, + "workflowEnabled": false, + "createdAt": "2024-04-08T07:12:05.781Z", + "creationMode": "DEFAULT", + "updatedAt": "2024-04-08T07:12:06.964Z", + "editingVersion": { + "id": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "899429b3-9894-4639-aa1e-7f417f390293", + "appId": "59225dfd-4e45-4eac-bb73-44f631f6639e", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-08T07:12:05.799Z", + "updatedAt": "2024-05-03T10:49:43.990Z" + }, + "components": [ + { + "id": "3f457be9-c872-456a-ad14-041d83aef997", + "name": "dropdown2", + "type": "DropDown", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{false}}" + }, + "display_values": { + "value": "{{[\"All products\", \"Wishlisted products only\"]}}" + }, + "placeholder": { + "value": "Select favourite preference" + }, + "values": { + "value": "{{[false, true]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "e3960dc8-f5d7-44de-ad7b-076c30cec871", + "type": "desktop", + "top": 80, + "left": 6.976741019011922, + "width": 36, + "height": 40, + "componentId": "3f457be9-c872-456a-ad14-041d83aef997", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e5f20c81-41cd-4fd3-b90a-5c3b9104f793", + "type": "mobile", + "top": 150, + "left": 13.953488372093023, + "width": 18.6046511627907, + "height": 30, + "componentId": "3f457be9-c872-456a-ad14-041d83aef997", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1b67db86-2447-4fb8-bc13-853038373fd4", + "name": "listview1", + "type": "Listview", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": { + "mode": { + "value": "grid" + }, + "columns": { + "fxActive": true, + "value": "{{parseInt((document.documentElement.clientWidth / 600).toFixed(0))}}" + }, + "data": { + "value": "{{queries.getProducts.data.filter(\n (row) =>\n (row.name\n .toLowerCase()\n .includes(components.textinput1.value.toLowerCase()) ||\n row.description\n .toLowerCase()\n .includes(components.textinput1.value.toLowerCase())) &&\n (components.dropdown2.value == true\n ? queries.getWishlist.data.hasOwnProperty(row.id)\n : true)\n)}}" + }, + "rowHeight": { + "value": "360" + }, + "enablePagination": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{10}}" + }, + "borderColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{false}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T06:03:43.772Z", + "layouts": [ + { + "id": "a1dc8a76-50c1-4052-bfd3-fcfee3c33f0d", + "type": "mobile", + "top": 250, + "left": 2.3255813953488373, + "width": 20, + "height": 300, + "componentId": "1b67db86-2447-4fb8-bc13-853038373fd4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "797c641d-31a7-49b1-8b6f-46d129b59e98", + "type": "desktop", + "top": 190, + "left": 23.25581395348837, + "width": 32, + "height": 610, + "componentId": "1b67db86-2447-4fb8-bc13-853038373fd4", + "updatedAt": "2024-05-03T10:49:01.758Z" + } + ] + }, + { + "id": "06d5e829-d16a-4bcf-aa1f-5d921b7a668f", + "name": "text2", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "fd59d4a0-8f3b-4a61-9448-258ace4a2a87", + "properties": { + "text": { + "value": "B R A N D" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff" + }, + "textSize": { + "value": "{{24}}" + }, + "fontWeight": { + "value": "bold" + }, + "letterSpacing": { + "value": "{{0}}" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "e7c25085-4e5d-411e-9e04-d4414cd1a9a3", + "type": "desktop", + "top": 10, + "left": 2.3255818774724633, + "width": 6, + "height": 40, + "componentId": "06d5e829-d16a-4bcf-aa1f-5d921b7a668f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8c4e270d-bf69-48c0-87a0-c60231f3c62a", + "name": "text3", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "fd59d4a0-8f3b-4a61-9448-258ace4a2a87", + "properties": { + "text": { + "value": "Marketplace" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#ffffffff", + "fxActive": false + }, + "textSize": { + "value": "{{20}}" + }, + "textAlign": { + "value": "right" + }, + "fontWeight": { + "value": "bold" + }, + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "ffae0006-2f4f-4b43-9cdb-0689cfd0c07e", + "type": "desktop", + "top": 10, + "left": 69.76744229792882, + "width": 12, + "height": 40, + "componentId": "8c4e270d-bf69-48c0-87a0-c60231f3c62a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fd59d4a0-8f3b-4a61-9448-258ace4a2a87", + "name": "container1", + "type": "Container", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00", + "fxActive": false + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "7f65c105-9151-4bf8-8095-b3cd77a65803", + "type": "desktop", + "top": 20, + "left": 2.325580291207368, + "width": 41, + "height": 70, + "componentId": "fd59d4a0-8f3b-4a61-9448-258ace4a2a87", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "name": "button2", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "View details" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#3e63ddff" + }, + "backgroundColor": { + "value": "#ffffff00" + }, + "disabledState": { + "value": "{{false}}" + }, + "borderRadius": { + "value": "{{5}}" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T05:44:18.626Z", + "layouts": [ + { + "id": "c4ec8d1a-1cb4-480d-8d80-253afbab8aa9", + "type": "mobile", + "top": 260, + "left": 6.9767441860465125, + "width": 6.976744186046512, + "height": 30, + "componentId": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f8e0797b-7c99-400a-acd4-6a420f35dece", + "type": "desktop", + "top": 270, + "left": 37.209299443630115, + "width": 23, + "height": 50, + "componentId": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3c9b7c6a-1d64-4645-b0e0-cf42bee1e53f", + "name": "text4", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "
" + }, + "visibility": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "padding": { + "value": "default" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "2aad3263-2f14-415b-88d0-685367bb65d6", + "type": "mobile", + "top": 260, + "left": 6.9767441860465125, + "width": 13.953488372093023, + "height": 40, + "componentId": "3c9b7c6a-1d64-4645-b0e0-cf42bee1e53f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "847dd089-b5ec-4e13-bc60-840970b7d687", + "type": "desktop", + "top": 350, + "left": 2.32558215869854, + "width": 41, + "height": 10, + "componentId": "3c9b7c6a-1d64-4645-b0e0-cf42bee1e53f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d0d5ab63-049a-4c46-82ed-562182855d5c", + "name": "text5", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "
" + }, + "visibility": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "textAlign": { + "value": "center" + }, + "isScrollRequired": { + "value": "disabled" + }, + "padding": { + "value": "default" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T06:04:37.476Z", + "layouts": [ + { + "id": "c0d1bd19-eb8f-4306-83d4-1f99c8e1c8bb", + "type": "mobile", + "top": 250, + "left": 23.25581395348837, + "width": 13.953488372093023, + "height": 40, + "componentId": "d0d5ab63-049a-4c46-82ed-562182855d5c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "dcc19951-7124-412d-8895-cbe3eea27a98", + "type": "desktop", + "top": 0, + "left": 95.34883720930232, + "width": 2, + "height": 350, + "componentId": "d0d5ab63-049a-4c46-82ed-562182855d5c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "name": "container2", + "type": "Container", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "c3bbdd12-2470-4265-b558-dc3b4585bb28", + "type": "mobile", + "top": 570, + "left": 4.651162790697675, + "width": 5, + "height": 200, + "componentId": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9c732cfa-3c69-412e-95be-ba751d49fc99", + "type": "desktop", + "top": 110, + "left": 2.3255813953488373, + "width": 8, + "height": 690, + "componentId": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "updatedAt": "2024-05-03T10:48:58.740Z" + } + ] + }, + { + "id": "92c6119e-35dd-4a0b-9744-ac7ffde4c5ac", + "name": "textinput1", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Search" + } + }, + "general": {}, + "styles": { + "borderColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + }, + "iconColor": { + "value": "#888888ff" + }, + "auto": { + "value": true + }, + "icon": { + "value": "IconSearch" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "3c92ce21-500b-4280-b03e-96de81e30639", + "type": "desktop", + "top": 20, + "left": 6.976741683716129, + "width": 36, + "height": 40, + "componentId": "92c6119e-35dd-4a0b-9744-ac7ffde4c5ac", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "8f9dd79a-10b9-4a89-b7fb-55f565ee8602", + "type": "mobile", + "top": 0, + "left": 0, + "width": 10, + "height": 40, + "componentId": "92c6119e-35dd-4a0b-9744-ac7ffde4c5ac", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "05e42d53-cf0f-4e50-8478-66c572ae2c97", + "name": "dropdown1", + "type": "DropDown", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Select category" + }, + "value": { + "value": "{{\"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\"}}" + }, + "display_values": { + "value": "{{[\n \"All categories\",\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "values": { + "value": "{{[\n \"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\",\n \"[\\\"Electronics\\\"]\",\n \"[\\\"Kitchenware\\\"]\",\n \"[\\\"Apparel\\\"]\",\n \"[\\\"Wellness\\\"]\",\n \"[\\\"Sports\\\"]\",\n \"[\\\"Beauty\\\"]\",\n \"[\\\"Toys\\\"]\",\n \"[\\\"Automotive\\\"]\",\n \"[\\\"Pets\\\"]\",\n \"[\\\"Tools\\\"]\"\n]}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "c4998ef4-e111-4404-9d85-cdc7b0c91f2b", + "type": "desktop", + "top": 250, + "left": 6.976751689437488, + "width": 36, + "height": 40, + "componentId": "05e42d53-cf0f-4e50-8478-66c572ae2c97", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "9a96f3ee-c702-4b0b-a0af-6eea81747cf1", + "type": "mobile", + "top": 150, + "left": 13.953488372093023, + "width": 18.6046511627907, + "height": 30, + "componentId": "05e42d53-cf0f-4e50-8478-66c572ae2c97", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e359d442-7a07-4569-9650-d418e6da99ec", + "name": "text6", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "8d1b5298-1836-4191-8ecb-d5c93a5d3ed3", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "e359d442-7a07-4569-9650-d418e6da99ec", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "5972ea1f-643b-4cd6-976a-9359e623898f", + "type": "desktop", + "top": 220, + "left": 6.976757682690073, + "width": 34.99999999999999, + "height": 30, + "componentId": "e359d442-7a07-4569-9650-d418e6da99ec", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4ac82bdf-b4e0-4e4f-bb17-4b81b2f5157d", + "name": "text7", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "
Minimum price
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "b9f59ae8-f293-40a4-954f-e1585ca166ef", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "4ac82bdf-b4e0-4e4f-bb17-4b81b2f5157d", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e6cf0029-ac39-46bf-871a-e2aaaf375edb", + "type": "desktop", + "top": 320, + "left": 6.9767546626595935, + "width": 34.99999999999999, + "height": 30, + "componentId": "4ac82bdf-b4e0-4e4f-bb17-4b81b2f5157d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9c35978e-50f0-4e1b-bdc9-1496b4c6f77c", + "name": "numberinput1", + "type": "NumberInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "" + }, + "value": { + "value": "0" + }, + "decimalPlaces": { + "value": "{{2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconColor": { + "value": "#888888ff" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0" + }, + "maxValue": { + "value": "{{components.numberinput2.value}}" + } + }, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "4355a6b9-5762-4590-99e2-6ff0243ba4c6", + "type": "desktop", + "top": 350, + "left": 6.976752705987563, + "width": 36, + "height": 40, + "componentId": "9c35978e-50f0-4e1b-bdc9-1496b4c6f77c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a007f3f9-f60b-4d4c-9fc5-b8e6b5abfdf4", + "type": "mobile", + "top": 240, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "9c35978e-50f0-4e1b-bdc9-1496b4c6f77c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c7e4cd7f-5166-48c3-a4c4-031b1a576e0b", + "name": "numberinput2", + "type": "NumberInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "99999.99" + }, + "placeholder": { + "value": "" + }, + "decimalPlaces": { + "value": "{{2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconColor": { + "value": "#888888ff" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "maxValue": { + "value": "" + }, + "minValue": { + "value": "{{components.numberinput1.value}}" + }, + "mandatory": { + "value": "{{false}}" + } + }, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "18aa246a-3305-4111-b3b3-1719ca34cd7d", + "type": "desktop", + "top": 450, + "left": 6.976749743335181, + "width": 36, + "height": 40, + "componentId": "c7e4cd7f-5166-48c3-a4c4-031b1a576e0b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2e490eeb-a378-4c24-9097-fd385fe6cbe5", + "type": "mobile", + "top": 240, + "left": 4.651162790697674, + "width": 23.25581395348837, + "height": 40, + "componentId": "c7e4cd7f-5166-48c3-a4c4-031b1a576e0b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0c369384-539b-4f82-a028-d9b57fbeaedf", + "name": "text8", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "
Maximum price
" + } + }, + "general": {}, + "styles": { + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "5ad91fde-66e5-47fb-898f-935ef36241f9", + "type": "mobile", + "top": 80, + "left": 16.279069767441857, + "width": 13.953488372093023, + "height": 40, + "componentId": "0c369384-539b-4f82-a028-d9b57fbeaedf", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b384950a-ec0f-4b20-8885-8c22ef776cac", + "type": "desktop", + "top": 420, + "left": 6.976747923546997, + "width": 34.99999999999999, + "height": 30, + "componentId": "0c369384-539b-4f82-a028-d9b57fbeaedf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "name": "button3", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "Reset filters" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "22142430-3038-47c6-9d68-325fcadc48fa", + "type": "mobile", + "top": 420, + "left": 13.953488372093025, + "width": 6.976744186046512, + "height": 30, + "componentId": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ebefd98a-2bc2-405e-910c-7e3b40e99e39", + "type": "desktop", + "top": 570, + "left": 6.976742479590947, + "width": 36, + "height": 40, + "componentId": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "updatedAt": "2024-05-03T10:49:43.807Z" + } + ] + }, + { + "id": "1926e320-a4bc-4747-8c61-d8173c131ee1", + "name": "button4", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "Apply filters" + }, + "loadingState": { + "fxActive": true, + "value": "{{(variables?.applyingFilter ?? false) && queries.getProducts.isLoading}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + }, + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0853b3ed-17c6-479f-a70f-0aa2f6768032", + "type": "mobile", + "top": 480, + "left": 4.651162790697675, + "width": 6.976744186046512, + "height": 30, + "componentId": "1926e320-a4bc-4747-8c61-d8173c131ee1", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f5d30cd2-986b-46d9-b9e3-9e06dbc546a1", + "type": "desktop", + "top": 620, + "left": 6.976735929759433, + "width": 36, + "height": 40, + "componentId": "1926e320-a4bc-4747-8c61-d8173c131ee1", + "updatedAt": "2024-05-03T10:49:43.807Z" + } + ] + }, + { + "id": "ab6053f4-1b4c-4a66-9ad4-2efa70fcc115", + "name": "text10", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8528d888-a2a8-4df7-8aa1-e77194489a9a", + "properties": { + "text": { + "value": "
Filters
" + } + }, + "general": {}, + "styles": { + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "18" + }, + "textIndent": { + "value": "0" + }, + "isScrollRequired": { + "value": "disabled" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#fff00000", + "fxActive": false + }, + "textAlign": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "5a218167-86ce-4bc2-925b-a1eee3e992bc", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "ab6053f4-1b4c-4a66-9ad4-2efa70fcc115", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "40880a0e-080a-4a2f-9dfa-9b7978a71226", + "type": "desktop", + "top": 160, + "left": 6.976749175000256, + "width": 36, + "height": 40, + "componentId": "ab6053f4-1b4c-4a66-9ad4-2efa70fcc115", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5de55584-37e3-464b-baa1-a0f90432280b", + "name": "container3", + "type": "Container", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": {}, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "102653a9-f402-4857-a2f8-20448d04bb9d", + "type": "desktop", + "top": 110, + "left": 23.25581395348837, + "width": 32, + "height": 70, + "componentId": "5de55584-37e3-464b-baa1-a0f90432280b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "b3e9bf8d-1d87-4b50-8d56-f6d3448367bd", + "type": "mobile", + "top": 700, + "left": 23.25581395348837, + "width": 5, + "height": 200, + "componentId": "5de55584-37e3-464b-baa1-a0f90432280b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f71c5f88-a8f2-4503-befc-48ee5fc438a5", + "name": "button7", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "5de55584-37e3-464b-baa1-a0f90432280b", + "properties": { + "text": { + "value": "Manage your listings" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T06:46:28.617Z", + "layouts": [ + { + "id": "fa4c6db8-579d-4a37-930d-ac8f81b1937d", + "type": "mobile", + "top": 180, + "left": 0, + "width": 3, + "height": 30, + "componentId": "f71c5f88-a8f2-4503-befc-48ee5fc438a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "11fb5503-7bbb-425c-b9e1-727de015c3b7", + "type": "desktop", + "top": 10, + "left": 58.13953395989169, + "width": 9, + "height": 40, + "componentId": "f71c5f88-a8f2-4503-befc-48ee5fc438a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f422b3a9-086d-48c6-b3e4-deb12ce2e790", + "name": "button8", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "5de55584-37e3-464b-baa1-a0f90432280b", + "properties": { + "text": { + "value": "List a product" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "f535d2b3-053d-4012-8f45-17cf02107bbd", + "type": "desktop", + "top": 10, + "left": 81.39536571365016, + "width": 7, + "height": 40, + "componentId": "f422b3a9-086d-48c6-b3e4-deb12ce2e790", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "2050cb7a-4326-4ff7-8bff-d8a27cc20789", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "f422b3a9-086d-48c6-b3e4-deb12ce2e790", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4083d19a-52d9-430c-81ae-c33a3b89272a", + "name": "text11", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "5de55584-37e3-464b-baa1-a0f90432280b", + "properties": { + "text": { + "value": "
Products
" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "fxActive": false + }, + "textColor": { + "value": "#3e63ddff" + }, + "textSize": { + "value": "18" + }, + "textIndent": { + "value": "0" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "8289e649-1abc-4b82-9e4d-3446813bb93a", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "4083d19a-52d9-430c-81ae-c33a3b89272a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "12cc409f-22d6-4e40-a532-c941d88fcffc", + "type": "desktop", + "top": 10, + "left": 2.325581412307962, + "width": 6, + "height": 40, + "componentId": "4083d19a-52d9-430c-81ae-c33a3b89272a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "name": "text13", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "{{queries.getWishlist.data.hasOwnProperty(listItem.id) ? `\n \n` : `\n \n`}}" + }, + "loadingState": { + "value": "{{variables.selectedProductForBookmark.productId == listItem.id && (queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading)}}", + "fxActive": true + }, + "disabledState": { + "fxActive": true, + "value": "{{queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading}}" + }, + "visibility": { + "fxActive": false + } + }, + "general": {}, + "styles": { + "textAlign": { + "value": "center" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "backgroundColor": { + "value": "#3e63dd1a" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0e9db5c3-00cc-48f7-9fa7-ea74f0c69cfe", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "6bc7cf56-b54f-4449-9512-075758f4d4d1", + "type": "desktop", + "top": 270, + "left": 6.976746476095619, + "width": 6, + "height": 50, + "componentId": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3efc7541-7d99-4c79-9371-5c9ac3826b5b", + "name": "text14", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "{{`
${listItem.name}
`}}" + } + }, + "general": {}, + "styles": { + "isScrollRequired": { + "value": "disabled" + }, + "verticalAlignment": { + "value": "center" + }, + "textAlign": { + "value": "right" + }, + "textSize": { + "value": "16" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T05:58:42.905Z", + "layouts": [ + { + "id": "fb6a877f-87a8-47ec-a6c0-8160e3e10dbb", + "type": "mobile", + "top": 200, + "left": 11.627906976744185, + "width": 13.953488372093023, + "height": 40, + "componentId": "3efc7541-7d99-4c79-9371-5c9ac3826b5b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "6a27c554-6c01-4989-91c3-7c1bd83f27aa", + "type": "desktop", + "top": 230, + "left": 37.20930289399658, + "width": 23, + "height": 30, + "componentId": "3efc7541-7d99-4c79-9371-5c9ac3826b5b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "48ff332b-4aea-4a92-a585-58823a5cdeda", + "name": "text15", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "text": { + "value": "{{`
${new Intl.NumberFormat('en-US', { style: 'currency', currency: \"USD\" }).format(listItem.price)}
`}}" + } + }, + "general": {}, + "styles": { + "isScrollRequired": { + "value": "disabled" + }, + "textSize": { + "value": "16" + }, + "padding": { + "value": "default" + }, + "fontWeight": { + "value": "normal" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T05:57:58.203Z", + "layouts": [ + { + "id": "d945e578-a189-4145-b426-cb409f5bdadd", + "type": "mobile", + "top": 200, + "left": 11.627906976744185, + "width": 13.953488372093023, + "height": 40, + "componentId": "48ff332b-4aea-4a92-a585-58823a5cdeda", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "85611518-6824-4ba3-8621-e49483b93b06", + "type": "desktop", + "top": 230, + "left": 6.9767523808601, + "width": 12, + "height": 30, + "componentId": "48ff332b-4aea-4a92-a585-58823a5cdeda", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2858ac2a-bd82-4973-b007-b145207fd871", + "name": "modal1", + "type": "Modal", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "size": { + "value": "lg" + }, + "title": { + "value": "List a product" + }, + "modalHeight": { + "value": "770px" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "46b8b387-a9b8-4e32-9d57-288ddc3da944", + "type": "mobile", + "top": 810, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "2858ac2a-bd82-4973-b007-b145207fd871", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "f85d9dbb-3769-4db3-8f5e-14bc75c466c3", + "type": "desktop", + "top": 859.9998383522034, + "left": 2.325588401671367, + "width": 4, + "height": 30, + "componentId": "2858ac2a-bd82-4973-b007-b145207fd871", + "updatedAt": "2024-05-03T10:47:43.151Z" + } + ] + }, + { + "id": "3d64889a-f132-41b6-b226-cec7cecdad55", + "name": "text16", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Product Name
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "ceb449a0-ad1b-4448-b533-e060f36e0a0b", + "type": "desktop", + "top": 270, + "left": 4.651157795013531, + "width": 7.000000000000001, + "height": 40, + "componentId": "3d64889a-f132-41b6-b226-cec7cecdad55", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3091c1f2-5c1d-4dbf-9d4c-590206b2af2c", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "3d64889a-f132-41b6-b226-cec7cecdad55", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5b4a2b2a-1819-4abc-b5b3-b561016b7e25", + "name": "textinput2", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter name" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "81fe0f01-b3a4-4462-a0ad-71a3764d58d8", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "5b4a2b2a-1819-4abc-b5b3-b561016b7e25", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "33cbcea3-d520-413b-9b0c-f0e76400e012", + "type": "desktop", + "top": 270, + "left": 20.930216037380013, + "width": 32, + "height": 40, + "componentId": "5b4a2b2a-1819-4abc-b5b3-b561016b7e25", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8fa3726c-27b0-4510-8920-9f88dd00619e", + "name": "text18", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Description
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0f5352f3-b712-4d76-b7db-9584917e24ef", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "8fa3726c-27b0-4510-8920-9f88dd00619e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "829f3531-cd4a-4324-9af8-e9ada263fcab", + "type": "desktop", + "top": 330, + "left": 4.6511647458281224, + "width": 6, + "height": 40, + "componentId": "8fa3726c-27b0-4510-8920-9f88dd00619e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "35723e3a-29a1-435e-a409-0a78b98128c9", + "name": "textarea1", + "type": "TextArea", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "value": { + "value": "" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "768a2440-29a9-431a-bc07-64fa8db67e31", + "type": "desktop", + "top": 330, + "left": 20.930231960068358, + "width": 32, + "height": 100, + "componentId": "35723e3a-29a1-435e-a409-0a78b98128c9", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4ecec284-04a0-48f2-beed-d4d6bdf36277", + "type": "mobile", + "top": 120, + "left": 23.255813953488374, + "width": 13.953488372093023, + "height": 100, + "componentId": "35723e3a-29a1-435e-a409-0a78b98128c9", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f7326f01-d963-4844-b90e-73f361c69221", + "name": "image2", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "source": { + "value": "{{components.textinput3.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput3.value.trim()}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffffff" + }, + "borderType": { + "value": "rounded" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "1d988e83-0dc0-4e16-ac52-f22d221c6dc7", + "type": "desktop", + "top": 30, + "left": 4.651164443630164, + "width": 9, + "height": 120, + "componentId": "f7326f01-d963-4844-b90e-73f361c69221", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "6b813616-b0b1-416d-b4ec-f8dc6d0345e8", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "f7326f01-d963-4844-b90e-73f361c69221", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "106850ce-6b22-44b4-a507-4abff89cc8e2", + "name": "image3", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "source": { + "value": "{{components.textinput4.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput4.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "e09a933c-9d66-4574-80ec-823b83e02598", + "type": "desktop", + "top": 30, + "left": 27.906985472585674, + "width": 9, + "height": 120, + "componentId": "106850ce-6b22-44b4-a507-4abff89cc8e2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "04dc6c6f-e34f-4125-8bc4-ef2f16b794d4", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "106850ce-6b22-44b4-a507-4abff89cc8e2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3538e903-b8af-4045-8124-bf2537ed0d3e", + "name": "image4", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "source": { + "value": "{{components.textinput5.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput5.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "44ec196a-90d4-4eaa-91fb-34adeedaba25", + "type": "desktop", + "top": 30, + "left": 51.16278162692838, + "width": 9, + "height": 120, + "componentId": "3538e903-b8af-4045-8124-bf2537ed0d3e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c56fdbef-afcd-42f6-b6de-15efadaf308c", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "3538e903-b8af-4045-8124-bf2537ed0d3e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "72b7eca7-7023-42ef-88b6-58cf6a2ae0f7", + "name": "image5", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "source": { + "value": "{{components.textinput6.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput6.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "719336fd-3151-44d2-a29d-50ec9f74e005", + "type": "desktop", + "top": 30, + "left": 74.41860510433918, + "width": 9, + "height": 120, + "componentId": "72b7eca7-7023-42ef-88b6-58cf6a2ae0f7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d0e6621d-f32b-4103-b4ad-605c9a7b46e2", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "72b7eca7-7023-42ef-88b6-58cf6a2ae0f7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5ba55b0f-60e1-434d-8430-ba8069e6229d", + "name": "text19", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Thumbnail URL
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "60e85efb-36cb-4d80-9512-42bb93b0c380", + "type": "desktop", + "top": 150, + "left": 4.651159609227916, + "width": 9, + "height": 40, + "componentId": "5ba55b0f-60e1-434d-8430-ba8069e6229d", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "7a4f1b24-9bfa-44c7-a1ca-d9d25c8e2e27", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "5ba55b0f-60e1-434d-8430-ba8069e6229d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3a612b99-1d97-420a-b10e-46e838b435d7", + "name": "textinput3", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "20a3298f-c74f-49a3-a634-78ae59255eec", + "type": "desktop", + "top": 190, + "left": 4.651159851195644, + "width": 9, + "height": 40, + "componentId": "3a612b99-1d97-420a-b10e-46e838b435d7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "89a0db6a-2cad-4e77-8d17-90b7bf272572", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "3a612b99-1d97-420a-b10e-46e838b435d7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "08b68743-0d65-4ed8-9180-ddb7b20cc41f", + "name": "text20", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Image 1
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "f3a7d4ee-66ee-4050-844f-a1677bdd9ae0", + "type": "desktop", + "top": 150, + "left": 27.906971490772545, + "width": 9, + "height": 40, + "componentId": "08b68743-0d65-4ed8-9180-ddb7b20cc41f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d5756af2-bf4f-48d9-b39b-d2ab59d8938f", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "08b68743-0d65-4ed8-9180-ddb7b20cc41f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "87eda722-28f5-4fc5-96d5-5b7d58a0937a", + "name": "textinput4", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "ccb17e80-6f84-410b-b8f5-b66992fe80ea", + "type": "desktop", + "top": 190, + "left": 27.90697434376371, + "width": 9, + "height": 40, + "componentId": "87eda722-28f5-4fc5-96d5-5b7d58a0937a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0218d398-8d24-4bca-9560-7d6fc8cc0e4c", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "87eda722-28f5-4fc5-96d5-5b7d58a0937a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "521f5a8b-cb35-4d59-a6f6-8c71cc268673", + "name": "text21", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Image 2
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0369b8f6-6f2c-45ab-ac37-a90620af7600", + "type": "desktop", + "top": 150, + "left": 51.1627778686928, + "width": 9, + "height": 40, + "componentId": "521f5a8b-cb35-4d59-a6f6-8c71cc268673", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "aa51aa51-b7c3-4c9f-b40c-97530b4e322c", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "521f5a8b-cb35-4d59-a6f6-8c71cc268673", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fd363bfb-6a7d-46aa-b4ac-d8075176d8b4", + "name": "textinput5", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "disabledState": { + "fxActive": false, + "value": "{{false}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "6b0ede52-4143-4de1-976a-837d8e3e4d15", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "fd363bfb-6a7d-46aa-b4ac-d8075176d8b4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1b964f27-035f-4314-8ae1-a728c5812177", + "type": "desktop", + "top": 190, + "left": 51.16278010993017, + "width": 9, + "height": 40, + "componentId": "fd363bfb-6a7d-46aa-b4ac-d8075176d8b4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "4217a2e2-a5d4-431f-95e0-3384f43e9554", + "name": "textinput6", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "af52c93e-b6fb-40fd-bc55-b587cb317b67", + "type": "desktop", + "top": 190, + "left": 74.4185982799801, + "width": 9, + "height": 40, + "componentId": "4217a2e2-a5d4-431f-95e0-3384f43e9554", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c546c810-11e2-45bf-836e-034cb5991829", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "4217a2e2-a5d4-431f-95e0-3384f43e9554", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "23614cbe-ec49-48cb-9409-fd3d4e0c9cc6", + "name": "text22", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Image 3
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0d3d80da-cb66-4594-90bd-a733a086db63", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "23614cbe-ec49-48cb-9409-fd3d4e0c9cc6", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e27ae5a6-2f9f-49f0-9eca-fc4b723806b5", + "type": "desktop", + "top": 150, + "left": 74.41859447089072, + "width": 9, + "height": 40, + "componentId": "23614cbe-ec49-48cb-9409-fd3d4e0c9cc6", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "73b7a5f2-b885-4d08-bf0c-7acb6a28aee5", + "name": "text23", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "c3c7e031-d8ea-4df6-8b2a-33809b2084b3", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "73b7a5f2-b885-4d08-bf0c-7acb6a28aee5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4f1f5822-c013-4bef-a458-2b3f4309903e", + "type": "desktop", + "top": 450, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "73b7a5f2-b885-4d08-bf0c-7acb6a28aee5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "726f27fd-25c4-4185-af52-6ddefe9e0741", + "name": "dropdown3", + "type": "DropDown", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Select category" + }, + "values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "value": { + "value": "{{}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "26840b84-b6d6-4aa4-be44-72ebb7ca62d2", + "type": "desktop", + "top": 450, + "left": 20.93023255813954, + "width": 32, + "height": 40, + "componentId": "726f27fd-25c4-4185-af52-6ddefe9e0741", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d0dae627-a974-46de-8b47-4cdc79845858", + "type": "mobile", + "top": 450, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "726f27fd-25c4-4185-af52-6ddefe9e0741", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "6480de6b-31e1-4399-882c-013246ae7e26", + "name": "text24", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Price
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0c9d015c-e868-49dd-80b0-91d06636fd73", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "6480de6b-31e1-4399-882c-013246ae7e26", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c00b0bba-07c3-403f-9bab-db7e36713a15", + "type": "desktop", + "top": 510, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "6480de6b-31e1-4399-882c-013246ae7e26", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "c2331b56-7aea-4292-aa5e-99be87b3d93b", + "name": "numberinput3", + "type": "NumberInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + } + }, + "general": {}, + "styles": { + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + }, + "iconColor": { + "value": "#888888ff" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + }, + "maxValue": { + "value": "99999.99" + } + }, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "d0d48bcc-8224-43ee-bec1-ef032cd36b8d", + "type": "mobile", + "top": 510, + "left": 32.55813953488372, + "width": 23.25581395348837, + "height": 40, + "componentId": "c2331b56-7aea-4292-aa5e-99be87b3d93b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4cfa3d3c-47f1-4b89-aa7d-3c0b0fd646e8", + "type": "desktop", + "top": 510, + "left": 20.93023762051931, + "width": 32, + "height": 40, + "componentId": "c2331b56-7aea-4292-aa5e-99be87b3d93b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a1e51a54-4448-4c1c-91a7-edf3fe256dd2", + "name": "button6", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.addProduct.isLoading}}" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "9df81bfc-8b89-4de9-bdca-c6c205e9b4cf", + "type": "desktop", + "top": 700, + "left": 81.39534746660424, + "width": 6.000000000000001, + "height": 40, + "componentId": "a1e51a54-4448-4c1c-91a7-edf3fe256dd2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "1953f605-4c3e-448a-b934-f2b86293364c", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "a1e51a54-4448-4c1c-91a7-edf3fe256dd2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f50d5d42-8eec-4092-9faa-97f6d865d12c", + "name": "button9", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "Cancel" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "50f386c6-deda-4a5b-8f35-7e52eb76a771", + "type": "desktop", + "top": 700, + "left": 65.11625879246459, + "width": 6.000000000000001, + "height": 40, + "componentId": "f50d5d42-8eec-4092-9faa-97f6d865d12c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "4607a132-8e0b-4785-92f9-b277d2802ed3", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "f50d5d42-8eec-4092-9faa-97f6d865d12c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "37af4b68-2559-4e0c-9a77-cf10f23bb367", + "name": "image6", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "source": { + "value": "{{variables.selectedProduct[`image_${variables.imageIndex}`]}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + }, + "padding": { + "value": "0" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 0px #00000040" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "d01bcf0f-5af9-42ab-ac8f-be1284ac841a", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "37af4b68-2559-4e0c-9a77-cf10f23bb367", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "46095364-b53f-4d0a-9600-ae0871be8d57", + "type": "desktop", + "top": 30, + "left": 6.976735627470138, + "width": 15, + "height": 380, + "componentId": "37af4b68-2559-4e0c-9a77-cf10f23bb367", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "name": "modal2", + "type": "Modal", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": { + "title": { + "value": "{{`${variables.selectedProduct.category}`}}" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "500px" + }, + "size": { + "value": "xl" + }, + "hideTitleBar": { + "value": "{{false}}" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "80e14bd6-e378-4fd8-b236-ec9dd1948e8f", + "type": "mobile", + "top": 844, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "fc7feae9-8551-417e-bf04-70cbc506fba5", + "type": "desktop", + "top": 859.9998922348022, + "left": 13.953484370812582, + "width": 4, + "height": 30, + "componentId": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "updatedAt": "2024-05-03T10:47:43.151Z" + } + ] + }, + { + "id": "e04a4e5c-b016-46b7-bd2f-186d742d9dc2", + "name": "text25", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "\n \n" + }, + "disabledState": { + "value": "{{(variables.selectedProduct[`image_${variables.imageIndex + 1}`] ?? \"\") == \"\"}}", + "fxActive": true + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0887edea-1941-4843-af4f-ba2690d1b61d", + "type": "desktop", + "top": 180, + "left": 41.86046458291461, + "width": 2, + "height": 80, + "componentId": "e04a4e5c-b016-46b7-bd2f-186d742d9dc2", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "488e8039-5ccc-472a-82e4-c695d9057c24", + "type": "mobile", + "top": 140, + "left": 58.13953488372093, + "width": 13.953488372093023, + "height": 40, + "componentId": "e04a4e5c-b016-46b7-bd2f-186d742d9dc2", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "d1a74a99-3c4f-4015-9ec2-0c8add1af2c4", + "name": "text27", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "\n \n" + }, + "disabledState": { + "value": "{{variables.imageIndex <= 1}}", + "fxActive": true + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "a3df01af-4857-40a1-9c83-2d65d2bbbe03", + "type": "desktop", + "top": 180, + "left": 2.325575459686748, + "width": 2, + "height": 80, + "componentId": "d1a74a99-3c4f-4015-9ec2-0c8add1af2c4", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "809447cd-47e6-428d-9ca6-9901833b0651", + "type": "mobile", + "top": 140, + "left": 58.13953488372093, + "width": 13.953488372093023, + "height": 40, + "componentId": "d1a74a99-3c4f-4015-9ec2-0c8add1af2c4", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7ea5581c-dfe9-449c-9ad1-6f1642d5610b", + "name": "text28", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "{{`
${variables.selectedProduct.description}
`}}" + } + }, + "general": {}, + "styles": { + "verticalAlignment": { + "value": "top" + }, + "padding": { + "value": "none" + }, + "backgroundColor": { + "value": "#8888880d" + }, + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "02bd545d-27f2-47be-8650-32cc0c425aa2", + "type": "mobile", + "top": 130, + "left": 55.8139534883721, + "width": 13.953488372093023, + "height": 40, + "componentId": "7ea5581c-dfe9-449c-9ad1-6f1642d5610b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a7bec8d6-929f-4f4e-86dc-8a7ea48f6051", + "type": "desktop", + "top": 136, + "left": 53.48837721150375, + "width": 18, + "height": 134, + "componentId": "7ea5581c-dfe9-449c-9ad1-6f1642d5610b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "eb6ece8c-cb33-49ce-8e34-0835240da65f", + "name": "text29", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "{{`
${variables.selectedProduct.name}
`}}" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "18" + }, + "verticalAlignment": { + "value": "center" + }, + "textIndent": { + "value": "0" + }, + "isScrollRequired": { + "value": "disabled" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "578a0af9-3ff6-4228-b877-20558363e390", + "type": "desktop", + "top": 30, + "left": 53.488371405728465, + "width": 16, + "height": 50, + "componentId": "eb6ece8c-cb33-49ce-8e34-0835240da65f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cfe7da48-ba1b-415a-b3ec-821eb489a504", + "type": "mobile", + "top": 30, + "left": 53.488372093023266, + "width": 13.953488372093023, + "height": 40, + "componentId": "eb6ece8c-cb33-49ce-8e34-0835240da65f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "e0d5a98d-b780-421d-93bf-b4021ad51517", + "name": "text30", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "{{`$${parseFloat(variables.selectedProduct.price).toFixed(2)}`}}" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "18" + }, + "fontWeight": { + "value": "normal" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textColor": { + "value": "#3e63ddff" + }, + "textIndent": { + "value": "0" + }, + "textAlign": { + "value": "left" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "7ec31047-2060-4b79-b461-2f2c9e51d99e", + "type": "desktop", + "top": 80, + "left": 53.4883797113863, + "width": 16, + "height": 50, + "componentId": "e0d5a98d-b780-421d-93bf-b4021ad51517", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3ee77805-1dcd-4dd6-9372-bf38a828c730", + "type": "mobile", + "top": 110, + "left": 51.16279069767441, + "width": 13.953488372093023, + "height": 40, + "componentId": "e0d5a98d-b780-421d-93bf-b4021ad51517", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b4ea2000-ccac-4332-a6af-c4e43a3bb0e7", + "name": "text33", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "
Contact information:
" + } + }, + "general": {}, + "styles": { + "textSize": { + "value": "16" + }, + "fontWeight": { + "value": "normal" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "edd6bf8f-5b42-46ed-9351-699bfb9c7cfb", + "type": "mobile", + "top": 260, + "left": 55.813953488372086, + "width": 13.953488372093023, + "height": 40, + "componentId": "b4ea2000-ccac-4332-a6af-c4e43a3bb0e7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3738bb24-b132-4d4a-8525-202e3d868294", + "type": "desktop", + "top": 290, + "left": 53.48837486600533, + "width": 13.953488372093023, + "height": 40, + "componentId": "b4ea2000-ccac-4332-a6af-c4e43a3bb0e7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "9665dddd-155d-45e6-9674-50654e6ea590", + "name": "text34", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "{{[variables.selectedProduct.contact_number, variables.selectedProduct.contact_email].filter(row => row ?? false).join(\"
\")}}" + } + }, + "general": {}, + "styles": { + "verticalAlignment": { + "value": "top" + }, + "lineHeight": { + "value": "2" + }, + "padding": { + "value": "default" + }, + "backgroundColor": { + "value": "#fff00000" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "3ea2d243-2c56-4950-8ee8-073216d7936d", + "type": "mobile", + "top": 290, + "left": 53.488372093023266, + "width": 13.953488372093023, + "height": 40, + "componentId": "9665dddd-155d-45e6-9674-50654e6ea590", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "7fd6f766-c998-4cb9-a963-03a40d20e5aa", + "type": "desktop", + "top": 330, + "left": 53.488381407926205, + "width": 18, + "height": 80, + "componentId": "9665dddd-155d-45e6-9674-50654e6ea590", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "96b4b8d6-c408-418c-b380-62bfc8bbd499", + "name": "textinput7", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact number" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "7b809c54-df8a-45c6-b7ca-5212075fc48c", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "96b4b8d6-c408-418c-b380-62bfc8bbd499", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bb33c0e9-9a3f-4881-b0c4-46f614eed2a3", + "type": "desktop", + "top": 570, + "left": 20.930221582838684, + "width": 32, + "height": 40, + "componentId": "96b4b8d6-c408-418c-b380-62bfc8bbd499", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "981ca824-5715-44f2-b57f-d877fa2df8bd", + "name": "text31", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Contact number
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "46039452-4c81-4eaf-b87c-803a3edd31d1", + "type": "desktop", + "top": 570, + "left": 4.651162345120721, + "width": 7.000000000000001, + "height": 40, + "componentId": "981ca824-5715-44f2-b57f-d877fa2df8bd", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "39b635b1-e417-4834-8d64-122ad4033b42", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "981ca824-5715-44f2-b57f-d877fa2df8bd", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a64e8fd0-fdc6-4239-9767-36192590cdd3", + "name": "text32", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "text": { + "value": "
Contact email
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "849639ff-8654-42b7-b034-6e3d45f678c3", + "type": "desktop", + "top": 630, + "left": 4.651163997502785, + "width": 7.000000000000001, + "height": 40, + "componentId": "a64e8fd0-fdc6-4239-9767-36192590cdd3", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "cdec0eca-44b2-4585-bf14-416bd82eb1be", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "a64e8fd0-fdc6-4239-9767-36192590cdd3", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3d779b18-41c7-4b38-b7f1-d27261ad437f", + "name": "textinput8", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "2858ac2a-bd82-4973-b007-b145207fd871", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact email" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "5f731f10-269c-4794-828b-a0b591271531", + "type": "desktop", + "top": 630, + "left": 20.930225943327873, + "width": 32, + "height": 40, + "componentId": "3d779b18-41c7-4b38-b7f1-d27261ad437f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "d1917810-c49c-4b5d-8bd2-bd4d9c49620e", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "3d779b18-41c7-4b38-b7f1-d27261ad437f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "name": "text35", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "properties": { + "text": { + "value": "{{queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id) ? `\n \n` : `\n \n`}}" + }, + "loadingState": { + "value": "{{variables.selectedProductForBookmark.productId == variables.selectedProduct.id && (queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading)}}", + "fxActive": true + }, + "disabledState": { + "value": "{{queries.getWishlist.isLoading || queries.addToWishlist.isLoading || queries.removeFromWishlist.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63dd1a" + }, + "textAlign": { + "value": "center" + }, + "borderColor": { + "value": "#ffffff00" + }, + "borderRadius": { + "value": "5" + }, + "isScrollRequired": { + "value": "disabled" + }, + "textIndent": { + "value": "0" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "072a07be-9de2-4166-b129-2c41bd1fe822", + "type": "desktop", + "top": 30, + "left": 90.69767341547939, + "width": 2, + "height": 50, + "componentId": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "04945146-7f6b-4043-9d36-46aa65a1e503", + "type": "mobile", + "top": 0, + "left": 0, + "width": 6, + "height": 40, + "componentId": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "name": "modal3", + "type": "Modal", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": { + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "575px" + }, + "title": { + "value": "Listed products" + }, + "size": { + "value": "xl" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-30T06:48:37.057Z", + "layouts": [ + { + "id": "f44eb835-291b-44df-a915-aa28f2612fa1", + "type": "mobile", + "top": 830, + "left": 32.55813953488372, + "width": 10, + "height": 34, + "componentId": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "ab33d8ec-3b7d-4e22-a238-1141a86e571c", + "type": "desktop", + "top": 859.9999461174011, + "left": 25.58138746269362, + "width": 4, + "height": 30, + "componentId": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "updatedAt": "2024-05-03T10:47:43.151Z" + } + ] + }, + { + "id": "c5af78b5-7c05-405f-af09-fcdced098c97", + "name": "table1", + "type": "Table", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "properties": { + "allowSelection": { + "value": "{{false}}" + }, + "enablePagination": { + "value": "{{false}}" + }, + "showAddNewRowButton": { + "value": "{{false}}" + }, + "showDownloadButton": { + "value": "{{false}}" + }, + "showBulkUpdateActions": { + "value": "{{false}}" + }, + "data": { + "value": "{{queries.getListedProducts.data}}" + }, + "columns": { + "value": [ + { + "name": "status", + "id": "063b56a7-767b-4f52-98bb-06be47499e91", + "fxActiveFields": [], + "key": "is_active", + "columnType": "badge", + "values": "{{[true, false]}}", + "labels": "{{[\"ACTIVE\", \"INACTIVE\"]}}", + "horizontalAlignment": "center" + }, + { + "name": "name", + "id": "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a", + "autogenerated": true, + "fxActiveFields": [], + "columnType": "string", + "key": "name" + }, + { + "id": "8bf5c934-fcac-4b18-b6b5-b87cd35def9f", + "name": "category", + "key": "category", + "columnType": "string", + "autogenerated": true + }, + { + "id": "c6e9ab38-8a9e-4996-b006-7025dfbeeb13", + "name": "price", + "key": "formatted_price", + "columnType": "number", + "autogenerated": true + }, + { + "id": "3199b7da-33fb-4c03-a23f-f4f47462ebb0", + "name": "review", + "key": "status", + "columnType": "badge", + "autogenerated": true, + "values": "{{[\"pending\", \"approved\", \"rejected\"]}}", + "labels": "{{[\"PENDING\", \"APPROVED\", \"REJECTED\"]}}", + "horizontalAlignment": "center" + }, + { + "name": "created at", + "id": "57c7ee79-1052-43e5-8f26-565b774a115d", + "fxActiveFields": [], + "key": "formatted_created_at", + "columnType": "string" + }, + { + "id": "005ec560-a9eb-4253-8d70-ba713357e57a", + "name": "updated at", + "key": "formatted_updated_at", + "columnType": "string", + "autogenerated": true + }, + { + "id": "5605d720-f826-464f-b036-bfa18a5c6f7f", + "name": "contact number", + "key": "contact_number", + "columnType": "string", + "autogenerated": true + }, + { + "id": "2133f0dc-d45b-47c8-bec6-36d20a66967a", + "name": "contact email", + "key": "contact_email", + "columnType": "string", + "autogenerated": true + } + ] + }, + "columnDeletionHistory": { + "value": [ + "description", + "image_1", + "listed_by_email", + "image_thumbnail", + "is_active", + "image_3", + "image_2", + "id", + "formatted_created_at", + "price", + "updated_at", + "created_at", + "is_active", + "new_column1", + "updated_by_email" + ] + }, + "columnSizes": { + "value": { + "e3ecbf7fa52c4d7210a93edb8f43776267a489bad52bd108be9588f790126737": 67, + "5d2a3744a006388aadd012fcc15cc0dbcb5f9130e0fbb64c558561c97118754a": 230, + "8bf5c934-fcac-4b18-b6b5-b87cd35def9f": 120, + "38781ac7-f00b-4674-9c02-182b09afa7a7": 95, + "f567e180-0786-40fb-8b5d-5eb02e69c5e3": 163, + "2bc9a2a6-0354-47de-800e-5c3108a09283": 161, + "2133f0dc-d45b-47c8-bec6-36d20a66967a": 296, + "3199b7da-33fb-4c03-a23f-f4f47462ebb0": 104, + "99d005e5-cd95-45cd-82a8-6672ff6597da": 106, + "c6e9ab38-8a9e-4996-b006-7025dfbeeb13": 103, + "57c7ee79-1052-43e5-8f26-565b774a115d": 165, + "005ec560-a9eb-4253-8d70-ba713357e57a": 165, + "5605d720-f826-464f-b036-bfa18a5c6f7f": 158, + "9652417b-e01f-44c9-9f65-ca345b5b5b12": 97, + "063b56a7-767b-4f52-98bb-06be47499e91": 92 + } + }, + "loadingState": { + "fxActive": true, + "value": "{{queries.getListedProducts.isLoading || queries.updateProductActiveStatus.isLoading}}" + }, + "actions": { + "value": [ + { + "name": "Action0", + "buttonText": "Manage product", + "events": [], + "position": "left" + } + ] + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "10" + }, + "actionButtonRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-05-02T07:53:34.223Z", + "layouts": [ + { + "id": "a3c4c7ec-127b-4c25-971b-9be1f667060e", + "type": "mobile", + "top": 60, + "left": 11.627906976744187, + "width": 67.11627906976744, + "height": 456, + "componentId": "c5af78b5-7c05-405f-af09-fcdced098c97", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c2bf893b-e550-477e-a041-7d542f760550", + "type": "desktop", + "top": 30, + "left": 2.325579856936713, + "width": 40.99999999999999, + "height": 520, + "componentId": "c5af78b5-7c05-405f-af09-fcdced098c97", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b9e3c68b-10f2-4ff0-905e-7c0ae0bcf530", + "name": "textarea2", + "type": "TextArea", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "value": { + "value": "{{variables.selectedProduct.description}}" + }, + "placeholder": { + "value": "Enter description" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "{{5}}" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "97cfac70-eda3-4518-9a90-a6af692e793b", + "type": "desktop", + "top": 330, + "left": 20.93023215942542, + "width": 32, + "height": 100, + "componentId": "b9e3c68b-10f2-4ff0-905e-7c0ae0bcf530", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "929c6827-ef2d-4104-af5e-95ed62f6fd0a", + "type": "mobile", + "top": 120, + "left": 23.255813953488374, + "width": 13.953488372093023, + "height": 100, + "componentId": "b9e3c68b-10f2-4ff0-905e-7c0ae0bcf530", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fe894aa6-da4a-4112-92ce-f36365e718de", + "name": "dropdown4", + "type": "DropDown", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "value": { + "value": "{{variables.selectedProduct.category}}" + }, + "values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "display_values": { + "value": "{{[\n \"Electronics\",\n \"Kitchenware\",\n \"Apparel\",\n \"Wellness\",\n \"Sports\",\n \"Beauty\",\n \"Toys\",\n \"Automotive\",\n \"Pets\",\n \"Tools\"\n]}}" + }, + "placeholder": { + "value": "Select category" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "2ebb7866-d146-421d-a95d-64d644277d95", + "type": "desktop", + "top": 450, + "left": 20.93022729640271, + "width": 32, + "height": 40, + "componentId": "fe894aa6-da4a-4112-92ce-f36365e718de", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "0fb0ae15-2221-4bbb-9a5e-d8e05ddc26d6", + "type": "mobile", + "top": 450, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "fe894aa6-da4a-4112-92ce-f36365e718de", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bb1133d7-1708-4592-a954-9395600c119c", + "name": "numberinput4", + "type": "NumberInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "0.00" + }, + "value": { + "value": "{{variables.selectedProduct.formatted_price}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + }, + "iconColor": { + "value": "#888888ff" + }, + "icon": { + "value": "IconCurrencyDollar" + }, + "iconVisibility": { + "value": true + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": { + "minValue": { + "value": "0.01" + }, + "maxValue": { + "value": "99999.99" + } + }, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "866348f9-12ac-4a64-9acb-eb7e234cc1f2", + "type": "desktop", + "top": 510, + "left": 20.9302398241097, + "width": 32, + "height": 40, + "componentId": "bb1133d7-1708-4592-a954-9395600c119c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "bed4c97c-a4e2-4d79-8391-d49e77e21f70", + "type": "mobile", + "top": 510, + "left": 32.55813953488372, + "width": 23.25581395348837, + "height": 40, + "componentId": "bb1133d7-1708-4592-a954-9395600c119c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "441146bc-fb29-4246-bbdb-6f035b587aab", + "name": "image10", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "source": { + "value": "{{components.textinput13.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput13.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "de3da73e-7857-480a-9610-7454c686651e", + "type": "desktop", + "top": 30, + "left": 74.41861759786082, + "width": 9, + "height": 120, + "componentId": "441146bc-fb29-4246-bbdb-6f035b587aab", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "28e5d1cd-0bd6-4325-8afd-5d6825c23303", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "441146bc-fb29-4246-bbdb-6f035b587aab", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "93fab8ea-0d21-4d49-a3e7-afc4113cbc5a", + "name": "text38", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Thumbnail URL
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "075a9408-eea0-4f0c-94be-6df2f135998d", + "type": "desktop", + "top": 150, + "left": 4.651165452011062, + "width": 9, + "height": 40, + "componentId": "93fab8ea-0d21-4d49-a3e7-afc4113cbc5a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "04c2b67f-8d15-4a44-bc48-9f7b06e112f2", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "93fab8ea-0d21-4d49-a3e7-afc4113cbc5a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "eba3e445-bff6-4d0a-9858-8e332f6eeedf", + "name": "textinput10", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_thumbnail}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "62d02e28-5d27-4485-9469-0d457d106b40", + "type": "desktop", + "top": 190, + "left": 4.6511789437036875, + "width": 9, + "height": 40, + "componentId": "eba3e445-bff6-4d0a-9858-8e332f6eeedf", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "09107913-f44b-4112-a689-571e7bcbe1c4", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "eba3e445-bff6-4d0a-9858-8e332f6eeedf", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "bae05eb2-072c-4520-872b-c770b9fdf376", + "name": "textinput11", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_1}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "061d06e6-e71f-4379-bbab-9591fb47275a", + "type": "desktop", + "top": 190, + "left": 27.906982698355968, + "width": 9, + "height": 40, + "componentId": "bae05eb2-072c-4520-872b-c770b9fdf376", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "961a48b2-c3cb-4bf3-9fa1-69a7fc312af4", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "bae05eb2-072c-4520-872b-c770b9fdf376", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "name": "modal4", + "type": "Modal", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": null, + "properties": { + "title": { + "value": "Manage product" + }, + "useDefaultButton": { + "value": "{{false}}" + }, + "modalHeight": { + "value": "830px" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "cb8fe540-8454-49f5-af49-955fbefa45c4", + "type": "mobile", + "top": 844, + "left": 2.3255813953488373, + "width": 10, + "height": 34, + "componentId": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "99c0c0ff-008d-438c-8436-361cadb3a9f2", + "type": "desktop", + "top": 860, + "left": 37.2093264566458, + "width": 4, + "height": 30, + "componentId": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "updatedAt": "2024-05-03T10:47:43.151Z" + } + ] + }, + { + "id": "355bc37f-7473-493c-baae-3a8e63caa676", + "name": "button11", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "< Back" + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#ffffff00" + }, + "textColor": { + "value": "#3e63ddff" + }, + "loaderColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#3e63ddff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "036e40a0-cc65-4dd1-804c-43a5859e7bde", + "type": "desktop", + "top": 760, + "left": 65.11623866807105, + "width": 6.000000000000001, + "height": 40, + "componentId": "355bc37f-7473-493c-baae-3a8e63caa676", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "a81b85ba-c15d-470d-8a5a-ca84b1e3de9d", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "355bc37f-7473-493c-baae-3a8e63caa676", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "982dab44-30a1-4faf-a067-d9bd5c200870", + "name": "textinput13", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "value": { + "value": "{{variables.selectedProduct.image_3}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "04c1103f-6d60-4444-b4ad-41d57500439d", + "type": "desktop", + "top": 190, + "left": 74.4185885970445, + "width": 9, + "height": 40, + "componentId": "982dab44-30a1-4faf-a067-d9bd5c200870", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "21e96008-0f39-4ad9-8316-b347f7b25c20", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "982dab44-30a1-4faf-a067-d9bd5c200870", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "09b05d1f-7e39-4bf7-a2a2-73440792d3a5", + "name": "text44", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Contact number
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "02b60829-afbc-44ca-b39d-35fa867c1818", + "type": "desktop", + "top": 570, + "left": 4.651162345120721, + "width": 7.000000000000001, + "height": 40, + "componentId": "09b05d1f-7e39-4bf7-a2a2-73440792d3a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "dc2d90fd-d632-46c3-8c1f-9f29eca146e0", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "09b05d1f-7e39-4bf7-a2a2-73440792d3a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "25c5a9eb-245d-43db-8557-bfbe835ca39b", + "name": "textinput14", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact number" + }, + "value": { + "value": "{{variables.selectedProduct.contact_number}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "9d912796-9b92-424a-afe7-feca0c04c149", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "25c5a9eb-245d-43db-8557-bfbe835ca39b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "72749340-d42f-4225-b37f-8dcfaacd6158", + "type": "desktop", + "top": 570, + "left": 20.930221206541905, + "width": 32, + "height": 40, + "componentId": "25c5a9eb-245d-43db-8557-bfbe835ca39b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "0bd49156-e3e5-44cc-b7ab-bae439e94700", + "name": "text45", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Contact email
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "f709445e-bfb9-4fdc-a9af-52c3cb6dce19", + "type": "desktop", + "top": 630, + "left": 4.651163997502785, + "width": 7.000000000000001, + "height": 40, + "componentId": "0bd49156-e3e5-44cc-b7ab-bae439e94700", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c72eafbd-489e-465c-b39b-439d671ddeb0", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "0bd49156-e3e5-44cc-b7ab-bae439e94700", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "67d328ec-be2f-4d5b-a4dc-ccd50d0374b8", + "name": "textinput15", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter contact email" + }, + "value": { + "value": "{{variables.selectedProduct.contact_email}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "6b5a54c6-bf62-406a-accb-2ea938acf86a", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "67d328ec-be2f-4d5b-a4dc-ccd50d0374b8", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "890b597e-bd3b-4615-9b93-94cd5af1f62e", + "type": "desktop", + "top": 630, + "left": 20.930224054804192, + "width": 32, + "height": 40, + "componentId": "67d328ec-be2f-4d5b-a4dc-ccd50d0374b8", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "172875ae-8838-4daf-9eff-c5543f7152df", + "name": "text39", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Image 1
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "f2bc990e-300f-4703-9ce9-2ac5c2de6bb8", + "type": "desktop", + "top": 150, + "left": 27.906985905909096, + "width": 9, + "height": 40, + "componentId": "172875ae-8838-4daf-9eff-c5543f7152df", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "850431e5-e26e-4879-940b-ad7f6f2bfef5", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "172875ae-8838-4daf-9eff-c5543f7152df", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "3804bb34-23a0-4de8-a588-7be5ea2b777c", + "name": "text40", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Image 2
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "fa4744b4-e5d4-4b93-b898-78141597ee35", + "type": "desktop", + "top": 150, + "left": 51.1627849076183, + "width": 9, + "height": 40, + "componentId": "3804bb34-23a0-4de8-a588-7be5ea2b777c", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e5603caa-0b1a-48bf-b6f9-c16365c07e6b", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "3804bb34-23a0-4de8-a588-7be5ea2b777c", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fc245d4c-cec3-4804-b4b2-296378694ef5", + "name": "textinput12", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "https://..." + }, + "disabledState": { + "fxActive": false + }, + "value": { + "value": "{{variables.selectedProduct.image_2}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "96cb5d45-6f15-4287-9c2e-b5a65f825a2a", + "type": "desktop", + "top": 190, + "left": 51.16278720825332, + "width": 9, + "height": 40, + "componentId": "fc245d4c-cec3-4804-b4b2-296378694ef5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "235c5f6d-aadc-4c37-982c-4e78a709135d", + "type": "mobile", + "top": 360, + "left": 2.3255813953488373, + "width": 23.25581395348837, + "height": 40, + "componentId": "fc245d4c-cec3-4804-b4b2-296378694ef5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8634961b-0363-492a-86af-817b4ba87c57", + "name": "text41", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Image 3
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "8e5e693a-3611-4671-b2ac-51ab18283192", + "type": "desktop", + "top": 150, + "left": 74.4186098081641, + "width": 9, + "height": 40, + "componentId": "8634961b-0363-492a-86af-817b4ba87c57", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "335f8a00-43db-47c6-8c01-92678ff43c85", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "8634961b-0363-492a-86af-817b4ba87c57", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "8a825520-c5b3-48ef-8d71-9b3a7752fc9a", + "name": "text43", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Price
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "9d6dbdad-1f6e-4910-aa7b-b2c316606da7", + "type": "desktop", + "top": 510, + "left": 4.651164445571182, + "width": 7.000000000000001, + "height": 40, + "componentId": "8a825520-c5b3-48ef-8d71-9b3a7752fc9a", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c6b35ece-c394-4871-b6d3-29460ca0ee38", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "8a825520-c5b3-48ef-8d71-9b3a7752fc9a", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "16ae9669-f095-4247-9a70-ec004fbd799f", + "name": "image8", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "source": { + "value": "{{components.textinput11.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput11.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "1454f17a-385c-4e30-8150-20ced35a3889", + "type": "desktop", + "top": 30, + "left": 27.907014622026644, + "width": 9, + "height": 120, + "componentId": "16ae9669-f095-4247-9a70-ec004fbd799f", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "129f4b85-c2bc-439a-96c5-7cfeaf078882", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "16ae9669-f095-4247-9a70-ec004fbd799f", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "b2db52b7-712f-48fa-a702-1a7a2dae16a5", + "name": "text36", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Product Name
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "04aa00e3-1124-46b0-80b2-ea52fe016655", + "type": "desktop", + "top": 270, + "left": 4.6511628573933015, + "width": 7.000000000000001, + "height": 40, + "componentId": "b2db52b7-712f-48fa-a702-1a7a2dae16a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "3f14b676-9ce5-4039-9937-bb1f3090e42d", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "b2db52b7-712f-48fa-a702-1a7a2dae16a5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "a59c3a36-5d5f-43b2-abcc-6856d5f5bb73", + "name": "textinput9", + "type": "TextInput", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "placeholder": { + "value": "Enter name" + }, + "value": { + "value": "{{variables.selectedProduct.name}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "8d089572-5f14-4cda-a26b-7c72066377b1", + "type": "mobile", + "top": 50, + "left": 23.255813953488374, + "width": 23.25581395348837, + "height": 40, + "componentId": "a59c3a36-5d5f-43b2-abcc-6856d5f5bb73", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e923e71e-06e3-4efd-a2f5-0307b858f3ba", + "type": "desktop", + "top": 270, + "left": 20.930216037380013, + "width": 32, + "height": 40, + "componentId": "a59c3a36-5d5f-43b2-abcc-6856d5f5bb73", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "f63544de-50a9-4af2-bf10-4d5693e2f600", + "name": "text37", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Description
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "a0680b66-89b3-40d1-aa51-796d824a0bd9", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "f63544de-50a9-4af2-bf10-4d5693e2f600", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "c3e38a14-5243-4aa1-ad3e-f14df5b25bb2", + "type": "desktop", + "top": 330, + "left": 4.6511647458281224, + "width": 6, + "height": 40, + "componentId": "f63544de-50a9-4af2-bf10-4d5693e2f600", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "801fd4a2-b14d-4da5-8249-501e9a746d9d", + "name": "image7", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "source": { + "value": "{{components.textinput10.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput10.value.trim()}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "1ca7e36c-9bfc-48f1-89e4-8db8fd5aa544", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "801fd4a2-b14d-4da5-8249-501e9a746d9d", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "e382ed83-de17-44a3-aec7-9a9dc1e019f0", + "type": "desktop", + "top": 30, + "left": 4.65116233771938, + "width": 9, + "height": 120, + "componentId": "801fd4a2-b14d-4da5-8249-501e9a746d9d", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "47fadab1-7c41-4eec-be56-14270c74fd89", + "name": "image9", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "source": { + "value": "{{components.textinput12.value.trim() == \"\" ? \"https://www.svgrepo.com/show/34217/image.svg\" : components.textinput12.value.trim()}}" + }, + "zoomButtons": { + "value": "{{true}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": { + "boxShadow": { + "value": "0px 0px 0px 1px #8888884d" + } + }, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "acda7f7b-e72b-447a-958c-111038b81e4d", + "type": "mobile", + "top": 230, + "left": 6.976744186046512, + "width": 6.976744186046512, + "height": 100, + "componentId": "47fadab1-7c41-4eec-be56-14270c74fd89", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "eeabc52c-39b4-41ae-88f9-fd0c6d80255d", + "type": "desktop", + "top": 30, + "left": 51.16280531481509, + "width": 9, + "height": 120, + "componentId": "47fadab1-7c41-4eec-be56-14270c74fd89", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7477f357-6b2e-4e18-a740-4cc4d70f6c1e", + "name": "text42", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Category
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "22bbeedb-8e8a-44fe-9ae2-e12d47fb6ef5", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "7477f357-6b2e-4e18-a740-4cc4d70f6c1e", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "50b1189d-cb20-4a79-9e4c-c485ebc2b1d3", + "type": "desktop", + "top": 450, + "left": 4.651162790697675, + "width": 7.000000000000001, + "height": 40, + "componentId": "7477f357-6b2e-4e18-a740-4cc4d70f6c1e", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "fa50860a-48de-4cc8-897a-15bb2249ec2b", + "name": "button10", + "type": "Button", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "Save" + }, + "loadingState": { + "value": "{{queries.updateProductDetails.isLoading}}", + "fxActive": true + } + }, + "general": {}, + "styles": { + "backgroundColor": { + "value": "#3e63ddff" + }, + "borderRadius": { + "value": "{{5}}" + }, + "borderColor": { + "value": "#ffffff00" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "0ecf00a0-fc46-4048-9e8d-1a544a5c1b23", + "type": "mobile", + "top": 140, + "left": 0, + "width": 3, + "height": 30, + "componentId": "fa50860a-48de-4cc8-897a-15bb2249ec2b", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "19a353af-0f9c-4a47-918a-31c78a295e18", + "type": "desktop", + "top": 760, + "left": 81.39537341590757, + "width": 6.000000000000001, + "height": 40, + "componentId": "fa50860a-48de-4cc8-897a-15bb2249ec2b", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "7bab9289-5282-471a-b8f8-2465fdc202b7", + "name": "text46", + "type": "Text", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "text": { + "value": "
Status
" + } + }, + "general": {}, + "styles": {}, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "590e1a4b-997d-462d-bf27-6b9e2b06342f", + "type": "desktop", + "top": 690, + "left": 4.651175066159191, + "width": 7.000000000000001, + "height": 40, + "componentId": "7bab9289-5282-471a-b8f8-2465fdc202b7", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "93ff58b6-eedd-4fc2-9b72-4624c08bf71b", + "type": "mobile", + "top": 50, + "left": 6.976744186046511, + "width": 13.953488372093023, + "height": 40, + "componentId": "7bab9289-5282-471a-b8f8-2465fdc202b7", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "2b23abf2-eca2-4e51-9d25-30ec98cad7b5", + "name": "dropdown5", + "type": "DropDown", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "properties": { + "label": { + "value": "" + }, + "values": { + "value": "{{[true, false]}}" + }, + "display_values": { + "value": "{{[\"Active or available\", \"Inactive or unavailable\"]}}" + }, + "value": { + "value": "{{variables.selectedProduct.is_active}}" + } + }, + "general": {}, + "styles": { + "borderRadius": { + "value": "5" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "4669e4e7-d98e-439a-9ebc-4b166280cb81", + "type": "desktop", + "top": 690, + "left": 20.93022720402719, + "width": 32, + "height": 40, + "componentId": "2b23abf2-eca2-4e51-9d25-30ec98cad7b5", + "updatedAt": "2024-05-02T07:53:28.271Z" + }, + { + "id": "89811ee4-096b-4332-ae37-3e5ff92c27d8", + "type": "mobile", + "top": 710, + "left": 20.930232558139533, + "width": 18.6046511627907, + "height": 30, + "componentId": "2b23abf2-eca2-4e51-9d25-30ec98cad7b5", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + }, + { + "id": "1e984732-54a4-48ba-a804-847e5450cf52", + "name": "image1", + "type": "Image", + "pageId": "899429b3-9894-4639-aa1e-7f417f390293", + "parent": "1b67db86-2447-4fb8-bc13-853038373fd4", + "properties": { + "source": { + "value": "{{listItem.image_thumbnail}}" + } + }, + "general": {}, + "styles": { + "borderType": { + "value": "rounded" + }, + "imageFit": { + "value": "contain" + }, + "backgroundColor": { + "value": "#ffffffff" + } + }, + "generalStyles": {}, + "displayPreferences": { + "showOnDesktop": { + "value": "{{true}}" + }, + "showOnMobile": { + "value": "{{false}}" + } + }, + "validation": {}, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "layouts": [ + { + "id": "cafd3844-787b-4283-9b26-2cd1df811298", + "type": "desktop", + "top": 40, + "left": 6.976751805215436, + "width": 36, + "height": 180, + "componentId": "1e984732-54a4-48ba-a804-847e5450cf52", + "updatedAt": "2024-05-02T07:53:28.271Z" + } + ] + } + ], + "pages": [ + { + "id": "899429b3-9894-4639-aa1e-7f417f390293", + "name": "Home", + "handle": "home", + "index": 1, + "disabled": false, + "hidden": false, + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010" + } + ], + "events": [ + { + "id": "1a3b4be5-db64-4336-be21-aa67ce50e834", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProductForBookmark", + "value": "{{({productId: listItem.id, wishlistId: queries.getWishlist.data[listItem.id]})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "51b151cc-6358-4b9e-8b0d-62e987990fca", + "name": "onClick", + "index": 0, + "event": { + "key": "imageIndex", + "value": "{{variables.imageIndex + 1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "e04a4e5c-b016-46b7-bd2f-186d742d9dc2", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "34b45ee1-2199-4da7-891f-40797965cf41", + "name": "onClick", + "index": 0, + "event": { + "key": "imageIndex", + "value": "{{variables.imageIndex - 1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "d1a74a99-3c4f-4015-9ec2-0c8add1af2c4", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "163897a2-6475-4c39-af91-29b449aabc9a", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProductForBookmark", + "value": "{{({productId: variables.selectedProduct.id, wishlistId: queries.getWishlist.data[variables.selectedProduct.id]})}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "7124de02-99e9-4c31-b9e7-54ac6865c913", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProduct", + "ref": "Action0", + "value": "{{components.table1.selectedRow}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "c5af78b5-7c05-405f-af09-fcdced098c97", + "target": "table_action", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "42223370-c933-4798-bc77-8ad1125c863e", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "key": "applyingFilter", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "unset-custom-variable", + "alertType": "info" + }, + "sourceId": "9a7eae6d-4a65-417d-bc6a-f3c333b1f520", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "c34a710a-a15b-4b08-8dcb-675c03cee6d1", + "name": "onDataQueryFailure", + "index": 1, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to add product to wishlist! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "6d42aea1-7314-475c-b366-e278b0fba17a", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "5a0402b6-dcc0-4b15-ab38-b1d0801380a2", + "name": "onDataQueryFailure", + "index": 1, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to remove product from wishlist! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "f979e88e-890b-4d0b-a478-b565c000842e", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "2e3bf5d7-4eb3-4830-9d8c-77aa8abfe8f8", + "name": "onClick", + "index": 0, + "event": { + "modal": "2858ac2a-bd82-4973-b007-b145207fd871", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "f422b3a9-086d-48c6-b3e4-deb12ce2e790", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.808Z" + }, + { + "id": "39baa980-f63b-4b7d-88bd-aa07f7db7603", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "6d42aea1-7314-475c-b366-e278b0fba17a", + "actionId": "run-query", + "alertType": "info", + "queryName": "addToFavourites", + "runOnlyIf": "{{!queries.getWishlist.data.hasOwnProperty(listItem.id)}}", + "parameters": {} + }, + "sourceId": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.818Z" + }, + { + "id": "a1fd7d26-adac-4ea6-80ac-8525b281f0b3", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "f979e88e-890b-4d0b-a478-b565c000842e", + "actionId": "run-query", + "alertType": "info", + "queryName": "removeFromFavourites", + "runOnlyIf": "{{queries.getWishlist.data.hasOwnProperty(listItem.id)}}", + "parameters": {} + }, + "sourceId": "e7807f3f-53cb-4f53-bd51-fcb8d5685d71", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.826Z" + }, + { + "id": "d28f721c-50a4-4376-bd43-290cc4a8ce13", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "e135f8a1-41db-4a73-92b7-ba91ccfa2f2b", + "actionId": "run-query", + "alertType": "info", + "queryName": "addProduct", + "parameters": {} + }, + "sourceId": "a1e51a54-4448-4c1c-91a7-edf3fe256dd2", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.833Z" + }, + { + "id": "c033a3f0-224e-4178-b933-debc6c9bb331", + "name": "onClick", + "index": 0, + "event": { + "modal": "2858ac2a-bd82-4973-b007-b145207fd871", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "f50d5d42-8eec-4092-9faa-97f6d865d12c", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.841Z" + }, + { + "id": "accb61bf-d4f9-4b4d-9084-a359e760ea07", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "f979e88e-890b-4d0b-a478-b565c000842e", + "actionId": "run-query", + "alertType": "info", + "queryName": "removeFromFavourites", + "runOnlyIf": "{{queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id)}}", + "parameters": {} + }, + "sourceId": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.855Z" + }, + { + "id": "f627cde6-14d7-4588-98aa-d74901222cbe", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "6d42aea1-7314-475c-b366-e278b0fba17a", + "actionId": "run-query", + "alertType": "info", + "queryName": "addToFavourites", + "runOnlyIf": "{{!queries.getWishlist.data.hasOwnProperty(variables.selectedProduct.id)}}", + "parameters": {} + }, + "sourceId": "838e1cc8-45c3-4c10-85e0-f263bcfb86c8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.864Z" + }, + { + "id": "92c7bd3e-b26a-4dcd-93d1-631a1656d748", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "c5af78b5-7c05-405f-af09-fcdced098c97", + "target": "table_action", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.877Z" + }, + { + "id": "2d8209a3-37b3-4e2e-be5f-467584739288", + "name": "onClick", + "index": 0, + "event": { + "ref": "Action0", + "modal": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "c5af78b5-7c05-405f-af09-fcdced098c97", + "target": "table_action", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.885Z" + }, + { + "id": "fb501d33-2aa3-439c-a382-b296fad94085", + "name": "onClick", + "index": 1, + "event": { + "modal": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "355bc37f-7473-493c-baae-3a8e63caa676", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.893Z" + }, + { + "id": "fbbf2d0a-daad-4fe2-b496-2857ddf70a69", + "name": "onClick", + "index": 0, + "event": { + "modal": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "355bc37f-7473-493c-baae-3a8e63caa676", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.901Z" + }, + { + "id": "02b2897c-48bb-44c5-af25-b1b8c46380f4", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "903aab5a-7253-44fa-b28d-674ac6179f14", + "actionId": "run-query", + "alertType": "info", + "queryName": "updateProductDetails", + "parameters": {} + }, + "sourceId": "fa50860a-48de-4cc8-897a-15bb2249ec2b", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.911Z" + }, + { + "id": "1f31954d-cea3-40bc-8bed-b04a71844872", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "cdd1b0db-5443-4304-a047-2dd693d5413d", + "actionId": "run-query", + "alertType": "info", + "queryName": "getFavourites", + "parameters": {} + }, + "sourceId": "6d42aea1-7314-475c-b366-e278b0fba17a", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.923Z" + }, + { + "id": "1ddc9644-acae-4b07-8211-68cd83f0aa00", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "cdd1b0db-5443-4304-a047-2dd693d5413d", + "actionId": "run-query", + "alertType": "info", + "queryName": "getFavourites", + "parameters": {} + }, + "sourceId": "f979e88e-890b-4d0b-a478-b565c000842e", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.933Z" + }, + { + "id": "6ee16648-112a-4f5a-9bfb-7625f1385f35", + "name": "onClick", + "index": 0, + "event": { + "key": "selectedProduct", + "value": "{{listItem}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "e2e011aa-321c-4cc2-8cfa-0484a4cdac2d", + "name": "onClick", + "index": 1, + "event": { + "key": "imageIndex", + "value": "{{1}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "4755794b-6660-46fa-825d-9a906531b7c8", + "name": "onClick", + "index": 0, + "event": { + "key": "applyingFilter", + "value": "{{true}}", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "set-custom-variable", + "alertType": "info" + }, + "sourceId": "1926e320-a4bc-4747-8c61-d8173c131ee1", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "fa6c7c22-1612-4d5d-b280-24fd50231ea7", + "name": "onClick", + "index": 2, + "event": { + "modal": "b1773a45-6d03-44d1-b82c-f0e4c7b48ce1", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "4bb47981-43a5-4fd9-87b6-1ebf2c1726f8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.711Z" + }, + { + "id": "f69cfab1-c162-475f-81e2-e589a0c020dd", + "name": "onClick", + "index": 0, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "runOnlyIf": "", + "componentId": "05e42d53-cf0f-4e50-8478-66c572ae2c97", + "componentSpecificActionHandle": "selectOption", + "componentSpecificActionParams": [ + { + "value": "{{\"[\\\"Electronics\\\",\\\"Kitchenware\\\",\\\"Apparel\\\",\\\"Wellness\\\",\\\"Sports\\\",\\\"Beauty\\\",\\\"Toys\\\",\\\"Automotive\\\",\\\"Pets\\\",\\\"Tools\\\"]\"}}", + "handle": "select", + "displayName": "Select" + } + ] + }, + "sourceId": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.719Z" + }, + { + "id": "859a2190-a299-404a-9ce1-e7d08786202c", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "9c35978e-50f0-4e1b-bdc9-1496b4c6f77c", + "componentSpecificActionHandle": "setText", + "componentSpecificActionParams": [ + { + "value": "0", + "handle": "text", + "displayName": "text", + "defaultValue": "100" + } + ] + }, + "sourceId": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.732Z" + }, + { + "id": "521aac33-8cd1-488c-a3fb-ba392853d2e5", + "name": "onClick", + "index": 2, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "actionId": "control-component", + "alertType": "info", + "componentId": "c7e4cd7f-5166-48c3-a4c4-031b1a576e0b", + "componentSpecificActionHandle": "setText", + "componentSpecificActionParams": [ + { + "value": "99999.99", + "handle": "text", + "displayName": "text", + "defaultValue": "100" + } + ] + }, + "sourceId": "4400ea74-b0fc-4c7c-8259-9826cd9377e8", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.740Z" + }, + { + "id": "a07b9c04-4118-4cdb-b2c2-73ec7cebd5b9", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "9a7eae6d-4a65-417d-bc6a-f3c333b1f520", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "1926e320-a4bc-4747-8c61-d8173c131ee1", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.753Z" + }, + { + "id": "3b330caa-3238-4b1c-9aeb-22131dc0245d", + "name": "onClick", + "index": 0, + "event": { + "modal": "5db47c56-543e-4ca1-b6e2-57c1b83e40b7", + "eventId": "onClick", + "message": "Hello world!", + "actionId": "show-modal", + "alertType": "info" + }, + "sourceId": "f71c5f88-a8f2-4503-befc-48ee5fc438a5", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.763Z" + }, + { + "id": "18e1a4cd-386c-499c-a3be-7d88ed22165f", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product listing request has been submitted successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "e135f8a1-41db-4a73-92b7-ba91ccfa2f2b", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "43576fef-e0e8-4fb7-aac6-9a49967b28eb", + "name": "onDataQueryFailure", + "index": 2, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to submit product listing request! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "e135f8a1-41db-4a73-92b7-ba91ccfa2f2b", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "ac722b82-612a-4ded-ab32-ef4cefe86d79", + "name": "onDataQuerySuccess", + "index": 1, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Product details updated successfully.", + "actionId": "show-alert", + "alertType": "success" + }, + "sourceId": "903aab5a-7253-44fa-b28d-674ac6179f14", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "731803e7-e089-4294-a62a-9fecf939e26c", + "name": "onDataQueryFailure", + "index": 3, + "event": { + "eventId": "onDataQueryFailure", + "message": "Failed to update product details! Please check and try again.", + "actionId": "show-alert", + "alertType": "warning" + }, + "sourceId": "903aab5a-7253-44fa-b28d-674ac6179f14", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:05.808Z" + }, + { + "id": "fabaeb40-01f8-48d3-87b5-d259f9d25bb7", + "name": "onClick", + "index": 1, + "event": { + "eventId": "onClick", + "message": "Hello world!", + "queryId": "d5aade72-7cf5-41c3-984e-eb48963d62e2", + "actionId": "run-query", + "alertType": "info", + "queryName": "getListedProducts", + "parameters": {} + }, + "sourceId": "f71c5f88-a8f2-4503-befc-48ee5fc438a5", + "target": "component", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.698Z" + }, + { + "id": "1e2e7604-186c-44dc-839d-9404c07be073", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "2858ac2a-bd82-4973-b007-b145207fd871", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "e135f8a1-41db-4a73-92b7-ba91ccfa2f2b", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.771Z" + }, + { + "id": "6998c76f-8c5a-4a3a-8a10-b3e57940cad3", + "name": "onDataQuerySuccess", + "index": 0, + "event": { + "modal": "8a0f87d3-d0ae-49b7-872c-8e47c1d32384", + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "actionId": "close-modal", + "alertType": "info" + }, + "sourceId": "903aab5a-7253-44fa-b28d-674ac6179f14", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.786Z" + }, + { + "id": "46e81d62-b143-42b2-bdf5-a907f6d3c44c", + "name": "onDataQuerySuccess", + "index": 2, + "event": { + "eventId": "onDataQuerySuccess", + "message": "Hello world!", + "queryId": "9a7eae6d-4a65-417d-bc6a-f3c333b1f520", + "actionId": "run-query", + "alertType": "info", + "queryName": "getProducts", + "parameters": {} + }, + "sourceId": "903aab5a-7253-44fa-b28d-674ac6179f14", + "target": "data_query", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:06.798Z" + } + ], + "dataQueries": [ + { + "id": "cdd1b0db-5443-4304-a047-2dd693d5413d", + "name": "getWishlist", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712560416207, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "52a248b1-0879-4054-8353-39c4d8da988f", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + }, + { + "name": "product_id", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + }, + { + "name": "favourited_by_email", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + } + ] + }, + "list_rows": { + "where_filters": { + "8c481532-d9aa-4202-9b73-350cf1c984f1": { + "column": "favourited_by_email", + "operator": "eq", + "value": "{{globals.currentUser.email}}", + "id": "8c481532-d9aa-4202-9b73-350cf1c984f1" + } + } + }, + "transformation": "return data\n .map((row) => ({ [row.product_id]: row.id }))\n .reduce((a, b) => ({ ...a, ...b }), {});", + "runOnPageLoad": true + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-05-03T11:36:01.725Z" + }, + { + "id": "6d42aea1-7314-475c-b366-e278b0fba17a", + "name": "addToWishlist", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712560376582, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "52a248b1-0879-4054-8353-39c4d8da988f", + "type": "Table" + }, + "fields": [] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "product_id", + "value": "{{variables.selectedProductForBookmark.productId}}" + }, + "d85b2ecd-cd70-4037-ab4c-9ad7babe0f91": { + "column": "favourited_by_email", + "value": "{{globals.currentUser.email}}" + } + } + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:58.792Z" + }, + { + "id": "d5aade72-7cf5-41c3-984e-eb48963d62e2", + "name": "getListedProducts", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712560389365, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "name", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "description", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_1", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_2", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_3", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "listed_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "category", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_thumbnail", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "is_active", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "price", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "created_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "status", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_number", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + ] + }, + "list_rows": { + "where_filters": { + "44fef2ee-f500-4797-8d5b-fad5225e1cc5": { + "column": "listed_by_email", + "operator": "eq", + "value": "{{globals.currentUser.email}}", + "id": "44fef2ee-f500-4797-8d5b-fad5225e1cc5" + } + }, + "order_filters": { + "7053dcb3-8f1c-454b-acdb-1689efaa70b3": { + "column": "id", + "order": "desc", + "id": "7053dcb3-8f1c-454b-acdb-1689efaa70b3" + } + } + }, + "transformation": "return data.map((row) => ({\n ...row,\n formatted_created_at: moment(parseInt(row.created_at)).format(\n \"DD-MM-YYYY hh:mmA\"\n ),\n formatted_updated_at: moment(parseInt(row.updated_at)).format(\n \"DD-MM-YYYY hh:mmA\"\n ),\n formatted_price: parseFloat(row.price).toFixed(2),\n}));" + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:13:13.069Z" + }, + { + "id": "e135f8a1-41db-4a73-92b7-ba91ccfa2f2b", + "name": "addProduct", + "options": { + "operation": "create_row", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712560361918, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "name", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "description", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_1", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_2", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_3", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "listed_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "category", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_thumbnail", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "is_active", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "price", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "created_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "status", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_number", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + ] + }, + "list_rows": {}, + "create_row": { + "0": { + "column": "name", + "value": "{{components.textinput2.value}}" + }, + "1": { + "column": "description", + "value": "{{components.textarea1.value}}" + }, + "2": { + "column": "image_thumbnail", + "value": "{{components.textinput3.value}}" + }, + "3": { + "column": "image_1", + "value": "{{components.textinput4.value}}" + }, + "4": { + "column": "image_2", + "value": "{{components.textinput5.value}}" + }, + "5": { + "column": "image_3", + "value": "{{components.textinput6.value}}" + }, + "6": { + "column": "listed_by_email", + "value": "{{globals.currentUser.email}}" + }, + "7": { + "column": "category", + "value": "{{components.dropdown3.value}}" + }, + "8": { + "column": "price", + "value": "{{(components.numberinput3.value || 0).toFixed(2).toString().padStart(8, \"0\")}}" + }, + "9": { + "column": "created_at", + "value": "{{moment().valueOf()}}" + }, + "10": { + "column": "updated_at", + "value": "{{moment().valueOf()}}" + }, + "11": { + "column": "status", + "value": "pending" + }, + "12": { + "column": "contact_number", + "value": "{{components.textinput7.value}}" + }, + "13": { + "column": "contact_email", + "value": "{{components.textinput8.value}}" + }, + "14": { + "column": "updated_by_email", + "value": "{{globals.currentUser.email}}" + } + } + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:12:44.245Z" + }, + { + "id": "9a7eae6d-4a65-417d-bc6a-f3c333b1f520", + "name": "getProducts", + "options": { + "operation": "list_rows", + "transformationLanguage": "javascript", + "enableTransformation": true, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712560401716, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "name", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "description", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_1", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_2", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_3", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "listed_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "category", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_thumbnail", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "is_active", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "price", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "created_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "status", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_number", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + ] + }, + "list_rows": { + "where_filters": { + "9ae2f9ec-8fbb-47f5-bc54-c6bdbce1a10a": { + "column": "is_active", + "operator": "eq", + "value": "{{true}}", + "id": "9ae2f9ec-8fbb-47f5-bc54-c6bdbce1a10a" + }, + "24d936f2-9020-4288-a4ab-1866588ef842": { + "column": "status", + "operator": "eq", + "value": "approved", + "id": "24d936f2-9020-4288-a4ab-1866588ef842" + }, + "6c287dbc-3070-441b-bee7-b3458af56a68": { + "column": "category", + "operator": "in", + "value": "{{JSON.parse(components.dropdown1.value)}}", + "id": "6c287dbc-3070-441b-bee7-b3458af56a68" + }, + "f1246aec-b6f3-4d3d-8d9c-6b717f1edcbf": { + "column": "price", + "operator": "gte", + "value": "{{( components.numberinput1.value || 0 ).toFixed(2).toString().padStart(8, \"0\")}}", + "id": "f1246aec-b6f3-4d3d-8d9c-6b717f1edcbf" + }, + "a38457df-7ac2-4b26-87c6-3f2fcf1aff63": { + "column": "price", + "operator": "lte", + "value": "{{( components.numberinput2.value || 0 ).toFixed(2).toString().padStart(8, \"0\")}}", + "id": "a38457df-7ac2-4b26-87c6-3f2fcf1aff63" + } + }, + "order_filters": { + "56297339-6696-449e-952d-ca637f4ec791": { + "column": "id", + "order": "desc", + "id": "56297339-6696-449e-952d-ca637f4ec791" + } + } + }, + "runOnPageLoad": true, + "transformation": "return data.filter(\n (row) =>\n parseFloat(row.price) >= components.numberinput1.value &&\n parseFloat(row.price) <= components.numberinput2.value\n);" + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-05-03T11:36:01.759Z" + }, + { + "id": "903aab5a-7253-44fa-b28d-674ac6179f14", + "name": "updateProductDetails", + "options": { + "operation": "update_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "join_table": { + "joins": [ + { + "id": 1712560440999, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "0c78ec76-2bc2-43b1-b421-da99256f3317", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "name", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "description", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_1", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_2", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_3", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "listed_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "category", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "image_thumbnail", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "is_active", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "price", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "created_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_at", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "status", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_number", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "contact_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + }, + { + "name": "updated_by_email", + "table": "0c78ec76-2bc2-43b1-b421-da99256f3317" + } + ] + }, + "list_rows": {}, + "update_rows": { + "columns": { + "0": { + "column": "name", + "value": "{{components.textinput9.value}}" + }, + "1": { + "column": "description", + "value": "{{components.textarea2.value}}" + }, + "2": { + "column": "image_thumbnail", + "value": "{{components.textinput10.value}}" + }, + "3": { + "column": "image_1", + "value": "{{components.textinput11.value}}" + }, + "4": { + "column": "image_2", + "value": "{{components.textinput12.value}}" + }, + "5": { + "column": "image_3", + "value": "{{components.textinput13.value}}" + }, + "6": { + "column": "category", + "value": "{{components.dropdown4.value}}" + }, + "7": { + "column": "price", + "value": "{{(components.numberinput4.value || 0).toFixed(2).toString().padStart(8, \"0\")}}" + }, + "8": { + "column": "status", + "value": "pending" + }, + "9": { + "column": "contact_number", + "value": "{{components.textinput14.value}}" + }, + "10": { + "column": "contact_email", + "value": "{{components.textinput15.value}}" + }, + "11": { + "column": "updated_at", + "value": "{{moment().valueOf()}}" + }, + "12": { + "column": "updated_by_email", + "value": "{{globals.currentUser.email}}" + }, + "e62c9f89-8535-49fc-81fd-e19b99d261e5": { + "column": "is_active", + "value": "{{components.dropdown5.value}}" + } + }, + "where_filters": { + "347b2bb6-ca75-40e1-a334-789b1235a901": { + "column": "id", + "operator": "eq", + "value": "{{variables.selectedProduct.id}}", + "id": "347b2bb6-ca75-40e1-a334-789b1235a901" + } + } + } + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:14:03.158Z" + }, + { + "id": "f979e88e-890b-4d0b-a478-b565c000842e", + "name": "removeFromWishlist", + "options": { + "operation": "delete_rows", + "transformationLanguage": "javascript", + "enableTransformation": false, + "organization_id": "9ff53e53-885b-440c-afe0-1aeffd56c430", + "table_id": "52a248b1-0879-4054-8353-39c4d8da988f", + "join_table": { + "joins": [ + { + "id": 1712560430622, + "conditions": { + "operator": "AND", + "conditionsList": [ + { + "operator": "=", + "leftField": { + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + } + } + ] + }, + "joinType": "INNER" + } + ], + "from": { + "name": "52a248b1-0879-4054-8353-39c4d8da988f", + "type": "Table" + }, + "fields": [ + { + "name": "id", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + }, + { + "name": "product_id", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + }, + { + "name": "favourited_by_email", + "table": "52a248b1-0879-4054-8353-39c4d8da988f" + } + ] + }, + "list_rows": {}, + "delete_rows": { + "limit": 1, + "where_filters": { + "f3cdb6be-5432-4b0a-a975-26225960f5dc": { + "column": "id", + "operator": "eq", + "value": "{{variables.selectedProductForBookmark.wishlistId}}", + "id": "f3cdb6be-5432-4b0a-a975-26225960f5dc" + } + } + } + }, + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "createdAt": "2024-04-08T07:12:05.808Z", + "updatedAt": "2024-04-08T07:13:52.886Z" + } + ], + "dataSources": [ + { + "id": "597f1d82-d7cf-4b48-8528-af465b15ea32", + "name": "restapidefault", + "kind": "restapi", + "type": "static", + "pluginId": null, + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:12:05.815Z", + "updatedAt": "2024-04-08T07:12:05.815Z" + }, + { + "id": "d237b4b5-a713-4b53-a69d-44433bebd86a", + "name": "runjsdefault", + "kind": "runjs", + "type": "static", + "pluginId": null, + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:12:05.827Z", + "updatedAt": "2024-04-08T07:12:05.827Z" + }, + { + "id": "656e6ec2-8639-4a61-8f8b-50ea37b43b25", + "name": "runpydefault", + "kind": "runpy", + "type": "static", + "pluginId": null, + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:12:05.838Z", + "updatedAt": "2024-04-08T07:12:05.838Z" + }, + { + "id": "81b274e1-6237-458f-b374-7e3a921f77bd", + "name": "tooljetdbdefault", + "kind": "tooljetdb", + "type": "static", + "pluginId": null, + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:12:05.851Z", + "updatedAt": "2024-04-08T07:12:05.851Z" + }, + { + "id": "cf6a0268-674b-49bd-83c2-dc12cf3bab45", + "name": "workflowsdefault", + "kind": "workflows", + "type": "static", + "pluginId": null, + "appVersionId": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "organizationId": null, + "scope": "local", + "createdAt": "2024-04-08T07:12:05.863Z", + "updatedAt": "2024-04-08T07:12:05.863Z" + } + ], + "appVersions": [ + { + "id": "547a11c1-776b-48cc-bf71-b81b9bad3010", + "name": "v1", + "definition": null, + "globalSettings": { + "hideHeader": true, + "appInMaintenance": false, + "canvasMaxWidth": 100, + "canvasMaxWidthType": "%", + "canvasMaxHeight": 2400, + "canvasBackgroundColor": "#edeff5", + "backgroundFxQuery": "" + }, + "showViewerNavigation": false, + "homePageId": "899429b3-9894-4639-aa1e-7f417f390293", + "appId": "59225dfd-4e45-4eac-bb73-44f631f6639e", + "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "promotedFrom": null, + "createdAt": "2024-04-08T07:12:05.799Z", + "updatedAt": "2024-05-03T10:49:43.990Z" + } + ], + "appEnvironments": [ + { + "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "development", + "isDefault": false, + "priority": 1, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "staging", + "isDefault": false, + "priority": 2, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + }, + { + "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", + "name": "production", + "isDefault": true, + "priority": 3, + "enabled": true, + "createdAt": "2023-04-26T19:44:06.852Z", + "updatedAt": "2023-04-26T19:44:06.852Z" + } + ], + "dataSourceOptions": [ + { + "id": "d329cef8-5a6b-48f2-9b95-1dc191b3b3fd", + "dataSourceId": "597f1d82-d7cf-4b48-8528-af465b15ea32", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:12:05.824Z", + "updatedAt": "2024-04-08T07:12:05.824Z" + }, + { + "id": "b0516046-af50-45dd-ac06-f2c58126ff04", + "dataSourceId": "597f1d82-d7cf-4b48-8528-af465b15ea32", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:12:05.824Z", + "updatedAt": "2024-04-08T07:12:05.824Z" + }, + { + "id": "3b899fa4-024f-4278-b7b3-ca66437f217a", + "dataSourceId": "597f1d82-d7cf-4b48-8528-af465b15ea32", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:12:05.824Z", + "updatedAt": "2024-04-08T07:12:05.824Z" + }, + { + "id": "f2e11edf-8d14-4dd8-ac86-0d075476bc9f", + "dataSourceId": "d237b4b5-a713-4b53-a69d-44433bebd86a", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:12:05.835Z", + "updatedAt": "2024-04-08T07:12:05.835Z" + }, + { + "id": "83c6a51c-932a-4e33-ab09-4d167fc785d7", + "dataSourceId": "d237b4b5-a713-4b53-a69d-44433bebd86a", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:12:05.835Z", + "updatedAt": "2024-04-08T07:12:05.835Z" + }, + { + "id": "0209220c-ffd4-4025-8131-dae135d7f876", + "dataSourceId": "d237b4b5-a713-4b53-a69d-44433bebd86a", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:12:05.835Z", + "updatedAt": "2024-04-08T07:12:05.835Z" + }, + { + "id": "26c101ec-aa3f-4140-9c9a-3215f62f2194", + "dataSourceId": "656e6ec2-8639-4a61-8f8b-50ea37b43b25", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:12:05.848Z", + "updatedAt": "2024-04-08T07:12:05.848Z" + }, + { + "id": "e6106f2a-8607-4403-8ca2-2991ef1d5369", + "dataSourceId": "656e6ec2-8639-4a61-8f8b-50ea37b43b25", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:12:05.848Z", + "updatedAt": "2024-04-08T07:12:05.848Z" + }, + { + "id": "98138cec-a1bb-4a37-a499-1148069369e6", + "dataSourceId": "656e6ec2-8639-4a61-8f8b-50ea37b43b25", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:12:05.848Z", + "updatedAt": "2024-04-08T07:12:05.848Z" + }, + { + "id": "94cbd305-f34a-4c99-81a4-3df7f673180e", + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:12:05.860Z", + "updatedAt": "2024-04-08T07:12:05.860Z" + }, + { + "id": "529123c6-9c99-4e0d-97d6-97db47047496", + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:12:05.860Z", + "updatedAt": "2024-04-08T07:12:05.860Z" + }, + { + "id": "ef4008a7-3eed-44d7-8162-919db67b3945", + "dataSourceId": "81b274e1-6237-458f-b374-7e3a921f77bd", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:12:05.860Z", + "updatedAt": "2024-04-08T07:12:05.860Z" + }, + { + "id": "a3c9330d-325f-4cd5-9c06-c58c9b47d6ed", + "dataSourceId": "cf6a0268-674b-49bd-83c2-dc12cf3bab45", + "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", + "options": null, + "createdAt": "2024-04-08T07:12:05.881Z", + "updatedAt": "2024-04-08T07:12:05.881Z" + }, + { + "id": "6845489b-dd36-4c05-888b-721ca0c09c8a", + "dataSourceId": "cf6a0268-674b-49bd-83c2-dc12cf3bab45", + "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", + "options": null, + "createdAt": "2024-04-08T07:12:05.881Z", + "updatedAt": "2024-04-08T07:12:05.881Z" + }, + { + "id": "2a652e93-83c9-4d3a-9343-dd2260d3a3e9", + "dataSourceId": "cf6a0268-674b-49bd-83c2-dc12cf3bab45", + "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", + "options": null, + "createdAt": "2024-04-08T07:12:05.881Z", + "updatedAt": "2024-04-08T07:12:05.881Z" + } + ], + "schemaDetails": { + "multiPages": true, + "multiEnv": true, + "globalDataSources": true + } + } + } + } + ], + "tooljet_version": "2.38.0-ee2.15.28-cloud2.3.11" +} \ No newline at end of file diff --git a/server/templates/simple-marketplace/manifest.json b/server/templates/simple-marketplace/manifest.json new file mode 100644 index 0000000000..5ca6325a04 --- /dev/null +++ b/server/templates/simple-marketplace/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "Simple marketplace", + "description": "Discover a world of products and enjoy a seamless internal shopping experience on our user-friendly marketplace.", + "widgets": [ + "Listview" + ], + "sources": [ + { + "name": "ToolJet Database", + "id": "tooljetdb" + } + ], + "id": "simple-marketplace", + "category": "operations" +} \ No newline at end of file